/* Accueil public uniquement. Palette bleu / indigo du site, surfaces claires et encre marine.
   Feuille chargée après les composants partagés, y compris en production_bundle. */
.home-shell {
    --home-paper: #f3f6fc;
    --home-surface: #ffffff;
    --home-ink: #19263d;
    --home-muted: #5c687b;
    --home-line: #dce3ed;
    --home-accent: #4f46e5;
    --home-category-icon: #5d6b91;
    --home-category-rose: #ae6686;
    --home-category-red: #b76565;
    --home-price: #334f89;
    --home-action: #4f46e5;
    --home-action-hover: #4338ca;
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #e0e7ff;
    --text-primary: var(--home-ink);
    --text-secondary: var(--home-muted);
    --border-color: var(--home-line);
    background: var(--home-surface);
    color: var(--home-ink);
}

.home-shell::before { display: none; }
.home-shell .navbar { background: var(--home-surface); box-shadow: none; border-bottom: 1px solid var(--home-line); }
.home-shell .nav-link-cta,
.home-shell .nav-link-cta:hover {
    background: var(--home-action);
    color: #ffffff !important;
    box-shadow: none;
    transform: none;
    border-radius: 6px;
}
.home-shell .nav-link-cta svg { color: inherit; }
.home-shell .nav-link-cta:hover { background: var(--home-action-hover); }
.home-shell .mobile-publish-btn { background: var(--home-action); color: #fff; box-shadow: none; }
.home-shell .mobile-publish-btn:hover { background: var(--home-action-hover); box-shadow: none; transform: none; }
.home-shell .avatar-guest { background: var(--home-paper); color: var(--home-ink); border: 1px solid var(--home-line); box-shadow: none; }
.home-shell .navbar-brand .navbar-logo { filter: none; }

.home-shell .classifieds-home-hero {
    padding: 2rem 0 1.75rem;
    background: var(--home-paper);
    color: var(--home-ink);
    text-align: left;
    border-bottom: 1px solid var(--home-line);
}
.home-shell .classifieds-home-hero::before,
.home-shell .classifieds-home-hero::after { display: none; }
.home-shell .classifieds-home-hero-content { max-width: none; }
.home-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.75rem;
}
.home-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 0.85rem;
    color: var(--home-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}
