/* =====================================================================
 * Fichier : assets/css/pages/versand-lieferung.css
 * Projet  : Brennholz Shop24
 * Rôle    : Styles propres à la page « Versand & Lieferung »
 *           (versand-lieferung.php) : chiffres du bandeau, cartes des
 *           modes de livraison, tableau des frais, encadré « livraison
 *           gratuite », recherche de zone avec résultats animés, frise du
 *           déroulement, tuiles « accès camion ».
 *           Mise en page commune : assets/css/components/legal.css
 * ===================================================================== */

/* ---------------------------------------------------------------------
 * 1. Bandeau
 * ------------------------------------------------------------------- */
.vl-hero-stats { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 0; padding: 0; list-style: none; animation: hfk-fade-up .7s .25s var(--hfk-ease) both; }
.vl-hero-stats li { min-width: 120px; padding: .7rem 1rem; background: rgba(255, 255, 255, .07); border-left: 3px solid var(--hfk-flame); }
.vl-hero-stats li:nth-child(2) { border-color: var(--hfk-forest); }
.vl-hero-stats li:nth-child(3) { border-color: var(--hfk-amber); }
.vl-hero-stats li:nth-child(4) { border-color: var(--hfk-sky); }
.vl-hero-stats strong { display: block; font-family: var(--hfk-font-head); font-size: 1.45rem; line-height: 1.1; color: #fff; white-space: nowrap; }
.vl-hero-stats span { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #D5DADF; }

/* ---------------------------------------------------------------------
 * 2. Modes de livraison
 * ------------------------------------------------------------------- */
.vl-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.vl-method { --vl-c: var(--hfk-flame); display: flex; flex-direction: column; padding: 1.2rem; background: #fff; border: 1px solid var(--hfk-border); border-top: 4px solid var(--vl-c); transition: transform .35s var(--hfk-ease), box-shadow .35s; }
.vl-method:hover { transform: translateY(-5px); box-shadow: var(--hfk-shadow); }
.vl-method.is-zone_express { --vl-c: var(--hfk-ember); }
.vl-method.is-flat { --vl-c: var(--hfk-sky); }
.vl-method.is-free { --vl-c: var(--hfk-forest); }
.vl-method header { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.vl-method-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; background: var(--vl-c); color: #fff; font-size: 1.15rem; transition: transform .45s var(--hfk-ease-bounce); }
.vl-method:hover .vl-method-icon { transform: translateX(4px) rotate(-6deg); }
.lx-content .vl-method h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.vl-method-time { display: inline-flex; align-items: center; gap: .35rem; margin-top: .2rem; font-size: .8rem; font-weight: 600; color: var(--hfk-muted); }
.lx-content .vl-method p { flex: 1; font-size: .9rem; line-height: 1.55; margin-bottom: .8rem; }
.vl-method-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; padding: .6rem .8rem; background: var(--hfk-cream); }
.vl-method-price small { width: 100%; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hfk-muted); }
.vl-method-price strong { font-family: var(--hfk-font-head); font-size: 1.2rem; color: var(--hfk-charcoal); }
.vl-method-price span { font-size: .8rem; color: var(--hfk-flame-dark); font-weight: 600; }
.vl-method-classes { display: flex; flex-wrap: wrap; gap: .35rem; margin: .7rem 0 0; }
.lx-content .vl-method-classes > li { display: inline-flex; align-items: center; gap: .35rem; margin: 0; padding: .2rem .55rem; border: 1px solid var(--hfk-border); font-size: .76rem; font-weight: 600; color: var(--hfk-muted); }
.vl-method-classes i { color: var(--vl-c); }

/* ---------------------------------------------------------------------
 * 3. Frais
 * ------------------------------------------------------------------- */
.vl-table td small { color: var(--hfk-muted); }
.vl-footnote { font-size: .84rem; color: var(--hfk-muted); }
.vl-free { position: relative; display: flex; align-items: center; gap: 1rem; margin: 1.2rem 0; padding: 1.1rem 1.2rem; background: var(--hfk-grad-forest); color: #fff; overflow: hidden; }
.vl-free::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .12); animation: hfk-glow 5s ease-in-out infinite; }
.vl-free-icon { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; background: rgba(255, 255, 255, .18); font-size: 1.35rem; animation: vl-bounce 3s ease-in-out infinite; }
.vl-free > div { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .2rem; }
.lx-content .vl-free strong { color: #fff; font-family: var(--hfk-font-head); font-size: 1.1rem; }
.vl-free span { font-size: .9rem; line-height: 1.5; opacity: .95; }
@keyframes vl-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px) rotate(-6deg); } }

/* ---------------------------------------------------------------------
 * 4. Recherche de zone
 * ------------------------------------------------------------------- */
