/* licenceoff — styles communs du site client (couleurs de la bannière) */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700;800;900&display=swap");
:root {
  --bleu: #1E4FB8; --bleu-f: #163E94; --nuit: #0F2A6B; --orange: #F5A21B; --orange-f: #DE8A06; --creme: #FBF7EE; --ciel: #E8F1FC;
  --vert: #15803d; --rouge: #b91c1c; --gris: #5b6b86; --ligne: #e6e1d6; --fond: #FBF7EE; --blanc: #fff;
  --r: 16px; --ombre: 0 6px 22px rgba(15, 42, 107, .10);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--fond); color: var(--nuit); line-height: 1.5; }
a { color: var(--bleu); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* ---------- en-tête ---------- */
.top { background: var(--nuit); color: #e7eefc; font-size: 13px; text-align: center; padding: 6px 16px; }
header.site { background: var(--blanc); border-bottom: 1px solid var(--ligne); position: sticky; top: 0; z-index: 20; }
header.site .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { font-size: 27px; font-weight: 900; letter-spacing: -1px; line-height: 1; white-space: nowrap; }
.logo .a { color: var(--bleu); } .logo .b { color: var(--orange); }
nav.main { display: flex; gap: 4px; margin-left: 8px; }
nav.main a { color: var(--nuit); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
nav.main a:hover, nav.main a.on { background: var(--ciel); color: var(--bleu); }
.search { flex: 1; max-width: 380px; margin-left: auto; position: relative; }
.search input { width: 100%; padding: 10px 14px 10px 38px; border: 1px solid var(--ligne); border-radius: 99px; font-size: 15px; background: #f8fafc; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); opacity: .5; }
.acct-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 99px; color: var(--bleu); background: #EEF3FC; flex: none; }
.acct-btn:hover { background: #E1EAFA; }
.fav-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #E5E7EB; color: var(--nuit); border-radius: 10px; padding: 11px 14px; font-weight: 700; cursor: pointer; font-family: inherit; font-size: 15px; }
.fav-btn.on { color: #E11D48; border-color: #FBCFE8; background: #FFF1F5; }
.fav-btn.on svg { fill: #E11D48; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 6px; background: var(--bleu); color: #fff; padding: 9px 14px; border-radius: 99px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.cart-btn .n { background: var(--orange); border-radius: 99px; min-width: 20px; height: 20px; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
@media (max-width: 820px) {
  header.site .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .burger { display: block; order: 0; }
  .logo { order: 1; flex: 1; }
  .acct-btn { order: 2; }
  .cart-btn { order: 2; }
  .search { order: 3; max-width: none; flex-basis: 100%; margin: 0; }
  nav.main { order: 4; display: none; flex-basis: 100%; flex-direction: column; margin: 0; }
  nav.main.open { display: flex; }
  .cart-btn .t { display: none; }
}

/* ---------- boutons, formulaires ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 18px; font-size: 15px; font-weight: 700; cursor: pointer; background: var(--bleu); color: #fff; font-family: inherit; }
.btn:hover { background: var(--bleu-f); }
.btn.orange { background: var(--orange); } .btn.orange:hover { background: var(--orange-f); }
.btn.light { background: #eef2f7; color: var(--nuit); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; }
label { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 4px; }
input, select, textarea { font-family: inherit; font-size: 16px; }
.field { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; }
.hp { position: absolute; left: -9999px; }

/* ---------- sections ---------- */
.hero-banner { background: var(--creme); }
.hero-banner picture, .hero-banner img { display: block; width: 100%; }
.hero-banner img { max-width: 1600px; margin: 0 auto; height: auto; }
.intro { background: linear-gradient(135deg, var(--bleu), var(--nuit)); color: #fff; padding: 22px 0 46px; }
.intro .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.intro h1 { font-size: clamp(22px, 3.2vw, 32px); line-height: 1.2; margin: 0 0 4px; font-weight: 900; }
.intro p { margin: 0; font-size: 17px; opacity: .92; }
.intro .hand { color: var(--orange); font-weight: 800; font-style: italic; }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: -28px auto 0; position: relative; }
.trust div { background: #fff; border-radius: var(--r); box-shadow: var(--ombre); padding: 14px 16px; font-size: 14px; display: flex; gap: 12px; align-items: center; color: var(--gris); }
.trust .ic { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.trust .ic.b { background: var(--bleu); }
.trust b { display: block; font-size: 15px; color: var(--nuit); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillar { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); padding: 18px 12px; text-align: center; color: var(--nuit); font-weight: 800; font-size: 17px; transition: box-shadow .15s, transform .15s; }
.pillar:hover { box-shadow: var(--ombre); transform: translateY(-2px); }
.pillar .sq { width: 58px; height: 58px; border-radius: 14px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; background: var(--bleu); }
.pillar .sq.o { background: #EA4E1B; }
.pillar small { display: block; font-weight: 600; color: var(--gris); font-size: 13px; margin-top: 2px; }
@media (max-width: 520px) { .pillar { padding: 14px 6px; font-size: 14px; } .pillar .sq { width: 46px; height: 46px; } .pillar small { display: none; } }
section.block { padding: 32px 0; }
.sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-title h2 { font-size: 22px; margin: 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; border: 1px solid var(--ligne); background: #fff; color: var(--nuit); padding: 8px 14px; border-radius: 99px; font-weight: 600; font-size: 14px; cursor: pointer; }
.chip.on { background: var(--bleu); color: #fff; border-color: var(--bleu); }

/* ---------- cartes produit ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.card { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--ombre); transform: translateY(-2px); }
.card .img { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--ciel), #fdf0d8); display: flex; align-items: center; justify-content: center; position: relative; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card .img .ph { font-size: 34px; font-weight: 900; color: var(--bleu); opacity: .55; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.badge.out { background: var(--gris); }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .cat { font-size: 12px; color: var(--gris); font-weight: 600; }
.card .name { font-weight: 700; color: var(--nuit); line-height: 1.3; }
.price { font-weight: 800; color: var(--bleu); font-size: 18px; }
.price s { color: var(--gris); font-weight: 500; font-size: 14px; margin-left: 6px; }
.card .btn { margin-top: auto; padding: 10px; font-size: 14px; }
@media (max-width: 520px) { .card .body { padding: 10px; } .price { font-size: 16px; } .card .name { font-size: 14px; } }

/* ---------- fiche produit ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 28px 0; }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; gap: 18px; padding: 16px 0; } }
.product .img { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product .img img { width: 100%; height: 100%; object-fit: contain; }
.product h1 { font-size: clamp(22px, 3vw, 30px); margin: 4px 0 10px; line-height: 1.2; }
.product .price { font-size: 26px; }
.qty { display: inline-flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 10px; overflow: hidden; }
.qty button { width: 42px; height: 44px; border: 0; background: #f1f5f9; font-size: 20px; cursor: pointer; }
.qty input { width: 52px; height: 44px; border: 0; text-align: center; font-weight: 700; }
.perks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 14px; }
.perks li::before { content: "✓ "; color: var(--vert); font-weight: 800; }
.desc { white-space: pre-line; line-height: 1.65; }

/* ---------- panier / commande ---------- */
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; padding: 24px 0; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); padding: 18px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.line:last-child { border-bottom: 0; }
.line .th { width: 64px; height: 64px; border-radius: 10px; background: #eef2f7; overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #94a3b8; }
.line .th img { width: 100%; height: 100%; object-fit: cover; }
.line .nm { font-weight: 700; }
.line .rm, button.rm { background: none; border: 0; color: var(--rouge); font-size: 13px; cursor: pointer; padding: 0; }
.tot { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; margin: 12px 0; }
.empty { text-align: center; padding: 40px 16px; color: var(--gris); }
.key { font-family: ui-monospace, Consolas, monospace; font-weight: 700; background: #eff5ff; border: 2px dashed var(--bleu); border-radius: 10px; padding: 10px 12px; word-break: break-all; margin: 6px 0; white-space: pre-wrap; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #fff; }
.t-ok { background: var(--vert); } .t-wait { background: #a16207; } .t-ko { background: var(--gris); } .t-info { background: var(--bleu); }
.note { font-size: 13px; color: var(--gris); }
.msg { margin-top: 10px; font-weight: 600; color: var(--rouge); }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.post-card { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); overflow: hidden; color: var(--nuit); display: flex; flex-direction: column; }
.post-card .cv { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #dbe7fb, #fde7c2); }
.post-card .cv img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 14px 16px 18px; }
.post-card h3 { margin: 4px 0 6px; font-size: 18px; line-height: 1.3; }
article.post { max-width: 760px; margin: 0 auto; padding: 28px 16px 40px; }
article.post h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.2; margin: 6px 0 12px; }
article.post .cv { border-radius: var(--r); overflow: hidden; margin: 18px 0; }
article.post .content { font-size: 17px; line-height: 1.75; }
article.post .content h2 { font-size: 22px; margin: 28px 0 8px; }
article.post .content h3 { font-size: 19px; margin: 22px 0 6px; }

/* ---------- pied de page ---------- */
.strip { background: var(--bleu); color: #fff; margin-top: 40px; padding: 14px 0; font-weight: 700; font-size: 15px; }
.strip .wrap { display: flex; justify-content: center; gap: 10px 28px; flex-wrap: wrap; text-align: center; }
.strip span::before { content: "✓ "; color: var(--orange); }
footer.site { background: var(--nuit); color: #d6e0f5; padding: 32px 0 20px; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
footer.site a { color: #d6e0f5; display: block; padding: 2px 0; }
footer.site .logo .a { color: #fff; }
footer.site .tag-line { color: var(--orange); font-weight: 800; font-style: italic; }
footer.site .copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 22px; padding-top: 14px; font-size: 13px; opacity: .8; }
.wa-float { position: fixed; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.2); z-index: 30; }
#toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--nuit); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; z-index: 40; max-width: 90vw; display: none; }
.skeleton { background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r); min-height: 260px; }
@keyframes sk { to { background-position: -200% 0; } }
/* mobile : la bannière montre déjà les 3 engagements */
@media (max-width: 640px) { .trust { display: none; } .intro { padding: 18px 0 20px; } .intro p { font-size: 15px; } }

/* fil d'Ariane */
.crumbs { display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-size:14px; color:#5b6b86; margin:18px 0 6px; }
.crumbs a { color:var(--bleu, #1E4FB8); text-decoration:none; font-weight:700; }
.crumbs a:hover { text-decoration:underline; }
.crumbs .sep { color:#a3b0c6; }
.crumbs [aria-current] { color:var(--nuit, #0F2A6B); font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:60vw; }
.chips a.chip { text-decoration:none; display:inline-block; }
.chips.sub { margin-top:8px; }
.chips.sub .chip { font-size:13px; padding:6px 12px; }

/* bandeau cookies */
.cookie-bar { position:fixed; left:12px; right:12px; bottom:12px; z-index:60; max-width:720px; margin:0 auto; background:#fff; color:var(--nuit);
  border:1px solid var(--ligne); border-radius:14px; box-shadow:0 10px 30px rgba(15,42,107,.18); padding:14px 16px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.cookie-bar p { margin:0; flex:1 1 280px; font-size:14px; line-height:1.5; }
.cookie-bar a { color:var(--bleu); font-weight:700; }
.cookie-bar .cb-btns { display:flex; gap:8px; }
.cookie-bar .btn { padding:10px 16px; }

/* ---------- avis clients ---------- */
.review-box { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #FFF8E8; }
.review-box summary { cursor: pointer; font-weight: 700; }
.stars-in { display: flex; gap: 4px; margin: 10px 0 6px; }
.stars-in button { background: none; border: 0; font-size: 30px; line-height: 1; color: #CBD5E1; cursor: pointer; padding: 2px; }
.stars-in button.on { color: #F5A21B; }
.stars { color: #F5A21B; letter-spacing: 1px; }
.stars .off { color: #CBD5E1; }
.reviews { margin-top: 30px; }
.review { border-top: 1px solid #E5E7EB; padding: 12px 0; }
.review .reply { margin: 8px 0 0 14px; padding: 8px 10px; border-left: 3px solid #1E4FB8; background: #F4F8FF; border-radius: 6px; font-size: 14px; }
.rating-line { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; font-size: 14px; }

/* ---------- livraison (panier) ---------- */
.ship-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin: 6px 0; border: 1px solid #E5E7EB; border-radius: 12px; cursor: pointer; font-weight: 400; }
.ship-opt:has(input:checked) { border-color: var(--bleu, #1E4FB8); background: #F4F8FF; }
.ship-opt input { margin-top: 4px; }
.ship-opt span { display: flex; flex-direction: column; }
.hidden { display: none !important; }
