/* ===== Pages intérieures : bannière, filtres, contact, panier ===== */

/* Bannière de page */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 56px 0 84px;
  background: radial-gradient(900px 400px at 90% -20%, #0b4fe0 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #0a3fc4 100%); }
.page-hero::before { content: ''; position: absolute; inset: 0; opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 48px 48px; animation: gridMove 24s linear infinite; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-hero .sun { width: 380px; height: 380px; right: -100px; top: -140px; }
.page-hero .container { position: relative; z-index: 2; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: #a9bff5; margin-bottom: 16px; }
.crumbs a:hover { color: #fff; }
.crumbs span.sep { opacity: .5; }
.page-hero .badge { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); margin-bottom: 14px; }
.page-hero .badge::before { background: var(--sun); }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; max-width: 820px; }
.page-hero p { color: #c9d8ff; max-width: 680px; margin-top: 12px; font-size: 1.05rem; }
.page-hero .wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 3; }
.page-hero .wave svg { width: 100%; height: 50px; display: block; }
.page-hero .anim-in > * { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) both; }
.page-hero .anim-in > *:nth-child(2) { animation-delay: .08s; }
.page-hero .anim-in > *:nth-child(3) { animation-delay: .16s; }
.page-hero .anim-in > *:nth-child(4) { animation-delay: .24s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Barre de filtres produits */
.filter-bar { position: sticky; top: 76px; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: 0 10px 30px rgba(4,26,92,.08); margin: -56px 0 28px; }
.filter-top { display: flex; gap: 10px; flex-wrap: wrap; }
.search-wrap { position: relative; flex: 1 1 300px; }
.search-wrap::before { content: '🔎'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: .95rem; opacity: .7; }
.search-wrap input { width: 100%; padding: 12px 14px 12px 40px; border: 1px solid #cbd5e1; border-radius: 12px; font: inherit; background: #fff; }
.filter-top select { padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 12px; font: inherit; background: #fff; }
.search-wrap input:focus, .filter-top select:focus { outline: 2px solid var(--cyan); border-color: var(--cyan); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip-btn { border: 1px solid var(--line); background: #f8fafc; color: var(--muted); border-radius: 99px; padding: 7px 16px; font-weight: 700; font-size: .85rem; transition: all .2s ease; }
.chip-btn:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.chip-btn.active { background: linear-gradient(135deg, var(--blue), #1f6bff); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(6,55,184,.28); }
.result-count { color: var(--muted); font-weight: 700; margin-bottom: 16px; font-size: .92rem; }

/* Squelette de chargement */
.skeleton { overflow: hidden; }
.skeleton .sk-img, .skeleton .sk-line { background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%); background-size: 200% 100%; animation: skel 1.3s ease-in-out infinite; }
.skeleton .sk-img { aspect-ratio: 4/3; }
.skeleton .sk-line { height: 14px; border-radius: 7px; margin: 14px 16px 0; }
.skeleton .sk-line.s { width: 40%; } .skeleton .sk-line.m { width: 75%; }
.skeleton .sk-line:last-child { margin-bottom: 18px; }
@keyframes skel { to { background-position: -200% 0; } }

/* Solutions */
.kit-flagship { position: relative; border-radius: 26px; box-shadow: 0 30px 70px rgba(4,26,92,.16); }
.kit-flagship .kimg { position: relative; overflow: hidden; }
.kit-flagship .kimg img { transition: transform 6s ease; }
.kit-flagship:hover .kimg img { transform: scale(1.05); }
.price-flag { position: absolute; left: 18px; bottom: 18px; background: linear-gradient(135deg, var(--sun), var(--sun-2)); color: #2a1300; font-weight: 800; padding: 8px 18px; border-radius: 99px; box-shadow: 0 10px 24px rgba(255,122,24,.4); animation: bob 4s ease-in-out infinite; }
.variant { transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.variant:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(6,55,184,.12); transform: translateX(4px); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.trust { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.trust:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(6,55,184,.12); }
.trust i { font-style: normal; font-size: 1.6rem; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #eaf1ff; flex: none; }
.trust b { display: block; font-size: .92rem; }
.trust small { color: var(--muted); font-size: .78rem; }
#others .product-card .pimg { cursor: default; }

/* Contact */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -52px; position: relative; z-index: 5; }
.quick { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(4,26,92,.12); transition: transform .3s ease, box-shadow .3s ease; }
.quick:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(6,55,184,.2); }
.quick .qi { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: #eaf1ff; margin-bottom: 6px; transition: transform .35s ease; }
.quick:hover .qi { transform: rotate(-10deg) scale(1.12); }
.quick.wa .qi { background: #dcfce7; }
.quick b { font-size: 1rem; }
.quick small { color: var(--muted); font-size: .85rem; word-break: break-word; }
.quick .go { margin-top: 8px; color: var(--blue); font-weight: 700; font-size: .85rem; }
.loc-card { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.loc-card .badge { align-self: flex-start; background: #eaf1ff; color: var(--blue); }
.loc-card h3 { font-size: 1.1rem; }
.loc-card p { color: var(--muted); font-size: .92rem; }
.contact-grid { align-items: start; }
.info-card h3 { font-size: 1.15rem; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 4px rgba(0,191,255,.15); }

/* Panier */
.stepper { display: flex; justify-content: center; gap: 0; margin: 0 auto 26px; max-width: 560px; }
.stepper .st { flex: 1; text-align: center; position: relative; font-size: .8rem; font-weight: 700; color: var(--muted); }
.stepper .st::before { content: attr(data-n); display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 6px; border-radius: 50%; background: #e2e8f0; color: var(--muted); position: relative; z-index: 1; }
.stepper .st::after { content: ''; position: absolute; top: 16px; left: 50%; width: 100%; height: 2px; background: #e2e8f0; }
.stepper .st:last-child::after { display: none; }
.stepper .st.on { color: var(--blue); }
.stepper .st.on::before { background: linear-gradient(135deg, var(--blue), #1f6bff); color: #fff; box-shadow: 0 6px 16px rgba(6,55,184,.3); }
.cart-item { transition: background .2s ease; }
.cart-item:hover { background: #f8fbff; }
.cart-item.removing { animation: slideOut .35s ease forwards; }
@keyframes slideOut { to { opacity: 0; transform: translateX(40px); } }
.empty-cart-ico { font-size: 4rem; display: inline-block; animation: bob 3.5s ease-in-out infinite; }
.secure-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 14px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.summary { border-top: 4px solid var(--blue); }
.pay-options label { transition: border-color .2s ease, background .2s ease; }
.pay-options label:has(input:checked) { border-color: var(--blue); background: #f2f6ff; }

/* Pied de page : bouton admin */
.admin-link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 12px; font-weight: 700; font-size: .88rem; color: #fff !important; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); transition: all .25s ease; }
.admin-link:hover { background: linear-gradient(135deg, var(--sun), var(--sun-2)); color: #2a1300 !important; border-color: transparent; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,122,24,.35); }
.admin-link svg { width: 17px; height: 17px; flex: none; }
.copy { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; text-align: left; }

@media (max-width: 960px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { position: relative; top: auto; z-index: 20; }
}
@media (max-width: 560px) {
  .quick-grid { grid-template-columns: 1fr; margin-top: -40px; }
  .trust-row { grid-template-columns: 1fr; }
  .copy { justify-content: center; text-align: center; }
}

/* Bouton admin dans le menu */
.nav a.nav-admin { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; padding: 9px 16px; border-radius: 12px; font-weight: 700; font-size: .85rem; color: var(--blue); background: #f2f6ff; border: 1px solid #c7d8ff; transition: all .25s ease; }
.nav a.nav-admin svg { width: 16px; height: 16px; }
.nav a.nav-admin:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(6,55,184,.25); }
@media (max-width: 760px) { .nav a.nav-admin { margin: 6px 0 0; justify-content: center; } }