.home-eyebrow::before {
    content: '';
    width: 26px;
    height: 4px;
    background: var(--home-accent);
    flex-shrink: 0;
}
.home-shell .classifieds-home-hero .hero-title {
    max-width: 850px;
    margin: 0 0 1rem;
    color: var(--home-ink);
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.045em;
}
.home-shell .classifieds-home-hero .hero-title span {
    display: block;
    color: inherit;
    text-decoration: none;
}
.home-shell .classifieds-home-hero .hero-stats {
    justify-content: flex-start;
    margin: 0;
    color: var(--home-muted);
    font-size: 0.9375rem;
}
.home-shell .hero-stats strong { color: var(--home-ink); font-weight: 650; }
.home-shell .classifieds-home-hero .hero-separator { background: var(--home-muted); }
.home-heritage {
    flex: 0 0 auto;
    margin: 0 1.5rem 0 0;
    padding-left: 2rem;
    border-left: 1px solid var(--home-line);
    color: var(--home-muted);
    font-size: 0.75rem;
    line-height: 1.6;
}
.home-mobile-history { display: none; }
.home-heritage > span { display: block; }
.home-heritage strong {
    display: block;
    margin: 0.15rem 0 0.35rem;
    color: var(--home-ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 4.75rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.065em;
}
.home-heritage strong span { color: var(--home-accent); }

.home-shell .classifieds-home-hero .search-category-container {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 0;
    max-width: none;
    margin: 0;
    padding: 0.375rem;
    border: 1px solid #b4c1d6;
    border-radius: 8px;
    background: var(--home-surface);
    box-shadow: 0 3px 0 rgb(25 38 61 / 4%);
    backdrop-filter: none;
}
.home-shell .classifieds-home-hero .search-bar-inner {
    min-height: 50px;
    background: var(--home-surface);
    border-radius: 4px;
}
.home-shell .classifieds-home-hero .search-bar-inner > svg,
.home-shell .classifieds-home-hero .category-selector-current svg,
.home-shell .classifieds-home-hero .category-selector-action svg { color: var(--home-muted); }
.home-shell .classifieds-home-hero .search-bar-inner input { color: var(--home-ink); }
.home-shell .classifieds-home-hero .search-bar-inner input::placeholder { color: var(--home-muted); }
.home-shell .classifieds-home-hero .search-bar-submit {
    min-height: 44px;
    padding: 0.65rem 1.25rem;
    border-radius: 5px;
    background: var(--home-action);
    color: #ffffff;
    font-size: 0.875rem;
    box-shadow: none;
}
.home-shell .classifieds-home-hero .search-bar-submit:hover { background: var(--home-action-hover); }
.home-shell .classifieds-home-hero .category-selector-bar {
    min-height: 50px;
    font: inherit;
    text-align: left;
    border: 0;
    margin-left: 0.75rem;
    padding: 0.5rem 0.85rem 0.5rem 1.25rem;
    border-left: 1px solid var(--home-line);
    border-radius: 0;
    background: var(--home-surface);
    color: var(--home-ink);
}
.home-shell .classifieds-home-hero .category-selector-bar:hover {
    background: var(--home-paper);
    box-shadow: none;
}
.home-shell .classifieds-home-hero .search-bar-inner:focus-within {
    outline: 2px solid var(--home-accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgb(79 70 229 / 10%);
}
.home-shell :is(a, button, summary, [role="button"]):focus-visible {
    outline: 2px solid var(--home-accent);
    outline-offset: 4px;
}

.home-shell .classifieds-home-section,
.home-shell .classifieds-home-section:nth-child(even) { background: var(--home-surface); }
.home-shell .home-categories { padding: 1.25rem 0 0; }
.home-categories > .container { position: relative; }
.home-categories .categories-home-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.25rem; }
.home-categories .category-home-card {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr) auto;
    gap: 0.625rem;
    min-height: 62px;
    padding: 0.8rem 0.25rem;
    border: 0;
    border-bottom: 1px solid var(--home-line);
    border-radius: 0;
    background: transparent;
    transition: background 150ms;
}
.home-categories .category-home-card--hidden { display: none; }
.home-categories .expanded .category-home-card--hidden { display: grid; }
.home-categories .category-home-card:hover {
    background: var(--home-paper);
    border-color: var(--home-line);
    box-shadow: none;
    transform: none;
}
.home-categories .category-home-icon {
    width: 25px;
    height: 25px;
    margin: 0;
    border-radius: 0;
    background: transparent;
    color: var(--home-category-icon);
}
.home-categories .category-home-icon svg { width: 24px; height: 24px; stroke-width: 1.65; }
.home-shell .home-categories .category-home-card--cat-14000 .category-home-icon svg { stroke: var(--home-category-rose); }
.home-shell .home-categories .category-home-card--cat-28 .category-home-icon svg { stroke: var(--home-category-red); }
.home-categories .category-home-name {
    min-height: 0;
    margin: 0;
    color: var(--home-ink);
    font-size: 0.8125rem;
    font-weight: 550;
    text-align: left;
}
.home-categories .category-home-count { margin: 0; color: var(--home-muted); font-size: 0.6875rem; font-variant-numeric: tabular-nums; }
.home-categories .categories-home-toggle { justify-content: flex-start; margin-top: 0.5rem; }
.home-categories .categories-toggle-btn {
    min-height: 44px;
    padding: 0.5rem 0;
    border: 0;
    border-radius: 0;
    font-size: 0.8125rem;
    color: var(--home-muted);
}
.home-categories .categories-toggle-btn:hover { background: transparent; color: var(--home-ink); }
.home-categories .mini-cta-publish {
    position: absolute;
    right: 1.5rem;
    bottom: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    color: var(--home-muted);
    font-size: 0.8125rem;
}
.home-categories .mini-cta-publish a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--home-accent); }
.home-shell .classifieds-home-recent { padding-top: 0.75rem; }
.home-shell .classifieds-home-section .section-title {
    color: var(--home-ink);
    font-size: 1.5rem;
    font-weight: 650;
    letter-spacing: -0.035em;
}
.home-shell .section-link { color: var(--home-accent); font-size: 0.875rem; }
.home-shell .section-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-shell .classifieds-grid { gap: 1.75rem 1.25rem; }
@media (min-width: 1200px) {
    .home-shell .classifieds-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.home-shell .classifieds-card {
    border-radius: 6px;
    border: 1px solid var(--home-line);
    background: var(--home-surface);
    box-shadow: none;
    transition: border-color 150ms;
}
.home-shell .classifieds-card:hover { transform: none; border-color: #8c9bc7; box-shadow: none; }
@supports selector(:has(*)) {
    .home-shell .classifieds-card:has(> .classifieds-card-link:focus-visible) { border-color: var(--home-line); outline: 2px solid var(--home-accent); outline-offset: 3px; }
    .home-shell .classifieds-card > .classifieds-card-link:focus-visible { outline: none; }
}
.home-shell .classifieds-card-body { padding: 0.875rem; }
.home-shell .classifieds-card-title {
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.45;
    min-height: 4.35em;
    -webkit-line-clamp: 3;
    overflow-wrap: break-word;
}
.home-shell .classifieds-card-price { color: var(--home-price); font-size: 1.0625rem; }
.home-shell .classifieds-card-price.price-on-request { color: var(--home-muted); font-size: 1rem; }
.home-shell .classifieds-card-footer { color: var(--home-muted); border-top-color: var(--home-line); }

/* Partage les hauteurs image/titre/prix/footer au sein de chaque rangée.
   Le titre le plus long détermine la hauteur, sans mesure JavaScript.
   Les anciens navigateurs conservent le repli à trois lignes ci-dessus. */
@supports (grid-template-rows: subgrid) {
    @media (min-width: 641px) {
        .home-shell .classifieds-card {
            display: grid;
            grid-row: span 4;
            grid-template-rows: subgrid;
            row-gap: 0;
            min-width: 0;
        }
        .home-shell .classifieds-card-link {
            display: grid;
            grid-row: 1 / -1;
            grid-template-rows: subgrid;
            row-gap: 0;
            min-width: 0;
        }
        .home-shell .classifieds-card-body {
            display: grid;
            grid-row: 2 / -1;
            grid-template-rows: subgrid;
            row-gap: 0;
            min-width: 0;
        }
        .home-shell .classifieds-card-title { grid-row: 1; min-height: 0; align-self: start; }
        .home-shell .classifieds-card-price { grid-row: 2; align-self: start; }
        .home-shell .classifieds-card-footer { grid-row: 3; align-self: end; }
    }
}

/* Bas de page : mêmes surfaces sobres, liens et contenus SEO conservés. */
.home-shell .cta-publish-box {
    border-radius: 6px;
    background: #223765;
    box-shadow: none;
}
.home-shell .cta-publish-box::before,
.home-shell .cta-publish-box::after { display: none; }
.home-shell .cta-publish-text strong { color: #c7d2fe; }
.home-shell .cta-publish-title { font-weight: 600; letter-spacing: -0.025em; text-shadow: none; }
.home-shell .cta-publish-btn,
.home-shell .cta-publish-btn:hover {
    background: var(--home-action);
    color: #ffffff;
    border-radius: 5px;
    box-shadow: none;
    transform: none;
}
.home-shell .cta-publish-btn:hover { background: var(--home-action-hover); }
.home-shell .classifieds-home-faq { background: var(--home-paper); }
.home-shell .classifieds-home-faq-item { border-radius: 4px; box-shadow: none; }

/* Navigation et informations : alignements communs, liens explicites. */
.home-shell .classifieds-home-recent { padding-bottom: 1.5rem; }
.home-shell .home-geography { padding: 1.75rem 0 2.25rem; }
.home-shell .home-geography .canton-plates-grid { justify-content: flex-start; gap: 1rem; }
.home-shell .home-geography .canton-plate { min-height: 46px; border-color: var(--home-line); box-shadow: none; }
.home-shell .home-geography .canton-plate-count { color: var(--home-muted); font-size: 0.75rem; }
.home-shell .home-cities { margin-top: 2rem; }
.home-shell .home-cities .section-title { font-size: 1.125rem; margin-bottom: 0.75rem; }
.home-shell .home-cities .location-tags { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.5rem; }
.home-shell .home-cities .location-tag {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 44px; gap: 0.5rem; border-bottom: 1px solid var(--home-line);
    text-align: left; font-size: 0.875rem; color: var(--home-ink);
}
.home-shell .home-cities .location-count { color: var(--home-muted); font-size: 0.75rem; white-space: nowrap; }
.home-shell .home-directory-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; margin-top: 0.75rem; font-size: 0.875rem; }
.home-shell .home-directory-link,
.home-shell .home-trust-item a,
.home-shell .home-faq-intro a { color: var(--home-price); text-underline-offset: 3px; }
.home-shell .cta-publish { padding: 0; background: var(--home-surface); }
.home-shell .cta-publish-box { gap: 1.5rem; padding: 2rem; }
.home-shell .cta-publish-icon { display: none; }
.home-shell .cta-publish-title { font-size: 1.625rem; }
.home-shell .cta-publish-text { margin: 0.5rem 0 0; color: #e0e7f5; }
.home-shell .classifieds-home-trust { padding: 2rem 0; }
.home-shell .home-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.home-shell .home-trust-item { min-width: 0; }
.home-shell .home-trust-item h3 { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.9375rem; line-height: 1.5; margin: 0 0 0.5rem; font-weight: 600; }
.home-shell .home-trust-item h3 svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; color: var(--home-muted); }
.home-shell .home-trust-item p { margin: 0 0 0.35rem; font-size: 0.875rem; line-height: 1.6; color: var(--home-muted); }
.home-shell .home-trust-item a { display: inline-block; padding: 0.35rem 0; font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 3px; }
.home-shell .home-trust-links { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.home-shell .classifieds-home-searches { padding: 1rem 0 2rem; text-align: left; }
.home-shell .home-explore-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr 1fr; gap: 1.5rem; }
.home-shell .home-explore-group h3 { margin: 0 0 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--home-muted); }
.home-shell .home-explore-group ul { list-style: none; padding: 0; margin: 0; }
.home-shell .home-explore-group a { display: inline-flex; align-items: center; min-height: 36px; padding: 0.25rem 0; color: var(--home-ink); font-size: 0.875rem; text-decoration: none; }
.home-shell .home-explore-more { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; border-top: 1px solid var(--home-line); margin-top: 1.25rem; padding-top: 1rem; font-size: 0.8125rem; }
.home-shell .home-explore-more span { color: var(--home-muted); }
.home-shell .home-explore-more a { display: inline-flex; align-items: center; min-height: 36px; color: var(--home-ink); text-decoration: none; }
.home-shell .classifieds-home-faq { padding: 2.5rem 0; }
.home-shell .home-faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; align-items: start; }
.home-shell .classifieds-home-faq-title { text-align: left; font-size: 1.5rem; line-height: 1.3; margin: 0 0 0.75rem; }
.home-shell .home-faq-intro p { color: var(--home-muted); font-size: 0.9375rem; line-height: 1.6; margin: 0 0 0.75rem; }
.home-shell .home-faq-intro a { display: flex; gap: 0.5rem; align-items: center; min-height: 40px; font-size: 0.875rem; }
.home-shell .classifieds-home-faq-list { width: 100%; max-width: none; margin: 0; gap: 0; }
.home-shell .classifieds-home-faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--home-line); border-radius: 0; overflow: visible; }
.home-shell .classifieds-home-faq-item:first-child { border-top: 1px solid var(--home-line); }
.home-shell .classifieds-home-faq-question { padding: 1rem 2.5rem 1rem 0; min-height: 54px; font-size: 0.9375rem; line-height: 1.5; }
.home-shell .classifieds-home-faq-answer { padding: 0 2rem 1rem 0; color: var(--home-muted); }
.home-shell .classifieds-home-faq-question:focus-visible { outline: 2px solid var(--home-accent); outline-offset: 3px; }
.home-shell .home-cities a:hover,
.home-shell .home-explore-grid a:hover,
.home-shell .home-explore-more a:hover { color: var(--primary-color); text-decoration: underline; text-underline-offset: 3px; }
.home-shell .footer { margin-top: 0; }
.home-shell .footer .container { max-width: 1400px; padding: 0 1rem; }
.home-shell .footer-columns { text-align: left; gap: 2rem; padding-top: 2rem; }
.home-shell .footer-heading { text-align: left; }
.home-shell .footer-links-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1600px) {
    .home-shell .footer .container { max-width: 1440px; }
}
@media (max-width: 1440px) {
    .home-shell .footer .container { max-width: 1280px; }
}
@media (max-width: 768px) {
    .home-shell .footer .container { max-width: 100%; }
}

