:root{
  --yellow:#FFC400;
  --ink:#161616;
  --ink-card:#171717;
  --bg:#ffffff;
  --muted:#5f5f5f;
  --line:#e6e6e6;
  --radius:14px;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6;font-size:17px}
h1,h2,h3{font-weight:800;letter-spacing:-.02em;line-height:1.12;margin:0}
a{color:inherit}
img{max-width:100%}

header{border-bottom:1px solid var(--line);background:#fff}
.head-inner{display:flex;justify-content:space-between;align-items:center;gap:16px;max-width:720px;margin:0 auto;padding:18px 18px}
.brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;font-weight:800;font-size:20px;text-decoration:none;letter-spacing:-.01em}
.brand-mark{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--yellow);color:#161616;font-weight:800;font-size:13px;letter-spacing:.01em}
.brand .fap{box-shadow:inset 0 -6px 0 var(--yellow)}
.logo-img{height:50px;width:auto;display:block}
.foot-inner .logo-img{height:38px}
.hero-photo{display:block;width:100%;max-height:460px;object-fit:cover;object-position:center;border-radius:16px}
.hero.hero-stack{display:block}
.hero-img{margin:22px 0 0;max-width:720px}
.hero-img img{display:block;width:100%;height:auto;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.14)}
.hero-img figcaption{margin-top:8px;font-size:13px;color:var(--muted)}
.showcase{margin:30px 0 0}
.showcase img{display:block;width:100%;max-height:420px;object-fit:cover;object-position:center;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.14)}
nav{display:flex;align-items:center;gap:22px}
nav a{text-decoration:none;font-weight:600;font-size:15px;color:#333}
nav .cta{background:var(--yellow);color:var(--ink);padding:10px 18px;border-radius:10px}

.btn{display:inline-block;background:var(--yellow);color:var(--ink);font-weight:700;text-decoration:none;
  border:0;cursor:pointer;border-radius:11px;padding:14px 24px;font-size:16px;font-family:inherit}
.btn:hover{background:#ffd01f}
.btn-lg{padding:16px 28px;font-size:17px}

main{max-width:720px;margin:0 auto;padding:0 18px}
section{padding:42px 0}

.kicker{display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#8a6200;margin-bottom:14px}
.kicker.light{color:var(--yellow)}
.hero{display:grid;grid-template-columns:1.12fr .88fr;gap:44px;align-items:center;padding:58px 0 40px}
.hero-text{max-width:720px}
.hero-visual{display:flex;justify-content:center}
.visual-card{background:var(--ink-card);border-radius:20px;padding:30px;width:100%}
.visual-card svg{display:block;width:100%;height:auto}
.band{background:var(--ink-card);color:#fff;border-radius:20px;padding:46px 40px;margin:6px 0}
.band h2{font-size:clamp(26px,4vw,36px);max-width:720px;margin:4px 0 14px}
.band p{color:#c7c7c7;font-size:18px;max-width:720px;margin:0 0 22px}
.hero h1{font-size:clamp(34px,6vw,56px)}
.hero .hl{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:.09em;text-underline-offset:.24em;text-decoration-skip-ink:none}
.lead{font-size:19px;color:var(--muted);margin:18px 0 26px;max-width:580px}
.btn-ghost{display:inline-block;margin-top:12px;padding:12px 22px;font-weight:700;font-size:15px;text-decoration:none;color:var(--ink);background:#fff;border:2px solid var(--ink);border-radius:12px}
.btn-ghost:hover{background:var(--ink);color:#fff}
.hero-hint{font-size:15px;color:var(--muted);margin:20px 0 0;max-width:720px}
.hero-hint a{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:5px}

.big-search{display:flex;gap:10px;max-width:720px;margin:0}
.big-search .ac{flex:1}
.big-search input{width:100%;padding:16px 18px;font-size:17px;font-family:inherit;border:2px solid var(--ink);border-radius:12px}
.big-search input:focus{outline:none;box-shadow:inset 0 -4px 0 var(--yellow)}

.ac{position:relative}
.ac-list{position:absolute;left:0;right:0;top:calc(100% + 4px);background:#fff;border:1px solid var(--line);
  border-radius:12px;box-shadow:0 10px 24px rgba(0,0,0,.08);z-index:30;max-height:270px;overflow:auto}
.ac-list:empty{display:none}
.ac-item{padding:11px 16px;cursor:pointer;font-size:15px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #f0f0f0}
.ac-item:last-child{border-bottom:0}
.ac-item:hover{background:#f6f6f6}
.ac-ref{flex:1;font-weight:600;word-break:break-word}
.ac-mk{color:var(--muted);font-weight:400;white-space:nowrap;flex-shrink:0}

.how{max-width:680px}
.how h2{font-size:26px;margin-bottom:14px}
.how p{color:#333;font-size:18px;margin:0}

.brands h2{font-size:22px;margin-bottom:6px}
.brands .sub{color:var(--muted);margin:0 0 24px}
.logo-wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:24px 18px;align-items:center}
.logo-chip{display:grid;place-items:center;height:38px}
.logo-chip img{max-height:30px;max-width:86%;filter:grayscale(1);opacity:.5;transition:opacity .2s, filter .2s}
.logo-chip:hover img{opacity:1;filter:none}
.logo-name{display:none;font-weight:700;font-size:14px;color:#777}

.page-head{padding:56px 0 4px;max-width:620px}
.page-head h1{font-size:clamp(30px,5vw,44px)}
.page-head p{color:var(--muted);margin:12px 0 0;font-size:18px}

.par-marque{max-width:620px;margin:18px 0 0}
.par-marque summary{cursor:pointer;font-weight:600;font-size:15px;color:#333;padding:6px 0;list-style:none}
.par-marque summary::-webkit-details-marker{display:none}
.par-marque summary:hover{color:#000}
.form-est{display:flex;flex-direction:column;gap:12px;max-width:420px;margin-top:14px}
.marque-row{display:flex;align-items:flex-end;gap:12px}
.marque-logo{width:40px;height:28px;object-fit:contain;filter:grayscale(1);opacity:.7}
label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px}
input,select{padding:12px 14px;font:inherit;border:1.5px solid var(--line);border-radius:10px;background:#fff;width:100%}
input:focus,select:focus{outline:none;border-color:var(--ink)}
.note{font-size:13px;color:var(--muted)}
.erreur{color:#b00020;font-weight:600}
.field-error{display:inline-block;background:var(--yellow);color:var(--ink);font-weight:700;font-size:14px;padding:10px 16px;border-radius:10px;margin:12px 0 0}

.offre{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start;background:var(--ink-card);color:#fff;border-radius:18px;padding:38px;margin-top:30px}
.offre-logo{height:34px;max-width:160px;object-fit:contain;margin-bottom:16px}
.price{font-size:clamp(50px,9vw,78px);font-weight:800;letter-spacing:-.03em;line-height:1}
.price span{color:var(--yellow)}
.offre-text{color:#c9c9c9;font-size:16px;margin:16px 0 0;max-width:340px}
.offre-abo{margin-top:20px;border-top:1px solid #333;padding-top:16px;max-width:340px}
.offre-abo .abo-head{display:block;font-size:13px;color:#9a9a9a;margin-bottom:10px}
.abo-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:6px 0}
.abo-row .abo-nom{font-size:15px;color:#e5e5e5}
.abo-row .abo-nom em{color:var(--yellow);font-style:normal;font-weight:700;font-size:13px;margin-left:4px}
.abo-row .abo-nom small{display:block;color:#9a9a9a;font-size:12px;font-weight:400;margin-top:2px}
.abo-row .abo-prix{font-size:22px;font-weight:800;color:#fff}
.aide-code{margin:12px 0 0;max-width:720px}
.aide-code summary{cursor:pointer;color:var(--ink);font-weight:600;font-size:14px;text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:3px}
.aide-fig{margin:14px 0 0}
.aide-fig img{display:block;width:100%;height:auto;max-width:560px;border-radius:14px;box-shadow:0 8px 28px rgba(0,0,0,.18)}
.aide-fig figcaption{margin-top:8px;font-size:13px;color:#6b6b6b}
.offre-right{display:flex;flex-direction:column;gap:12px}
.offre-right h2{font-size:22px;margin-bottom:2px}
.offre-right input{background:#242424;border-color:#333;color:#fff}
.offre-right input:focus{border-color:var(--yellow)}
.offre-right label{font-size:14px}
.offre-right .note{color:#9a9a9a}

.prompt{background:var(--ink-card);color:#fff;border-radius:18px;padding:34px;margin-top:28px;max-width:460px}
.prompt .offre-logo{margin-bottom:12px}
.prompt h2{font-size:24px}
.prompt p{color:#c9c9c9;margin:6px 0 16px}
.prompt select{background:#242424;border-color:#333;color:#fff}

.prose{max-width:720px;padding:48px 0 60px}
.prose h1{font-size:clamp(28px,4.5vw,40px);margin-bottom:18px}
.prose h2{font-size:20px;margin:26px 0 10px}
.prose ul,.prose ol{padding-left:20px}
.prose li{margin-bottom:10px}
.prose a{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:4px}

.faq{max-width:700px}
.faq h2{font-size:24px;margin-bottom:8px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;font-weight:700;font-size:17px;padding:16px 0;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq p{margin:0 0 18px;color:#444}

footer{border-top:1px solid var(--line);margin-top:28px}
.foot-inner{max-width:720px;margin:0 auto;padding:30px 18px;font-size:14px;color:var(--muted)}
.foot-inner .brand{font-size:17px;color:var(--ink)}
.foot-inner p{margin:16px 0 0;max-width:none}
.foot-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px 26px}
.foot-top .brand{justify-self:start}
.foot-links{display:flex;flex-wrap:wrap;gap:14px 22px}
.foot-links a{color:var(--muted);text-decoration:none;font-weight:600}
.foot-links a:hover{color:var(--ink)}

.check{flex-direction:row;align-items:flex-start;gap:9px;font-weight:400;font-size:12.5px;line-height:1.45;color:#cfcfcf}
.check input{width:auto;margin-top:2px;flex-shrink:0}
.offre-right .check a{color:var(--yellow);text-decoration:underline;text-underline-offset:2px}
.legal-note{color:var(--muted);font-size:14px;border-top:1px solid var(--line);padding-top:16px;margin-top:26px}

.nav-cart{position:relative;display:inline-flex;align-items:center;gap:5px;color:#333}
.nav-cart:hover{color:var(--ink)}
.cart-ico{display:block}
.cart-badge{background:var(--yellow);color:var(--ink);font-size:11px;font-weight:800;border-radius:999px;min-width:18px;height:18px;padding:0 5px;display:inline-grid;place-items:center;margin-left:-3px}

/* --- Catalogue /prix (marque d'abord -> liste complète) --- */
.brand-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;margin:22px 0 4px}
.brand-card{display:flex;flex-direction:column;align-items:center;gap:8px;background:#fff;border:1.5px solid var(--line);
  border-radius:var(--radius);padding:18px 10px 14px;font:inherit;cursor:pointer;text-align:center}
.brand-card img{filter:grayscale(1);opacity:.6;transition:filter .2s,opacity .2s}
.brand-card:hover{border-color:var(--ink);box-shadow:0 6px 18px rgba(0,0,0,.07)}
.brand-card:hover img{filter:none;opacity:1}
.brand-card .bc-name{font-weight:700;font-size:14px;color:var(--ink)}
.brand-card .bc-count{font-size:12px;color:var(--muted)}
.brand-back{background:none;border:0;font:inherit;font-size:14px;font-weight:600;color:var(--muted);cursor:pointer;padding:0;margin:18px 0 2px}
.brand-back:hover{color:var(--ink)}
.brand-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 6px}
.brand-head img{filter:grayscale(1)}
.brand-head h2{font-size:24px}
.brand-head .bh-count{color:var(--muted);font-size:14px;font-weight:600}
.prix-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0 6px}
.prix-search{flex:1;min-width:220px;max-width:360px;padding:12px 16px;font:inherit;border:2px solid var(--ink);border-radius:12px}
.prix-search:focus{outline:none;box-shadow:inset 0 -4px 0 var(--yellow)}
.prix-count{color:var(--muted);font-size:14px;font-weight:600}
.prix-table{table-layout:fixed}
.prix-table .ref{font-variant-numeric:tabular-nums;word-break:break-word}
.prix-table .px{font-weight:800;white-space:nowrap;text-align:right}
.prix-table th:last-child{text-align:right}
.prix-empty{color:var(--muted);margin:16px 0}

.offre-add{gap:14px}
.btn-ghost-light{display:inline-block;padding:12px 20px;font-weight:700;font-size:15px;text-decoration:none;color:#fff;border:2px solid #555;border-radius:12px;text-align:center}
.btn-ghost-light:hover{border-color:var(--yellow);color:var(--yellow)}

.cart{width:100%;border-collapse:collapse;margin:22px 0}
.cart th,.cart td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);font-size:15px;vertical-align:middle}
.cart thead th{font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.cart tfoot th,.cart tfoot td{font-weight:800;font-size:17px;border-bottom:0}
.cart .muted{color:var(--muted);font-weight:400;font-size:13px}
.cart td:nth-child(2),.cart td:last-child,.cart th:last-child{white-space:nowrap}
.cart .qty{white-space:nowrap}
.cart .qty button{width:30px;height:30px;border:1.5px solid var(--line);background:#fff;border-radius:8px;font-size:17px;cursor:pointer;line-height:1;padding:0}
.cart .qty span{display:inline-block;min-width:26px;text-align:center;font-weight:700}
.cart .rm{border:0;background:none;color:var(--muted);cursor:pointer;font-size:16px;padding:4px}
.cart .rm:hover{color:#b00020}

.cart-form{display:flex;flex-direction:column;gap:12px;max-width:460px;margin-top:18px}
.cart-form h2{font-size:20px;margin-bottom:2px}
.cart-form .check{color:#444}
.cart-form .check a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--yellow);text-underline-offset:2px}

/* --- Admin : registre / bon d'achat --- */
.admin-form{margin-top:10px}
.admin-form h2{font-size:18px;margin:26px 0 6px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px;max-width:640px}
.grid2 label small{font-weight:400;color:var(--muted)}
.admin-form .check{color:#444;margin-top:12px;max-width:640px}
.admin-form .btn-lg{margin-top:22px}
.statut{display:inline-block;font-size:12px;font-weight:700;padding:2px 10px;border-radius:999px;background:#eee;color:#555}
.statut-demande{background:#fff4cc;color:#8a6200}
.statut-achete{background:#d8f3dd;color:#1b6b33}
.bon-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.bon-parties{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:18px 0 8px}
.bon-parties h2{font-size:16px;margin-bottom:4px}
.bon-parties p{margin:0;font-size:15px}
.bon-sign{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:48px}
.bon-sign div{border-top:1px solid var(--ink);padding-top:8px;font-size:13px;color:var(--muted)}

@media(max-width:620px){ .grid2,.bon-parties,.bon-sign{grid-template-columns:1fr} }

@media print{
  header,footer,.btn,.btn-ghost-light,.nav-cart{display:none}
  main{max-width:none}
  .prose{padding:0}
}

@media(max-width:760px){
  .hero{grid-template-columns:1fr;gap:26px}
  .hero-visual{max-width:360px}
}
@media(max-width:720px){
  .offre{grid-template-columns:1fr;gap:26px}
  .big-search{flex-direction:column}
  .head-inner{padding:16px 18px}
  main{padding:0 18px}
  .band{padding:36px 24px}
  .foot-top{grid-template-columns:1fr;justify-items:center}
  .foot-top .brand{justify-self:center}
}
