/**
 * sante.chiffrex.fr — même direction artistique que carburants.chiffrex.fr
 * (thème éditorial noir & blanc, surfaces plates, coins nets)
 */
:root {
    --primary: hsl(0, 0%, 8%);
    --primary-dark: hsl(0, 0%, 0%);
    --primary-light: hsla(0, 0%, 8%, 0.06);
    --secondary: hsl(0, 0%, 8%);
    --secondary-light: hsla(0, 0%, 8%, 0.06);
    --orange: #9a5b0f;
    --orange-tint: rgba(154, 91, 15, 0.08);
    --red: #a92323;
    --red-tint: rgba(169, 35, 35, 0.06);

    --foreground: hsl(0, 0%, 7%);
    --foreground-60: hsla(0, 0%, 7%, 0.6);
    --foreground-40: hsla(0, 0%, 7%, 0.42);

    --background: hsl(0, 0%, 100%);
    --bg-page: hsl(40, 20%, 97%);
    --background-alt: hsl(40, 16%, 93%);
    --border: hsla(0, 0%, 7%, 0.14);
    --border-light: hsla(0, 0%, 7%, 0.08);

    --radius-lg: 0.625rem;
    --radius-md: 0.5rem;
    --radius-sm: 0.25rem;
    --radius-full: 999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);

    --font-ui: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    --font-display: 'Sora', 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { min-height: 100%; scroll-behavior: smooth; }

body {
    font-family: var(--font-ui);
    background: var(--bg-page);
    color: var(--foreground);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header (mêmes classes que carburants/templates/header.php) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}