@media (max-width: 1000px) {
    .home-shell .home-cities .location-tags { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .home-shell .home-trust-grid, .home-shell .home-explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-shell .home-faq-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 1.5rem; }
}
@media (max-width: 640px) {
    .home-shell .home-geography { padding: 1.25rem 0 1.5rem; }
    .home-shell .home-geography .canton-plates-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
    .home-shell .home-geography .canton-plate-wrapper, .home-shell .home-geography .canton-plate { width: 100%; }
    .home-shell .home-cities { margin-top: 1.5rem; }
    .home-shell .home-cities .location-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
    .home-shell .home-cities .location-tag { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0; min-height: 52px; }
    .home-shell .home-trust-grid { gap: 1.5rem 1rem; }
    .home-shell .home-trust-item h3 { display: block; }
    .home-shell .home-trust-item h3 svg { display: block; margin: 0 0 0.5rem; }
    .home-shell .home-trust-item a, .home-shell .home-explore-group a, .home-shell .home-explore-more a { min-height: 44px; }
    .home-shell .home-explore-grid { gap: 1.5rem 1rem; }
    .home-shell .home-explore-more { gap: 0 1rem; }
    .home-shell .home-explore-more span { flex-basis: 100%; }
    .home-shell .home-faq-layout { grid-template-columns: 1fr; gap: 1.25rem; }
    .home-shell .classifieds-home-faq { padding: 1.75rem 0; }
    .home-shell .home-faq-intro a { min-height: 44px; }
    .home-shell .footer .container { padding: 0 1rem; }
}

