/* =============================================================================
   LCM — CSS du thème (overrides ciblés, le gros est dans theme.json)
   ========================================================================== */

/* --- Tokens utilitaires --- */
:where(:root) {
    --lcm-radius-sm: 6px;
    --lcm-radius-md: 12px;
    --lcm-radius-lg: 18px;
    --lcm-radius-pill: 999px;
    --lcm-shadow-soft:   0 6px 24px -10px rgba(13, 71, 161, 0.18);
    --lcm-shadow-medium: 0 12px 36px -12px rgba(8, 40, 88, 0.22);
    --lcm-shadow-strong: 0 24px 48px -16px rgba(8, 40, 88, 0.28);
    --lcm-header-h: 88px;
}

/* --- CRITICAL : forcer les couleurs de titre par défaut (override WP global) ---
   WP génère parfois un .wp-block-heading { color:white } global à cause des
   patterns où textColor=base est défini. On force la couleur charcoal par
   défaut, et on laisse .has-base-color / .has-X-color l'overrider proprement. */
h1.wp-block-heading,
h2.wp-block-heading,
h3.wp-block-heading,
h4.wp-block-heading {
    color: var(--wp--preset--color--charcoal);
}
h1.wp-block-heading.has-base-color,
h2.wp-block-heading.has-base-color,
h3.wp-block-heading.has-base-color,
h4.wp-block-heading.has-base-color { color: var(--wp--preset--color--base) !important; }

h1.wp-block-heading.has-primary-color,   h2.wp-block-heading.has-primary-color   { color: var(--wp--preset--color--primary)      !important; }
h1.wp-block-heading.has-primary-deep-color, h2.wp-block-heading.has-primary-deep-color { color: var(--wp--preset--color--primary-deep) !important; }
h1.wp-block-heading.has-accent-color,     h2.wp-block-heading.has-accent-color    { color: var(--wp--preset--color--accent)        !important; }

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Focus ring net et accessible (orange = signal d'urgence). */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--wp--preset--color--accent);
    outline-offset: 2px;
    border-radius: var(--lcm-radius-sm);
}

/* --- Liens : underline propre, jamais agressif --- */
a {
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
    transition: color 0.18s ease;
}

/* --- Boutons : variations (primary/secondary/ghost/urgence) --- */
.wp-block-button__link {
    transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.wp-block-button__link:hover {
    transform: translateY(-1px);
    box-shadow: var(--lcm-shadow-soft);
}

.is-style-outline > .wp-block-button__link {
    background-color: transparent !important;
    color: var(--wp--preset--color--primary-dark) !important;
    border: 2px solid var(--wp--preset--color--primary) !important;
}
.is-style-outline > .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--primary-ice) !important;
    color: var(--wp--preset--color--primary-dark) !important;
}

/* "Ghost" sur fond clair : bordure bleue, texte bleu */
.is-style-ghost > .wp-block-button__link {
    background-color: transparent !important;
    color: var(--wp--preset--color--primary-dark) !important;
}
.is-style-ghost > .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--primary-ice) !important;
}

/* "Ghost" sur fond bleu profond : fond blanc, texte bleu foncé. Contraste fort. */
.has-primary-deep-background-color .is-style-ghost > .wp-block-button__link,
section.has-primary-deep-background-color .wp-block-button.is-style-ghost .wp-block-button__link {
    background-color: var(--wp--preset--color--base) !important;
    color: var(--wp--preset--color--primary-dark) !important;
    border-color: var(--wp--preset--color--base) !important;
    border-style: solid !important;
    border-width: 2px !important;
    font-weight: 700 !important;
}
.has-primary-deep-background-color .is-style-ghost > .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--primary-ice) !important;
    color: var(--wp--preset--color--primary-deep) !important;
}

.is-style-urgence > .wp-block-button__link {
    background-color: var(--wp--preset--color--accent) !important;
    color: var(--wp--preset--color--base) !important;
    font-weight: 700 !important;
}
.is-style-urgence > .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--accent-dark) !important;
}

/* --- Cartes — utilisées par les patterns --- */
.lcm-card {
    background: var(--wp--preset--color--base);
    border: 1px solid var(--wp--preset--color--border);
    border-radius: var(--lcm-radius-lg);
    box-shadow: var(--lcm-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lcm-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--lcm-shadow-medium);
}

