/*
Theme Name: Tikal — Institutionnel
Description: Site institutionnel de la SAS Tikal Investissements. Thème léger (CSS natif, aucune dépendance), annonces lues depuis MultiParc.
Author: Tikal Investissements
Version: 1.2.0
Requires PHP: 7.4
Text Domain: tikal
*/

/* ── Jetons ─────────────────────────────────────────────────────────── */
:root {
    --navy: #0f2340;
    --navy-2: #16305a;
    --ink: #1f2933;          /* anthracite : texte courant */
    --ink-strong: #0b1522;
    --copper: #a8612d;       /* cuivré, lisible sur blanc (contraste AA) */
    --copper-2: #8c4f22;
    --copper-soft: #f6ece3;
    --paper: #ffffff;
    --sand: #f7f5f1;         /* fond de section, jamais sous des lignes de données */
    --line: #d9dde3;
    --ok: #166534;
    --err: #991b1b;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(15,35,64,.06), 0 8px 24px rgba(15,35,64,.08);
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container: 1180px;
}

/* ── Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--copper-2); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink-strong); line-height: 1.2; font-weight: 600; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.45rem, 3.2vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }

/* ── Boutons ────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border-radius: 6px; border: 1.5px solid transparent; font: 600 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-lg { padding: .9em 1.5em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-2); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); border-color: var(--line); }
.link-arrow { display: inline-flex; gap: .4em; align-items: center; font-weight: 600; text-decoration: none; color: var(--navy-2); }

/* ── En-tête ────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { height: 52px; width: auto; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 10px 9px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-principale { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px; box-shadow: var(--shadow); }
.nav-principale.is-open { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 12px 4px; text-decoration: none; color: var(--ink-strong); font-weight: 600; border-bottom: 1px solid var(--line); }
.nav-list a[aria-current="page"], .nav-list .current-menu-item > a { color: var(--copper-2); }
.nav-cta { display: grid; gap: 10px; margin-top: 16px; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-img, url("assets/versailles-histoire.jpg")) center 35% / cover no-repeat; opacity: .28; filter: grayscale(.35); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,35,64,.97) 0%, rgba(15,35,64,.86) 55%, rgba(15,35,64,.55) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 64px 16px 72px; }
.hero h1 { color: #fff; max-width: 17em; }
.hero-lead { font-size: 1.1rem; max-width: 38em; color: #e8edf5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow { font: 700 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin-bottom: .8em; }
.hero .eyebrow, .section-cta .eyebrow { color: #e6b98f; }

.page-hero { background: var(--navy); color: #fff; padding: 48px 0 44px; }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero .eyebrow { color: #e6b98f; }
.page-lead { color: #e8edf5; max-width: 42em; font-size: 1.05rem; margin: 0; }
.page-hero-sm { padding: 36px 0 30px; }

/* ── Sections ───────────────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0 56px; }
.section-valeurs { background: var(--sand); }
.section-head { margin-bottom: 28px; }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.split { display: grid; gap: 32px; align-items: center; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.feature-list .ico { width: 30px; height: 30px; color: var(--copper); }
.feature-list strong { display: block; color: var(--ink-strong); }
.feature-list span { color: var(--ink); font-size: .95rem; }

.values-grid { display: grid; gap: 18px; }
.value { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--copper); border-radius: var(--radius); padding: 24px; }
.value .ico { width: 32px; height: 32px; color: var(--navy-2); margin-bottom: 12px; }
.value p { margin: 0; }

.section-cta { background: var(--navy-2); color: #fff; padding: 44px 0; }
.section-cta h2 { color: #fff; margin-bottom: .3em; }
.section-cta p { color: #e8edf5; margin: 0; }
.cta-inner { display: grid; gap: 20px; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Cartes logements ───────────────────────────────────────────────── */
.cards-grid { display: grid; gap: 22px; }
.card-logement { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card-logement:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,35,64,.08), 0 14px 32px rgba(15,35,64,.14); }
.card-media { position: relative; display: block; aspect-ratio: 3 / 2; background: #e6e9ee; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-noimg { display: grid; place-items: center; height: 100%; color: var(--navy-2); }
.card-noimg .ico { width: 48px; height: 48px; }
.card-dispo { position: absolute; left: 12px; bottom: 12px; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 4px; }
.card-loue-tag { position: absolute; top: 12px; left: 12px; background: #b91c1c; color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 4px; }
.card-logement.is-loue .card-media img { filter: grayscale(.45); opacity: .8; }
.card-dispo-loue { background: #b91c1c; right: 12px; }
.logement-loue { background: #fee2e2; border: 1px solid #b91c1c; color: #991b1b; border-radius: 6px; padding: 10px 14px; margin: 0 0 14px; }
.apply-card-loue p:last-child { margin-bottom: 0; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1; }
.card-lieu { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--copper-2); font-weight: 600; font-size: .9rem; }
.card-title { font-size: 1.2rem; margin: 0; }
.card-title a { color: var(--ink-strong); text-decoration: none; }
.card-title a:hover { color: var(--copper-2); }
.card-specs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink); font-size: .93rem; }
.card-specs li { display: inline-flex; align-items: center; gap: 6px; }
.card-specs .ico { color: var(--navy-2); }
.card-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.card-prix { margin: 0; color: var(--ink); font-size: .85rem; }
.card-prix strong { font-size: 1.25rem; color: var(--ink-strong); font-family: var(--serif); white-space: nowrap; }
.card-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .9rem; text-decoration: none; }

