/* HOSANNA SHOP — site vitrine : sobre, lisible, professionnel */
:root { --navy: #13213F; --navy-2: #1E3158; --gold: #B8913A; --ink: #1C2333; --muted: #667089; --line: #E6E8EE; --bg-alt: #F6F7F9; --ok: #1B7F47; --wa: #1FA855; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: #fff; font-size: 1rem; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--navy); letter-spacing: -.01em; }

.topbar-site { background: var(--navy); color: #C7CFE0; font-size: .82rem; padding: 7px 0; }
.topbar-site a, .topbar-site span { color: #C7CFE0; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar-site a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .container { min-height: 72px; }
.brand img { height: 48px; width: auto; display: block; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 6px; }
.site-nav a:hover { background: var(--bg-alt); }
.btn-menu { border: 1px solid var(--line); background: #fff; width: 42px; height: 42px; font-size: 1.3rem; }
.btn-wa { background: var(--wa); color: #fff; border: 0; font-weight: 600; }
.btn-wa:hover { background: #18914A; color: #fff; }
.btn-dark-navy { background: var(--navy); color: #fff; border: 0; font-weight: 600; }
.btn-dark-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline-navy { border: 1px solid #C7CDD8; color: var(--navy); font-weight: 600; background: #fff; }
.btn-outline-navy:hover { border-color: var(--navy); color: var(--navy); background: var(--bg-alt); }
.btn { border-radius: 8px; }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 750; line-height: 1.12; margin-bottom: 18px; }
.hero .lead { color: var(--muted); font-size: 1.12rem; max-width: 560px; }
.hero-facts { display: flex; gap: 32px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts b { display: block; font-size: 1.35rem; color: var(--navy); }
.hero-facts span { font-size: .85rem; color: var(--muted); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 470px; }
.hg { position: relative; border-radius: 12px; overflow: hidden; display: block; background: #fff; }
.hg0 { grid-row: span 2; }
.hg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hg:hover img { transform: scale(1.04); }
.hg span { position: absolute; left: 10px; bottom: 10px; right: 10px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .82rem; font-weight: 600; padding: 7px 10px; border-radius: 6px; }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: #fff; }
.strip .col-6 { display: flex; gap: 12px; align-items: flex-start; }
.strip i { font-size: 1.5rem; color: var(--gold); line-height: 1; }
.strip b { display: block; font-size: .95rem; color: var(--navy); }
.strip span { font-size: .83rem; color: var(--muted); }

.sec { padding: 72px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-head { margin-bottom: 28px; }
.sec-head h2, .sec h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
.sec-head p { color: var(--muted); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cat-card { position: relative; border: 0; padding: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: #ddd; text-align: left; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card span { position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px; background: linear-gradient(0deg, rgba(10,18,36,.82), rgba(10,18,36,0)); color: #fff; }
.cat-card b { display: block; font-size: 1rem; } .cat-card small { opacity: .8; }

.filters .search { position: relative; } .filters .search i { position: absolute; left: 12px; top: 10px; color: var(--muted); }
.filters .search input { padding-left: 36px; min-width: 250px; }
.filters .form-control, .filters .form-select { border-radius: 8px; height: 42px; border-color: #D3D8E1; }
.filters .form-select { width: auto; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { border: 1px solid #D3D8E1; background: #fff; padding: 7px 15px; border-radius: 30px; white-space: nowrap; font-size: .88rem; color: var(--ink); }
.chips button.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.prod { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.prod:hover { box-shadow: 0 10px 28px rgba(19,33,63,.08); transform: translateY(-2px); }
.prod[hidden] { display: none; }
.pimg { position: relative; display: block; aspect-ratio: 1/1; background: var(--bg-alt); overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 10px; left: 10px; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 4px; }
.pbody { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pcat { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 600; }
.prod h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; margin: 5px 0 10px; min-height: 2.6em; }
.prod h3 a { color: var(--ink); text-decoration: none; }
.pmeta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; margin-bottom: 12px; }
.price { font-size: 1.12rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.dispo { font-size: .76rem; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.dispo::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dispo.in { color: var(--ok); } .dispo.out { color: #B7700B; }
.btn-order { border: 1px solid #CFE9DA; color: #15803D; background: #F2FAF5; font-weight: 600; font-size: .9rem; }
.btn-order:hover { background: var(--wa); color: #fff; border-color: var(--wa); }
.small-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.empty-site { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-site i { font-size: 2.2rem; display: block; margin-bottom: 8px; color: var(--gold); }

.about-img { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; }
.about-img img:nth-child(2) { margin-top: 40px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { padding: 6px 0 6px 28px; position: relative; }
.checks li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 5px; color: var(--ok); font-size: 1.1rem; }

.contact-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-item i { font-size: 1.25rem; color: var(--gold); width: 24px; }
.contact-item b { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 3px; }
.contact-item a, .contact-item span { display: block; color: var(--ink); text-decoration: none; }
.map { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); height: 100%; min-height: 380px; background: #E9ECF1; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs i { font-size: .7rem; }
.detail-img { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.detail-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.detail-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin: 6px 0 6px; }
.ref { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--bg-alt); padding: 2px 8px; border-radius: 4px; color: var(--ink); }
.detail-price { font-size: 2rem; font-weight: 750; color: var(--navy); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.detail-price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.detail-desc { color: #3E475C; line-height: 1.7; }
.detail-info { list-style: none; padding: 18px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.detail-info li { padding: 6px 0; color: #3E475C; font-size: .93rem; } .detail-info i { color: var(--gold); margin-right: 10px; }

.site-footer { background: var(--navy); color: #AEB8CD; padding: 56px 0 24px; font-size: .92rem; }
.site-footer .foot-logo { height: 52px; background: #fff; padding: 6px 10px; border-radius: 8px; }
.site-footer h6 { color: #fff; font-weight: 600; margin-bottom: 14px; }
.site-footer a, .site-footer .col-6 span, .site-footer .col-lg-3 span { display: block; color: #AEB8CD; text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.soc { display: inline-flex !important; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; align-items: center; justify-content: center; font-size: 1.05rem; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .82rem; }
.foot-bottom a { display: inline !important; padding: 0 !important; }
.wa-float { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.2); z-index: 1001; }
.wa-float:hover { color: #fff; }

@media (max-width: 991px) {
  .site-nav { position: fixed; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 12px 14px; display: none; }
  body.menu-open .site-nav { display: flex; }
  .site-nav a { padding: 12px; border-bottom: 1px solid var(--line); }
  .hero { padding: 36px 0 40px; }
  .hero-grid { height: 340px; }
  .sec { padding: 52px 0; }
  .filters, .filters .search, .filters .search input { width: 100%; min-width: 0; }
  .site-header .btn-wa { margin-left: auto !important; }
}
@media (max-width: 575px) {
  .brand img { height: 40px; }
  .btn-menu { margin-left: auto !important; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card b { font-size: .9rem; }
  .filters .form-select { width: 100%; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pbody { padding: 10px 12px 12px; }
  .prod h3 { font-size: .9rem; }
  .price { font-size: .98rem; }
  .pmeta { flex-direction: column; align-items: flex-start; gap: 2px; }
  .btn-order { font-size: .82rem; padding: 6px; }
  .hero-facts { gap: 18px; } .hero-facts b { font-size: 1.1rem; }
  .hero-grid { height: 280px; gap: 8px; }
}