/* --- Badge / pill --- */
.lcm-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.35em 0.85em;
    background: var(--wp--preset--color--primary-ice);
    color: var(--wp--preset--color--primary-dark);
    border-radius: var(--lcm-radius-pill);
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.lcm-pill--accent { background: var(--wp--preset--color--accent-soft); color: var(--wp--preset--color--accent-dark); }
.lcm-pill--success { background: var(--wp--preset--color--success-bg); color: var(--wp--preset--color--success); }

/* --- Topbar (bandeau bleu profond au-dessus du header) --- */
.lcm-topbar {
    background: var(--wp--preset--color--primary-deep);
    color: var(--wp--preset--color--primary-ice);
    font-size: 13px;
    letter-spacing: 0.01em;
}
.lcm-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.55rem var(--wp--preset--spacing--40);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: nowrap;
}
.lcm-topbar p { margin: 0; font-size: 13px; }
.lcm-topbar a { color: var(--wp--preset--color--base); text-decoration: none; }
.lcm-topbar a:hover { color: var(--wp--preset--color--accent-soft); }
.lcm-topbar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
    font-size: 13px;
}
.lcm-topbar-rating strong { color: var(--wp--preset--color--accent); }
.lcm-topbar-phone strong { color: var(--wp--preset--color--base); }
.lcm-topbar-services { opacity: 0.85; }

@media (max-width: 880px) {
    .lcm-topbar-services { display: none; }
}
@media (max-width: 640px) {
    .lcm-topbar-baseline { font-size: 12px; }
    .lcm-topbar-baseline span { display: none; }
    .lcm-topbar-rating span { display: none; }
    .lcm-topbar-phone span { display: none; }
    .lcm-topbar-inner { gap: 0.75rem; padding: 0.5rem 1rem; }
}

/* --- Header sticky propre (pas de border, pas de gap) --- */
.wp-site-blocks > header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0 6px 18px -12px rgba(8, 40, 88, 0.12);
}

/* ============================================================
   HEADER PRINCIPAL
   ============================================================ */
.lcm-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

/* Brand : logo + nom + tagline */
.lcm-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none !important;
    flex-shrink: 0;
}
.lcm-brand img { width: 48px; height: auto; display: block; }
.lcm-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.lcm-brand-name {
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 800;
    font-size: 21px;
    color: var(--wp--preset--color--charcoal);
    letter-spacing: -0.02em;
    line-height: 1;
}
.lcm-brand-tag {
    font-size: 10px;
    color: var(--wp--preset--color--muted);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 4px;
}
@media (max-width: 1180px) { .lcm-brand-text { display: none; } }
@media (max-width: 480px)  { .lcm-brand img { width: 42px; } }

/* Nav desktop */
.lcm-nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 1;
}
.lcm-nav a {
    position: relative;
    padding: 0.55rem 0.9rem;
    font-size: 14px;
    font-weight: 600;
    color: var(--wp--preset--color--charcoal);
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.18s ease, background-color 0.18s ease;
    white-space: nowrap;
}
.lcm-nav a:hover {
    color: var(--wp--preset--color--primary-dark);
    background: var(--wp--preset--color--primary-ice-2);
}
.lcm-nav a::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.3rem;
    height: 2px;
    background: var(--wp--preset--color--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}
.lcm-nav a:hover::after { transform: scaleX(1); }
@media (max-width: 1240px) { .lcm-nav a { padding-left: 0.6rem; padding-right: 0.6rem; font-size: 13px; } }

/* CTA cluster header */
.lcm-header-cta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
}

