/* =========================================================
   Yarda Solutions — feuille de style unique (mobile d'abord)
   ========================================================= */
:root {
  --navy: #132333;
  --navy-2: #1b3047;
  --navy-3: #24405e;
  --amber: #E8A33D;
  --amber-d: #c9862a;
  --blue: #2d5b8a;
  --ink: #132333;
  --text: #46566a;
  --muted: #6b7a8c;
  --bg: #ffffff;
  --soft: #eef1f6;
  --line: #dbe2ec;
  --ok: #1f7a5a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 35, 51, .10);
  --wrap: 1160px;
  --head-h: 64px;
  --f-title: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --f-text: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  /* motif circuit imprimé (SVG inline, ~0,5 Ko) */
  --circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='none' stroke='%23ffffff' stroke-width='1.2'%3E%3Cpath d='M0 40h40l20 20h40M100 60l20-20h40M20 160v-40l20-20v-20M80 160v-30h30l20-20V90M160 120h-20l-10 10'/%3E%3Ccircle cx='40' cy='80' r='3'/%3E%3Ccircle cx='130' cy='90' r='3'/%3E%3Ccircle cx='100' cy='60' r='3'/%3E%3Ccircle cx='60' cy='60' r='2'/%3E%3Ccircle cx='130' cy='130' r='2'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--f-text);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--f-title); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #c8d3e0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.circuit { position: relative; isolation: isolate; }
.circuit::before { content: ""; position: absolute; inset: 0; background: var(--circuit); opacity: .06; z-index: -1; pointer-events: none; }