.empty-state { text-align: center; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 20px; }
.empty-state > .ico { width: 44px; height: 44px; color: var(--navy-2); margin: 0 auto 12px; }

/* ── Filtres ────────────────────────────────────────────────────────── */
.filters { display: grid; gap: 12px; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.filters label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--ink-strong); }
.filters-actions { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.results-count { font-weight: 600; color: var(--ink-strong); margin-bottom: 18px; }

/* ── Formulaires ────────────────────────────────────────────────────── */
.form { display: grid; gap: 12px; }
.form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px;  font-size: .9rem; font-weight: 600; color: var(--ink-strong); }
.form-row { display: grid; gap: 12px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
    width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink-strong); background: #fff;
    border: 1px solid #8a94a3; border-radius: 6px; padding: .6em .75em;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy-2); outline: 2px solid rgba(22,48,90,.25); outline-offset: 0; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; }
.form .check input { margin-top: .25em; width: 18px; height: 18px; flex-shrink: 0; }
.req { color: var(--err); }
.form label > input, .form label > select, .form label > textarea { flex-basis: 100%; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.form-note { font-size: .85rem; color: var(--ink); margin: 0; }
.notice { padding: 12px 14px; border-radius: 6px; margin-bottom: 14px; font-weight: 600; }
.notice-ok { background: #dcfce7; border: 1px solid var(--ok); color: var(--ok); }
.notice-err { background: #fee2e2; border: 1px solid var(--err); color: var(--err); }
.apply-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.apply-card h2 { font-size: 1.35rem; }

/* ── Fiche logement ─────────────────────────────────────────────────── */
.logement-top { padding: 22px 0 8px; }
.breadcrumb { font-size: .85rem; margin-bottom: 14px; color: var(--ink); }
.breadcrumb a { color: var(--navy-2); }
.logement-head { display: grid; gap: 16px; margin-bottom: 20px; }
.logement-head h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: .2em 0 .45em; }
.card-specs-lg { font-size: 1rem; }
.logement-prix { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 16px 20px; align-self: start; }
.logement-prix strong { display: block; font: 600 1.9rem/1.1 var(--serif); }
.logement-prix span { font-size: .85rem; color: #e8edf5; }

.gallery { position: relative; display: grid; gap: 8px; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; }
.gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; background: #e6e9ee; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item.is-main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery-item:nth-child(n+4) { display: none; }
.gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15,35,64,.6); color: #fff; font-weight: 700; font-size: 1.1rem; }
.gallery-all { position: absolute; right: 12px; bottom: 12px; box-shadow: var(--shadow); }

.logement-layout { display: grid; gap: 32px; }
.logement-main h2 { font-size: 1.45rem; margin-top: 1.6em; }
.logement-main h2:first-child { margin-top: 0; }
.logement-accroche { font: 400 1.2rem/1.5 var(--serif); color: var(--ink-strong); border-left: 3px solid var(--copper); padding-left: 16px; }
.prose p { margin-bottom: 1em; }
.specs-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.specs-table th, .specs-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; background: #fff; }
.specs-table th { width: 42%; font-weight: 600; color: var(--ink-strong); }
.specs-table td { color: var(--ink); }
.fin-table td { white-space: nowrap; }
.fin-table td small { white-space: normal; }
.fin-table .row-total th, .fin-table .row-total td { background: var(--copper-soft); color: var(--ink-strong); font-weight: 700; }

.dpe-grid { display: grid; gap: 20px; }
.dpe-title { font-weight: 600; color: var(--ink-strong); margin-bottom: 8px; }
.dpe-na { color: var(--ink); }
.dpe-scale { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.dpe-scale li { display: flex; align-items: center; gap: 10px; }
.dpe-scale li span { display: block; width: var(--w); min-width: 34px; padding: 1px 10px; font-weight: 700; font-size: .85rem; color: #fff; border-radius: 0 12px 12px 0; opacity: .5; }
.dpe-scale li.is-active span { opacity: 1; font-size: 1rem; padding: 4px 12px; box-shadow: 0 0 0 2px var(--ink-strong); }
.dpe-scale li em { font-style: normal; font-weight: 700; color: var(--ink-strong); font-size: .9rem; white-space: nowrap; }
.dpe-dpe .dpe-a span { background: #007a3d; } .dpe-dpe .dpe-b span { background: #2c8c3c; } .dpe-dpe .dpe-c span { background: #558b2f; }
.dpe-dpe .dpe-d span { background: #8a7a00; } .dpe-dpe .dpe-e span { background: #b35c00; } .dpe-dpe .dpe-f span { background: #b43a0e; } .dpe-dpe .dpe-g span { background: #a3001b; }
.dpe-ges .dpe-a span { background: #5b86b5; } .dpe-ges .dpe-b span { background: #4f6f9f; } .dpe-ges .dpe-c span { background: #6a5a9e; }
.dpe-ges .dpe-d span { background: #6e4a93; } .dpe-ges .dpe-e span { background: #6a3584; } .dpe-ges .dpe-f span { background: #5a2372; } .dpe-ges .dpe-g span { background: #3f1257; }

/* Contenu saisi dans l'éditeur / Elementor */
/* Thème classique : WordPress insère un <div class="wp-block-group__inner-container"> dans chaque
   bloc Groupe. display:contents le rend transparent → les grilles du thème (split, cta-inner,
   values-grid, cta-actions…) voient directement les éléments enfants. */
.wp-block-group__inner-container { display: contents; }
.tikal-content .wp-block-group:not(.container) { margin: 0; }
.wp-block-image { margin: 1.5em 0 0; }
.wp-block-image img { border-radius: var(--radius); height: auto; }
.page-hero .wp-block-image img, .hero .wp-block-image img { max-height: 420px; width: auto; }
.wp-block-quote { margin-left: 0; margin-right: 0; }
.wp-block-quote cite { display: block; font-style: normal; font-weight: 600; color: var(--copper-2); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
/* Colonne unique dans un bloc 2 colonnes (image retirée, par ex.) : toute la largeur */
.split > :only-child,
.split > .wp-block-group__inner-container > :only-child { grid-column: 1 / -1; }
.split-media > .prose:only-child,
.split-media > .wp-block-group__inner-container > .prose:only-child { max-width: 820px; }
.tikal-content > p:empty { display: none; }
.tikal-content-builder { min-height: 40vh; }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,12,22,.94); display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 10px; padding: 16px 0; }
.lightbox img { max-height: 84vh; max-width: 100%; object-fit: contain; }
.lightbox figcaption { color: #fff; font-size: .9rem; }
.lightbox button { background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; padding: 8px; }
.lightbox .lb-close { position: absolute; top: 8px; right: 12px; font-size: 2.2rem; }

/* ── À propos / contact ─────────────────────────────────────────────── */
.media-frame { margin: 0; }
.media-frame img { border-radius: var(--radius); box-shadow: var(--shadow); }
.media-frame figcaption { font-size: .85rem; color: var(--ink); margin-top: 8px; }
.check-list { padding-left: 1.2em; }
.check-list li { margin-bottom: .5em; }
.quote { margin: 24px 0 0; padding: 18px 22px; background: var(--copper-soft); border-left: 3px solid var(--copper); border-radius: 0 var(--radius) var(--radius) 0; }
.quote p { font: italic 1.15rem/1.5 var(--serif); color: var(--ink-strong); margin-bottom: .4em; }
.quote cite { font-style: normal; font-weight: 600; color: var(--copper-2); }
.facts { display: grid; gap: 14px; margin: 0; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.facts dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--copper-2); }
.facts dd { margin: 4px 0 0; color: var(--ink-strong); font-weight: 600; }
.contact-layout { display: grid; gap: 28px; align-items: start; }
.contact-list li { color: var(--ink) !important; }
.contact-list a { color: var(--navy-2) !important; }
.contact-list .ico { color: var(--copper) !important; }
.portal-box { margin-top: 24px; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.portal-box p { margin-bottom: .5em; }

/* ── Pied de page ───────────────────────────────────────────────────── */
.site-footer { background: var(--ink-strong); color: #dfe5ee; padding: 44px 0 0; font-size: .93rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #f0c9a4; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 32px; }
.footer-brand { font: 600 1.25rem/1.3 var(--serif); color: #fff; }
.footer-title { font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list .ico { color: #e6b98f; margin-top: .2em; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 16px; padding-bottom: 20px; font-size: .85rem; }
.footer-legal p { margin: 0; }
.footer-legal a { margin-left: 16px; }
.footer-legal a:first-child { margin-left: 0; }

/* ── Tablette ≥ 768px ───────────────────────────────────────────────── */
@media (min-width: 768px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .form-row { grid-template-columns: 1fr 1fr; }
    .filters { grid-template-columns: repeat(4, 1fr) auto; align-items: end; }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .dpe-grid { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); }
    .gallery-item { aspect-ratio: auto; }
    .gallery-item.is-main { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; min-height: 420px; }
    .gallery-item:nth-child(n+4) { display: block; }
    .logement-head { grid-template-columns: 1fr auto; align-items: end; }
    .cta-inner { grid-template-columns: 1fr auto; }
    .hero-inner { padding: 96px 16px 104px; }
}

/* ── Bureau ≥ 992px ─────────────────────────────────────────────────── */
@media (min-width: 992px) {
    .nav-toggle { display: none; }
    .nav-principale, .nav-principale.is-open { display: flex; align-items: center; gap: 28px; position: static; padding: 0; border: 0; box-shadow: none; background: none; }
    .nav-list { display: flex; gap: 26px; }
    .nav-list a { border: 0; padding: 6px 0; font-size: .95rem; border-bottom: 2px solid transparent; }
    .nav-list a:hover, .nav-list a[aria-current="page"], .nav-list .current-menu-item > a { border-bottom-color: var(--copper); color: var(--ink-strong); }
    .nav-cta { display: flex; margin: 0; }
    .nav-cta .btn { padding: .6em 1em; font-size: .9rem; }
    .cards-grid { grid-template-columns: repeat(3, 1fr); }
    .split { grid-template-columns: 1fr 1fr; gap: 56px; }
    .split-media { grid-template-columns: 5fr 6fr; align-items: start; }
    .logement-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
    .logement-aside { position: sticky; top: 92px; }
    .contact-layout { grid-template-columns: minmax(0, 1.5fr) 1fr; gap: 44px; }
    .section { padding: 80px 0; }
    .facts { grid-template-columns: repeat(4, 1fr); }
}

/* ── Mobile ≤ 480px ─────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .brand img { height: 42px; }
    .hero-actions .btn { width: 100%; }
    .cta-actions .btn { width: 100%; }
    .fin-table td { white-space: normal; }
    .specs-table th { width: 46%; }
    .lightbox { grid-template-columns: 40px 1fr 40px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