/* Téléphone HEADER : plus visible, encart sobre avec icône */
.lcm-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--wp--preset--color--charcoal);
    font-weight: 700;
    text-decoration: none !important;
    padding: 0.45rem 0.85rem 0.45rem 0.7rem;
    border-radius: 12px;
    background: var(--wp--preset--color--primary-ice);
    transition: background-color 0.18s ease, color 0.18s ease;
}
.lcm-header-phone:hover {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
}
.lcm-header-phone:hover svg { color: var(--wp--preset--color--base); }
.lcm-header-phone svg {
    color: var(--wp--preset--color--primary);
    flex-shrink: 0;
    transition: color 0.18s ease;
}
.lcm-header-phone-label {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.lcm-header-phone-num {
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: -0.005em;
}
.lcm-header-phone-sub {
    font-size: 10px;
    color: var(--wp--preset--color--muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 2px;
}
.lcm-header-phone:hover .lcm-header-phone-sub { color: var(--wp--preset--color--primary-ice); }

/* Bouton "Devis gratuit" header */
.lcm-header-devis {
    display: inline-flex;
    align-items: center;
    padding: 0.78rem 1.4rem;
    background: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--base);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    border-radius: var(--lcm-radius-pill);
    box-shadow: 0 4px 14px -4px rgba(224, 123, 45, 0.45);
    transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}
.lcm-header-devis:hover {
    background: var(--wp--preset--color--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px -6px rgba(196, 103, 32, 0.55);
}

/* ============================================================
   BURGER + MOBILE MENU
   ============================================================ */
.lcm-burger {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--wp--preset--color--primary-ice);
    border: 0;
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background-color 0.18s ease;
}
.lcm-burger:hover { background: var(--wp--preset--color--primary); }
.lcm-burger span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2.5px;
    background: var(--wp--preset--color--charcoal);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease, background-color 0.18s ease;
}
.lcm-burger:hover span { background: var(--wp--preset--color--base); }
.lcm-burger span:nth-child(1) { top: 14px; }
.lcm-burger span:nth-child(2) { top: 20.5px; }
.lcm-burger span:nth-child(3) { top: 27px; }
.lcm-burger.is-active span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.lcm-burger.is-active span:nth-child(2) { opacity: 0; }
.lcm-burger.is-active span:nth-child(3) { top: 20.5px; transform: rotate(-45deg); }

/* Bascule mobile : on cache nav desktop, on affiche burger, on simplifie CTA */
@media (max-width: 980px) {
    .lcm-nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: var(--wp--preset--color--primary-deep);
        z-index: 100;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 110px 1.5rem 2rem;
        overflow-y: auto;
        gap: 0.25rem;
        box-sizing: border-box;
    }
    .lcm-nav.is-open { display: flex !important; }
    .lcm-nav a {
        color: var(--wp--preset--color--base) !important;
        font-size: 20px;
        font-weight: 700;
        padding: 1.1rem 1rem !important;
        border-radius: 12px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        background: transparent !important;
        text-align: left;
        white-space: normal;
    }
    .lcm-nav a:hover,
    .lcm-nav a:active {
        color: var(--wp--preset--color--accent) !important;
        background: rgba(255,255,255,0.05) !important;
    }
    .lcm-nav a::after { display: none; }

    .lcm-burger { display: block; z-index: 110; }
    .lcm-burger.is-active { background: var(--wp--preset--color--accent); }
    .lcm-burger.is-active span { background: var(--wp--preset--color--base); }

    body.lcm-menu-open { overflow: hidden; }

    /* Cacher le bouton devis sur mobile, garder téléphone */
    .lcm-header-devis { display: none; }
}
@media (max-width: 480px) {
    .lcm-header-phone {
        padding: 0.45rem 0.7rem;
        gap: 0.4rem;
    }
    .lcm-header-phone-sub { display: none; }
    .lcm-header-phone-num { font-size: 13px; }
}

/* --- Card département cliquable (page zone-intervention) --- */
.lcm-dept-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -14px rgba(13, 71, 161, 0.22);
    border-color: var(--wp--preset--color--primary-ice) !important;
}

/* ============================================================
   ZONES D'INTERVENTION (home) — carte SVG IDF + grille villes + Paris
   ============================================================ */