.eyebrow { display: inline-block; font: 700 .78rem/1 var(--f-text); letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--amber); }
.lead { font-size: 1.1rem; color: var(--text); max-width: 680px; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin: 0 auto; }
.hl { color: var(--blue); }
.amber { color: var(--amber); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 700 1rem/1 var(--f-title); text-decoration: none; cursor: pointer;
  padding: 15px 22px; border-radius: 10px; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease; min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn--amber { background: var(--amber); color: var(--navy); box-shadow: 0 6px 18px rgba(232,163,61,.35); }
.btn--amber:hover { background: #f0b04f; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1fb959; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête ---------- */
.site-head { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.06); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { height: 34px; width: auto; }
.brand span { font: 800 1.05rem/1 var(--f-title); letter-spacing: .04em; }
.brand small { display: block; font: 600 .58rem/1 var(--f-title); letter-spacing: .32em; color: #c8d3e0; margin-top: 4px; }
.cart-link { position: relative; margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; color: #fff; }
.cart-link:hover { background: rgba(255,255,255,.08); }
.cart-link .ico { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--amber); color: var(--navy); font: 800 .72rem/20px var(--f-title); text-align: center; }
.cart-count[hidden] { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; background: transparent; border: 1px solid rgba(255,255,255,.2); color: #fff; cursor: pointer; }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

.main-nav { position: fixed; inset: var(--head-h) 0 0 0; background: var(--navy); padding: 20px; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; overflow-y: auto; }
.nav-open .main-nav { transform: none; visibility: visible; }
.nav-open { overflow: hidden; }
.main-nav ul { display: flex; flex-direction: column; gap: 4px; }
.main-nav a { display: block; color: #e6ecf3; text-decoration: none; font: 600 1.15rem/1 var(--f-title); padding: 16px 12px; border-radius: 10px; }
.main-nav a:hover { background: rgba(255,255,255,.06); }
.main-nav a[aria-current="page"] { color: var(--amber); }
.main-nav .btn { margin-top: 16px; width: 100%; color: var(--navy); justify-content: center; }
.nav-contact { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 12px; }
.nav-contact a { font: 500 1rem/1.3 var(--f-text); padding: 6px 0; display: flex; gap: 10px; align-items: center; color: #c8d3e0; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .cart-link { order: 3; margin-left: 4px; }
  .main-nav { position: static; transform: none; visibility: visible; padding: 0; background: none; overflow: visible; }
  .main-nav ul { flex-direction: row; align-items: center; gap: 2px; }
  .main-nav a { font-size: .95rem; padding: 10px 14px; }
  .main-nav a[aria-current="page"] { background: rgba(232,163,61,.1); }
  .main-nav .btn { margin: 0 0 0 10px; width: auto; padding: 12px 18px; min-height: 0; color: var(--navy); }
  .main-nav .btn:hover { background: #f0b04f; }
  .nav-contact { display: none; }
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #c8d3e0; padding: 56px 0 64px; overflow: hidden; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { color: #c8d3e0; font-size: 1.15rem; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-size: .92rem; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges .ico { color: var(--amber); width: 18px; height: 18px; }
.hero-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 26px; }
.hero-card h2 { color: #fff; font-size: 1.35rem; }
.hero-card ol { counter-reset: s; list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 14px; }
.hero-card li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: .95rem; }
.hero-card li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-3); color: #fff; font: 700 .95rem/1 var(--f-title); }
.hero-card li:first-child::before { background: var(--amber); color: var(--navy); }
.hero-card strong { color: #fff; display: block; font-family: var(--f-title); }
@media (min-width: 900px) {
  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: 1.25fr .9fr; gap: 64px; }
}

.page-hero { background: var(--navy); color: #c8d3e0; padding: 48px 0 52px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 6vw, 2.9rem); }
.page-hero .lead { color: #c8d3e0; }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: #93a3b6; }
.crumbs a { color: #c8d3e0; }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--soft); border-radius: var(--radius); padding: 26px; }
.section--soft .card { background: #fff; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.card-head h3 { margin: 0; }
.icon-box { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: #fff; flex: none; }
.icon-box .ico { width: 26px; height: 26px; }
.icon-box--amber { background: var(--amber); color: var(--navy); }
a.card { text-decoration: none; color: inherit; display: block; transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.more { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font: 700 .9rem/1 var(--f-title); color: var(--blue); }
.more .ico { width: 16px; height: 16px; }

.checks { display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checks .ico { color: var(--ok); width: 20px; height: 20px; margin-top: 3px; }

/* ---------- Bandeaux ---------- */
.banner { display: flex; gap: 18px; align-items: flex-start; background: var(--navy); color: #dce4ee; border-radius: var(--radius); padding: 24px; margin-top: 22px; }
.banner strong { color: var(--amber); }
.banner--amber { background: var(--amber); color: var(--navy); }
.banner--amber strong { color: var(--navy); }
.banner--soft { background: var(--soft); color: var(--text); }
.banner .ico { width: 30px; height: 30px; flex: none; }
.banner p { margin: 0; }

/* ---------- Offre diagnostic ---------- */
.offer { display: grid; gap: 28px; align-items: center; background: var(--navy); border-radius: 22px; padding: 34px 26px; color: #c8d3e0; overflow: hidden; }
.offer h2 { color: #fff; }
.offer-tag { display: inline-flex; gap: 8px; align-items: center; background: var(--amber); color: var(--navy); font: 700 .8rem/1 var(--f-title); padding: 8px 12px; border-radius: 999px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.offer-tag .ico { width: 16px; height: 16px; }
.offer .checks .ico { color: var(--amber); }
.offer .checks { color: #e6ecf3; }
@media (min-width: 900px) { .offer { grid-template-columns: 1.2fr 1fr; padding: 52px; gap: 48px; } }

/* ---------- Chiffres / engagements ---------- */
.stat { font: 800 clamp(2.6rem, 8vw, 3.6rem)/1 var(--f-title); color: var(--blue); margin-bottom: 12px; }
.section--navy .stat { color: var(--amber); }
.section--navy .card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }

/* ---------- Étapes ---------- */
.steps { display: grid; gap: 22px; counter-reset: st; }
.step { position: relative; padding-left: 66px; }
.step::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 800 1.2rem/1 var(--f-title); }
.step:first-child::before { background: var(--amber); color: var(--navy); }
.step h3 { margin-bottom: .25em; }
.step p { margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 70px 0 0; }
  .step::after { content: ""; position: absolute; top: 24px; left: 60px; right: -10px; height: 2px; background: var(--line); }
  .step:last-child::after { display: none; }
}

/* ---------- Pourquoi nous ---------- */
.why { display: grid; gap: 18px; }
.why-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; }
.why-item h3 { margin-bottom: .2em; }
.why-item p { margin: 0; }

/* ---------- Services détaillés ---------- */
.svc-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; margin-bottom: 8px; }
.svc-nav a { white-space: nowrap; text-decoration: none; background: var(--soft); color: var(--ink); font: 600 .88rem/1 var(--f-title); padding: 11px 14px; border-radius: 999px; }
.svc-nav a:hover { background: var(--line); }
.svc { display: grid; gap: 26px; padding: 52px 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }
.svc h2 { font-size: clamp(1.45rem, 4.2vw, 2rem); }
.svc-aside { background: var(--soft); border-radius: var(--radius); padding: 24px; align-self: start; }
.svc-aside h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
@media (min-width: 900px) { .svc { grid-template-columns: 1.4fr 1fr; gap: 56px; } }

.flow { display: grid; gap: 12px; margin-top: 18px; }
.flow-item { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; background: var(--soft); border-radius: 12px; padding: 14px; }
.flow-item .icon-box { width: 44px; height: 44px; }
.flow-item .icon-box .ico { width: 22px; height: 22px; }
.flow-item strong { display: block; color: var(--ink); font-family: var(--f-title); }
.flow-item span { font-size: .92rem; }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(2, 1fr); } }

.rule { display: flex; gap: 18px; align-items: center; background: var(--soft); border-radius: var(--radius); padding: 20px 22px; margin-top: 16px; }
.rule b { font: 800 2rem/1 var(--f-title); color: var(--blue); flex: none; }
.rule p { margin: 0; font-size: .95rem; }

.duo { display: grid; gap: 16px; margin-top: 18px; }
@media (min-width: 640px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo .card em { display: block; color: var(--blue); font-size: .93rem; margin-bottom: 12px; }

/* ---------- Formules ---------- */
.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--soft); border-radius: 18px; padding: 30px 26px; }
.plan h2 { font-size: 1.6rem; margin-bottom: 4px; }
.plan .for { color: var(--muted); font-size: .93rem; margin-bottom: 20px; }
.plan .price { font: 800 2rem/1 var(--f-title); color: var(--ink); margin: 4px 0 6px; }
.plan .price-note { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.plan h3 { font-size: .98rem; margin-bottom: 12px; }
.plan .checks { margin-bottom: 26px; flex: 1; }
.plan--pro { background: var(--navy); color: #c8d3e0; box-shadow: 0 18px 40px rgba(19,35,51,.25); }
.plan--pro h2, .plan--pro h3, .plan--pro .price { color: #fff; }
.plan--pro .price { color: var(--amber); }
.plan--pro .for, .plan--pro .price-note { color: #93a3b6; }
.plan--pro .checks .ico { color: var(--amber); }
.plan--pro .checks li { color: #e6ecf3; }
.badge { position: absolute; top: 24px; right: 22px; background: var(--amber); color: var(--navy); font: 700 .78rem/1 var(--f-title); padding: 8px 12px; border-radius: 8px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .94rem; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--f-title); }
.compare thead th.pro { background: var(--amber); color: var(--navy); }
.compare .ico { width: 20px; height: 20px; margin: 0 auto; color: var(--ok); }
.compare .no { color: #b4bfcc; }
.compare tbody tr:last-child td { border-bottom: 0; }

.faq details { background: #fff; border-radius: 12px; padding: 0 20px; margin-bottom: 10px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 700 1rem/1.4 var(--f-title); color: var(--ink); padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--amber); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; margin: 0; }

/* ---------- À propos ---------- */
.about-card { background: var(--navy); border-radius: 20px; padding: 40px 30px; text-align: center; color: #c8d3e0; }
.about-card img { width: 190px; height: auto; margin: 0 auto 18px; }
.about-card p { color: var(--amber); font: 700 1.05rem/1.3 var(--f-title); margin: 0; }
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.2fr; gap: 64px; } .split--rev { grid-template-columns: 1.2fr 1fr; } }
.values { display: grid; gap: 14px; }
@media (min-width: 640px) { .values { grid-template-columns: 1fr 1fr; } }
.sectors { display: flex; flex-wrap: wrap; gap: 10px; }
.sectors li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font: 600 .92rem/1 var(--f-title); color: var(--ink); display: flex; gap: 8px; align-items: center; }
.sectors .ico { width: 18px; height: 18px; color: var(--amber); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.3fr 1fr; gap: 40px; } }
.form-card { background: #fff; border-radius: 18px; padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin-bottom: 16px; }
.field label { display: block; font: 600 .92rem/1.3 var(--f-title); color: var(--ink); margin-bottom: 7px; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-text); color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfe; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,163,61,.22); background: #fff; }
.field input:user-invalid, .field select:user-invalid { border-color: #c0392b; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.form-status { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form-status.ok { display: block; background: #e5f4ee; color: var(--ok); }
.form-status.err { display: block; background: #fbeaea; color: #a33a2e; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.coords { display: grid; gap: 12px; }
.coord { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; background: var(--soft); border-radius: 12px; padding: 14px; text-decoration: none; color: inherit; }
.coord .icon-box { width: 48px; height: 48px; }
.coord small { display: block; color: var(--muted); font-size: .8rem; }
.coord strong { color: var(--ink); font-family: var(--f-title); word-break: break-word; }
.map { position: relative; margin-top: 16px; border-radius: 14px; overflow: hidden; background: var(--navy) var(--circuit); aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; color: #c8d3e0; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { padding: 20px; }
.map-ph .ico { width: 40px; height: 40px; color: var(--amber); margin: 0 auto 10px; }
.map-ph p { margin-bottom: 14px; }
.map-ph .btn { min-height: 44px; padding: 12px 16px; font-size: .9rem; }
.map-link { display: inline-block; margin-top: 10px; font-size: .9rem; }
.hours { font-size: .92rem; margin-top: 16px; }

/* ---------- CTA final ---------- */
.cta { text-align: center; }
.cta h2 { color: #fff; }
.cta .lead { color: var(--amber); margin: 0 auto 28px; }
.cta .btn-row { justify-content: center; }

/* ---------- Pied de page ---------- */
.site-foot { background: #0d1824; color: #93a3b6; padding: 52px 0 96px; font-size: .93rem; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } .site-foot { padding-bottom: 32px; } }
.site-foot h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-foot a { color: #c8d3e0; text-decoration: none; }
.site-foot a:hover { color: var(--amber); }
.site-foot li { margin-bottom: 8px; }
.foot-logo { width: 150px; height: auto; margin-bottom: 14px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; }

/* ---------- Barre d'action mobile ---------- */
.quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 1px; background: rgba(255,255,255,.12); box-shadow: 0 -6px 20px rgba(0,0,0,.18); padding-bottom: env(safe-area-inset-bottom); }
.quickbar a, .quickbar button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 6px; background: var(--navy); color: #fff; text-decoration: none; font: 700 .85rem/1 var(--f-title); border: 0; cursor: pointer; min-height: 54px; }
.quickbar .qb-wa { background: #1f9e53; }
.quickbar .qb-diag { background: var(--amber); color: var(--navy); }
.quickbar .ico { width: 20px; height: 20px; }
@media (min-width: 760px) { .quickbar { display: none; } }

/* ---------- Menu contextuel ---------- */
.ctx-fab { display: none; position: fixed; right: 22px; bottom: 22px; z-index: 95; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--amber); color: var(--navy); box-shadow: 0 10px 26px rgba(19,35,51,.3); cursor: pointer; place-items: center; }
.ctx-fab .ico { width: 26px; height: 26px; }
@media (min-width: 760px) { .ctx-fab { display: grid; } }

.ctx-menu { position: fixed; z-index: 150; min-width: 260px; max-width: calc(100vw - 24px); background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(19,35,51,.28); border: 1px solid var(--line); padding: 8px; display: none; }
.ctx-menu.open { display: block; animation: pop .14s ease-out; }
@keyframes pop { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.ctx-menu .ctx-title { font: 700 .72rem/1 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 8px; }
.ctx-menu a, .ctx-menu button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 9px; border: 0; background: none; color: var(--ink); text-decoration: none; font: 500 .95rem/1.2 var(--f-text); cursor: pointer; text-align: left; }
.ctx-menu a:hover, .ctx-menu button:hover, .ctx-menu a:focus-visible, .ctx-menu button:focus-visible { background: var(--soft); outline: none; }
.ctx-menu .ico { width: 18px; height: 18px; color: var(--blue); }
.ctx-menu .ctx-primary { background: var(--amber); font-weight: 700; margin-bottom: 4px; }
.ctx-menu .ctx-primary .ico { color: var(--navy); }
.ctx-menu .ctx-primary:hover { background: #f0b04f; }
.ctx-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.ctx-menu kbd { margin-left: auto; font: 500 .72rem/1 var(--f-text); color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: .92rem; opacity: 0; pointer-events: none; transition: .2s; z-index: 160; }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.mt-0 { margin-top: 0; } .mt-2 { margin-top: 28px; } .center { text-align: center; }

/* ---------- Boutique ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.shop-perks-wrap { padding: 26px 0; }
.shop-perks { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; font-size: .85rem; }
.shop-perks li { display: flex; gap: 10px; align-items: flex-start; }
.shop-perks .ico { width: 26px; height: 26px; color: var(--amber); }
.shop-perks strong { display: block; color: var(--ink); font-family: var(--f-title); font-size: .9rem; }
@media (min-width: 900px) { .shop-perks { grid-template-columns: repeat(4, 1fr); } }
.shop-bar { display: grid; gap: 14px; margin-bottom: 10px; }
.shop-search { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: #fbfcfe; }
.shop-search:focus-within { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,163,61,.22); }
.shop-search .ico { color: var(--muted); }
.shop-search input { border: 0; background: none; flex: 1; font: 400 1rem/1 var(--f-text); padding: 14px 0; min-height: 48px; outline: none; color: var(--ink); }
.shop-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip { display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 .86rem/1 var(--f-title); padding: 10px 14px; border-radius: 999px; cursor: pointer; min-height: 42px; }
.chip .ico { width: 16px; height: 16px; color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-pressed="true"] .ico { color: var(--amber); }
.shop-count { font-size: .88rem; color: var(--muted); margin: 6px 0 16px; }
.shop-none { grid-column: 1 / -1; padding: 30px; text-align: center; background: var(--soft); border-radius: var(--radius); }
.products { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 540px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .products { grid-template-columns: repeat(4, 1fr); } }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s ease; }
.product:hover { box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 16 / 10; background: var(--navy) var(--circuit); display: grid; place-items: center; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-ph .ico { width: 56px; height: 56px; color: var(--amber); }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--amber); color: var(--navy); font: 700 .74rem/1 var(--f-title); padding: 6px 10px; border-radius: 6px; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.product-cat { font: 700 .7rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.product h3 { font-size: 1.02rem; margin-bottom: 6px; }
.product p { font-size: .9rem; flex: 1; margin-bottom: 14px; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.product-price { font: 800 1.05rem/1.2 var(--f-title); color: var(--ink); }
.product-price.on-demand { font-size: .92rem; color: var(--blue); }
.stock { font-size: .78rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; }
.stock.in { background: #e5f4ee; color: var(--ok); }
.stock.order { background: #fdf1df; color: #8a5a12; }
.product .btn { min-height: 46px; padding: 12px 16px; font-size: .92rem; }
.qty { display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; border: 2px solid var(--navy); border-radius: 10px; overflow: hidden; text-align: center; font: 800 1rem/1 var(--f-title); color: var(--ink); }
.qty button { height: 42px; border: 0; background: var(--soft); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.qty button:hover { background: var(--line); }
.qty .ico { width: 18px; height: 18px; }
.qty--sm { grid-template-columns: 36px 34px 36px; border-width: 1.5px; }
.qty--sm button { height: 36px; }
.cart-list ul { display: grid; gap: 10px; margin: 16px 0; }
.cart-item { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 12px; background: var(--soft); border-radius: 10px; }
.cart-item strong { display: block; color: var(--ink); font: 700 .92rem/1.3 var(--f-title); }
.cart-item small { color: var(--muted); font-size: .8rem; }
.cart-del { border: 0; background: none; color: var(--muted); cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; }
.cart-del:hover { color: #a33a2e; background: #fbeaea; }
.cart-total { font-size: .95rem; margin: 0; }
.cart-empty { color: var(--muted); background: var(--soft); border-radius: 10px; padding: 18px; margin-top: 16px; }
.cart-empty[hidden] { display: none; }
.banner--soft strong { color: var(--blue); }
.form-card h2 .ico { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.toast { width: max-content; max-width: calc(100vw - 32px); text-align: center; }
@media (max-width: 539px) { .product-media { aspect-ratio: 16 / 6; } .product-ph .ico { width: 44px; height: 44px; } }
