/* ============================================================
   Location Mécanicien — Frontend CSS
   ============================================================ */

:root {
    --lm-primary:   #e63946;
    --lm-secondary: #457b9d;
    --lm-dark:      #1d3557;
    --lm-light:     #f8f9fa;
    --lm-border:    #dee2e6;
    --lm-shadow:    0 2px 8px rgba(0,0,0,.08);
    --lm-radius:    8px;
}

/* ── Layout ─────────────────────────────────────────────── */
.lm-page-wrap        { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.lm-content-wrap     { display: flex; gap: 32px; margin: 32px 0; }
.lm-main             { flex: 1; min-width: 0; }
.lm-sidebar          { width: 260px; flex-shrink: 0; }

@media (max-width: 768px) {
    .lm-content-wrap { flex-direction: column; }
    .lm-sidebar      { width: 100%; }
}

/* ── Hero (archive pages uniquement, pas homepage) ──────── */
.lm-page-wrap .lm-hero {
    background: linear-gradient(135deg, var(--lm-dark) 0%, var(--lm-secondary) 100%);
    color: #fff;
    padding: 60px 24px;
    border-radius: var(--lm-radius);
    margin: 24px 0 32px;
    text-align: center;
}
.lm-page-wrap .lm-hero h1 { font-size: 2rem; margin: 0 0 12px; color: #fff; }
.lm-page-wrap .lm-hero p  { font-size: 1.1rem; opacity: .9; margin: 0; }

/* ── Cards ──────────────────────────────────────────────── */
.lm-card {
    background: #fff;
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--lm-shadow);
}

/* ── Garages Grid ───────────────────────────────────────── */
.lm-garages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.lm-garage-card {
    background: #fff;
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    padding: 20px;
    box-shadow: var(--lm-shadow);
    transition: box-shadow .2s, transform .2s;
    position: relative;
}
.lm-garage-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); transform: translateY(-2px); }
.lm-garage-card.lm-premium { border-top: 3px solid #f4c430; }

.lm-card-title        { font-size: 1rem; margin: 8px 0; }
.lm-card-title a      { color: var(--lm-dark); text-decoration: none; }
.lm-card-title a:hover{ color: var(--lm-primary); }
.lm-card-address,
.lm-card-phone        { font-size: .875rem; color: #555; margin: 4px 0; }
.lm-card-phone a      { color: var(--lm-secondary); text-decoration: none; }

.lm-card-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }

/* ── Badges ─────────────────────────────────────────────── */
.lm-badge         { font-size: .7rem; padding: 3px 8px; border-radius: 12px; font-weight: 600; display: inline-block; }
.lm-badge-premium { background: #fff8e1; color: #856404; border: 1px solid #f4c430; }
.lm-badge-full    { background: #f8d7da; color: #721c24; font-size: .75rem; padding: 4px 8px; border-radius: 4px; }

/* ── Buttons ─────────────────────────────────────────────
   NOTE: .lm-btn base est géré par le thème (style.css).
   On définit seulement les modificateurs spécifiques au plugin.
   Les couleurs utilisent les variables du thème.
────────────────────────────────────────────────────────── */
.lm-btn-primary   { background: #2563eb !important; color: #fff !important; border-color: #2563eb !important; }
.lm-btn-primary:hover { background: #1d4ed8 !important; border-color: #1d4ed8 !important; }
.lm-btn-secondary { background: #fff; color: #457b9d; border: 2px solid #457b9d; }
.lm-btn-secondary:hover { background: #457b9d; color: #fff; }
.lm-btn-outline   { background: transparent; color: #18181b; border: 2px solid #e4e4e7; }
.lm-btn-outline:hover { background: #f4f4f5; }
.lm-btn-full      { width: 100%; display: block; text-align: center; }
.lm-btn-large     { padding: 16px 32px; font-size: 1rem; }

/* ── Régions ─────────────────────────────────────────────
   NOTE: .lm-region-card est géré par le thème.
   Seules les classes spécifiques au plugin sont ici.
────────────────────────────────────────────────────────── */
.lm-regions-nav   { margin: 32px 0; }
.lm-region-name   { font-weight: 600; }
.lm-region-count  { font-size: .8rem; color: #777; margin-top: 4px; }

/* ── Recherche ──────────────────────────────────────────── */
.lm-search-wrap { margin: -16px 0 24px; }
.lm-garage-search { background: #fff; border: 1px solid var(--lm-border); border-radius: var(--lm-radius); padding: 20px; box-shadow: var(--lm-shadow); }
.lm-search-form  { }
.lm-search-row   { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.lm-search-field { flex: 1; min-width: 140px; }
.lm-search-field label { display: block; font-size: .8rem; font-weight: 600; color: #555; margin-bottom: 4px; }
.lm-search-field input,
.lm-search-field select { width: 100%; padding: 8px 12px; border: 1px solid var(--lm-border); border-radius: 4px; font-size: .9rem; }
.lm-search-btn-wrap { flex: 0 0 auto; }

.lm-results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }

/* ── Formulaires ────────────────────────────────────────── */
.lm-form-wrap   { }
.lm-form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lm-form-group  { margin-bottom: 16px; }
.lm-form-group label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 4px; color: var(--lm-dark); }
.lm-form-group input,
.lm-form-group select,
.lm-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--lm-border);
    border-radius: 4px;
    font-size: .9rem;
    font-family: inherit;
    box-sizing: border-box;
}
.lm-form-group textarea { resize: vertical; }
.lm-form-legal  { color: #888; margin-top: 12px; }
.lm-form-header { margin-bottom: 20px; }
.lm-form-header h3 { margin: 0 0 8px; }

@media (max-width: 600px) {
    .lm-form-row { grid-template-columns: 1fr; }
}

/* ── CTA Block ──────────────────────────────────────────── */
.lm-cta-block {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    padding: 32px;
    margin: 32px 0;
    text-align: center;
}
.lm-cta-block h3 { color: var(--lm-dark); margin-top: 0; }

/* ── Affiliation banners ─────────────────────────────────── */
.lm-affiliate-banner {
    border-radius: var(--lm-radius);
    margin: 20px 0;
    overflow: hidden;
}
.lm-affiliate-banner a  { text-decoration: none; display: block; }
.lm-banner-content      { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.lm-affiliate-insurance .lm-banner-content { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; }
.lm-affiliate-parts .lm-banner-content     { background: linear-gradient(135deg, #0f3460 0%, #533483 100%); color: #fff; }
.lm-banner-icon         { font-size: 2rem; }
.lm-banner-cta          { margin-left: auto; background: #fff; color: #333; padding: 8px 16px; border-radius: 4px; font-weight: 600; white-space: nowrap; font-size: .85rem; }

/* ── Sidebar ────────────────────────────────────────────── */
.lm-sidebar .lm-card { padding: 16px; }
.lm-sidebar .lm-card h3 { margin-top: 0; font-size: 1rem; }
.lm-dept-link { display: block; padding: 6px 0; color: var(--lm-secondary); text-decoration: none; font-size: .9rem; border-bottom: 1px solid #f0f0f0; }
.lm-dept-link:hover { color: var(--lm-primary); }

/* ── Upsell ─────────────────────────────────────────────── */
.lm-upsell-card { border: 2px solid #f4c430; }
.lm-upsell-card h3 { color: var(--lm-primary); }
.lm-upsell-card ul { padding-left: 0; list-style: none; }
.lm-upsell-card li { padding: 4px 0; font-size: .9rem; }

/* ── Single Garage ──────────────────────────────────────── */
.lm-garage-header { background: var(--lm-dark); color: #fff; padding: 40px 24px; border-radius: var(--lm-radius); margin: 20px 0; }
.lm-garage-header h1 { color: #fff; margin: 12px 0 8px; font-size: 1.75rem; }
.lm-garage-address { opacity: .85; margin: 0 0 16px; }
.lm-garage-contacts { display: flex; gap: 12px; flex-wrap: wrap; }
.lm-contact-pill { background: rgba(255,255,255,.15); color: #fff; padding: 8px 16px; border-radius: 20px; text-decoration: none; font-size: .9rem; }
.lm-contact-pill:hover { background: rgba(255,255,255,.25); }

.lm-info-table table { width: 100%; border-collapse: collapse; }
.lm-info-table th,
.lm-info-table td { padding: 10px 12px; border-bottom: 1px solid var(--lm-border); font-size: .9rem; text-align: left; }
.lm-info-table th { width: 140px; font-weight: 600; color: #555; background: var(--lm-light); }

/* ── Catalogue liens ────────────────────────────────────── */
.lm-link-catalog { margin: 24px 0; }
.lm-catalog-table { width: 100%; border-collapse: collapse; }
.lm-catalog-table th,
.lm-catalog-table td { padding: 12px 16px; border-bottom: 1px solid var(--lm-border); text-align: left; vertical-align: middle; }
.lm-catalog-table th { background: var(--lm-light); font-weight: 600; font-size: .85rem; color: #555; }

/* ── Pagination ─────────────────────────────────────────── */
.navigation.pagination { margin: 32px 0; }
.navigation.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--lm-border); border-radius: 4px; text-decoration: none; color: var(--lm-secondary); margin: 0 2px; }
.navigation.pagination .page-numbers.current { background: var(--lm-primary); color: #fff; border-color: var(--lm-primary); }

/* ============================================================
   Single Garage — Redesign
   ============================================================ */

/* ── Hero garage ─────────────────────────────────────────── */
.lm-garage-hero {
    background: linear-gradient(135deg, var(--lm-dark) 0%, #2a4a6b 100%);
    color: #fff;
    padding: 52px 32px 44px;
    border-radius: var(--lm-radius);
    margin: 80px 0 8px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .lm-garage-hero { margin-top: 70px; }
}

/* Variante avec photo en background */
.lm-garage-hero--photo {
    background-image: var(--lm-hero-bg);
    background-size: cover;
    background-position: center;
}
.lm-garage-hero--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29,53,87,.88) 0%, rgba(30,60,90,.80) 100%);
    border-radius: var(--lm-radius);
}

.lm-garage-hero-inner {
    position: relative;
    z-index: 1;
}

.lm-garage-hero-badges { margin-bottom: 10px; }

.lm-garage-hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.2;
}

.lm-garage-hero-address {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: .85;
    margin: 0 0 14px;
    font-size: 1rem;
}
.lm-garage-hero-address svg { flex-shrink: 0; }

.lm-garage-hero-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}
.lm-hero-note-val {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}
.lm-hero-note-avis {
    font-size: .9rem;
    opacity: .8;
}

.lm-garage-hero-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Surcharge des pills dans le hero */
.lm-garage-hero .lm-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    color: #fff;
    padding: 9px 18px;
    border-radius: 24px;
    text-decoration: none;
    font-size: .9rem;
    border: 1px solid rgba(255,255,255,.25);
    transition: background .2s, border-color .2s;
}
.lm-garage-hero .lm-contact-pill:hover {
    background: rgba(255,255,255,.27);
    border-color: rgba(255,255,255,.45);
}

/* ── Fil d'ariane ────────────────────────────────────────── */
.lm-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: .85rem;
    color: #777;
    margin: 12px 0 20px;
    padding: 0;
    list-style: none;
}
.lm-breadcrumb a {
    color: var(--lm-secondary);
    text-decoration: none;
}
.lm-breadcrumb a:hover { text-decoration: underline; }
.lm-breadcrumb span[aria-hidden] { color: #bbb; }
.lm-breadcrumb [aria-current="page"] { color: #444; }

/* ── Étoiles HTML ────────────────────────────────────────── */
.lm-star {
    font-size: 1rem;
    line-height: 1;
}
.lm-star-on  { color: #f4c430; }
.lm-star-off { color: #ddd; }

.lm-stars-html { display: inline-flex; gap: 2px; align-items: center; }

/* Petite taille pour les avis */
.lm-stars-sm .lm-star { font-size: .8rem; }

/* ── Grille infos pratiques ──────────────────────────────── */
.lm-info-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lm-info-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--lm-light);
    border: 1px solid var(--lm-border);
    border-radius: 6px;
    padding: 12px 14px;
}

.lm-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid var(--lm-border);
    flex-shrink: 0;
    color: var(--lm-secondary);
}

.lm-info-label {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #888;
    margin-bottom: 3px;
}

.lm-info-value {
    display: block;
    font-size: .9rem;
    color: var(--lm-dark);
    word-break: break-word;
}

.lm-info-link {
    color: var(--lm-secondary);
    text-decoration: none;
}
.lm-info-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .lm-info-cards-grid { grid-template-columns: 1fr; }
}

/* ── Horaires ────────────────────────────────────────────── */
.lm-horaires-titre {
    font-size: 1rem;
    margin: 0 0 10px;
    color: var(--lm-dark);
}

.lm-horaires-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}
.lm-horaires-table th,
.lm-horaires-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--lm-border);
    text-align: left;
}
.lm-horaires-table th {
    font-weight: 600;
    color: #555;
    width: 120px;
    background: var(--lm-light);
}
.lm-horaires-row.lm-horaires-today th,
.lm-horaires-row.lm-horaires-today td {
    background: #fffbeb;
    color: var(--lm-dark);
    font-weight: 700;
}
.lm-horaires-row.lm-horaires-today th {
    border-left: 3px solid #f4c430;
}

/* ── Galerie photos ──────────────────────────────────────── */
.lm-photos-gallery h2 { margin-top: 0; }

.lm-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    overflow: hidden;
}

.lm-photos-item {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    line-height: 0;
}

/* Première image en double largeur */
.lm-photos-item--main {
    grid-column: span 2;
}

.lm-photos-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity .2s;
    display: block;
}
.lm-photos-item--main img {
    height: 250px;
}
.lm-photos-item:hover img { opacity: .88; }

@media (max-width: 600px) {
    .lm-photos-grid { grid-template-columns: repeat(2, 1fr); }
    .lm-photos-item--main { grid-column: span 2; }
    .lm-photos-item img { height: 150px; }
    .lm-photos-item--main img { height: 175px; }
}

/* ── Avis ────────────────────────────────────────────────── */
.lm-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.lm-reviews-header h2 { margin: 0; }
.lm-reviews-count { font-size: .75em; font-weight: 400; color: #888; margin-left: 6px; }
.lm-reviews-global { display: flex; align-items: center; gap: 6px; font-size: .95rem; }

.lm-review-item {
    border-left: 3px solid var(--lm-border);
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: 0 6px 6px 0;
    background: var(--lm-light);
    transition: border-color .15s;
}
.lm-review-item:hover { border-left-color: var(--lm-secondary); }
.lm-review-item:last-child { margin-bottom: 0; }

.lm-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: .9rem;
    flex-wrap: wrap;
}

.lm-review-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--lm-secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.lm-review-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.lm-review-name { font-size: .9rem; }

.lm-review-date {
    margin-left: auto;
    color: #aaa;
    font-size: .8rem;
    white-space: nowrap;
}

.lm-review-text {
    margin: 0;
    font-size: .875rem;
    color: #444;
    line-height: 1.55;
}

/* ── Garages à proximité ─────────────────────────────────── */
.lm-nearby-garages-wrap h2 { margin-top: 0; }

.lm-nearby-garages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lm-nearby-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    padding: 16px;
    background: #fff;
    box-shadow: var(--lm-shadow);
    transition: box-shadow .2s, transform .2s;
}
.lm-nearby-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,.1);
    transform: translateY(-2px);
}
.lm-nearby-card--premium {
    border-top: 3px solid #f4c430;
}

.lm-nearby-card-inner { flex: 1; }

.lm-nearby-card-title {
    font-size: .95rem;
    margin: 0 0 8px;
    line-height: 1.3;
}
.lm-nearby-card-title a {
    color: var(--lm-dark);
    text-decoration: none;
}
.lm-nearby-card-title a:hover { color: var(--lm-primary); }

.lm-nearby-card-address {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-size: .8rem;
    color: #666;
    margin: 0 0 10px;
    line-height: 1.4;
}
.lm-nearby-card-address svg { margin-top: 2px; flex-shrink: 0; }

.lm-nearby-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.lm-nearby-note-badge {
    background: #fffbeb;
    border: 1px solid #f4c430;
    color: #856404;
    font-size: .78rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}
.lm-nearby-note-avis {
    font-size: .78rem;
    color: #888;
}

.lm-nearby-card-link {
    display: inline-block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--lm-secondary);
    text-decoration: none;
    border-top: 1px solid var(--lm-border);
    padding-top: 10px;
    margin-top: 4px;
    width: 100%;
    transition: color .15s;
}
.lm-nearby-card-link:hover { color: var(--lm-primary); }

@media (max-width: 600px) {
    .lm-nearby-garages { grid-template-columns: 1fr; }
}

/* ── Sidebar — Note Google ───────────────────────────────── */
.lm-sidebar-rating-card { text-align: center; }
.lm-sidebar-rating-card h3 { margin-top: 0; }

.lm-rating-circle-wrap {
    display: flex;
    justify-content: center;
    margin: 12px 0 4px;
}

.lm-rating-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--lm-primary);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(230,57,70,.3);
    line-height: 1;
}
.lm-rating-circle-note {
    font-size: 1.55rem;
    font-weight: 800;
}
.lm-rating-circle-max {
    font-size: .72rem;
    opacity: .8;
    margin-top: 1px;
}

/* ── Sidebar — Horaires condensés ───────────────────────── */
.lm-sidebar-horaires h3 { margin-top: 0; }

.lm-sidebar-horaires-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .85rem;
}

.lm-sidebar-horaires-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 8px;
}
.lm-sidebar-horaires-item:last-child { border-bottom: none; }

.lm-sh-jour { color: #555; }
.lm-sh-heure { color: #333; font-weight: 500; text-align: right; }

.lm-sidebar-horaires-item.lm-sh-today {
    background: #fffbeb;
    margin: 0 -16px;
    padding: 6px 16px;
    font-weight: 700;
}
.lm-sidebar-horaires-item.lm-sh-today .lm-sh-jour {
    color: var(--lm-dark);
}
.lm-sidebar-horaires-item.lm-sh-today .lm-sh-heure {
    color: var(--lm-primary);
}

/* ── Services tags ─── */
.lm-services-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lm-service-tag { background: #eff6ff; color: #1d4ed8; font-size: .82rem; font-weight: 600; padding: 6px 14px; border-radius: 100px; border: 1px solid #bfdbfe; }

/* ── EEAT card ─── */
.lm-eeat-card { border-left: 4px solid var(--lm-secondary); }
.lm-eeat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lm-eeat-item { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.5; }
.lm-eeat-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.lm-eeat-label { font-weight: 700; color: var(--lm-dark); }
.lm-eeat-val { color: #555; }

/* ═══════════════════════════════════════════════════
   FAQ personnalisée par garage
═══════════════════════════════════════════════════ */
.lm-faq-card { margin-top: 20px; }
.lm-faq-list { display: flex; flex-direction: column; gap: 8px; }
.lm-faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  transition: background .15s ease;
}
.lm-faq-item[open] { background: #fff; border-color: #c8d4e0; }
.lm-faq-q {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.98rem;
  color: #1a1a1a;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.lm-faq-q::-webkit-details-marker { display: none; }
.lm-faq-q::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #888;
  transition: transform .2s ease;
}
.lm-faq-item[open] .lm-faq-q::after { content: "−"; }
.lm-faq-a {
  padding: 0 16px 14px;
  color: #444;
  line-height: 1.55;
  font-size: 0.93rem;
}

/* ═══════════════════════════════════════════════════
   FAQ — accordéon moderne
═══════════════════════════════════════════════════ */
.lm-faq-card h2 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.35rem; margin-bottom: 18px;
}
.lm-faq-card h2::before {
  content: "?"; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: #2563eb; color: #fff; font-weight: 700; font-size: 1rem;
}
.lm-faq-list { display: flex; flex-direction: column; gap: 10px; }
.lm-faq-item {
  border: 1px solid #e5e7eb; border-radius: 10px;
  background: #fff; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lm-faq-item:hover { border-color: #cbd5e1; }
.lm-faq-item[open] {
  border-color: #2563eb; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}
.lm-faq-q {
  cursor: pointer; padding: 14px 48px 14px 18px;
  font-weight: 600; font-size: 1rem; color: #0f172a;
  list-style: none; position: relative;
  transition: color .15s ease;
}
.lm-faq-q::-webkit-details-marker { display: none; }
.lm-faq-q::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid #64748b; border-bottom: 2px solid #64748b;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease, border-color .2s ease;
}
.lm-faq-item[open] .lm-faq-q::after {
  transform: translateY(-30%) rotate(-135deg); border-color: #2563eb;
}
.lm-faq-item[open] .lm-faq-q { color: #2563eb; }
.lm-faq-a {
  padding: 0 18px 16px; color: #475569; line-height: 1.6; font-size: 0.95rem;
  border-top: 1px solid #f1f5f9; padding-top: 14px;
  animation: lm-faq-fade .3s ease;
}
@keyframes lm-faq-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ═══════════════════════════════════════════════════
   Avis éditorial — carte premium
═══════════════════════════════════════════════════ */
.lm-editorial-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-left: 4px solid #2563eb;
  padding: 24px !important;
}
.lm-editorial-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.lm-editorial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: #2563eb; color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lm-editorial-byline { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.lm-editorial-label { font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.lm-editorial-author { font-weight: 700; color: #0f172a; font-size: 0.95rem; }
.lm-editorial-verdict {
  font-size: 0.8rem; font-weight: 700; padding: 5px 12px;
  border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em;
}
.lm-editorial-verdict--excellent { background: #dcfce7; color: #166534; }
.lm-editorial-verdict--bien      { background: #dbeafe; color: #1e40af; }
.lm-editorial-verdict--correct   { background: #fef3c7; color: #854d0e; }
.lm-editorial-verdict--neutre    { background: #f1f5f9; color: #475569; }
.lm-editorial-stars { margin-bottom: 12px; font-size: 1.15rem; letter-spacing: 2px; }
.lm-ed-star { color: #d1d5db; }
.lm-ed-star--on { color: #f59e0b; }
.lm-editorial-text { color: #334155; line-height: 1.65; margin-bottom: 10px; font-size: 0.98rem; }
.lm-editorial-disclaimer small { color: #94a3b8; font-size: 0.78rem; line-height: 1.5; display: block; }

/* ═══════════════════════════════════════════════════
   Avis clients Google — cartes
═══════════════════════════════════════════════════ */
.lm-reviews-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; flex-wrap: wrap; gap: 10px;
}
.lm-reviews-count { font-size: 0.85rem; color: #64748b; font-weight: 400; }
.lm-reviews-global { display: flex; align-items: center; gap: 6px; }
.lm-reviews-list { display: flex; flex-direction: column; gap: 12px; }
.lm-review-item {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 16px 18px; transition: border-color .15s ease;
}
.lm-review-item:hover { border-color: #cbd5e1; }
.lm-review-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.lm-review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.lm-review-meta { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.lm-review-name { color: #0f172a; font-size: 0.95rem; }
.lm-review-date { font-size: 0.8rem; color: #94a3b8; }
.lm-review-text { color: #334155; line-height: 1.6; font-size: 0.95rem; margin: 0; }
.lm-stars-html .lm-star-on  { color: #f59e0b; }
.lm-stars-html .lm-star-off { color: #d1d5db; }
.lm-stars-sm { font-size: 0.85rem; }

/* ═══════════════════════════════════════════════════
   Introduction SEO
═══════════════════════════════════════════════════ */
.lm-intro-card p { font-size: 1.02rem; line-height: 1.7; color: #334155; margin: 0 0 12px; }
.lm-intro-card p:last-child { margin-bottom: 0; }
.lm-intro-card strong { color: #0f172a; }
.lm-intro-card em { font-style: normal; color: #2563eb; font-weight: 500; }

/* ═══════════════════════════════════════════════════
   Bloc "Pourquoi local"
═══════════════════════════════════════════════════ */
.lm-local-content p { color: #475569; line-height: 1.7; margin-bottom: 14px; }
.lm-local-content p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════
   Tarifs indicatifs
═══════════════════════════════════════════════════ */
.lm-pricing-intro { color: #64748b; font-size: 0.95rem; margin-bottom: 18px; }
.lm-pricing-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.lm-pricing-row {
  border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 14px 16px; background: #fafbfc;
}
.lm-pricing-main {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4px; gap: 10px; flex-wrap: wrap;
}
.lm-pricing-label { font-weight: 600; color: #0f172a; font-size: 0.98rem; }
.lm-pricing-price {
  background: #2563eb; color: #fff; padding: 4px 12px;
  border-radius: 999px; font-weight: 700; font-size: 0.88rem;
  white-space: nowrap;
}
.lm-pricing-info { color: #64748b; font-size: 0.85rem; line-height: 1.45; margin: 0; }
.lm-pricing-disclaimer small { color: #94a3b8; font-size: 0.78rem; }

/* ═══════════════════════════════════════════════════
   Conseils visite
═══════════════════════════════════════════════════ */
.lm-tips-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; }
.lm-tips-list li {
  padding: 12px 14px 12px 38px; background: #f8fafc;
  border-radius: 8px; position: relative; line-height: 1.55;
  color: #475569; font-size: 0.94rem;
}
.lm-tips-list li::before {
  content: "✓"; position: absolute; left: 14px; top: 12px;
  color: #16a34a; font-weight: 700;
}
.lm-tips-list strong { color: #0f172a; }
.lm-tips-card > p { color: #475569; line-height: 1.65; }

/* ═══════════════════════════════════════════════════
   Offre Premium Garage — landing page
═══════════════════════════════════════════════════ */
.lm-premium-landing { max-width: 1100px; margin: 0 auto; padding: 20px; }

.lm-premium-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff; border-radius: 14px; padding: 50px 30px;
  text-align: center; margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}
.lm-premium-hero-badge {
  display: inline-block; background: rgba(255, 255, 255, 0.15);
  padding: 6px 16px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.lm-premium-hero h1 { font-size: 2.2rem; line-height: 1.2; margin: 0 0 18px; color: #fff; font-weight: 800; }
.lm-premium-hero-sub { font-size: 1.1rem; line-height: 1.6; max-width: 700px; margin: 0 auto 28px; opacity: 0.95; }
.lm-premium-hero .lm-btn-lg {
  padding: 14px 32px; font-size: 1.05rem; font-weight: 700;
  background: #fbbf24; color: #1e3a8a; border: none;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
}
.lm-premium-hero .lm-btn-lg:hover { transform: translateY(-2px); background: #f59e0b; }

.lm-premium-features { margin-bottom: 50px; }
.lm-premium-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.lm-premium-feature {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lm-premium-feature:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); border-color: #2563eb; }
.lm-premium-icon { font-size: 2rem; margin-bottom: 12px; }
.lm-premium-feature h3 { margin: 0 0 8px; color: #0f172a; font-size: 1.1rem; }
.lm-premium-feature p { color: #64748b; line-height: 1.55; font-size: 0.94rem; margin: 0; }

.lm-premium-pricing { text-align: center; margin-bottom: 50px; }
.lm-premium-pricing h2 { font-size: 1.8rem; margin-bottom: 28px; color: #0f172a; }
.lm-premium-plans {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; max-width: 760px; margin: 0 auto;
}
.lm-premium-plan {
  background: #fff; border: 2px solid #e5e7eb; border-radius: 14px;
  padding: 32px 24px; text-align: left; position: relative;
  transition: transform .2s ease, border-color .2s ease;
}
.lm-premium-plan:hover { transform: translateY(-4px); }
.lm-premium-plan--featured { border-color: #2563eb; box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12); }
.lm-premium-plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #2563eb; color: #fff; font-size: 0.78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.lm-premium-plan h3 { margin: 0 0 10px; font-size: 1.3rem; color: #0f172a; }
.lm-premium-price { margin: 14px 0; }
.lm-premium-price strong { font-size: 2.4rem; color: #2563eb; font-weight: 800; }
.lm-premium-price span { color: #64748b; margin-left: 4px; }
.lm-premium-plan > p { color: #64748b; font-size: 0.9rem; margin-bottom: 16px; }
.lm-premium-plan ul { list-style: none; padding: 0; margin: 0; }
.lm-premium-plan li { padding: 6px 0; color: #334155; font-size: 0.95rem; }

.lm-premium-form-section {
  background: #f8fafc; border-radius: 14px; padding: 40px 30px;
  margin-bottom: 40px;
}
.lm-premium-form-section h2 { text-align: center; margin-bottom: 26px; color: #0f172a; }
.lm-premium-form { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.lm-form-row, .lm-form-row-double { display: flex; flex-direction: column; gap: 10px; }
.lm-form-row-double { flex-direction: row; gap: 14px; }
.lm-form-row-double > * { flex: 1; }
.lm-premium-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; color: #334155; font-weight: 600; }
.lm-premium-form input, .lm-premium-form select, .lm-premium-form textarea {
  padding: 11px 14px; border: 1px solid #cbd5e1; border-radius: 8px;
  font-size: 0.98rem; background: #fff; color: #0f172a; font-weight: 400;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lm-premium-form input:focus, .lm-premium-form select:focus, .lm-premium-form textarea:focus {
  outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.lm-premium-form button { padding: 14px 24px; font-size: 1.05rem; font-weight: 700; width: 100%; }
.lm-premium-form-note { color: #64748b; font-size: 0.85rem; text-align: center; margin: 8px 0 0; }

.lm-premium-success {
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: 30px; background: #dcfce7; border: 2px solid #16a34a;
  border-radius: 14px; color: #166534;
}
.lm-premium-success h3 { margin: 0 0 10px; color: #166534; }

.lm-premium-faq { margin-top: 30px; }
.lm-premium-faq h2 { margin-bottom: 20px; color: #0f172a; }
.lm-premium-faq .lm-faq-item { margin-bottom: 10px; }

@media (max-width: 640px) {
  .lm-form-row-double { flex-direction: column; gap: 10px; }
  .lm-premium-hero { padding: 36px 20px; }
  .lm-premium-hero h1 { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════════════
   Villes voisines
═══════════════════════════════════════════════════ */
.lm-voisines-card h3 { margin-bottom: 12px; font-size: 1.05rem; color: #0f172a; }
.lm-voisines-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 8px; }
.lm-voisines-list li { padding: 10px 12px; background: #f8fafc; border-radius: 6px; font-size: 0.92rem; }
.lm-voisines-list a { color: #2563eb; text-decoration: none; font-weight: 500; }
.lm-voisines-list a:hover { text-decoration: underline; }
.lm-voisine-dist { color: #94a3b8; font-size: 0.82rem; }

/* ═══════════════════════════════════════════════════
   Footer SEO (top villes / marques / ressources)
═══════════════════════════════════════════════════ */
.lm-seo-footer { background: #0f172a; color: #e2e8f0; padding: 40px 20px 30px; margin-top: 40px; }
.lm-seo-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.lm-seo-footer-col h4 { color: #fff; font-size: 1rem; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.lm-top-villes, .lm-top-marques, .lm-seo-links { list-style: none; padding: 0; margin: 0; }
.lm-top-villes li, .lm-top-marques li, .lm-seo-links li { padding: 3px 0; font-size: 0.88rem; }
.lm-seo-footer a { color: #94a3b8; text-decoration: none; transition: color .15s ease; }
.lm-seo-footer a:hover { color: #fbbf24; }
.lm-count { color: #64748b; font-size: 0.8rem; }

/* ═══════════════════════════════════════════════════
   Calculateur vidange
═══════════════════════════════════════════════════ */
.lm-calc-vidange { max-width: 760px; margin: 0 auto; padding: 30px 20px; background: #fff; border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,0.04); }
.lm-calc-vidange h2 { margin-top: 0; color: #0f172a; }
.lm-calc-intro { color: #64748b; line-height: 1.6; margin-bottom: 24px; }
.lm-calc-form { display: flex; flex-direction: column; gap: 16px; }
.lm-calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lm-calc-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; font-weight: 600; color: #334155; }
.lm-calc-form select, .lm-calc-form input { padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 0.95rem; background: #fff; }
.lm-calc-form select:focus, .lm-calc-form input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.lm-calc-form button { padding: 13px 20px; font-size: 1rem; font-weight: 700; margin-top: 6px; }
.lm-calc-result { margin-top: 26px; padding: 24px; background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%); border-radius: 12px; border-left: 4px solid #2563eb; }
.lm-calc-result h3 { margin-top: 0; color: #0f172a; }
.lm-calc-price-box { text-align: center; margin: 16px 0; }
.lm-calc-price { font-size: 1.3rem; color: #0f172a; display: block; }
.lm-calc-price strong { color: #2563eb; font-size: 1.8rem; }
.lm-calc-price-note { display: block; color: #64748b; font-size: 0.85rem; margin-top: 4px; }
.lm-calc-breakdown { margin: 14px 0; padding-left: 18px; color: #334155; line-height: 1.6; }
.lm-calc-disclaimer { color: #64748b; font-size: 0.85rem; line-height: 1.5; font-style: italic; }
.lm-calc-suggestion { margin-top: 20px; padding-top: 20px; border-top: 1px solid #cbd5e1; }
.lm-calc-suggestion h4 { margin-bottom: 12px; color: #0f172a; }
.lm-calc-garages { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.lm-calc-garage-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: #fff; border-radius: 8px; text-decoration: none; color: #0f172a; border: 1px solid #e5e7eb; transition: border-color .15s ease; }
.lm-calc-garage-card:hover { border-color: #2563eb; }
.lm-calc-garage-note { font-size: 0.82rem; color: #64748b; }

/* ═══════════════════════════════════════════════════
   Comparateur
═══════════════════════════════════════════════════ */
.lm-comparateur { max-width: 1100px; margin: 0 auto; padding: 30px 20px; }
.lm-comparateur h2 { color: #0f172a; }
.lm-comp-intro { color: #64748b; line-height: 1.6; margin-bottom: 20px; }
#lm-comp-search { width: 100%; padding: 12px 14px; border: 2px solid #cbd5e1; border-radius: 10px; font-size: 1rem; margin-bottom: 4px; }
#lm-comp-search:focus { outline: none; border-color: #2563eb; }
.lm-comp-results { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; max-height: 240px; overflow-y: auto; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.lm-comp-results li { padding: 10px 14px; cursor: pointer; border-bottom: 1px solid #f1f5f9; }
.lm-comp-results li:hover { background: #eff6ff; }
.lm-comp-results small { color: #94a3b8; margin-left: 6px; }
.lm-comp-selected { margin: 12px 0 20px; color: #475569; font-size: 0.9rem; }
.lm-comp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.lm-comp-card { padding: 20px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.lm-comp-card h3 { margin-top: 0; font-size: 1.1rem; }
.lm-comp-card h3 a { color: #0f172a; text-decoration: none; }
.lm-comp-card h3 a:hover { color: #2563eb; }
.lm-comp-note { margin: 0 0 12px; color: #334155; }
.lm-comp-card dl { margin: 0 0 14px; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 0.88rem; }
.lm-comp-card dt { font-weight: 700; color: #64748b; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.04em; }
.lm-comp-card dd { margin: 0; color: #334155; }

/* ═══════════════════════════════════════════════════
   Pages programmatiques (service, top, horaires, cp)
═══════════════════════════════════════════════════ */
.lm-prog-page { max-width: 1100px; margin: 0 auto; padding: 20px; }
.lm-prog-page h1 { font-size: 2rem; color: #0f172a; margin-bottom: 10px; line-height: 1.2; }
.lm-prog-page h2 { font-size: 1.4rem; color: #0f172a; margin: 30px 0 14px; border-bottom: 2px solid #e5e7eb; padding-bottom: 8px; }
.lm-prog-lead { color: #334155; line-height: 1.7; font-size: 1.05rem; margin-bottom: 20px; padding: 18px; background: #f8fafc; border-left: 4px solid #2563eb; border-radius: 6px; }
.lm-prog-lead strong { color: #0f172a; }

.lm-prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 20px; }
.lm-prog-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; text-decoration: none; color: #334155; transition: border-color .15s ease, transform .15s ease; }
.lm-prog-card:hover { border-color: #2563eb; transform: translateY(-2px); }
.lm-prog-card h3 { margin: 0 0 4px; color: #0f172a; font-size: 1.05rem; }
.lm-prog-note { font-size: 0.9rem; color: #f59e0b; font-weight: 600; margin: 0; }
.lm-prog-note strong { color: #b45309; }
.lm-prog-addr { font-size: 0.85rem; color: #64748b; margin: 0; line-height: 1.4; }
.lm-prog-tel, .lm-prog-horaire { font-size: 0.88rem; color: #334155; margin: 0; }

/* Top garages list */
.lm-top-list { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 14px; }
.lm-top-item { display: flex; gap: 18px; padding: 18px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.lm-top-rank { font-size: 2rem; font-weight: 800; color: #2563eb; min-width: 50px; }
.lm-top-content { flex: 1; }
.lm-top-content h2 { font-size: 1.25rem; margin: 0 0 6px; border: none; padding: 0; }
.lm-top-content h2 a { color: #0f172a; text-decoration: none; }
.lm-top-content h2 a:hover { color: #2563eb; }
.lm-top-meta { color: #f59e0b; font-weight: 600; margin: 0 0 4px; }
.lm-top-addr, .lm-top-tel { color: #64748b; margin: 2px 0; font-size: 0.9rem; }
.lm-top-content .lm-btn { margin-top: 8px; display: inline-block; }

@media (max-width: 640px) {
  .lm-top-item { flex-direction: column; gap: 10px; }
  .lm-top-rank { font-size: 1.5rem; }
}

/* Bloc liens thématiques */
.lm-thematic-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; }
.lm-thematic-list li { padding: 10px 12px; background: #f8fafc; border-radius: 6px; font-size: 0.92rem; }
.lm-thematic-list a { color: #2563eb; text-decoration: none; font-weight: 500; }
.lm-thematic-list a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════
   Guides (CPT lm_guide)
═══════════════════════════════════════════════════ */
.lm-guide-page { max-width: 860px; margin: 0 auto; padding: 20px; }
.lm-guide-page h1 { font-size: 1.9rem; line-height: 1.25; color: #0f172a; margin-bottom: 10px; }
.lm-guide-meta-box { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.lm-guide-code { padding: 6px 12px; background: #eff6ff; border-radius: 999px; font-size: 0.88rem; color: #1e40af; }
.lm-guide-gravite { padding: 6px 12px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; }
.lm-guide-gravite--low  { background: #dcfce7; color: #166534; }
.lm-guide-gravite--mid  { background: #fef3c7; color: #854d0e; }
.lm-guide-gravite--high { background: #fee2e2; color: #991b1b; }

.lm-guide-content { line-height: 1.7; color: #334155; font-size: 1rem; }
.lm-guide-content h2 { font-size: 1.3rem; color: #0f172a; margin: 24px 0 12px; padding-bottom: 6px; border-bottom: 2px solid #e5e7eb; }
.lm-guide-content h3 { font-size: 1.1rem; color: #0f172a; margin: 20px 0 10px; }
.lm-guide-content p  { margin: 0 0 14px; }
.lm-guide-content ul { margin: 0 0 16px; padding-left: 22px; }
.lm-guide-content li { margin-bottom: 6px; }

.lm-guide-cta { background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%); text-align: center; padding: 28px; }
.lm-guide-cta h3 { margin-top: 0; color: #0f172a; }
.lm-guide-cta .lm-btn { margin: 8px 6px 0; }

.lm-guide-related { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; }
.lm-guide-related li { padding: 10px; background: #f8fafc; border-radius: 6px; font-size: 0.92rem; }

.lm-guide-archive { max-width: 1100px; margin: 0 auto; padding: 20px; }
.lm-guide-archive h1 { font-size: 2rem; color: #0f172a; }