.lcm-zones-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 960px) {
    .lcm-zones-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* --- SVG MAP IDF --- */
.lcm-svg-map {
    background: var(--wp--preset--color--base);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 18px 50px -20px rgba(13, 71, 161, 0.18);
}
.lcm-svg-map svg {
    width: 100%;
    height: auto;
    display: block;
    color: var(--wp--preset--color--primary);
}
.lcm-svg-caption {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--wp--preset--color--muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 1rem 0 0;
}

/* Régions du SVG IDF */
.lcm-region {
    cursor: pointer;
    color: var(--wp--preset--color--primary);
    transition: color 0.2s ease, opacity 0.2s ease;
}
.lcm-region path { transition: fill 0.2s ease; }
.lcm-region text { pointer-events: none; user-select: none; }
.lcm-region:hover { color: var(--wp--preset--color--primary-dark); }
.lcm-region--accent { color: var(--wp--preset--color--accent); }
.lcm-region--accent:hover { color: var(--wp--preset--color--accent-dark); }
.lcm-region--paris { color: var(--wp--preset--color--primary-deep); }
.lcm-region:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 2px; }

/* --- Liste des villes par département --- */
.lcm-cities-list {
    background: var(--wp--preset--color--base);
    border-radius: 18px;
    padding: 1.75rem 1.85rem;
    box-shadow: 0 18px 50px -20px rgba(13, 71, 161, 0.12);
}
.lcm-cities-title {
    font-size: 11px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--wp--preset--color--muted);
    margin: 0 0 1.1rem;
}
.lcm-dept-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.lcm-dept {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--wp--preset--color--border-soft);
}
.lcm-dept:last-child { border-bottom: 0; padding-bottom: 0; }
.lcm-dept-head {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--wp--preset--color--charcoal);
    font-weight: 800;
    font-size: 14.5px;
    text-decoration: none;
    margin-bottom: 0.4rem;
    transition: color 0.18s ease;
}
.lcm-dept-head:hover { color: var(--wp--preset--color--primary-dark); }
.lcm-dept-code {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.lcm-dept--accent .lcm-dept-code { background: var(--wp--preset--color--accent); }
.lcm-dept-badge {
    background: var(--wp--preset--color--accent-soft);
    color: var(--wp--preset--color--accent-dark);
    padding: 1px 7px;
    border-radius: 5px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.lcm-dept-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    padding-left: 0;
}
.lcm-dept-cities a {
    color: var(--wp--preset--color--primary-dark);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding: 2px 0;
    border-bottom: 1px dotted transparent;
    transition: border-color 0.18s ease, color 0.18s ease;
}
.lcm-dept-cities a:hover {
    color: var(--wp--preset--color--accent);
    border-bottom-color: var(--wp--preset--color--accent);
}

/* ============================================================
   PARIS — bloc spirale arrondissements
   ============================================================ */
.lcm-paris-block {
    margin-top: 4rem;
    background: var(--wp--preset--color--base);
    border-radius: 18px;
    padding: 2.25rem 2rem;
    box-shadow: 0 18px 50px -20px rgba(13, 71, 161, 0.15);
}
.lcm-paris-head {
    max-width: 680px;
    margin: 0 auto 1.5rem;
    text-align: center;
}
.lcm-paris-head .lcm-eyebrow {
    font-size: 11px;
    font-weight: 700;
    color: var(--wp--preset--color--primary);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin: 0 0 0.5rem;
}
.lcm-paris-title {
    font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.85rem);
    font-weight: 800;
    color: var(--wp--preset--color--charcoal);
    margin: 0 0 0.7rem;
    line-height: 1.2;
}
.lcm-paris-intro {
    font-size: 14.5px;
    color: var(--wp--preset--color--muted);
    margin: 0;
    line-height: 1.55;
}

.lcm-paris-svg-wrap {
    max-width: 520px;
    margin: 1.5rem auto 0;
}
.lcm-paris-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Arrondissements Paris */
.lcm-arr {
    cursor: pointer;
    transition: color 0.2s ease;
}
.lcm-arr--active { color: var(--wp--preset--color--primary); }
.lcm-arr--active:hover { color: var(--wp--preset--color--accent); }
.lcm-arr--muted {
    color: var(--wp--preset--color--border);
    cursor: default;
}
.lcm-arr text { pointer-events: none; user-select: none; }
.lcm-arr--active circle { transition: fill 0.2s ease; }
.lcm-arr:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 2px; }

.lcm-paris-note {
    text-align: center;
    font-size: 13px;
    color: var(--wp--preset--color--muted);
    margin: 1.5rem 0 0;
}
.lcm-paris-note a { color: var(--wp--preset--color--primary-dark); }

