:root {
  --navy: #0b1f3f; --navy-2: #12305e; --gold: #d4a43a; --gold-2: #f0c96a; --ink: #14213d; --muted: #5b6577;
  --bg: #ffffff; --bg-alt: #f4f6fa; --line: #e3e7ee; --ok: #15803d; --warn: #b45309; --danger: #b91c1c; --wa: #25d366;
  --radius: 14px; --shadow: 0 6px 24px rgba(11, 31, 63, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 4vw, 34px); color: var(--navy); }
.h3 { margin-top: 40px; font-size: 20px; color: var(--navy); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.sub { color: var(--muted); max-width: 720px; margin: 0 0 28px; }
.small { font-size: 13px; } .muted { color: var(--muted); }
[hidden] { display: none !important; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 40; background: rgba(11, 31, 63, .97); backdrop-filter: blur(6px); }
.bar { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand b { display: block; font-size: 18px; letter-spacing: .04em; }
.brand em { font-style: normal; color: var(--gold-2); }
.brand small { display: block; color: #c9d3e6; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-top: -2px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: #dfe6f3; text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--gold-2); }
.actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.lang, .burger { background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: #fff; border-radius: 8px; height: 36px; min-width: 40px; font: inherit; font-weight: 600; cursor: pointer; }
.burger { display: none; font-size: 18px; }
.cart-btn { position: relative; display: grid; place-items: center; width: 40px; height: 36px; border-radius: 8px; background: var(--gold); text-decoration: none; }
.cart-btn .count { position: absolute; top: -6px; right: -6px; background: #fff; color: var(--navy); border-radius: 999px; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
@media (max-width: 860px) {
  .burger { display: inline-block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--navy); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .actions { margin-left: auto; }
}

/* Accueil */
.hero { background: radial-gradient(1200px 500px at 80% 0%, #1d4380 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0e2850 100%); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -80px; bottom: -40px; width: 420px; height: 90px; background: linear-gradient(90deg, transparent, var(--gold)); transform: rotate(-12deg); opacity: .55; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.eyebrow { color: var(--gold-2); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; }
.hero h1 { font-size: clamp(30px, 5.5vw, 52px); font-weight: 800; }
.lead { color: #d5deee; font-size: 18px; max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: #e6ecf6; }
.checks li::before { content: "✓"; color: var(--gold-2); font-weight: 700; margin-right: 8px; }
.hero-img { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); border: 2px solid rgba(212,164,58,.5); background: #fff; }
@media (max-width: 860px) { .hero { padding: 36px 0 44px; } .hero-grid { grid-template-columns: 1fr; gap: 28px; } .lead { font-size: 16px; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .1s, filter .15s; }
.btn:active { transform: scale(.98); }
.btn.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); }
.btn.gold:hover { filter: brightness(1.05); }
.btn.ghost { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn.ghost-dark { border: 1.5px solid var(--line); color: var(--navy); background: #fff; }
.btn.navy { background: var(--navy); color: #fff; }
.btn.wa { background: var(--wa); color: #fff; }
.btn.block { width: 100%; }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Valeurs */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -34px; position: relative; z-index: 2; }
.value { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; border-top: 3px solid var(--gold); }
.value span { font-size: 26px; } .value h3 { margin: 8px 0 4px; color: var(--navy); } .value p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; margin-top: 20px; } }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
@media (max-width: 760px) { .section { padding: 44px 0; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 28px; } }

/* Gamme / catalogue */
.range { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.product .pic { aspect-ratio: 4 / 3; background: #f1f3f7; display: grid; place-items: center; overflow: hidden; }
.product .pic img { width: 100%; height: 100%; object-fit: cover; }
.product .pic img.contain { object-fit: contain; padding: 10px; background: #fff; }
.product .body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product h3 { font-size: 18px; margin: 0; color: var(--navy); }
.product .tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--navy-2); background: #e8eef9; border-radius: 999px; padding: 2px 10px; }
.product p { margin: 0; color: var(--muted); font-size: 14px; }
.specs { list-style: none; padding: 0; margin: 0; font-size: 13px; color: var(--ink); display: grid; gap: 3px; }
.price { font-weight: 700; color: var(--navy); font-size: 18px; } .price small { font-weight: 500; color: var(--muted); font-size: 12px; }
.specs li { display: flex; gap: 6px; } .specs li b { color: var(--muted); font-weight: 500; min-width: 108px; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { width: 26px; height: 26px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--navy); }
.buy { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.buy input { width: 0; flex: 1 1 90px; min-width: 80px; }
.buy .btn { flex: 1 1 auto; white-space: nowrap; padding: 10px 14px; }
input, textarea, select { font: inherit; font-size: 16px; width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(18,48,94,.12); }

/* Personnalisation */
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaic img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }

/* Vérification */
.verify { background: linear-gradient(160deg, var(--navy), #0e2850); color: #fff; text-align: center; }
.verify h2 { color: #fff; } .verify .sub { color: #c9d3e6; margin-left: auto; margin-right: auto; }
.verify-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.verify-form input { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .05em; }
#verify-result { margin: 22px auto 0; max-width: 560px; text-align: left; }
.vres { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 16px 18px; border-left: 6px solid var(--muted); }
.vres.ok { border-color: var(--ok); } .vres.warn { border-color: var(--warn); } .vres.bad { border-color: var(--danger); }
.vres b.title { display: block; font-size: 17px; margin-bottom: 4px; }
@media (max-width: 520px) { .verify-form { flex-direction: column; } }

/* Secteurs, galerie */
.sectors { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.sectors div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.sectors span { font-size: 28px; } .sectors b { color: var(--navy); font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* Commande */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 4px; font-size: 14px; font-weight: 500; color: var(--navy); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--danger); font-size: 14px; min-height: 1em; }
.cart-line { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line .name { font-weight: 600; color: var(--navy); }
.cart-line .name small { display: block; font-weight: 400; color: var(--muted); }
.cart-line input { width: 100px; }
.cart-line button { border: 0; background: none; color: var(--danger); font-size: 20px; cursor: pointer; padding: 4px 8px; }
.empty { color: var(--muted); background: var(--bg-alt); border-radius: var(--radius); padding: 18px; }
.success { background: #ecfdf3; border: 1px solid #b7ebc9; color: #14532d; border-radius: var(--radius); padding: 18px; }
.success b { font-size: 18px; }

/* Contact & pied de page */
.contact { background: var(--bg-alt); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 18px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.legal-card { background: var(--navy); color: #dfe6f3; border-radius: var(--radius); padding: 24px; }
.legal-card b { color: #fff; }
.foot { background: #081631; color: #9fb0cc; font-size: 13px; padding: 20px 0 90px; }
.wa-float { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 999px; background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 50; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 60; font-size: 14px; box-shadow: var(--shadow); }
