:root {
    --bg: #f2f5fb;
    --card: #ffffff;
    --text: #10233f;
    --primary: #1565d8;
    --primary-dark: #0d4faa;
    --border: #d8e1ef;
    --muted: #5f6f89;
    --danger: #b42318;
    --success: #067647;
}
* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    min-height: 100%;
}
body {
    margin: 0;
    font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 10% -15%, #d9e6ff 0, rgba(217, 230, 255, 0) 35%), var(--bg);
    line-height: 1.58;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1 0 auto;
    display: block;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.muted { color: var(--muted); }

.site-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 40;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}
.logo { font-weight: 800; color: var(--text); font-size: 1.1rem; }
.nav nav { display: flex; gap: 14px; flex-wrap: wrap; }
.nav nav a {
    color: #314866;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    transition: .2s ease;
}
.nav nav a:hover {
    background: #eaf1ff;
    text-decoration: none;
}

section { margin: 44px 0; }
h1, h2, h3 { letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 2.3vw, 2rem); margin-bottom: 10px; }
.section-intro { max-width: 72ch; margin-top: 0; }

.hero {
    margin: 24px auto;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(130deg, #0d2343 0%, #0f2a53 42%, #133469 100%);
    color: #fff;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 510px;
    box-shadow: 0 20px 50px rgba(10, 29, 57, 0.2);
}
.hero-left {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: .85rem;
    font-weight: 600;
}

/* Phone on company page */
.cowork-phone { margin: 6px 0 10px; }
.cowork-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 1.18rem;
    font-weight: 700;
    color: #1a6fba;
    text-decoration: none;
    background: #e8f3ff;
    border: 1.5px solid #b3d4f7;
    border-radius: 999px;
    padding: 6px 18px 6px 14px;
    transition: background .18s, color .18s;
}
.cowork-phone-link:hover {
    background: #1a6fba;
    color: #fff;
    border-color: #1a6fba;
}
.hero h1 {
    font-size: clamp(1.95rem, 3.2vw, 3rem);
    margin: 12px 0 8px;
}
.hero p { color: #d8e3f7; max-width: 56ch; }
.kpi-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}
.kpi {
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
}
.kpi strong {
    display: block;
    font-size: 1.2rem;
}
.hero-right {
    background-image: linear-gradient(145deg, rgba(10, 29, 57, .2), rgba(10, 29, 57, .62)), url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-right::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 20, 42, .48), rgba(7, 20, 42, .05));
}
.lead-box {
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 14px;
}
.lead-box h2 { margin: 0 0 9px; font-size: .98rem; color: #fff; }

form.inline-form, .inline-form {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: stretch;
}
.inline-form input {
    flex: 1 1 0;
    min-width: 0;
}
.inline-form button {
    flex-shrink: 0;
    white-space: nowrap;
}
input, textarea, select, button { font: inherit; }
input, textarea, select {
    border: 1px solid var(--border);
    background: #fff;
    padding: 11px 12px;
    border-radius: 10px;
    width: 100%;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #77a8ff;
    box-shadow: 0 0 0 3px rgba(21, 101, 216, .14);
}
button, .btn {
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 11px 14px;
    cursor: pointer;
    font-weight: 700;
    transition: transform .15s ease, background .2s ease;
}
button:hover, .btn:hover {
    background: var(--primary-dark);
    text-decoration: none;
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.btn-secondary {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
}
.message {
    margin: 16px 0;
    border-radius: 10px;
    padding: 11px 13px;
    border: 1px solid;
}
.message.success { background: #ecfdf3; border-color: #b7ebce; color: var(--success); }
.message.error { background: #fef3f2; border-color: #ffc7c2; color: var(--danger); }

.soft-bg {
    background: linear-gradient(180deg, #f8fbff, #eef3fa);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
}
.split {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 16px;
}
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pill {
    background: #e9f0ff;
    color: #133769;
    border: 1px solid #cadeff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .86rem;
    font-weight: 600;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: .2s ease;
    animation: fadeUp .45s ease both;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(16, 35, 63, .12);
    text-decoration: none;
}
.card-image { height: 180px; background: #dce7f6; }
.map-thumb { height: 100%; width: 100%; }
.card-content { padding: 14px; }
.card h3 { margin: 5px 0 8px; font-size: 1.12rem; }
.card-content p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
}
.feature-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.02rem;
}

#map {
    height: 460px;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq details {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.contact-box, .content-box, .admin-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
}

.site-footer {
    margin-top: auto;
    background: linear-gradient(130deg, #0d223f, #123264);
    color: #fff;
    padding: 34px 0 16px;
}
.site-footer a { color: #dbe8ff; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.site-footer ul { padding-left: 18px; margin: 0; }
.tiny {
    opacity: .8;
    border-top: 1px solid rgba(255, 255, 255, .2);
    margin-top: 20px;
    padding-top: 10px;
    font-size: .9rem;
}

/* ── Pages internes (tarifs, parking…) ──────────────────────────────────── */
.page-hero {
    background: linear-gradient(130deg, #0b1d3a 0%, #0f2a53 55%, #133469 100%);
    color: #fff;
    padding: 52px 0 44px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(21,101,216,.3) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero--parking { background: linear-gradient(130deg, #0f2620 0%, #0c3b2e 55%, #0e4a38 100%); }
.page-hero--parking::before { background: radial-gradient(ellipse at 80% 50%, rgba(16,185,129,.25) 0%, transparent 60%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(1.9rem, 3vw, 2.8rem); margin: 14px 0 10px; }
.page-hero-ctas { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.btn-outline-light {
    background: rgba(255,255,255,.1);
    border: 2px solid rgba(255,255,255,.4);
    color: #fff;
    border-radius: 10px;
    padding: 11px 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s;
}
.btn-outline-light:hover { background: rgba(255,255,255,.2); text-decoration: none; }

/* Editorial grid */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}
.editorial-grid p { line-height: 1.75; color: var(--text); margin-bottom: 14px; }

/* Price summary box */
.price-summary-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 88px;
}
.price-summary-box h3 { margin: 0 0 16px; font-size: 1.05rem; }
.price-range-list { display: flex; flex-direction: column; gap: 10px; }
.price-range-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f5f8ff;
    border-radius: 8px;
    flex-wrap: wrap;
}
.price-label { font-size: .88rem; font-weight: 600; }
.price-value { font-size: .88rem; color: var(--primary); font-weight: 700; white-space: nowrap; }

/* Compare grid */
.cowork-compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}
.compare-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.compare-card:hover { box-shadow: 0 8px 28px rgba(21,101,216,.12); transform: translateY(-3px); }
.compare-card-img { height: 160px; overflow: hidden; }
.compare-card-img img { width: 100%; height: 100%; object-fit: cover; }
.compare-card-body { padding: 20px; }
.compare-card-body h3 { margin: 0 0 4px; font-size: 1.1rem; }
.compare-card-body h3 a { color: var(--text); }
.compare-card-body h3 a:hover { color: var(--primary); }

/* Price pills */
.price-pills { display: flex; flex-direction: column; gap: 8px; }
.price-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: .88rem;
    gap: 8px;
}
.price-pill--green  { background: #ecfdf5; border: 1px solid #bbf7d0; }
.price-pill--blue   { background: #eff6ff; border: 1px solid #bfdbfe; }
.price-pill--purple { background: #f5f3ff; border: 1px solid #ddd6fe; }
.price-pill--amber  { background: #fffbeb; border: 1px solid #fde68a; }
.price-pill--gray   { background: #f8fafc; border: 1px solid #e2e8f0; }
.pp-label { font-weight: 600; color: var(--text); }
.pp-price { font-weight: 700; color: var(--primary); white-space: nowrap; }

/* Tips grid */
.tips-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}
.tip-list { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.tip-item { display: flex; gap: 16px; align-items: flex-start; }
.tip-num {
    width: 32px; height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .9rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.tip-item strong { display: block; margin-bottom: 4px; }
.tip-item p { margin: 0; color: var(--muted); line-height: 1.6; }
.cta-aside {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 88px;
}
.cta-aside h3 { margin: 0 0 8px; }

/* Parking status box */
.parking-status-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 88px;
}
.parking-status-box h3 { margin: 0 0 16px; }
.parking-status-list { display: flex; flex-direction: column; gap: 10px; }
.parking-status-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 10px;
}
.parking-status--red    { background: #fff1f1; border: 1px solid #fecaca; }
.parking-status--orange { background: #fff7ed; border: 1px solid #fed7aa; }
.parking-status--green  { background: #f0fdf4; border: 1px solid #bbf7d0; }
.ps-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* Parking cards */
.parking-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.parking-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .2s;
}
.parking-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.parking-card--yes { border-left: 4px solid #10b981; }
.parking-card--check { border-left: 4px solid #f59e0b; }
.parking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 20px 8px;
    gap: 12px;
    flex-wrap: wrap;
}
.parking-card-header h3 { margin: 0; font-size: 1.05rem; }
.parking-card-header h3 a { color: var(--text); }
.parking-card-header h3 a:hover { color: var(--primary); }
.parking-badge {
    font-size: .78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}
.parking-badge--yes   { background: #dcfce7; color: #166534; }
.parking-badge--check { background: #fef9c3; color: #854d0e; }
.parking-card-body { padding: 0 20px 14px; }
.parking-card-body p { margin: 6px 0; font-size: .92rem; line-height: 1.55; }
.parking-card-link {
    display: block;
    padding: 10px 20px;
    background: #f8fafd;
    border-top: 1px solid var(--border);
    font-size: .85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.parking-card-link:hover { background: #eef3fb; text-decoration: none; }

@media (max-width: 900px) {
    .editorial-grid, .tips-grid { grid-template-columns: 1fr; }
    .price-summary-box, .cta-aside, .parking-status-box { position: static; }
}

/* ── Horaires d'ouverture ────────────────────────────────────────────────── */
.hours-widget {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.hours-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    gap: 10px;
    flex-wrap: wrap;
}
.hours-status {
    font-size: .85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}
.hours-status--open  { color: #059669; }
.hours-status--closed { color: #dc2626; }
.hours-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 5px 12px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--primary);
    display: flex; align-items: center; gap: 5px;
    transition: background .15s;
}
.hours-toggle:hover { background: #eef3fb; }
.hours-chevron { transition: transform .2s; display: inline-block; }
.hours-grid {
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid var(--border);
    font-size: .88rem;
    gap: 8px;
}
.hours-row:last-child { border-bottom: none; }
.hours-row--today { background: #eff6ff; font-weight: 700; }
.hours-day { color: var(--text); font-weight: 600; }
.hours-val { color: var(--muted); }
.hours-val--closed { color: #dc2626; }

/* ── Galerie photos ───────────────────────────────────────────────────────── */
.gallery-section { margin: 32px 0; }
.gallery-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}
.gallery-header h2 { margin: 0; font-size: 1.25rem; }
.gallery-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #c7d5ea #f1f5f9;
}
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 999px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: #c7d5ea; border-radius: 999px; }
.gallery-item {
    flex-shrink: 0;
    width: 320px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
    display: block;
    position: relative;
    background: #e8eef8;
    transition: transform .2s, box-shadow .2s;
}
.gallery-item:first-child { width: 480px; height: 280px; }
.gallery-item:hover { transform: scale(1.02); box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Fiche coworking : onglets + cartes info ─────────────────────────────── */
.cowork-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid var(--border);
    background: #f8fafd;
    padding: 0 24px;
}
.cowork-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 14px 18px;
    font: inherit;
    font-size: .92rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: color .18s, border-color .18s;
}
.cowork-tab:hover { color: var(--text); }
.cowork-tab.active {
    color: var(--tab-color, var(--primary));
    border-bottom-color: var(--tab-color, var(--primary));
}
.cowork-panel[hidden] { display: none; }

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
/* Service pills — liste à virgules éclatée en bulles */
.service-pills-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.service-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1.5px solid color-mix(in srgb, var(--pill-accent, var(--primary)) 25%, transparent);
    border-radius: 999px;
    padding: 7px 16px 7px 12px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: background .15s, box-shadow .15s, transform .12s;
}
.service-pill:hover {
    background: color-mix(in srgb, var(--pill-accent, var(--primary)) 10%, white);
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
    transform: translateY(-1px);
}
.service-pill-icon {
    font-size: 1rem;
    line-height: 1;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.info-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--card-accent, var(--primary));
    border-radius: 10px;
    padding: 14px 16px;
    transition: box-shadow .18s, transform .18s;
}
.info-card--v2 { align-items: flex-start; }
.info-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.info-card-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 3px;
}
.info-card-body { flex: 1; min-width: 0; }
.info-card-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    margin-bottom: 5px;
}
.info-card-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--card-accent, var(--primary));
    line-height: 1.2;
}
.info-card-value {
    font-size: .9rem;
    color: var(--text);
    line-height: 1.6;
    word-break: break-word;
    white-space: pre-line;
}

.cta-box {
    background: linear-gradient(135deg, #1565d8 0%, #0d4faa 100%);
    color: #fff;
    border-radius: 14px;
}
.cta-box h2 { color: #fff; }
.cta-box .muted { color: rgba(255,255,255,.75); }
.cta-box .btn-outline {
    border-color: rgba(255,255,255,.5);
    color: #fff;
    background: rgba(255,255,255,.1);
}
.cta-box .btn-outline:hover { background: rgba(255,255,255,.2); }

/* CTA + Map 50/50 */
.cta-map-section { margin: 48px 0; }
.cta-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(21,101,216,.15);
    min-height: 320px;
}
.cta-map-grid .cta-box {
    border-radius: 0;
    padding: 36px 32px;
}
.cta-map-right { position: relative; }
@media (max-width: 780px) {
    .cta-map-grid { grid-template-columns: 1fr; }
    .cta-map-grid .cta-box { border-radius: 14px 14px 0 0; }
    .cta-map-right #single-map { border-radius: 0 0 14px 14px !important; min-height: 240px; }
}
.pill-link {
    background: var(--primary);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
}
.pill-link:hover { background: var(--primary-dark); text-decoration: none; }

.admin-grid { display: grid; gap: 16px; }
table { width: 100%; border-collapse: collapse; }
th, td {
    border: 1px solid var(--border);
    padding: 8px;
    text-align: left;
    vertical-align: top;
}
th { background: #f0f4fa; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Hero full-width ──────────────────────────────────────────────────────── */
.hero-full {
    position: relative;
    background: linear-gradient(130deg, #0b1d3a 0%, #0f2a53 50%, #133469 100%);
    color: #fff;
    overflow: hidden;
    padding: 60px 0 52px;
}
.hero-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(21,101,216,.35) 0%, transparent 65%);
    pointer-events: none;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=60');
    background-size: cover;
    background-position: center;
    opacity: .08;
}
.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-left { display: flex; flex-direction: column; gap: 0; }
.hero-left h1 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    margin: 14px 0 10px;
    line-height: 1.15;
}
.hero-sub { color: rgba(255,255,255,.82); max-width: 52ch; font-size: 1.05rem; line-height: 1.65; margin-bottom: 20px; }
.badge-light {
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.22);
    color: #d8eaff;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: .82rem;
    font-weight: 600;
    width: fit-content;
}
.hero-forms { display: flex; flex-direction: column; }
.hero-form-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    padding: 18px;
    backdrop-filter: blur(4px);
}
.form-label { margin: 0 0 10px; font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.9); }

/* ── Section eyebrow label ───────────────────────────────────────────────── */
.section-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary);
    background: #eef3fb;
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 8px;
}

/* ── Why section ─────────────────────────────────────────────────────────── */
.why-section { margin: 36px 0; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.why-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: box-shadow .2s, transform .2s;
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}
.why-card--blue::before   { background: linear-gradient(90deg, #1565d8, #3b82f6); }
.why-card--green::before  { background: linear-gradient(90deg, #059669, #10b981); }
.why-card--purple::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.why-card--amber::before  { background: linear-gradient(90deg, #d97706, #fbbf24); }

.why-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-4px); }
.why-icon-wrap {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 4px;
    flex-shrink: 0;
}
.why-card--blue   .why-icon-wrap { background: #dbeafe; }
.why-card--green  .why-icon-wrap { background: #d1fae5; }
.why-card--purple .why-icon-wrap { background: #ede9fe; }
.why-card--amber  .why-icon-wrap { background: #fef3c7; }
.why-card strong { font-size: 1rem; }
.why-card span { color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* ── Section header ──────────────────────────────────────────────────────── */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.section-header h2 { margin-bottom: 4px; }

/* ── Listing cards ───────────────────────────────────────────────────────── */
.listings-section, .around-section, .street-section, .services-section { margin: 48px 0; }
.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.listing-grid--small { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.listing-grid--morges { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ── Section CTA Morges (bas des pages alentours) ─────────────────────── */
.morges-cta-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #faf9ff 100%);
    border-top: 2px solid #e2e8f5;
    padding: 64px 0 72px;
    margin-top: 48px;
}
.morges-cta-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 36px;
}
.morges-cta-header h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin: 8px 0 12px;
    color: var(--heading, #1a2340);
}
.morges-cta-header .muted { font-size: .97rem; line-height: 1.65; }
.listing-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow .22s, transform .22s;
    height: 100%;
}
.listing-card:hover {
    box-shadow: 0 8px 32px rgba(21,101,216,.13);
    transform: translateY(-4px);
    text-decoration: none;
    border-color: #b3c9f5;
}
.listing-img {
    position: relative;
    height: 190px;
    background: linear-gradient(135deg, #e8eef8, #d8e4f4);
    overflow: hidden;
    flex-shrink: 0;
}
.listing-img img { width: 100%; height: 100%; object-fit: cover; }
.listing-img .map-thumb { width: 100%; height: 100%; }
.listing-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
    color: #a0b4d0;
}
.listing-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(21,101,216,.92);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}
.listing-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.listing-address { font-size: .82rem; color: var(--muted); }
.listing-body h3 { margin: 0; font-size: 1.1rem; }
.listing-desc {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    flex: 1;
}
.listing-site { font-size: .8rem; color: var(--muted); }
.listing-cta {
    display: inline-block;
    margin-top: 10px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
}
.listing-card--compact .listing-img { display: none; }

/* ── Marqueurs carte personnalisés ───────────────────────────────────────── */
.map-marker-photo,
.map-marker-initials {
    width: 48px;
    height: 48px;
    border-radius: 50% 50% 50% 4px;
    border: 3px solid #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,.28);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1565d8;
    cursor: pointer;
    transition: transform .15s;
}
.map-marker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.map-marker-initials {
    font-size: .85rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .02em;
    background: linear-gradient(135deg, #1565d8, #2d82f0);
}
.map-popup-custom .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,.16);
}
.map-popup-custom .leaflet-popup-content { margin: 0; }
.map-popup-custom .leaflet-popup-tip-container { margin-top: -1px; }

/* ── Map ─────────────────────────────────────────────────────────────────── */
.map-section { margin: 48px 0; }
.map-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.map-section-header h2 { margin-bottom: 4px; }
.map-stats {
    display: flex;
    gap: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}
.map-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 20px;
    border-right: 1px solid var(--border);
    min-width: 80px;
}
.map-stat:last-child { border-right: none; }
.map-stat strong { font-size: 1.4rem; font-weight: 800; color: var(--primary); line-height: 1; }
.map-stat span { font-size: .72rem; color: var(--muted); text-align: center; margin-top: 2px; }
.main-map {
    height: 460px;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(21,101,216,.1);
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-section {
    margin: 56px 0;
    background: linear-gradient(135deg, #f0f5ff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 48px;
}
.faq-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
}
.faq-sidebar h2 { margin: 8px 0 8px; font-size: 1.6rem; }
.faq-sidebar p { color: var(--muted); font-size: .9rem; line-height: 1.6; margin-bottom: 20px; }
.faq-sidebar-cards { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.faq-sidebar-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow .18s, transform .18s;
}
.faq-sidebar-card:hover { box-shadow: 0 4px 16px rgba(21,101,216,.1); transform: translateY(-2px); text-decoration: none; }
.fsc-icon { font-size: 1.4rem; flex-shrink: 0; }
.faq-sidebar-card strong { display: block; font-size: .9rem; margin-bottom: 1px; }
.faq-sidebar-card span { font-size: .78rem; color: var(--muted); }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background .15s;
}
.faq-item summary:hover { background: #f7faff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform .2s;
    flex-shrink: 0;
    width: 24px; height: 24px;
    background: #eef3fb;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: #dbeafe; }
.faq-item[open] { border-color: #b3c9f5; }
.faq-item[open] summary { background: #f0f6ff; }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--muted); line-height: 1.7; font-size: .93rem; }

/* ── Section pill header (rue, services) ─────────────────────────────────── */
.section-pill-header { margin-bottom: 20px; }
.section-street-pill {
    display: inline-block;
    background: linear-gradient(90deg, #1565d8, #2d82f0);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 8px;
}

/* ── Listing card accented ───────────────────────────────────────────────── */
.listing-card--accented {
    border-left: 3px solid #b3c9f5;
    transition: border-color .2s, box-shadow .22s, transform .22s;
}
.listing-card--accented:hover { border-left-color: var(--primary); }

/* ── Services section ────────────────────────────────────────────────────── */
.services-section { margin: 48px 0; }
.service-group { margin-top: 32px; }
.service-group-title { margin-bottom: 12px; }
.service-group-pill {
    display: inline-block;
    background: #f0f5ff;
    border: 1px solid #c7d9f9;
    color: #1565d8;
    font-size: .85rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
}

/* ── Around section ──────────────────────────────────────────────────────── */
.around-section--styled { margin: 48px 0; }
.around-section-header { margin-bottom: 24px; }
.around-section-header h2 { margin: 6px 0 4px; }
.around-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.around-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow .2s, transform .2s;
}
.around-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); transform: translateY(-3px); text-decoration: none; }
.around-card-icon {
    font-size: 1.6rem;
    background: #f0f5ff;
    border-radius: 10px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.around-card-body { flex: 1; }
.around-card-body h3 { margin: 0 0 4px; font-size: 1rem; }

/* ── Contact section ─────────────────────────────────────────────────────── */
.contact-section { margin: 48px 0; }
.contact-inner {
    background: linear-gradient(135deg, #0d2343 0%, #1565d8 100%);
    border-radius: 20px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
    color: #fff;
}
.contact-inner h2 { color: #fff; font-size: 1.8rem; margin-bottom: 12px; }
.contact-inner p { color: rgba(255,255,255,.82); line-height: 1.65; }
.contact-perks { padding: 0; list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.contact-perks li { color: rgba(255,255,255,.9); font-size: .95rem; }
.contact-form-wrap {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    padding: 28px;
}
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form textarea {
    background: rgba(255,255,255,.95);
    border-color: transparent;
}
.contact-form button {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s, transform .15s;
}
.contact-form button:hover { background: #e8f0fe; transform: translateY(-1px); }

@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-content { grid-template-columns: 1fr; gap: 28px; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid, .split, .feature-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-inner { grid-template-columns: 1fr; padding: 32px; }
    .faq-layout { grid-template-columns: 1fr; }
    .faq-section { padding: 32px 24px; }
    .map-section-header { flex-direction: column; align-items: flex-start; }
    .map-stats { width: 100%; }
}
@media (max-width: 660px) {
    .card-grid, .kpi-row { grid-template-columns: 1fr; }
    .nav { flex-direction: column; align-items: flex-start; padding: 10px 0; }
    .why-grid { grid-template-columns: 1fr; }
    .listing-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .faq-section { padding: 24px 16px; }
    .around-grid { grid-template-columns: 1fr; }
    .cowork-tabs { padding: 0 12px; overflow-x: auto; flex-wrap: nowrap; }
    .cowork-tab { padding: 12px 14px; font-size: .82rem; }
    .contact-inner { padding: 24px; }
}