@media (max-width: 600px) {
    .lcm-svg-map, .lcm-cities-list, .lcm-paris-block {
        padding: 1.25rem 1rem;
    }
    .lcm-dept-cities a { font-size: 12.5px; }
}

/* ============================================================
   TRUST CARD — utilisée dans les héros des pages piliers (Pourquoi nous)
   ============================================================ */
.lcm-trust-card {
    background: var(--wp--preset--color--base);
    border-radius: 18px;
    padding: 1.6rem 1.5rem;
    box-shadow: 0 18px 50px -20px rgba(8, 40, 88, 0.55);
}
.lcm-trust-label {
    margin: 0 0 1.1rem;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--wp--preset--color--primary);
}
.lcm-trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.lcm-trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 14px;
    line-height: 1.4;
    color: var(--wp--preset--color--charcoal);
}
.lcm-trust-list li strong {
    color: var(--wp--preset--color--charcoal);
    font-weight: 700;
}
.lcm-trust-ico {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--wp--preset--color--primary-ice);
    color: var(--wp--preset--color--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.lcm-trust-ico svg {
    width: 17px;
    height: 17px;
}

@media (max-width: 720px) {
    .lcm-trust-card {
        padding: 1.3rem 1.2rem;
    }
    .lcm-trust-list li { font-size: 13.5px; }
}

/* ============================================================
   CERTIFICATIONS — bandeau avec icônes SVG
   ============================================================ */
.lcm-certifs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.lcm-certifs-label {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--wp--preset--color--muted);
    text-align: center;
}
.lcm-certifs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.lcm-certif {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: var(--wp--preset--color--base-soft);
    border: 1px solid var(--wp--preset--color--border-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lcm-certif:hover {
    transform: translateY(-2px);
    box-shadow: var(--lcm-shadow-soft);
    border-color: var(--wp--preset--color--primary-ice);
}
.lcm-certif-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--wp--preset--color--primary-ice);
    color: var(--wp--preset--color--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lcm-certif-icon svg { width: 24px; height: 24px; }
.lcm-certif-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}
.lcm-certif-name {
    font-weight: 800;
    font-size: 14.5px;
    color: var(--wp--preset--color--charcoal);
    letter-spacing: -0.005em;
}
.lcm-certif-desc {
    font-size: 11px;
    color: var(--wp--preset--color--muted);
    font-weight: 500;
    margin-top: 3px;
}

@media (max-width: 1100px) {
    .lcm-certifs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 720px) {
    .lcm-certifs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .lcm-certif { padding: 0.7rem 0.85rem; }
    .lcm-certif-icon { width: 36px; height: 36px; }
    .lcm-certif-icon svg { width: 20px; height: 20px; }
    .lcm-certif-name { font-size: 13.5px; }
    .lcm-certif-desc { font-size: 10.5px; }
}

/* --- Footer : liens lisibles sur fond bleu profond --- */
.wp-site-blocks > footer a,
.wp-site-blocks > footer .wp-block-list a,
.wp-site-blocks > footer li a {
    color: var(--wp--preset--color--primary-ice) !important;
    text-decoration: none !important;
    transition: color 0.18s ease;
}
.wp-site-blocks > footer a:hover {
    color: var(--wp--preset--color--accent) !important;
}
.wp-site-blocks > footer h4,
.wp-site-blocks > footer h5 {
    color: var(--wp--preset--color--base) !important;
}

/* (Note : les titres blancs sur fond bleu profond sont gérés via la classe
   has-base-color appliquée explicitement au bloc heading dans les patterns —
   pas de cascade sur l'ensemble de la section pour ne pas casser les cartes
   blanches imbriquées comme « Une urgence ? ».) */

/* --- Animations utilitaires sobres --- */
@media (prefers-reduced-motion: no-preference) {
    .lcm-fade-in {
        animation: lcmFadeIn 0.6s ease-out both;
    }
    @keyframes lcmFadeIn {
        from { opacity: 0; transform: translateY(8px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}

/* --- Print : on garde lisible --- */
@media print {
    .wp-site-blocks > header,
    .lcm-topbar,
    .wp-block-button { display: none !important; }
}