.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 4rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}
.navbar-brand { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.brand-mark {
    width: 2rem; height: 2rem; border-radius: var(--radius-sm);
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-domain { color: var(--foreground-60); font-weight: 600; }

.header-search { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.search-box {
    position: relative;
    display: flex; align-items: center;
    background: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 0.55rem 1rem 0.55rem 2.25rem;
}
.search-icon { position: absolute; left: 0.85rem; opacity: 0.45; }
.search-box input {
    border: none; background: transparent; outline: none;
    width: 100%; font-size: 0.85rem; font-family: inherit; font-weight: 500;
}
.search-results {
    position: absolute; top: calc(100% + 0.6rem); left: 0; right: 0;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    max-height: 65vh; overflow-y: auto; z-index: 60; padding: 0.5rem;
}
.search-result-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.7rem; border-radius: var(--radius-sm);
}
.search-result-item:hover { background: var(--background-alt); }
.search-result-icon {
    width: 2rem; height: 2rem; border-radius: var(--radius-sm);
    background: var(--background-alt); color: var(--foreground-60);
    display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0;
}
.search-result-text { display: flex; flex-direction: column; min-width: 0; }
.search-result-title { font-size: 0.85rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-subtitle { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--foreground-40); }
.search-empty { padding: 1.5rem; text-align: center; font-size: 0.8rem; color: var(--foreground-40); font-style: italic; }

.header-nav { display: flex; align-items: center; gap: 0.25rem; justify-self: end; }
.header-nav a.nav-link {
    padding: 0.5rem 0.9rem; border-radius: var(--radius-sm);
    color: var(--foreground); font-size: 0.875rem; font-weight: 600;
}
.header-nav a.nav-link:hover { background: var(--background-alt); }

.nav-auth { margin-left: 0.5rem; }
.nav-btn-auth {
    display: inline-block;
    background: var(--primary); color: #fff !important;
    padding: 0.55rem 1.35rem; font-weight: 700; font-size: 0.875rem;
    border-radius: var(--radius-full);
}
.nav-btn-auth:hover { background: var(--primary-dark); }

.user-menu { position: relative; }
.user-badge {
    display: flex; align-items: center; gap: 8px;
    padding: 5px 12px 5px 5px;
    background: var(--background-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    max-width: 200px; white-space: nowrap;
}
.user-badge:hover { background: #fff; border-color: var(--primary); }
.user-avatar {
    width: 30px; height: 30px; min-width: 30px;
    border-radius: 50%; overflow: hidden;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.8rem; text-transform: uppercase;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.user-name { font-size: 0.85rem; font-weight: 600; color: var(--foreground); overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 780px) {
    .header-search { display: none; }
    .header-nav a.nav-link { padding: 0.5rem 0.6rem; }
}

/* Main */
.site-main { flex: 1; }
.page { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.page-narrow { max-width: 860px; }

/* Breadcrumbs */
.breadcrumbs ol { display: flex; align-items: center; gap: 0.5rem; list-style: none; flex-wrap: wrap; margin-bottom: 1.5rem; font-size: 0.85rem; color: var(--foreground-60); }
.breadcrumbs li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumbs li:not(:first-child)::before { content: '/'; opacity: 0.3; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .current { font-weight: 600; color: var(--foreground); }

/* Hero */
.hero { text-align: center; padding: 2.5rem 0 4rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.hero .accent { color: var(--primary); }
.hero p { max-width: 44rem; margin: 0 auto; font-size: 1.1rem; color: var(--foreground-60); line-height: 1.6; }

/* Stats grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 4rem; }
.stat-card {
    background: var(--background); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm);
}
.stat-card h3 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--foreground-60); margin-bottom: 0.5rem; }
.stat-card p.stat-value { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; }
.stat-card p.stat-caption { font-size: 0.85rem; color: var(--foreground-60); margin-top: 0.25rem; }

/* Map */
.map-section { margin-bottom: 5rem; }
.map-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; }
.map-header h2 { font-size: 1.75rem; font-weight: 800; }
.map-header p { color: var(--foreground-60); margin-top: 0.4rem; max-width: 40rem; }
.map-legend { display: flex; gap: 0.9rem; background: var(--background); border: 1px solid var(--border); padding: 0.5rem 1rem; border-radius: var(--radius-full); font-size: 0.75rem; }
.map-legend span { display: flex; align-items: center; gap: 0.4rem; opacity: 0.8; }
.legend-dot { width: 0.6rem; height: 0.6rem; border-radius: 999px; display: inline-block; }
#dept-map { height: 500px; width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); background: var(--background-alt); }

.leaflet-tooltip.custom-tooltip { border-radius: var(--radius-sm); border: none; box-shadow: var(--shadow-md); }

/* Rankings */
.rankings-section { margin-top: 3rem; }
.rankings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.ranking-box { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; background: var(--background); }
.ranking-box h3 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.15rem; font-weight: 800; margin-bottom: 1.25rem; }
.ranking-box.worst h3 { color: var(--red); }
.ranking-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.9rem 1rem; background: var(--background-alt); border-radius: var(--radius-sm);
    margin-bottom: 0.6rem;
}
.ranking-row:hover { background: #fff; box-shadow: var(--shadow-sm); }
.ranking-row .rank-left { display: flex; align-items: center; gap: 0.9rem; }
.ranking-row .rank-num { font-weight: 800; opacity: 0.35; font-size: 0.85rem; width: 1.5rem; }
.ranking-row .rank-name { font-weight: 700; }
.ranking-row .rank-effectif { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; color: var(--foreground-40); }
.ranking-row .rank-value { font-weight: 800; }
.ranking-box.worst .rank-value { color: var(--red); }

/* Ad */
.ad-in-article { margin: 2rem 0; text-align: center; }
.ad-slot-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--foreground-40); margin-bottom: 0.4rem; }

/* Facility cards */
.facilities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.facility-card { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.facility-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.facility-icon { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.facility-icon-etab { background: var(--primary-light); }
.facility-icon-ehpad { background: var(--orange-tint); }
.facility-slug { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--foreground-40); background: var(--background-alt); padding: 0.2rem 0.5rem; border-radius: var(--radius-sm); }
.facility-name { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.75rem; min-height: 2.6rem; }
.facility-address { display: flex; gap: 0.5rem; font-size: 0.85rem; color: var(--foreground-60); margin-bottom: 0.75rem; }
.facility-pill { display: inline-block; font-size: 0.7rem; font-weight: 600; background: var(--primary-light); color: var(--foreground); padding: 0.25rem 0.6rem; border-radius: var(--radius-sm); margin-bottom: 0.5rem; }
.facility-pill-orange { background: var(--orange-tint); color: var(--orange); }
.facility-pill-grey { background: var(--background-alt); color: var(--foreground-60); margin-left: 0.4rem; }
.facility-ehpad-meta { display: flex; flex-wrap: wrap; }
.facility-link { display: block; text-align: center; padding: 0.6rem; border-radius: var(--radius-sm); background: var(--background-alt); color: var(--foreground); font-weight: 700; font-size: 0.85rem; margin-top: 0.5rem; }
.facility-link:hover { background: var(--primary); color: #fff; }

/* Section headings */
.section-title { display: flex; align-items: center; gap: 0.75rem; font-size: 1.5rem; font-weight: 800; margin-bottom: 1.75rem; }
.section-title .icon-badge { width: 2.25rem; height: 2.25rem; border-radius: var(--radius-sm); background: var(--primary-light); color: var(--foreground); display: flex; align-items: center; justify-content: center; }
.section-title .icon-badge.orange { background: var(--orange-tint); color: var(--orange); }
.section-title .icon-badge.blue { background: var(--background-alt); color: var(--foreground); }

/* Two-column layout (departement page) */
.layout-2col { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .layout-2col { grid-template-columns: 1fr; } }

.dept-hero { background: var(--background); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2.5rem; border: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.dept-tag { background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: var(--radius-sm); margin-right: 0.5rem; }
.dept-hero h1 { font-size: 2.25rem; font-weight: 800; display: inline; }
.dept-hero p { color: var(--foreground-60); max-width: 34rem; margin-top: 0.5rem; }
.density-card { background: var(--background-alt); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; min-width: 260px; }
.density-card .density-label { font-size: 0.8rem; color: var(--foreground-60); text-transform: uppercase; letter-spacing: 0.05em; }
.density-card .density-value { font-family: var(--font-display); font-size: 2.25rem; font-weight: 900; }
.density-bar { width: 100%; height: 0.4rem; background: var(--border); border-radius: 999px; overflow: hidden; margin-top: 0.5rem; }
.density-bar-fill { height: 100%; background: var(--primary); }
.density-bar-fill.low { background: var(--orange); }

.commune-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.commune-card { display: flex; align-items: center; justify-content: space-between; background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem; }
.commune-card:hover { border-color: var(--primary); }
.commune-left { display: flex; align-items: center; gap: 1rem; }
.commune-avatar { width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--background-alt); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--foreground-40); }
.commune-name { font-weight: 700; }
.commune-code { font-size: 0.7rem; color: var(--foreground-40); }
.commune-count { font-weight: 700; }

.sidebar-card { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; position: sticky; top: 6rem; }
.sidebar-card h3 { font-weight: 800; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.pro-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.pro-row:last-child { border-bottom: none; }
.pro-row .pro-name { font-size: 0.85rem; font-weight: 600; }
.pro-row .pro-meta { font-size: 0.6rem; font-weight: 700; color: var(--foreground-40); text-transform: uppercase; }
.pro-row .pro-density { background: var(--background-alt); padding: 0.2rem 0.5rem; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.75rem; }
.ehpad-focus { background: var(--orange-tint); border: 1px solid rgba(154,91,15,0.15); border-radius: var(--radius-md); padding: 1rem; margin-top: 1.5rem; }
.ehpad-focus a { color: var(--orange); font-weight: 700; font-size: 0.75rem; border-bottom: 1px solid rgba(154,91,15,0.4); }

/* Stat pills row (commune page) */
.pill-stats { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.pill-stat { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem 1.5rem; background: var(--background); }
.pill-stat .pill-value { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.pill-stat .pill-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--foreground-60); }

.commune-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.commune-info { flex: 1; min-width: 260px; }
.commune-side { width: 20rem; max-width: 100%; background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.commune-side .map-placeholder { aspect-ratio: 1; background: var(--background-alt); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; text-align: center; color: var(--foreground-40); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }

.empty-state { text-align: center; padding: 4rem 2rem; border: 2px dashed var(--border); border-radius: var(--radius-lg); color: var(--foreground-40); }

table.pro-table { width: 100%; border-collapse: collapse; background: var(--background); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
table.pro-table th { text-align: left; font-size: 0.7rem; text-transform: uppercase; color: var(--foreground-40); background: var(--background-alt); padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
table.pro-table td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
table.pro-table tr:last-child td { border-bottom: none; }
table.pro-table tr:hover { background: var(--background-alt); }
.table-note { padding: 1rem; text-align: center; font-size: 0.75rem; color: var(--foreground-40); font-style: italic; background: var(--background-alt); }

/* Specialite page */
.spec-columns { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 900px) { .spec-columns { grid-template-columns: 1fr; } }
.spec-map-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.spec-map-card-header { padding: 1rem; background: var(--background-alt); border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--foreground-60); }
.avg-card { background: var(--primary); color: #fff; border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 1.5rem; }
.avg-card h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; margin-bottom: 0.75rem; }
.avg-card .avg-value { font-family: var(--font-display); font-size: 3rem; font-weight: 900; margin-bottom: 0.5rem; }
.avg-card p { font-size: 0.75rem; opacity: 0.85; line-height: 1.5; }
.info-card { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.info-card h4 { font-weight: 700; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.info-card p { font-size: 0.75rem; color: var(--foreground-60); line-height: 1.6; font-style: italic; }

/* Professionnel page */
.pro-hero { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 2.5rem; }
.pro-hero-top { background: var(--background-alt); padding: 2.5rem; display: flex; gap: 2rem; flex-wrap: wrap; }
.pro-avatar { width: 5rem; height: 5rem; border-radius: var(--radius-md); overflow: hidden; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; flex-shrink: 0; }
.pro-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pro-hero-top h1 { font-size: 1.85rem; font-weight: 900; margin-bottom: 0.75rem; }
.pro-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.pro-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--background); border: 1px solid var(--border); color: var(--foreground); font-size: 0.8rem; font-weight: 700; padding: 0.4rem 0.8rem; border-radius: var(--radius-full); }
.pro-id { font-size: 0.7rem; font-family: monospace; color: var(--foreground-40); }
.pro-info-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .pro-info-grid { grid-template-columns: 1fr; } }
.pro-info-cell { padding: 2rem; border-top: 1px solid var(--border); }
.pro-info-cell + .pro-info-cell { border-left: 1px solid var(--border); }
@media (max-width: 700px) { .pro-info-cell + .pro-info-cell { border-left: none; } }
.pro-info-cell h2 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--foreground-60); margin-bottom: 1rem; }
.pro-link-box { display: flex; align-items: center; gap: 0.75rem; background: var(--background-alt); padding: 0.75rem; border-radius: var(--radius-md); }
.pro-link-box .pro-link-icon { width: 2rem; height: 2rem; border-radius: var(--radius-sm); background: var(--background); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.about-card { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.about-card h2 { font-weight: 800; margin-bottom: 1rem; }
.about-card p { color: var(--foreground-60); line-height: 1.7; font-size: 0.9rem; }

/* Etablissement page */
.facility-hero { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 2.5rem; }
.facility-hero-bar { height: 0.3rem; background: var(--primary); }
.facility-hero-bar.ehpad { background: var(--orange); }
.facility-hero-body { padding: 2.5rem; }
.facility-hero-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.facility-badge { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; background: var(--background-alt); color: var(--foreground); padding: 0.3rem 0.8rem; border-radius: var(--radius-full); }
.facility-badge.ehpad { background: var(--orange-tint); color: var(--orange); }
.facility-hero-top h1 { font-size: 2rem; font-weight: 900; margin: 0.75rem 0; }
.facility-finess { font-size: 0.85rem; color: var(--foreground-60); font-style: italic; }
.facility-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; border-top: 1px solid var(--border); padding-top: 2rem; }
@media (max-width: 800px) { .facility-detail-grid { grid-template-columns: 1fr; } }
.facility-detail-grid h3 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--foreground-40); margin-bottom: 1rem; }
.address-block { display: flex; gap: 1rem; }
.address-icon { width: 3rem; height: 3rem; border-radius: var(--radius-md); background: var(--background-alt); color: var(--foreground); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gmaps-link { display: inline-block; margin-top: 0.75rem; font-size: 0.85rem; font-weight: 700; color: var(--foreground); border-bottom: 2px solid var(--border); }
.ehpad-info-box { background: var(--orange-tint); border: 1px solid rgba(154,91,15,0.12); border-radius: var(--radius-md); padding: 1.5rem; margin-top: 1.5rem; }
.ehpad-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ehpad-stat-grid .stat-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; }
.action-box { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.5rem; }
.action-btn { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); background: var(--primary); color: #fff; font-weight: 700; font-size: 0.85rem; }
.stats-box { background: var(--background-alt); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { display: flex; align-items: center; justify-content: space-between; background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem; }
.team-avatar { width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--background-alt); color: var(--foreground); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; text-align: center; font-size: 0.85rem; color: var(--foreground-60); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.footer-copy { margin-top: 0.5rem; }
