/* =============================================================
   Local Pro — Frontend CSS
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* ── Couleurs : gérées via Local Pro → Paramètres → Couleurs ──────────
       Les valeurs ci-dessous sont des FALLBACKS uniquement.
       Elles sont écrasées par le style injecté dynamiquement en <head>
       par le plugin (lp_output_css_variables dans local-pro.php).
    ────────────────────────────────────────────────────────────────────── */
    --lp-primary:    #2563EB;   /* Couleur principale (configurable) */
    --lp-primary-dk: #1d4ed8;   /* Version foncée auto-calculée */
    --lp-green:      #16a34a;   /* Couleur secondaire (configurable) */
    --lp-orange:     #ea580c;   /* Couleur accent (configurable) */
    --lp-text:       #111827;   /* Texte (configurable) */
    --lp-gray-light: #f3f4f6;   /* Fond (configurable) */

    /* ── Non-configurables ────────────────────────────────────────────── */
    --lp-red:        #dc2626;
    --lp-gray:       #6b7280;
    --lp-border:     #e5e7eb;
    --lp-radius:     10px;
    --lp-shadow-sm:  0 1px 3px rgba(0,0,0,.08);
    --lp-shadow:     0 4px 16px rgba(0,0,0,.08);
}

/* ── Suggestions de recherche (Autocomplete) ── */
.lp-autocomplete-wrapper {
    position: relative;
}
.lp-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    z-index: 2000;
    max-height: 320px;
    overflow-y: auto;
    padding: 8px;
    animation: lp-fade-up 0.2s ease-out;
}
@keyframes lp-fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.lp-city-suggestion-item, .lp-suggestion-item {
    padding: 12px 16px;
    font-size: 14px;
    color: #1e293b;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lp-city-suggestion-item:before { content: '📍'; font-size: 14px; }
.lp-city-suggestion-item:hover, .lp-suggestion-item:hover {
    background: #f1f5f9;
    color: var(--lp-primary);
    padding-left: 20px;
}

/* ── Badge Live / Disponibilité ── */
.lp-live-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #166534;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-right: 10px;
    vertical-align: middle;
}
.status-dot-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
}
.status-dot-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #22c55e;
    border-radius: 50%;
    animation: lp-pulse 2s infinite;
}
@keyframes lp-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

.lp-container {
    max-width: 1440px !important;
    max-width: 1200px; margin: 0 auto;
    padding: 24px 16px; font-family: 'Inter', sans-serif;
}
.lp-container * { box-sizing: border-box; }

/* ── Fil d'Ariane ───────────────────────────────────────────── */
.lp-breadcrumb { margin-bottom: 24px; }
.lp-breadcrumb-list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 4px; align-items: center; }
.lp-breadcrumb-item { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--lp-gray); }
.lp-breadcrumb-item a { color: var(--lp-primary); text-decoration: none; }
.lp-breadcrumb-item a:hover { text-decoration: underline; }
.lp-breadcrumb-sep { color: var(--lp-border); font-size: 16px; }
.lp-breadcrumb-current { color: #374151; font-weight: 500; }

/* ── En-tête archive ────────────────────────────────────────── */
.lp-archive-header {
    margin-bottom: 32px; padding-bottom: 20px;
    border-bottom: 2px solid var(--lp-primary);
}
.lp-archive-header h1 {
    font-size: clamp(22px, 4vw, 32px); font-weight: 700;
    color: #111827; margin: 0 0 8px; line-height: 1.2;
}
.lp-archive-header h1 .lp-postal { font-size: .6em; color: var(--lp-gray); font-weight: 400; }
.lp-archive-meta { font-size: 14px; color: var(--lp-gray); margin: 0; }
.lp-archive-meta a { color: var(--lp-primary); text-decoration: none; }

/* ── Grille de sociétés ─────────────────────────────────────── */
.lp-companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px; margin-bottom: 32px;
}

/* ── Carte société ──────────────────────────────────────────── */
.lp-company-card {
    background: #fff; border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius); overflow: hidden;
    box-shadow: var(--lp-shadow-sm);
    transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.lp-company-card:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow); }