[data-theme="dark"] .home-shell {
    --home-paper: #162136;
    --home-surface: #101827;
    --home-ink: #edf2fa;
    --home-muted: #b1bdd0;
    --home-line: #33425a;
    --primary-color: #a5b4fc;
    --home-accent: #a5b4fc;
    --home-category-icon: #aebddb;
    --home-category-rose: #ce9db4;
    --home-category-red: #d7a1a1;
    --home-price: #b8c9ed;
    --primary-hover: #c7d2fe;
    --primary-light: #273556;
}
[data-theme="dark"] .home-shell .classifieds-home-hero .search-bar-inner,
[data-theme="dark"] .home-shell .classifieds-home-hero .category-selector-bar {
    background: var(--home-surface) !important;
    border: 0 !important;
}
[data-theme="dark"] .home-shell .classifieds-home-hero .category-selector-bar { border-left: 1px solid var(--home-line) !important; }
[data-theme="dark"] .home-shell .home-heritage strong span { color: var(--home-accent); }
[data-theme="dark"] .home-shell .nav-link-cta svg { color: #ffffff; }
[data-theme="dark"] .home-shell .navbar .btn-primary { background: var(--home-action); color: #ffffff; }
[data-theme="dark"] .home-shell .cta-publish-box { background: #1b2b48; }

@media (max-width: 1199px) {
    .home-heritage { margin-right: 0; padding-left: 1.5rem; }
    .home-heritage strong { font-size: 4rem; }
    .home-categories .category-home-card { grid-template-columns: 25px minmax(0, 1fr); column-gap: 0.5rem; }
    .home-categories .category-home-icon { grid-row: span 2; }
    .home-categories .category-home-count { grid-column: 2; margin-top: -0.4rem; }
}
@media (max-width: 900px) {
    .home-intro { gap: 1rem; }
    .home-heritage { padding-left: 1rem; }
    .home-heritage > span:last-child { max-width: 145px; }
    .home-shell .classifieds-home-hero .search-category-container { grid-template-columns: minmax(0, 1fr) 230px; }
    .home-shell .classifieds-home-hero .category-selector-bar { margin-left: 0.25rem; padding-left: 0.75rem; font-size: 0.875rem; }
    .home-categories .categories-home-grid { gap: 0 0.75rem; }
}
@media (max-width: 640px) {
    .home-shell .classifieds-home-hero { padding: 1rem 0; }
    .home-intro { display: block; margin-bottom: 1rem; }
    .home-eyebrow { display: none; }
    .home-shell .classifieds-home-hero .hero-title { font-size: clamp(1.75rem, 6.8vw, 2.5rem); margin-bottom: 0.85rem; }
    .home-shell .classifieds-home-hero .hero-stats { display: block; font-size: 0.8125rem; }
    .home-shell .hero-stats > span:first-child { display: block; margin-bottom: 0.4rem; }
    .home-mobile-history { display: inline; }
    .home-shell .classifieds-home-hero .hero-separator { display: none; }
    .home-heritage { display: none; }
    .home-shell .classifieds-home-hero .search-category-container { grid-template-columns: minmax(0, 1fr) 64px; padding: 0.25rem; }
    .home-shell .classifieds-home-hero .search-bar-permanent { min-width: 0; }
    .home-shell .classifieds-home-hero .search-bar-inner { gap: 0.375rem; padding: 0.25rem; min-height: 48px; }
    .home-shell .classifieds-home-hero .search-bar-inner > svg { display: none; }
    .home-shell .classifieds-home-hero .search-bar-submit { flex: 0 0 44px; padding: 0; justify-content: center; }
    .home-shell .classifieds-home-hero .category-selector-bar { flex-direction: column; justify-content: center; gap: 2px; border: 0; border-left: 1px solid var(--home-line); margin: 0 0 0 4px; padding: 0; min-height: 48px; }
    .home-shell .classifieds-home-hero .category-selector-current > span,
    .home-shell .classifieds-home-hero .category-selector-action { display: none; }
    .home-shell .classifieds-home-hero .category-selector-bar::after { content: 'Catégories'; font-size: 0.625rem; line-height: 1.2; }
    .home-shell .home-categories { padding-top: 0.75rem; }
    .home-categories .categories-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
    .home-categories .category-home-card { min-height: 50px; padding: 0.4rem 0.25rem; }
    .home-categories .category-home-name { font-size: 0.75rem; }
    .home-categories .category-home-count { font-size: 0.6875rem; }
    .home-categories .categories-toggle-btn { width: auto; justify-content: flex-start; }
    .home-categories .mini-cta-publish { position: static; justify-content: flex-start; min-height: 36px; font-size: 0.75rem; }
    .home-shell .classifieds-home-recent { padding-top: 0.75rem; }
    .home-shell .section-header { gap: 0.5rem; }
    .home-shell .classifieds-home-section .section-title { font-size: 1.25rem; }
    .home-shell .section-link { font-size: 0.75rem; }
    .home-shell .classifieds-grid { gap: 1rem; }
    .home-shell .classifieds-card-title { min-height: 0; }
    .home-shell .cta-publish-box { padding: 1.5rem; }
    .home-shell .cta-publish-title { font-size: 1.375rem; }
    [data-theme="dark"] .home-shell .classifieds-home-hero .category-selector-bar { border-top: 0 !important; border-left: 1px solid var(--home-line) !important; }
}
@media (max-width: 340px) {
    .home-shell .classifieds-home-hero .hero-stats { font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .home-shell *, .home-shell *::before, .home-shell *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