.vl-check { margin: 1rem 0 1.2rem; padding: 1.1rem; background: var(--hfk-charcoal); }
.vl-check-form { position: relative; display: flex; gap: .5rem; }
.vl-check-icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); z-index: 1; color: var(--hfk-flame); pointer-events: none; }
.vl-check-form .form-control { flex: 1; min-width: 0; height: 52px; padding-left: 2.5rem; border: 2px solid transparent; font-weight: 600; }
.vl-check-form .form-control:focus { border-color: var(--hfk-amber); box-shadow: 0 0 0 4px rgba(255, 227, 43, .25); }
.vl-check-form .btn { height: 52px; white-space: nowrap; }
.vl-check-result:empty { display: none; }
.vl-check-result { margin-top: .9rem; color: #E9DFD5; }
.vl-check-msg { display: flex; align-items: flex-start; gap: .5rem; margin: 0 0 .7rem; font-weight: 600; }
.vl-check-msg i { margin-top: .25rem; }
.vl-check-msg.is-ok i { color: #7FD6C8; }
.vl-check-msg.is-none i { color: var(--hfk-amber); }
.vl-zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; margin: 0; padding: 0; list-style: none; }
.lx-content .vl-zones > li { margin: 0; padding: 0; }
.lx-content .vl-zones > li::before { display: none; }
.vl-zone { display: block; height: 100%; padding: .8rem .9rem; background: #fff; border-left: 4px solid var(--hfk-flame); color: var(--hfk-text); text-decoration: none !important; animation: hfk-fade-up .4s var(--hfk-ease) both; transition: transform .3s var(--hfk-ease), box-shadow .3s; }
.vl-zone:hover { transform: translateY(-3px); box-shadow: var(--hfk-shadow); }
.vl-zone strong { display: flex; justify-content: space-between; gap: .5rem; font-family: var(--hfk-font-head); color: var(--hfk-charcoal); }
.vl-zone strong small { font-family: var(--hfk-font-body); font-size: .74rem; font-weight: 600; color: var(--hfk-muted); }
.vl-zone dl { display: grid; grid-template-columns: auto 1fr; gap: .15rem .6rem; margin: .5rem 0 0; font-size: .82rem; }
.vl-zone dt { color: var(--hfk-muted); font-weight: 500; }
.vl-zone dd { margin: 0; font-weight: 700; color: var(--hfk-charcoal); text-align: right; }
.vl-zone .vl-zone-express { color: var(--hfk-ember-dark); }
.vl-check-contact { display: inline-flex; margin-top: .4rem; }
.vl-check.is-loading .vl-check-form .btn { pointer-events: none; opacity: .7; }

/* ---------------------------------------------------------------------
 * 5. Déroulement
 * ------------------------------------------------------------------- */
.lx-content .vl-timeline { position: relative; margin: 1rem 0 1.2rem; padding: 0; list-style: none; }
.lx-content .vl-timeline::before { content: ''; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 3px; background: linear-gradient(var(--hfk-flame), var(--hfk-amber), var(--hfk-forest)); }
.lx-content .vl-timeline > li { position: relative; display: flex; gap: 1rem; margin: 0 0 .9rem; padding: 0; }
.vl-timeline-icon { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; background: #fff; border: 3px solid var(--hfk-flame); color: var(--hfk-flame-dark); font-size: 1.05rem; transition: background .3s, color .3s, transform .4s var(--hfk-ease-bounce); }
.vl-timeline li:hover .vl-timeline-icon { background: var(--hfk-flame); color: #fff; transform: scale(1.08); }
.vl-timeline li > div { flex: 1; padding: .7rem .9rem; background: #fff; border: 1px solid var(--hfk-border); }
.vl-timeline strong { font-family: var(--hfk-font-head); }
.lx-content .vl-timeline p { margin: .2rem 0 0; font-size: .9rem; line-height: 1.55; }

/* ---------------------------------------------------------------------
 * 6. Accès camion
 * ------------------------------------------------------------------- */
.vl-access { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 1rem 0; }
.vl-access > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: .8rem; padding: 1rem; background: var(--hfk-cream); border-bottom: 3px solid var(--hfk-amber); transition: transform .3s var(--hfk-ease); }
.vl-access > div:hover { transform: translateY(-3px); }
.vl-access i { grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; background: var(--hfk-charcoal); color: var(--hfk-amber); }
.vl-access strong { color: var(--hfk-charcoal); }
.vl-access span { font-size: .88rem; line-height: 1.5; color: var(--hfk-text); }

/* ---------------------------------------------------------------------
 * 7. Adaptation aux écrans
 * ------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .vl-methods, .vl-access { grid-template-columns: minmax(0, 1fr); }
    .vl-hero-stats li { flex: 1 1 calc(50% - .6rem); min-width: 0; }
}
@media (max-width: 479.98px) {
    .vl-check-form .btn span { display: none; }
    .vl-check-form .btn { width: 56px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .vl-free-icon, .vl-free::after { animation: none; }
}
@media print {
    .vl-check { display: none; }
}