/* =====================================================================
 * Fichier : assets/css/pages/liefergebiete.css
 * Projet  : Brennholz Shop24
 * Rôle    : Styles propres à la page des zones de livraison
 *           (liefergebiete.php) : vérification par ville ou code postal,
 *           suggestions, résultat, avantages, annuaire par Bundesland
 *           avec filtres, modes de livraison, déroulement, texte et FAQ.
 * ===================================================================== */

/* ---------------------------------------------------------------------
 * 1. En-tête et vérification
 * ------------------------------------------------------------------- */
/* La liste de suggestions dépasse sous l'en-tête : débordement vertical autorisé, horizontal coupé */
.lg-hero { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); overflow: visible; overflow-x: clip; }
.lg-hero::before { z-index: 0; }
.lg-hero-embers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lg-hero-inner { position: relative; z-index: 2; }
.lg-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; margin-top: 1rem; }
.lg-hero-text { padding-top: clamp(0rem, 3vw, 2.5rem); }
.lg-hero-text h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); animation: hfk-fade-up .7s var(--hfk-ease) both; }
.lg-hero-text h1 span { display: block; background: var(--hfk-grad-fire-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-hero-text p { animation: hfk-fade-up .7s .12s var(--hfk-ease) both; }
.lg-stats { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 0; padding: 0; list-style: none; animation: hfk-fade-up .7s .22s var(--hfk-ease) both; }
.lg-stats li { min-width: 118px; padding: .8rem 1.1rem; background: rgba(255, 255, 255, .07); border-left: 3px solid var(--hfk-flame); }
.lg-stats li:nth-child(2) { border-color: var(--hfk-amber); }
.lg-stats li:nth-child(3) { border-color: var(--hfk-forest); }
.lg-stats strong { display: block; font-family: var(--hfk-font-head); font-size: 2rem; line-height: 1; color: #fff; }
.lg-stats span { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #D5DADF; }

.lg-check { position: relative; padding: clamp(1.2rem, 2.6vw, 1.9rem); background: #fff; color: var(--hfk-text); border-top: 5px solid var(--hfk-flame); box-shadow: var(--hfk-shadow-lg); animation: hfk-fade-up .7s .2s var(--hfk-ease) both; }
.lg-check h2 { margin: 0 0 1rem; font-size: 1.35rem; color: var(--hfk-charcoal); }
.lg-check h2 i { color: var(--hfk-flame); margin-right: .3rem; }
.lg-check-form { display: flex; gap: .6rem; }
.lg-check-field { position: relative; flex: 1; min-width: 0; }
.lg-check-field > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--hfk-flame); pointer-events: none; }
.lg-check-field input { width: 100%; height: 56px; padding: 0 2.8rem 0 2.7rem; border: 2px solid var(--hfk-border); border-radius: 0; background: var(--hfk-cream); color: var(--hfk-charcoal); font-size: 1.02rem; font-weight: 600; outline: 0; transition: border-color .25s, box-shadow .25s, background .25s; }
.lg-check-field input::placeholder { font-weight: 400; color: #A3A9AF; }
.lg-check-field input:focus { border-color: var(--hfk-flame); background: #fff; box-shadow: 0 0 0 4px rgba(34, 166, 75, .16); }
.lg-check-spinner { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); color: var(--hfk-flame); }
.lg-check-spinner i { animation: hfk-spin .8s linear infinite; }
.lg-check-form .btn { height: 56px; white-space: nowrap; }

.lg-suggest { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 320px; margin: 0; padding: .3rem; overflow-y: auto; list-style: none; background: #fff; border: 1px solid var(--hfk-border); box-shadow: var(--hfk-shadow-lg); animation: hfk-fade-up .25s var(--hfk-ease) both; }
.lg-suggest li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .6rem .8rem; cursor: pointer; transition: background .2s, padding-left .2s var(--hfk-ease); }
.lg-suggest li:hover, .lg-suggest li.is-active { background: var(--hfk-flame-light); padding-left: 1.1rem; }
.lg-suggest li strong { font-family: var(--hfk-font-head); color: var(--hfk-charcoal); }
.lg-suggest li mark { padding: 0; background: none; color: var(--hfk-flame-dark); }
.lg-suggest li small { color: var(--hfk-muted); white-space: nowrap; }
.lg-suggest li.is-info { cursor: default; color: var(--hfk-muted); font-size: .88rem; }
.lg-suggest li.is-info:hover { background: none; padding-left: .8rem; }

.lg-result { margin-top: 1rem; animation: hfk-fade-up .4s var(--hfk-ease) both; }
.lg-result[hidden] { display: none; }
/* Le bloc est sur fond blanc : les couleurs de texte de .page-hero p sont redéfinies */
.lg-check .lg-result-msg { display: flex; max-width: none; align-items: flex-start; gap: .6rem; margin: 0 0 .8rem; padding: .75rem .9rem; font-weight: 600; border-left: 4px solid var(--hfk-forest); background: #E8F6EC; color: var(--hfk-forest-dark); }
.lg-check .lg-result-msg.is-info { border-color: var(--hfk-sky); background: #E3F0FC; color: #07527d; }
.lg-check .lg-result-msg.is-error { border-color: var(--hfk-ember); background: #FDE8E8; color: var(--hfk-ember-dark); }
.lg-result-msg i { margin-top: .2rem; }
.lg-check .lg-result-contact { max-width: none; }
.lg-result-card { border: 2px solid var(--hfk-forest); background: #fff; }
.lg-result-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; padding: .8rem 1rem; background: var(--hfk-grad-forest, var(--hfk-forest)); color: #fff; }
.lg-result-head strong { font-family: var(--hfk-font-head); font-size: 1.3rem; }
.lg-result-head span { font-size: .84rem; opacity: .9; }
.lg-result-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.lg-result-facts > div { padding: .7rem 1rem; border-bottom: 1px solid var(--hfk-border); }
.lg-result-facts > div:nth-child(odd) { border-right: 1px solid var(--hfk-border); }
.lg-result-facts dt { font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--hfk-muted); }
.lg-result-facts dt i { color: var(--hfk-flame); margin-right: .2rem; }
.lg-result-facts dd { margin: .1rem 0 0; font-family: var(--hfk-font-head); font-weight: 700; color: var(--hfk-charcoal); }
.lg-result-actions { display: flex; flex-wrap: wrap; gap: .6rem; padding: .9rem 1rem; }
.lg-result-actions .btn { flex: 1; min-width: 180px; }
.lg-result-actions .btn.is-done { background: var(--hfk-forest); border-color: var(--hfk-forest); color: #fff; pointer-events: none; }
.lg-result-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.lg-result-list button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .6rem .8rem; border: 1px solid var(--hfk-border); background: var(--hfk-cream); color: var(--hfk-charcoal); font-weight: 600; text-align: left; transition: background .25s, border-color .25s, color .25s, transform .25s var(--hfk-ease); }
.lg-result-list button:hover { background: var(--hfk-flame); border-color: var(--hfk-flame); color: #fff; transform: translateX(4px); }
.lg-result-list small { font-weight: 400; opacity: .75; white-space: nowrap; }
.lg-result-contact { margin: .8rem 0 0; }

/* Vérification d'adresse : confirmation, carte Google Maps, bouton boutique */
.lg-check .lg-check-hint { display: flex; gap: .45rem; max-width: none; margin: .6rem 0 0; font-size: .84rem; color: var(--hfk-muted); }
.lg-check-hint i { margin-top: .2rem; color: var(--hfk-flame); }
.lg-check .lg-result-ok span { display: flex; flex-direction: column; gap: .15rem; }
.lg-check .lg-result-ok small { font-weight: 400; font-size: .86rem; }
.lg-map { margin: 0 0 .9rem; border: 2px solid var(--hfk-border); background: var(--hfk-cream); }
.lg-map-frame { position: relative; aspect-ratio: 16 / 9; min-height: 220px; background: #EDE6DD; }
.lg-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.lg-map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; padding: 1rem; text-align: center; background: repeating-linear-gradient(135deg, #F4EEE7 0 14px, #EFE7DD 14px 28px); }
.lg-map-consent > i { font-size: 2rem; color: var(--hfk-flame); }
.lg-check .lg-map-consent p { max-width: 34rem; margin: 0; font-size: .84rem; color: var(--hfk-muted); }
.lg-map-consent p strong { display: block; margin-bottom: .15rem; font-family: var(--hfk-font-head); font-size: 1rem; color: var(--hfk-charcoal); }
.lg-map-remember { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--hfk-muted); cursor: pointer; }
.lg-map figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; padding: .55rem .8rem; font-size: .86rem; color: var(--hfk-charcoal); border-top: 1px solid var(--hfk-border); }
.lg-map figcaption > i { color: var(--hfk-flame); }
.lg-map figcaption span { flex: 1; min-width: 12rem; font-weight: 600; }
.lg-map figcaption a { font-size: .8rem; font-weight: 600; color: var(--hfk-flame-dark); white-space: nowrap; }
.lg-result-actions .lg-shop-btn { flex: 1 1 100%; }
.lg-result-actions-solo { padding: 0; }
@media (max-width: 575.98px) {
    .lg-map-frame { aspect-ratio: 4 / 3; }
    .lg-map-consent .btn { width: 100%; }
}

.lg-popular { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 1rem; }
.lg-popular > span { font-size: .82rem; font-weight: 600; color: var(--hfk-muted); margin-right: .2rem; }
.lg-popular button { padding: .3rem .7rem; border: 1px solid var(--hfk-border); background: #fff; color: var(--hfk-charcoal); font-size: .84rem; font-weight: 600; transition: background .25s, color .25s, border-color .25s, transform .25s var(--hfk-ease); }
.lg-popular button:hover { background: var(--hfk-charcoal); border-color: var(--hfk-charcoal); color: #fff; transform: translateY(-2px); }
.lg-check .lg-current { margin: 1rem 0 0; padding-top: .9rem; border-top: 1px dashed var(--hfk-border); font-size: .9rem; color: var(--hfk-text); max-width: none; }
.lg-current[hidden] { display: none; }
.lg-current i { color: var(--hfk-forest); }
.lg-current a { color: var(--hfk-flame-dark); }

/* ---------------------------------------------------------------------
 * 2. Avantages
 * ------------------------------------------------------------------- */
.lg-facts { position: relative; z-index: 3; margin-top: -2.2rem; }
.lg-facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; box-shadow: var(--hfk-shadow-lg); }
.lg-facts article { display: flex; align-items: center; gap: .9rem; padding: 1.2rem 1.3rem; border-right: 1px solid var(--hfk-border); transition: background .3s; }
.lg-facts article:last-child { border-right: 0; }
.lg-facts article:hover { background: var(--hfk-cream); }
.lg-facts article > span { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; background: var(--hfk-grad-fire); color: #fff; font-size: 1.2rem; transition: transform .4s var(--hfk-ease); }
.lg-facts article:hover > span { transform: rotate(-8deg) scale(1.08); }
.lg-facts article > span.is-forest { background: var(--hfk-forest); }
.lg-facts article > span.is-sky { background: var(--hfk-sky); }
.lg-facts article > span.is-plum { background: var(--hfk-plum); }
.lg-facts strong { display: block; font-family: var(--hfk-font-head); font-size: 1.08rem; color: var(--hfk-charcoal); }
.lg-facts small { font-size: .82rem; line-height: 1.35; color: var(--hfk-muted); }

/* ---------------------------------------------------------------------
 * 3. Annuaire
 * ------------------------------------------------------------------- */
.lg-directory { scroll-margin-top: var(--hfk-header-h, 80px); }
.lg-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; padding: .9rem 1rem; background: var(--hfk-cream); border-left: 4px solid var(--hfk-flame); }
.lg-filter { position: relative; flex: 1; min-width: 220px; }
.lg-filter i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--hfk-muted); pointer-events: none; }
.lg-filter input { width: 100%; height: 46px; padding: 0 .9rem 0 2.5rem; border: 1px solid var(--hfk-border); border-radius: 0; background: #fff; outline: 0; transition: border-color .25s, box-shadow .25s; }
.lg-filter input:focus { border-color: var(--hfk-flame); box-shadow: 0 0 0 3px rgba(34, 166, 75, .15); }
.lg-switch { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font-size: .9rem; font-weight: 600; color: var(--hfk-charcoal); cursor: pointer; user-select: none; }
.lg-switch input { position: absolute; opacity: 0; pointer-events: none; }
.lg-switch-track { position: relative; width: 46px; height: 24px; background: var(--hfk-border); transition: background .3s; }
.lg-switch-track span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; transition: transform .3s var(--hfk-ease); }
.lg-switch input:checked + .lg-switch-track { background: var(--hfk-flame); }
.lg-switch input:checked + .lg-switch-track span { transform: translateX(22px); }
.lg-switch input:focus-visible + .lg-switch-track { outline: 2px solid var(--hfk-charcoal); outline-offset: 2px; }
.lg-switch i { color: var(--hfk-amber); }
.lg-count { margin: 0 0 0 auto; font-size: .9rem; color: var(--hfk-muted); }
.lg-count strong { font-family: var(--hfk-font-head); font-size: 1.2rem; color: var(--hfk-flame-dark); }

.lg-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 1.8rem; }
.lg-chips button { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border: 1px solid var(--hfk-border); background: #fff; color: var(--hfk-charcoal); font-size: .86rem; font-weight: 600; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .25s var(--hfk-ease); }
.lg-chips button b { min-width: 22px; padding: 0 .3rem; background: var(--hfk-ash); color: var(--hfk-muted); font-size: .74rem; line-height: 1.5; text-align: center; transition: background .25s, color .25s; }
.lg-chips button:hover { border-color: var(--hfk-flame); color: var(--hfk-flame-dark); transform: translateY(-2px); }
.lg-chips button.is-active { background: var(--hfk-flame); border-color: var(--hfk-flame); color: #fff; }
.lg-chips button.is-active b { background: rgba(255, 255, 255, .25); color: #fff; }
.lg-chips button.is-empty { opacity: .4; }

.lg-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.lg-group[hidden] { display: none; }
.lg-group { scroll-margin-top: calc(var(--hfk-header-h, 80px) + 1rem); }
.lg-group-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; padding-bottom: .7rem; border-bottom: 2px solid var(--hfk-charcoal); }
.lg-group-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; background: var(--hfk-charcoal); color: var(--hfk-amber); }
.lg-group-head h3 { margin: 0; font-size: 1.25rem; }
.lg-group-head small { margin-left: auto; font-size: .84rem; color: var(--hfk-muted); }
.lg-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .7rem; margin: 0; padding: 0; list-style: none; }
.lg-city { position: relative; display: flex; background: #fff; border: 1px solid var(--hfk-border); transition: border-color .3s, box-shadow .3s var(--hfk-ease), transform .3s var(--hfk-ease); }
.lg-city[hidden] { display: none; }
.lg-city:hover { border-color: var(--hfk-flame); box-shadow: var(--hfk-shadow-md, var(--hfk-shadow-sm)); transform: translateY(-3px); }
.lg-city.is-current { border-color: var(--hfk-forest); box-shadow: inset 4px 0 0 var(--hfk-forest); }
.lg-city.is-match { animation: lg-pop .45s var(--hfk-ease) both; }
@keyframes lg-pop { from { opacity: 0; transform: scale(.96); } }
.lg-city-link { position: relative; flex: 1; min-width: 0; display: block; padding: .75rem 2.2rem .75rem .9rem; color: inherit; }
.lg-city-name { display: block; font-family: var(--hfk-font-head); font-weight: 700; font-size: 1.02rem; color: var(--hfk-charcoal); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .25s; }
.lg-city-name i { font-size: .7rem; color: var(--hfk-amber); vertical-align: middle; margin-right: .15rem; }
.lg-city:hover .lg-city-name { color: var(--hfk-flame-dark); }
.lg-city-meta { display: flex; flex-wrap: wrap; gap: .2rem .8rem; margin-top: .2rem; font-size: .8rem; color: var(--hfk-muted); }
.lg-city-meta i { font-size: .74rem; }
.lg-city-meta .is-express { color: #7A6200; font-weight: 600; }
.lg-city-arrow { position: absolute; right: .8rem; top: 50%; transform: translate(-6px, -50%); color: var(--hfk-flame); opacity: 0; transition: opacity .25s, transform .25s var(--hfk-ease); }
.lg-city:hover .lg-city-arrow { opacity: 1; transform: translate(0, -50%); }
.lg-city-set { width: 44px; flex: 0 0 44px; border: 0; border-left: 1px solid var(--hfk-border); background: var(--hfk-cream); color: var(--hfk-muted); transition: background .25s, color .25s; }
.lg-city-set:hover { background: var(--hfk-flame); color: #fff; }
.lg-city-set[aria-pressed="true"] { background: var(--hfk-forest); color: #fff; }
.lg-city-set.is-loading i { animation: hfk-spin .8s linear infinite; }
.lg-empty { margin-top: 1rem; }
.lg-empty[hidden] { display: none; }
.lg-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1rem; }

/* ---------------------------------------------------------------------
 * 4. Modes de livraison et déroulement
 * ------------------------------------------------------------------- */
.lg-methods-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.lg-method { display: flex; flex-direction: column; padding: 1.5rem 1.4rem; background: #fff; border-top: 4px solid var(--hfk-flame); box-shadow: var(--hfk-shadow-sm); transition: transform .4s var(--hfk-ease), box-shadow .4s var(--hfk-ease); }
.lg-method:nth-child(5n+2) { border-color: var(--hfk-amber); }
.lg-method:nth-child(5n+3) { border-color: var(--hfk-sky); }
.lg-method:nth-child(5n+4) { border-color: var(--hfk-forest); }
.lg-method:nth-child(5n+5) { border-color: var(--hfk-plum); }
.lg-method:hover { transform: translateY(-8px); box-shadow: var(--hfk-shadow-lg); }
.lg-method-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 1rem; background: var(--hfk-charcoal); color: var(--hfk-amber); font-size: 1.3rem; transition: transform .4s var(--hfk-ease), background .3s; }
.lg-method:hover .lg-method-icon { transform: rotate(-8deg) scale(1.08); background: var(--hfk-flame); color: #fff; }
.lg-method h3 { font-size: 1.12rem; }
.lg-method p { flex: 1; font-size: .92rem; color: var(--hfk-muted); }
.lg-method footer { padding-top: .9rem; border-top: 1px dashed var(--hfk-border); }
.lg-method footer strong { display: block; font-family: var(--hfk-font-head); font-size: 1.2rem; color: var(--hfk-flame-dark); }
.lg-method footer small { font-size: .8rem; color: var(--hfk-forest-dark); font-weight: 600; }
.lg-methods-more { margin: 1.8rem 0 0; text-align: center; }

.lg-steps-list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.lg-steps-list::before { content: ''; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 8px, transparent 8px 16px); }
.lg-steps-list li { position: relative; text-align: center; }
.lg-step-icon { position: relative; width: 70px; height: 70px; display: inline-grid; place-items: center; margin-bottom: 1rem; background: var(--hfk-charcoal); border: 2px solid rgba(255, 255, 255, .22); color: var(--hfk-amber); font-size: 1.5rem; transition: background .35s, border-color .35s, color .35s, transform .35s var(--hfk-ease); }
.lg-steps-list li:hover .lg-step-icon { background: var(--hfk-flame); border-color: var(--hfk-flame); color: #fff; transform: translateY(-6px); }
.lg-step-icon b { position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--hfk-flame); color: #fff; font-family: var(--hfk-font-head); font-size: .82rem; }
.lg-steps-list h3 { font-size: 1.08rem; }
.lg-steps-list p { margin: 0; font-size: .9rem; color: #D5DADF; }

/* ---------------------------------------------------------------------
 * 5. Texte, FAQ, appel à l'action
 * ------------------------------------------------------------------- */
.lg-info-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.lg-faq { position: sticky; top: calc(var(--hfk-header-h, 80px) + 1rem); }
.lg-faq h2 { margin-bottom: 1rem; font-size: 1.6rem; }
.lg-faq-item { margin-bottom: .6rem; background: #fff; border: 1px solid var(--hfk-border); border-left: 4px solid var(--hfk-border); transition: border-color .3s, box-shadow .3s; }
.lg-faq-item[open] { border-left-color: var(--hfk-flame); box-shadow: var(--hfk-shadow-sm); }
.lg-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 1.1rem; list-style: none; cursor: pointer; font-family: var(--hfk-font-head); font-weight: 700; color: var(--hfk-charcoal); transition: color .25s; }
.lg-faq-item summary::-webkit-details-marker { display: none; }
.lg-faq-item summary:hover { color: var(--hfk-flame-dark); }
.lg-faq-item summary i { flex: 0 0 auto; color: var(--hfk-flame); transition: transform .35s var(--hfk-ease); }
.lg-faq-item[open] summary i { transform: rotate(135deg); }
.lg-faq-item > div { padding: 0 1.1rem 1rem; }
.lg-faq-item[open] > div { animation: hfk-fade-up .35s var(--hfk-ease) both; }
.lg-faq-item p { margin: 0; font-size: .94rem; color: var(--hfk-text); }

.lg-cta { padding: clamp(2rem, 5vw, 3.5rem) 0; background: var(--hfk-grad-fire-h); background-size: 200% 100%; animation: hfk-gradient-pan 10s ease-in-out infinite alternate; color: #fff; }
.lg-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.lg-cta-inner h2 { margin: 0 0 .3rem; color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.lg-cta-inner p { margin: 0; color: rgba(255, 255, 255, .92); }
.lg-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------------------------------------------------------------------
 * 6. Adaptation aux écrans
 * ------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .lg-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg-facts article:nth-child(2) { border-right: 0; }
    .lg-facts article:nth-child(-n+2) { border-bottom: 1px solid var(--hfk-border); }
    .lg-steps-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
    .lg-steps-list::before { display: none; }
}
@media (max-width: 991.98px) {
    .lg-hero-grid, .lg-info-grid { grid-template-columns: minmax(0, 1fr); }
    .lg-faq { position: static; }
}
@media (max-width: 767.98px) {
    .lg-count { margin-left: 0; flex: 0 0 100%; }
    .lg-chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px .5rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
    .lg-steps-list { grid-template-columns: minmax(0, 1fr); row-gap: 1.2rem; }
    .lg-steps-list li { display: grid; grid-template-columns: 70px minmax(0, 1fr); column-gap: 1rem; text-align: left; align-items: start; }
    .lg-step-icon { grid-row: span 2; margin: 0; }
    .lg-steps-list h3 { margin: .3rem 0 .2rem; }
    .lg-cta-inner, .lg-cta-actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 575.98px) {
    .lg-check-form { flex-direction: column; }
    .lg-check-form .btn { width: 100%; }
    .lg-stats li { flex: 1; min-width: 0; padding: .7rem .8rem; }
    .lg-stats strong { font-size: 1.6rem; }
    .lg-stats span { font-size: .68rem; letter-spacing: .02em; }
    .lg-facts { margin-top: -1.5rem; }
    .lg-facts-grid { grid-template-columns: minmax(0, 1fr); }
    .lg-facts article { border-right: 0; border-bottom: 1px solid var(--hfk-border); padding: .9rem 1rem; }
    .lg-facts article:last-child { border-bottom: 0; }
    .lg-result-facts, .lg-result-list { grid-template-columns: minmax(0, 1fr); }
    .lg-result-facts > div:nth-child(odd) { border-right: 0; }
    .lg-cities { grid-template-columns: minmax(0, 1fr); }
    .lg-city-arrow { display: none; }
    .lg-city-link { padding-right: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
    .lg-cta { animation: none; }
}

/* Les entrées latérales (AOS fade-left / fade-right) ne doivent pas élargir la page */
.lg-info { overflow-x: clip; }.lg-check .lg-map-offline { display: flex; gap: .5rem; max-width: none; margin: 0 0 .9rem; padding: .6rem .8rem; font-size: .86rem; color: var(--hfk-muted); background: var(--hfk-cream); border: 1px dashed var(--hfk-border); }
.lg-map-offline i { margin-top: .2rem; color: var(--hfk-flame); }