.lp-card-link { text-decoration: none; color: inherit; padding: 18px; flex: 1; display: block; }
.lp-card-header { margin-bottom: 10px; }
.lp-card-name { font-size: 16px; font-weight: 700; color: #111827; margin: 0 0 4px; line-height: 1.3; }
.lp-card-activity { font-size: 12px; color: var(--lp-orange); font-weight: 500; text-transform: uppercase; letter-spacing: .4px; }
.lp-card-summary { font-size: 13px; color: var(--lp-gray); line-height: 1.5; margin: 8px 0; }
.lp-card-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-size: 12px; }
.lp-card-city { color: var(--lp-gray); }
.lp-card-rating { display: flex; align-items: center; gap: 4px; }
.lp-stars-sm { color: #f59e0b; font-size: 11px; }
.lp-rating-num { font-weight: 600; color: #374151; }
.lp-reviews-count { color: var(--lp-gray); }
.lp-card-actions { padding: 12px 18px; border-top: 1px solid var(--lp-gray-light); display: flex; gap: 8px; flex-wrap: wrap; }
.lp-card-btn {
    display: inline-flex; align-items: center; padding: 6px 14px;
    border-radius: 6px; font-size: 13px; font-weight: 500;
    text-decoration: none; transition: all .15s; white-space: nowrap;
}
.lp-card-btn-call { background: #dcfce7; color: var(--lp-green); border: 1px solid #bbf7d0; }
.lp-card-btn-call:hover { background: var(--lp-green); color: #fff; }
.lp-card-btn-view { background: var(--lp-primary); color: #fff; border: 1px solid var(--lp-primary-dk); }
.lp-card-btn-view:hover { background: var(--lp-primary-dk); }

/* ── Régions / Depts grilles ────────────────────────────────── */
.lp-depts-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px; margin-bottom: 32px;
}
.lp-dept-card {
    background: #fff; border: 1px solid var(--lp-border); border-radius: var(--lp-radius);
    padding: 18px; text-decoration: none; color: inherit;
    display: flex; flex-direction: column; gap: 6px;
    transition: all .15s; box-shadow: var(--lp-shadow-sm);
}
.lp-dept-card:hover { border-color: var(--lp-primary); box-shadow: var(--lp-shadow); transform: translateY(-2px); }
.lp-dept-code { font-size: 22px; font-weight: 700; color: var(--lp-primary); }
.lp-dept-name { font-size: 14px; font-weight: 600; color: #111827; }
.lp-dept-count { font-size: 12px; color: var(--lp-gray); }

.lp-cities-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px; margin-bottom: 32px;
}
.lp-cities-grid-sm { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.lp-city-card {
    background: #fff; border: 1px solid var(--lp-border); border-radius: 8px;
    padding: 14px; text-decoration: none; color: inherit; text-align: center;
    transition: all .15s;
}
.lp-city-card:hover { border-color: var(--lp-primary); background: #eff6ff; }
.lp-city-name { display: block; font-weight: 600; font-size: 14px; color: #111827; }
.lp-city-zip  { display: block; font-size: 12px; color: var(--lp-gray); margin: 2px 0; }
.lp-city-count{ display: block; font-size: 11px; color: var(--lp-primary); font-weight: 500; }
.lp-city-link { text-decoration: none; color: var(--lp-primary); font-size: 13px; display: block; padding: 6px 4px; border-radius: 6px; }
.lp-city-link:hover { background: #eff6ff; }

/* ── Page fiche société ─────────────────────────────────────── */
.lp-company-page .lp-company-layout {
    display: grid; grid-template-columns: 1fr 320px;
    gap: 32px; align-items: start;
}
.lp-company-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--lp-border); }
.lp-company-name { font-size: clamp(22px, 4vw, 32px); font-weight: 800; color: #111827; margin: 0 0 6px; }
.lp-company-activity { font-size: 15px; color: var(--lp-orange); font-weight: 500; margin: 0 0 10px; }
.lp-rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lp-stars { color: #f59e0b; font-size: 18px; }
.lp-rating-value { font-weight: 700; font-size: 16px; color: #374151; }
.lp-rating-count { font-size: 13px; color: var(--lp-gray); }
.lp-company-status-badge { background: #dcfce7; color: var(--lp-green); border-radius: 6px; padding: 4px 12px; font-size: 12px; font-weight: 600; width: fit-content; }

.lp-company-description {
    background: #f8fafc; border-left: 3px solid var(--lp-primary);
    border-radius: 0 var(--lp-radius) var(--lp-radius) 0;
    padding: 16px 20px; margin-bottom: 24px;
    font-size: 14px; line-height: 1.7; color: #374151;
}

.lp-company-info-block { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--lp-gray-light); }
.lp-company-info-block h2 { font-size: 16px; font-weight: 700; color: #111827; margin: 0 0 14px; }
.lp-info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-info-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.lp-info-icon { font-size: 18px; width: 26px; flex-shrink: 0; }
.lp-info-item a { color: var(--lp-primary); text-decoration: none; font-weight: 500; }
.lp-info-item a:hover { text-decoration: underline; }
.lp-phone-link { font-size: 17px; font-weight: 700; color: var(--lp-green) !important; }

.lp-legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.lp-legal-item { display: flex; flex-direction: column; gap: 2px; background: var(--lp-gray-light); padding: 10px 14px; border-radius: 8px; }
.lp-legal-item strong { font-size: 11px; color: var(--lp-gray); text-transform: uppercase; letter-spacing: .5px; }
.lp-legal-item span { font-size: 14px; color: #111827; font-weight: 500; font-family: monospace; }

.lp-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-social-link { padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all .15s; }
.lp-social-facebook { background: #1877f2; color: #fff; }
.lp-social-instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.lp-social-linkedin  { background: #0a66c2; color: #fff; }
.lp-social-link:hover { opacity: .85; transform: translateY(-1px); }

/* ── Sidebar actions ────────────────────────────────────────── */
.lp-action-card {
    background: #fff; border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius); padding: 20px;
    box-shadow: var(--lp-shadow); display: flex; flex-direction: column; gap: 10px;
}
.lp-action-btn {
    display: block; width: 100%; padding: 13px 16px; border-radius: 8px;
    font-size: 14px; font-weight: 600; text-align: center; text-decoration: none;
    cursor: pointer; border: 2px solid transparent; transition: all .15s;
}
.lp-action-call        { background: var(--lp-green);   color: #fff; }
.lp-action-call:hover  { background: #15803d; }
.lp-action-contact     { background: var(--lp-primary); color: #fff; }
.lp-action-contact:hover { background: var(--lp-primary-dk); }
.lp-action-intervention { background: var(--lp-orange); color: #fff; }
.lp-action-intervention:hover { background: #c2410c; }
.lp-action-claim       { background: #fff; color: var(--lp-gray); border-color: var(--lp-border); }
.lp-action-claim:hover { border-color: var(--lp-primary); color: var(--lp-primary); }
.lp-claimed-badge { text-align: center; font-size: 13px; color: var(--lp-green); font-weight: 500; }

.lp-map-preview, .lp-nearby-link {
    background: #fff; border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius); padding: 16px; margin-top: 16px;
}
.lp-map-preview h3, .lp-nearby-link h3 { font-size: 13px; font-weight: 600; color: #374151; margin: 0 0 10px; }
.lp-map-link { color: var(--lp-primary); font-size: 13px; text-decoration: none; font-weight: 500; }

/* ── Modal lead ─────────────────────────────────────────────── */
.lp-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,.55);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.lp-modal-box {
    background: #fff; border-radius: var(--lp-radius); padding: 30px;
    max-width: 900px; width: 95%; box-shadow: 0 20px 60px rgba(0,0,0,.25);
    position: relative;
    max-height: 95vh; overflow-y: auto;
}

@media (max-width: 600px) {
    .lp-modal-box {
        padding: 20px 15px;
        width: 100%;
        max-height: 100vh;
        border-radius: 12px;
    }
    .lp-modal-close {
        top: 10px;
        right: 10px;
    }
    .lp-modal-box h2 {
        font-size: 18px;
        margin-bottom: 15px;
        padding-right: 30px;
    }
}

/* ── Step 4 : Layout 2 colonnes ────────────────────────── */
@media (min-width: 900px) {
    .lp-step-content[data-step="4"] .lp-step-4-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        align-items: start;
    }
    .lp-step-content[data-step="4"] h3, 
    .lp-step-content[data-step="4"] .lp-step-desc,
    .lp-step-content[data-step="4"] .lp-info-box,
    .lp-step-content[data-step="4"] .lp-step-actions {
        grid-column: span 2;
    }
}
.lp-modal-box h2 { font-size: 20px; font-weight: 700; color: #111827; margin: 0 0 20px; }
.lp-modal-close {
    position: absolute; top: 14px; right: 16px;
    background: none; border: none; font-size: 18px; cursor: pointer;
    color: var(--lp-gray); width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.lp-modal-close:hover { background: var(--lp-gray-light); }

.lp-form-group { margin-bottom: 16px; }
.lp-form-group label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 5px; }
.lp-form-input {
    width: 100%; padding: 10px 14px; border: 1.5px solid var(--lp-border);
    border-radius: 8px; font-size: 14px; font-family: inherit;
    transition: border-color .15s; outline: none;
}
.lp-form-input:focus { border-color: var(--lp-primary); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.lp-form-submit {
    width: 100%; padding: 12px; background: var(--lp-primary); color: #fff;
    border: none; border-radius: 8px; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: background .15s;
}
.lp-form-submit:hover { background: var(--lp-primary-dk); }
.lp-form-msg { padding: 10px; border-radius: 6px; font-size: 13px; font-weight: 500; margin-bottom: 12px; }
.lp-form-msg.success { background: #dcfce7; color: var(--lp-green); }
.lp-form-msg.error   { background: #fee2e2; color: var(--lp-red); }

/* ── Pagination ─────────────────────────────────────────────── */
.lp-pagination { display: flex; align-items: center; gap: 12px; justify-content: center; margin-top: 32px; }
.lp-page-link {
    padding: 8px 18px; background: #fff; border: 1px solid var(--lp-border);
    border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none;
    color: var(--lp-primary); transition: all .15s;
}
.lp-page-link:hover { background: var(--lp-primary); color: #fff; border-color: var(--lp-primary); }
.lp-page-info { font-size: 14px; color: var(--lp-gray); }

/* ── Shortcode search ───────────────────────────────────────── */
.lp-search-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-search-bar .lp-search-input {
    flex: 1; min-width: 180px; padding: 10px 14px;
    border: 1.5px solid var(--lp-border); border-radius: 8px;
    font-size: 14px; font-family: inherit; outline: none;
}
.lp-search-bar .lp-search-input:focus { border-color: var(--lp-primary); }
.lp-search-btn {
    padding: 10px 20px; background: var(--lp-primary); color: #fff;
    border: none; border-radius: 8px; font-size: 14px; font-weight: 600;
    cursor: pointer; white-space: nowrap;
}

/* ── Annuaire shortcode ─────────────────────────────────────── */
.lp-annuaire-shortcode { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-region-link {
    padding: 8px 16px; background: #fff; border: 1px solid var(--lp-border);
    border-radius: 20px; text-decoration: none; color: var(--lp-primary);
    font-size: 14px; font-weight: 500; transition: all .15s;
}
.lp-region-link:hover { background: var(--lp-primary); color: #fff; border-color: var(--lp-primary); }

/* ── Top cities section ─────────────────────────────────────── */
.lp-top-cities, .lp-all-cities { margin-bottom: 40px; }
.lp-top-cities h2, .lp-all-cities h2 { font-size: 18px; font-weight: 700; color: #111827; margin: 0 0 16px; }

/* ── Empty state ────────────────────────────────────────────── */
.lp-empty-state {
    text-align: center; padding: 60px 24px;
    background: var(--lp-gray-light); border-radius: var(--lp-radius);
    color: var(--lp-gray);
}
.lp-empty-state a { color: var(--lp-primary); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .lp-company-page .lp-company-layout { grid-template-columns: 1fr; }
    .lp-company-sidebar { order: -1; }
    .lp-legal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .lp-companies-grid { grid-template-columns: 1fr; }
    .lp-depts-grid,
    .lp-cities-grid { grid-template-columns: repeat(2, 1fr); }
}

/* -- Maillage interne - blocs "Autres..." ----------------------------------- */
.lp-related-block {
    margin: 40px auto;
    padding: 28px 32px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}
.lp-related-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lp-text, #111827);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lp-primary, #2563eb);
    display: inline-block;
}
.lp-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lp-related-list li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: .875rem;
    color: var(--lp-primary, #2563eb);
    text-decoration: none;
    transition: background .18s, border-color .18s, transform .15s;
}
.lp-related-list li a:hover {
    background: var(--lp-primary, #2563eb);
    color: #fff;
    border-color: var(--lp-primary, #2563eb);
    transform: translateY(-1px);
}
.lp-rel-rating,
.lp-rel-count {
    font-size: .75rem;
    opacity: .75;
    font-weight: 600;
}
.lp-related-list li a:hover .lp-rel-rating,
.lp-related-list li a:hover .lp-rel-count {
    opacity: 1;
}
/* Grille plus dense pour les rgions */
.lp-regions-list li a,
.lp-cities-list li a {
    font-size: .82rem;
    padding: 5px 12px;
}
@media (max-width: 600px) {
    .lp-related-block { padding: 20px 16px; }
    .lp-related-list { gap: 6px; }
}

/* -------------------------------------------------------------------
   DESIGN SYSTEM V2  1400px  Cohrent avec la homepage
   ------------------------------------------------------------------- */

/* Container large (1400px comme la homepage) */
.lp-wide-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section principale archive */
.lp-archive-section {
    padding: 3rem 2rem 4rem;
    max-width: 1440px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 48px;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

/* Titre H1 premium */
.lp-archive-h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main, #111827);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.lp-text-primary {
    color: var(--primary, var(--lp-primary, #2563eb));
}

.lp-dept-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
}

/* Badge code dpartement */
.lp-dept-code-badge {
    display: inline-block;
    background: rgba(37,99,235,.1);
    color: var(--primary, var(--lp-primary, #2563eb));
    font-size: .7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: .05em;
    flex-shrink: 0;
}
.lp-dept-code-badge--hl {
    background: rgba(255,255,255,.25);
    color: white;
}

/* Code postal inline dans les titres de ville */
.lp-cp-inline {
    font-size: .65em;
    font-weight: 500;
    color: var(--text-muted, #6b7280);
    margin-left: .3rem;
}
.highlight-region .lp-cp-inline { color: rgba(255,255,255,.8); }

/* Grille villes  4 colonnes */
.lp-cities-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 1200px) { .lp-cities-cards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .lp-cities-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .lp-cities-cards-grid { grid-template-columns: 1fr; } }

/* -- Carte socit V2 ----------------------------------------------- */

.lp-companies-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1100px) { .lp-companies-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .lp-companies-grid-v2 { grid-template-columns: 1fr; } }

.lp-co-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.lp-co-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
    border-color: var(--primary, var(--lp-primary, #2563eb));
}

/* En-tte carte */
.lp-co-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .5rem;
}

.lp-co-card__meta {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.lp-co-card__city {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .8rem;
    color: var(--text-muted, #6b7280);
    font-weight: 500;
}

.lp-co-card__city small { color: #9ca3af; }

.lp-co-card__rating {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    color: var(--text-main, #111827);
}

.lp-co-card__stars {
    display: flex;
    gap: 1px;
}

.lp-co-card__reviews {
    color: var(--text-muted, #6b7280);
    font-size: .75rem;
}

.lp-co-card__tag {
    display: inline-block;
    background: rgba(37,99,235,.07);
    color: var(--primary, var(--lp-primary, #2563eb));
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Nom */
.lp-co-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main, #111827);
    margin: 0;
    line-height: 1.3;
}

.lp-co-card__name a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.lp-co-card:hover .lp-co-card__name a {
    color: var(--primary, var(--lp-primary, #2563eb));
}

/* Rsum */
.lp-co-card__summary {
    font-size: .87rem;
    color: var(--text-muted, #6b7280);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Actions */
.lp-co-card__actions {
    display: flex;
    gap: .5rem;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid #f1f5f9;
}

.lp-co-card__btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1rem;
    border-radius: 12px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}

.lp-co-card__btn--call {
    background: rgba(22,163,74,.08);
    color: #16a34a;
    flex: 1;
    justify-content: center;
}

.lp-co-card__btn--call:hover {
    background: #16a34a;
    color: white;
}

.lp-co-card__btn--view {
    background: var(--primary, var(--lp-primary, #2563eb));
    color: white;
    justify-content: center;
    min-width: 110px;
}

.lp-co-card__btn--view:hover {
    filter: brightness(1.1);
    transform: translateX(2px);
}

/* -- Pagination V2 -------------------------------------------------- */

.lp-pagination-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.lp-pag-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem 1.5rem;
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 700;
    font-size: .9rem;
    color: var(--text-main, #111827);
    text-decoration: none;
    transition: all .2s;
}

.lp-pag-btn:hover {
    border-color: var(--primary, var(--lp-primary, #2563eb));
    color: var(--primary, var(--lp-primary, #2563eb));
    background: rgba(37,99,235,.04);
}

.lp-pag-info {
    font-size: .85rem;
    color: var(--text-muted, #6b7280);
    font-weight: 600;
}

/* -- tat vide ------------------------------------------------------ */

.lp-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
}

.lp-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.lp-empty-state p {
    font-size: 1.1rem;
    color: var(--text-muted, #6b7280);
    margin-bottom: 1.5rem;
}

.lp-btn-back {
    display: inline-block;
    padding: .65rem 1.5rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 700;
    color: var(--text-main, #111827);
    text-decoration: none;
    transition: all .2s;
}

.lp-btn-back:hover {
    border-color: var(--primary, var(--lp-primary, #2563eb));
    color: var(--primary, var(--lp-primary, #2563eb));
}

/* -- Responsive archive-section ------------------------------------ */
@media (max-width: 900px) {
    .lp-archive-section { padding: 2rem 1.25rem 2.5rem; border-radius: 24px; margin-top: 1rem; }
    .lp-archive-h1 { font-size: 1.9rem; }
    .lp-wide-container { padding: 0 1.25rem; }
    .section-header-flex { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 600px) {
    .lp-archive-h1 { font-size: 1.5rem; }
    .lp-archive-section { border-radius: 16px; }
}

.lp-archive-page { padding-bottom: 5rem; }
.lp-related-block { margin-bottom: 4rem !important; }


/* Override theme 3-cols to 4-cols on desktop for Premium Design */
.regions-grid { grid-template-columns: repeat(4, 1fr) !important; }
@media (max-width: 1100px) { .regions-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 900px) { .regions-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px) { .regions-grid { grid-template-columns: 1fr !important; } }


/* Widgets */
.lp-widget { margin-bottom: 24px; }
.lp-widget-title { font-size: 12px; font-weight: 700; color: var(--lp-gray); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }

/* Map in main column */
.lp-map-main {
    margin-top: 32px; padding: 24px;
    background: #fff; border: 1px solid var(--lp-border); border-radius: var(--lp-radius);
}
.lp-map-main h2 { font-size: 18px; font-weight: 700; color: #111827; margin: 0 0 16px; }


.lp-map-main .lp-map-placeholder { 
    height: 400px; 
    width: 100%; 
    background: #f1f5f9; 
    border-radius: 8px;
    overflow: hidden;
}

.lp-map-actions {
    margin-top: 20px;
    text-align: center;
}

.lp-btn-map-full {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #f8fafc;
    border: 1px solid var(--lp-border);
    border-radius: 6px;
    color: var(--lp-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.lp-btn-map-full:hover {
    background: var(--lp-primary);
    color: #fff;
    border-color: var(--lp-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

iframe { max-width: 100%; }
.lp-map-placeholder iframe { width: 100% !important; height: 100% !important; display: block; }

/* Services & Horaires Grid */
.lp-company-grid-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.lp-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-services-list li {
    font-size: 15px;
    color: #4b5563;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
}

.lp-services-list li:last-child {
    border-bottom: none;
}

.lp-hours-list {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
}

.lp-hour-item {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #374151;
    margin-bottom: 8px;
}

.lp-hours-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .lp-company-grid-info {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.lp-faq-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--lp-border);
}

.lp-faq-item:last-child {
    border-bottom: none;
}

.lp-faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.lp-faq-item p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.5;
}

/* Zones Section */
.lp-zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.lp-zone-link {
    display: block;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s;
}

.lp-zone-link:hover {
    background: #fff;
    border-color: var(--lp-primary);
    color: var(--lp-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Global Refresh */
:root {
    --lp-accent: #f97316;
    --lp-success: #22c55e;
    --lp-text-dark: #0f172a;
    --lp-text-light: #64748b;
    --lp-card-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --lp-border-soft: rgba(226, 232, 240, 0.8);
}

/* Hero Section Ultra */
.lp-company-hero-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.lp-company-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.lp-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.lp-company-name {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.1;
}

.lp-tag-activity {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 24px;
}

.lp-premium-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-stars-gold {
    color: #fbbf24;
    letter-spacing: 2px;
}

/* Bento Grid */
.lp-bento-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.lp-bento-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--lp-card-shadow);
    border: 1px solid var(--lp-border-soft);
}

.lp-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.lp-card-icon {
    width: 40px;
    height: 40px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 20px;
}

.lp-card-head h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--lp-text-dark);
    margin: 0;
}

/* Lists & Status */
.lp-premium-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-premium-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: var(--lp-text-light);
    font-size: 15px;
}

.lp-dot {
    width: 6px;
    height: 6px;
    background: var(--lp-accent);
    border-radius: 50%;
    margin-top: 8px;
}

.lp-status-live {
    background: #dcfce7;
    color: #166534;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Content Cards */
.lp-premium-content-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--lp-card-shadow);
    border: 1px solid var(--lp-border-soft);
}

.lp-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.lp-title-line {
    width: 4px;
    height: 24px;
    background: var(--lp-accent);
    border-radius: 10px;
}

.lp-section-title h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--lp-text-dark);
    margin: 0;
}

/* Contact & Map Grid */
.lp-contact-map-grid {
    display: block !important;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.lp-contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.lp-contact-icon {
    font-size: 24px;
}

.lp-contact-info strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--lp-text-light);
    margin-bottom: 4px;
}

.lp-contact-info span, .lp-contact-info a {
    color: var(--lp-text-dark);
    font-weight: 600;
    font-size: 16px;
}

.lp-map-container-premium {
    height: 450px !important;
    width: 100% !important;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.lp-map-overlay-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--lp-text-dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-decoration: none;
}

/* FAQ Accordion Premium */
.lp-premium-faq .lp-faq-row {
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.lp-premium-faq .lp-faq-row.active {
    border-color: var(--lp-accent);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.05);
}

.lp-faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.lp-faq-question h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--lp-text-dark);
}

.lp-faq-toggle::after {
    content: '+';
    font-size: 20px;
    color: var(--lp-accent);
    font-weight: 400;
}

.lp-faq-row.active .lp-faq-toggle::after {
    content: '-';
}

.lp-faq-answer {
    padding: 0 24px 20px 24px;
    color: var(--lp-text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .lp-bento-grid, .lp-contact-map-grid {
    display: block !important;
        grid-template-columns: 1fr;
    }
    .lp-company-hero-card {
        padding: 32px;
    }
    .lp-company-name {
        font-size: 32px !important;
    }
}

/* Sidebar Ultra-Premium */
.lp-action-card {
    background: #fff;
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--lp-card-shadow);
    border: 1px solid var(--lp-border-soft);
}

.lp-action-btn {
    height: 58px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.lp-action-call {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    border: none !important;
    color: #fff !important;
}

.lp-action-call:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

.lp-action-contact {
    background: #fff;
    border: 2px solid #e2e8f0 !important;
    color: var(--lp-text-dark) !important;
}

.lp-action-contact:hover {
    border-color: var(--lp-accent) !important;
    color: var(--lp-accent) !important;
}

.lp-action-intervention {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff !important;
}

.lp-action-claim {
    background: #f8fafc;
    border: 1px dashed #cbd5e1 !important;
    color: #64748b !important;
    font-size: 13px;
}

.lp-zone-intro {
    font-size: 15px;
    color: var(--lp-text-light);
    margin-bottom: 20px;
}

.lp-premium-zones-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lp-zone-pill {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.lp-zone-pill:hover {
    background: #fff;
    border-color: var(--lp-accent);
    color: var(--lp-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Sidebar City Card */
.lp-premium-sidebar-card {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--lp-card-shadow);
    border: 1px solid var(--lp-border-soft);
    margin-top: 24px;
}

.lp-premium-sidebar-card p {
    font-size: 14px;
    color: var(--lp-text-light);
    line-height: 1.5;
    margin-bottom: 20px;
}

.lp-btn-sidebar-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-text-dark);
    text-decoration: none;
    transition: all 0.2s;
}

.lp-btn-sidebar-outline:hover {
    background: #f8fafc;
    border-color: var(--lp-accent);
    color: var(--lp-accent);
}

/* Related Footer Premium */
.lp-premium-related-footer {
    margin-top: 60px;
    padding: 48px;
    background: #f8fafc;
    border-radius: 32px;
}

.lp-related-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.lp-related-premium-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--lp-border-soft);
    text-decoration: none;
    transition: all 0.2s;
}

.lp-related-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--lp-accent);
}

.lp-rel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.lp-rel-head strong {
    font-size: 16px;
    color: var(--lp-text-dark);
}

.lp-rel-rating-pill {
    background: #fffbeb;
    color: #b45309;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

.lp-rel-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--lp-text-light);
}

/* FINAL OVERRIDE FOR WIDTH AND MAP */
body .lp-container.lp-company-page {
    max-width: 1440px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

body .lp-contact-map-grid {
    display: block !important;
}

body .lp-map-container-premium {
    height: 500px !important; /* Slightly larger even */
    width: 100% !important;
    margin-top: 24px !important;
}

body .lp-contact-details {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
}

@media (max-width: 768px) {
    body .lp-contact-details {
        grid-template-columns: 1fr !important;
    }
}
body .lp-frontend-wrapper { width: 100% !important; margin: 0 !important; padding: 0 !important; }
body .lp-map-placeholder { height: 100% !important; width: 100% !important; display: block !important; } body .lp-map-placeholder iframe { height: 100% !important; min-height: 500px !important; }

/* ── Multi-steps Intervention Form ────────────────────────── */
.lp-multi-steps { overflow: hidden; padding-top: 5px; }
.lp-steps-progress { 
    position: relative; 
    margin: 20px 30px 50px; 
    height: 28px; /* Hauteur égale à celle des points pour un centrage parfait */
    display: flex;
    align-items: center;
}
.lp-steps-progress::before { 
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 4px;
    background: #e2e8f0;
    border-radius: 10px;
    z-index: 1;
}
.lp-progress-bar { 
    position: absolute; height: 4px; 
    background: var(--lp-orange); border-radius: 10px; transition: width 0.3s ease; 
    z-index: 2;
}
.lp-steps-dots { 
    position: absolute; inset: 0;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 3;
    pointer-events: none;
}
.step-dot { 
    pointer-events: auto;
    width: 30px; height: 30px; background: #fff; border: 2px solid #e2e8f0; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 13px; font-weight: 800; color: #94a3b8;
    transition: all 0.3s;
}
.step-dot.active { border-color: var(--lp-orange); background: var(--lp-orange); color: #fff; box-shadow: 0 0 0 5px rgba(234, 88, 12, 0.15); }

.lp-step-content { display: none; animation: slideIn 0.4s ease; }
.lp-step-content.active { display: block; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

.lp-step-content h3 { font-size: 18px; font-weight: 800; color: #1e293b; margin: 0 0 20px; text-align: center; }

/* Service Cards */
.lp-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 25px; }
.lp-service-card { 
    position: relative; cursor: pointer; border: 2px solid #e2e8f0; border-radius: 12px; 
    padding: 12px 8px; text-align: center; transition: all 0.2s; display: flex; flex-direction: column; align-items: center; gap: 5px;
    background: #fff;
}
.lp-service-card input { position: absolute; opacity: 0; }
.lp-service-card .card-icon { font-size: 24px; margin-bottom: 5px; transition: 0.2s; }
.lp-service-card .card-label { font-size: 13px; font-weight: 800; color: #1e293b; line-height: 1.2; display: block; }
.lp-service-card .card-sublabel { font-size: 10px; color: #94a3b8; font-weight: 500; display: block; line-height: 1.2; }
.lp-service-card:hover { border-color: #cbd5e1; background: #f8fafc; }
.lp-service-card:has(input:checked) { border-color: var(--lp-orange); background: rgba(234, 88, 12, 0.05); }
.lp-service-card:has(input:checked) .card-label { color: var(--lp-orange); }
.lp-service-card:has(input:checked) .card-icon { transform: scale(1.1); }

/* Option Boxes */
.lp-options-vertical { display: flex; flex-direction: column; gap: 12px; margin-bottom: 25px; }
.lp-option-box { 
    position: relative; cursor: pointer; border: 2px solid #e2e8f0; border-radius: 12px; 
    padding: 15px; display: flex; align-items: center; gap: 15px; transition: all 0.2s;
}
.lp-option-box input { width: 18px; height: 18px; cursor: pointer; accent-color: var(--lp-primary); }
.lp-option-box .option-content { display: flex; flex-direction: column; }
.lp-option-box strong { font-size: 15px; color: #1e293b; }
.lp-option-box span { font-size: 13px; color: #64748b; }
.lp-option-box:hover { border-color: #cbd5e1; background: #f8fafc; }
.lp-option-box:has(input:checked) { border-color: var(--lp-primary); background: rgba(37,99,235,0.05); }

/* Timing Cards Step 2 */
.lp-timing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 25px; }
.lp-timing-card { 
    position: relative; cursor: pointer; border: 2px solid #e2e8f0; border-radius: 12px; 
    padding: 20px 10px; text-align: center; transition: all 0.2s; display: flex; flex-direction: column; align-items: center; gap: 8px;
    background: #fff;
}
.lp-timing-card input { position: absolute; opacity: 0; }
.lp-timing-card .card-icon { font-size: 28px; margin-bottom: 5px; }
.lp-timing-card .card-label { font-size: 14px; font-weight: 800; color: #1e293b; display: block; }
.lp-timing-card .card-sublabel { font-size: 11px; color: #94a3b8; font-weight: 500; display: block; }
.lp-timing-card:hover { border-color: #cbd5e1; }

/* Special States */
.lp-timing-card:has(input[value="Le plus vite possible"]:checked) { border-color: #ef4444; background: #fef2f2; }
.lp-timing-card:has(input[value="Le plus vite possible"]:checked) .card-label { color: #ef4444; }
.lp-timing-card:has(input[value="Sans urgence"]:checked), .lp-timing-card:has(input[value="Planifier"]:checked) { border-color: #334155; background: #f8fafc; }

.lp-planifier-box { background: #f8fafc; padding: 25px; border-radius: 12px; border: 1.5px dashed #cbd5e1; margin-bottom: 25px; animation: fadeIn 0.3s; }
.lp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lp-planifier-box label { font-size: 13px; font-weight: 700; color: #475569; margin-bottom: 8px; display: block; }
.lp-planifier-box input { 
    width: 100%; padding: 12px; border: 1.5px solid #e2e8f0; border-radius: 10px; 
    font-size: 15px; font-weight: 600; color: #1e293b; background: #fff;
    outline: none; transition: all 0.2s;
}
.lp-planifier-box input:focus { border-color: var(--lp-orange); box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1); }



/* Location Step 3 */
.lp-label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.lp-get-pos-v2 { 
    background: #fff; border: 1.5px solid var(--lp-orange); color: var(--lp-orange); 
    padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; 
    cursor: pointer; transition: 0.2s; 
}
.lp-get-pos-v2:hover { background: var(--lp-orange); color: #fff; }

.lp-autocomplete-wrapper { position: relative; }
.lp-input-autocomplete {
    width: 100%; padding: 15px 18px; border: 1.5px solid #e2e8f0; border-radius: 12px;
    font-size: 15px; font-weight: 500; color: #1e293b; transition: all 0.2s;
}
.lp-input-autocomplete:focus { border-color: var(--lp-orange); box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1); outline: none; }

.lp-suggestions { 
    position: absolute; top: calc(100% + 5px); left: 0; right: 0; 
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); z-index: 100; max-height: 200px; 
    overflow-y: auto; display: none; 
}
.lp-suggestion-item { padding: 10px 15px; font-size: 13px; cursor: pointer; border-bottom: 1px solid #f1f5f9; }
.lp-suggestion-item:hover { background: #f8fafc; color: var(--lp-orange); }
.lp-suggestion-item:last-child { border-bottom: none; }

.lp-location-sep { text-align: center; color: #94a3b8; font-size: 20px; margin: 10px 0; }

.lp-distance-summary { 
    background: #fdf2f8; border: 1px solid #fbcfe8; border-radius: 10px; 
    padding: 12px; text-align: center; font-size: 14px; color: #9d174d; 
    margin-bottom: 20px; animation: bounceIn 0.4s ease; 
}
@keyframes bounceIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lp-timing-info-box p { margin: 0; font-size: 14px; color: #1e40af; font-weight: 600; }
.lp-estimated-time { font-weight: 400; opacity: 0.8; }

.lp-info-box-light { 
    background: #f0f9ff; border: 1px solid #e0f2fe; border-radius: 12px; 
    padding: 15px; display: flex; align-items: center; gap: 12px; margin-bottom: 25px; 
}
.lp-info-box-light p { margin: 0; font-size: 13px; color: #0369a1; font-weight: 500; }
.lp-btn-next, .lp-btn-submit { flex: 2; background: var(--lp-primary); color: #fff; border: none; padding: 14px; border-radius: 10px; font-weight: 700; cursor: pointer; transition: 0.2s; }
.lp-btn-prev { flex: 1; background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; padding: 14px; border-radius: 10px; font-weight: 700; cursor: pointer; }
.lp-btn-next:hover, .lp-btn-submit:hover { filter: brightness(1.1); transform: translateY(-1px); }

.lp-error { border-color: #ef4444 !important; background: #fff1f2 !important; }

.lp-steps-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: #64748b; }
.lp-step-percent { color: var(--lp-orange); }

.lp-step-desc { text-align: center; color: #64748b; font-size: 14px; margin-top: -15px; margin-bottom: 25px; }

.lp-reassurance-bar { display: flex; justify-content: center; gap: 20px; margin-bottom: 25px; }
.lp-reassurance-bar span { font-size: 13px; font-weight: 700; color: #16a34a; display: flex; align-items: center; gap: 5px; }
.lp-reassurance-bar span:last-child { color: #64748b; }

.lp-info-box { 
    background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 12px; 
    padding: 15px; display: flex; align-items: center; gap: 12px; margin-bottom: 25px; 
}
.lp-info-box .info-icon { font-size: 20px; color: #0369a1; }
.lp-info-box p { margin: 0; font-size: 13px; color: #0369a1; font-weight: 500; line-height: 1.4; }

.lp-compact-title { font-size: 18px; font-weight: 800; color: #1e293b; margin-bottom: 15px; text-align: center; }

/* Status Mini */
.lp-status-grid-compact { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.lp-status-card-mini { 
    position: relative; cursor: pointer; border: 1px solid #e2e8f0; border-radius: 10px; 
    padding: 8px 4px; text-align: center; transition: 0.2s; display: flex; flex-direction: column; align-items: center;
}
.lp-status-card-mini input { position: absolute; opacity: 0; }
.lp-status-card-mini .card-icon { font-size: 18px; }
.lp-status-card-mini .card-label { font-size: 11px; font-weight: 700; color: #475569; margin-top: 2px; }
.lp-status-card-mini:has(input:checked) { border-color: var(--lp-orange); background: rgba(234, 88, 12, 0.05); }
.lp-status-card-mini.urgent:has(input:checked) { border-color: #ef4444; background: #fef2f2; }

/* Access Mini */
.lp-access-grid-compact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lp-access-card-mini { 
    position: relative; cursor: pointer; border: 1px solid #e2e8f0; border-radius: 10px; 
    padding: 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.lp-access-card-mini input { position: absolute; opacity: 0; }
.lp-access-card-mini .access-icon { width: 24px; height: 24px; font-size: 12px; border-radius: 4px; }
.lp-access-card-mini .card-label { font-size: 11px; font-weight: 700; color: #475569; }
.lp-access-card-mini:has(input:checked) { border-color: var(--lp-orange); background: rgba(234, 88, 12, 0.05); }

/* Contact Step 5 */
.lp-input-icon-wrapper { position: relative; display: flex; align-items: center; }
.lp-input-icon-wrapper .input-icon { position: absolute; left: 15px; font-size: 18px; color: #94a3b8; }
.lp-input-icon-wrapper input { padding-left: 45px !important; }

.lp-phone-input-group { display: flex; gap: 10px; }
.lp-country-select { 
    background: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: 10px; 
    padding: 0 15px; display: flex; align-items: center; gap: 8px; font-size: 14px; 
    font-weight: 700; color: #475569; cursor: pointer; white-space: nowrap;
}

.lp-gdpr-box { 
    background: #f8fafc; border-radius: 10px; padding: 15px; margin-bottom: 20px; 
    border: 1px solid #e2e8f0; 
}
.lp-checkbox-label { display: flex; align-items: center; gap: 12px; cursor: pointer; position: relative; }
.lp-checkbox-label input { position: absolute; opacity: 0; }
.lp-checkmark { 
    width: 22px; height: 22px; border: 2px solid #cbd5e1; border-radius: 6px; 
    display: block; position: relative; flex-shrink: 0; background: #fff;
}
.lp-checkbox-label:hover .lp-checkmark { border-color: var(--lp-orange); }
.lp-checkbox-label input:checked + .lp-checkmark { background: var(--lp-orange); border-color: var(--lp-orange); }
.lp-checkmark:after { 
    content: ""; position: absolute; display: none; left: 6px; top: 2px; width: 6px; height: 11px; 
    border: solid white; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); 
}
.lp-checkbox-label input:checked + .lp-checkmark:after { display: block; }
.lp-gdpr-text { font-size: 13px; color: #475569; line-height: 1.4; font-weight: 500; }

.lp-security-note { 
    text-align: center; font-size: 12px; color: #64748b; font-weight: 600; 
    margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* Success Final Screen */
.lp-success-final { 
    text-align: center; padding: 40px 20px; animation: fadeIn 0.5s ease-out; 
    display: flex; flex-direction: column; align-items: center; gap: 15px;
}
.lp-success-final .success-icon { font-size: 50px; margin-bottom: 10px; }
.lp-success-final h3 { color: #16a34a; font-size: 24px; font-weight: 800; margin: 0; }
.lp-success-final p { color: #64748b; font-size: 16px; margin: 0; line-height: 1.5; }
.lp-btn-primary { 
    background: var(--lp-orange); color: #fff; border: none; padding: 14px 30px; 
    border-radius: 12px; font-weight: 800; cursor: pointer; transition: 0.2s; 
    font-size: 16px; margin-top: 10px;
}
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3); }

@media (max-width: 768px) {
    .lp-status-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .lp-status-grid { grid-template-columns: repeat(2, 1fr); }
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* ── Mobile Optimization (iPhone 12 Pro / 390px) ── */
@media (max-width: 640px) {
    .lp-co-card__actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .lp-co-card__btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .lp-co-card__btn--view {
        min-width: 100%;
    }

    .lp-archive-meta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        line-height: 1.4;
    }

    .lp-live-status {
        margin-right: 0;
        margin-bottom: 4px;
    }

    .lp-archive-section {
        padding: 1.5rem 1rem 2.5rem;
        border-radius: 20px;
    }

    .lp-co-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .lp-co-card__tag {
        margin-top: 4px;
    }

    /* Formulaire d'intervention */
    .lp-modal-box {
        padding: 20px 15px !important;
        width: 100% !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
    }

    .lp-form-row { grid-template-columns: 1fr !important; gap: 15px !important; }
    
    .lp-services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .lp-timing-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .lp-steps-progress {
        margin: 20px 5px 40px !important;
    }

    .lp-service-card {
        padding: 10px 5px !important;
    }

    .lp-reassurance-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
    }

    .lp-step-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .lp-btn-prev {
        order: 2 !important;
        width: 100% !important;
    }

    .lp-btn-next, .lp-btn-submit {
        order: 1 !important;
        width: 100% !important;
    }

    .lp-step-4-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .lp-status-grid-compact {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }

    .lp-access-grid-compact {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .lp-status-card-mini {
        padding: 10px 5px !important;
    }

    .lp-status-card-mini .card-label {
        font-size: 10px !important;
    }
}


