/* L'Atelier Eure'iginal — catalogue PWA
   Indigo « fil de nuit » + safran wax, motif point de couture. */
:root {
  --ink: #1e2a4a;          /* indigo fil de nuit : titres, boutons principaux */
  --ink-2: #33416a;
  --safran: #f2b33d;       /* accent wax : prix, badges, focus */
  --safran-soft: #fdf0d3;
  --vert: #1f7a5c;         /* disponible / succès */
  --rouge: #b3261e;        /* erreurs */
  --bg: #eef0f4;           /* fond gris clair froid */
  --card: #ffffff;
  --text: #262b36;
  --muted: #646b7c;
  --line: #d9dde6;
  --stitch: repeating-linear-gradient(90deg, var(--safran) 0 8px, transparent 8px 13px);
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --tabbar: 64px;
  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 var(--font-body);
  padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 700; }
h2 { font-size: 1.3rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--safran); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }

/* ---------------------------------------------------------------- en-tête */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--ink); color: #fff;
  padding-top: env(safe-area-inset-top);
}
.topbar .wrap { display: flex; align-items: center; gap: 10px; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .spacer { flex: 1; }
.profile-chip {
  border: 1.5px dashed var(--safran); background: transparent; color: #fff;
  border-radius: 999px; padding: 6px 12px; font-size: .85rem; cursor: pointer; white-space: nowrap;
}
.icon-btn { background: transparent; border: 0; color: inherit; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; }
.topbar .stitch { height: 3px; background: var(--stitch); opacity: .9; }

/* ---------------------------------------------------------------- barre d'onglets */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: #fff; border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar nav { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); height: var(--tabbar); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: .72rem; position: relative; }
.tab svg { width: 24px; height: 24px; }
.tab[aria-current="page"] { color: var(--ink); font-weight: 650; }
.tab[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 3px; background: var(--stitch); }
.tab .count { position: absolute; top: 6px; left: 54%; background: var(--safran); color: var(--ink); font-weight: 700; font-size: .7rem; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }

main { min-height: 60vh; padding: 18px 0 32px; }
main:focus { outline: none; }

/* ---------------------------------------------------------------- boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-weight: 650; text-decoration: none; font-size: 1rem;
}
.btn:hover { background: var(--ink-2); }
.btn[disabled] { background: #aab0be; cursor: not-allowed; }
.btn.secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px dashed var(--line); }
.btn.safran { background: var(--safran); color: var(--ink); }
.btn.whatsapp { background: #1f7a4d; }
.btn.block { width: 100%; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.linkish { background: none; border: 0; color: var(--ink); text-decoration: underline; cursor: pointer; padding: 6px 0; }
.danger-link { color: var(--rouge); }

/* ---------------------------------------------------------------- accueil : choix du profil */
.welcome { padding: 8px 0 12px; }
.hoop { width: 120px; height: 120px; margin: 4px 0 18px; }
.welcome h1 { max-width: 16ch; }
.welcome .lead { margin-top: 10px; color: var(--muted); max-width: 52ch; }
.choices { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 720px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice {
  display: block; text-align: left; width: 100%; cursor: pointer;
  background: var(--card); border: 2px dashed var(--line); border-radius: var(--r-lg);
  padding: 20px; color: var(--text); transition: border-color .15s;
}
.choice:hover, .choice:focus-visible { border-color: var(--safran); }
.choice strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.choice span { display: block; margin-top: 6px; color: var(--muted); }
.choice ul { margin: 12px 0 0; padding-left: 18px; color: var(--text); font-size: .93rem; }

/* ---------------------------------------------------------------- sections */
.section { margin-top: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head a { font-size: .9rem; }
.page-head { margin-bottom: 16px; }
.page-head p { margin-top: 6px; color: var(--muted); max-width: 60ch; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs a { color: var(--muted); }

/* bandeaux événements */
.events-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.event-card {
  scroll-snap-align: start; flex: 0 0 min(86%, 420px);
  background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 18px; text-decoration: none;
  position: relative; overflow: hidden; min-height: 132px; display: flex; flex-direction: column; justify-content: flex-end;
}
.event-card::after { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(242, 179, 61, .65); border-radius: 12px; pointer-events: none; }
.event-card .ico { font-size: 2rem; position: absolute; top: 14px; right: 18px; }
.event-card strong { font-family: var(--font-display); font-size: 1.3rem; }
.event-card span { font-size: .92rem; opacity: .9; margin-top: 4px; }
.event-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }

/* tuiles catégories */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile {
  background: var(--card); border-radius: var(--r-md); padding: 14px; text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; gap: 6px; min-height: 92px; border: 1px solid var(--line);
}
.tile .ico { font-size: 1.6rem; line-height: 1; }
.tile strong { font-family: var(--font-display); color: var(--ink); font-size: 1.02rem; line-height: 1.2; }
.tile.feature { border: 2px dashed var(--safran); background: var(--safran-soft); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 7px 14px; font-size: .9rem;
  text-decoration: none; white-space: nowrap; cursor: pointer; min-height: 38px; display: inline-flex; align-items: center; gap: 6px;
}
.chip[aria-pressed="true"], .chip.active { border: 1.5px dashed var(--ink); background: var(--safran-soft); color: var(--ink); font-weight: 650; }

/* ---------------------------------------------------------------- cartes produit */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border-radius: var(--r-md); overflow: hidden; position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); }
.card a.cover { display: block; text-decoration: none; color: inherit; }
.card .img { aspect-ratio: 1; background: #e4e7ee; position: relative; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .name { font-weight: 650; color: var(--ink); line-height: 1.25; font-size: .95rem; }
.card .ref { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.card .price { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--ink); }
.card .price .from { font-weight: 500; color: var(--muted); font-size: .85rem; }
.card .price .quote { font-weight: 600; color: var(--muted); font-size: .9rem; }
.badge { position: absolute; top: 8px; left: 8px; background: var(--safran); color: var(--ink); font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; z-index: 1; }
.badge.soon { background: #fff; color: var(--ink); border: 1.5px dashed var(--ink); }
.badge.off { background: #e4e7ee; color: var(--muted); }
.fav { position: absolute; top: 4px; right: 4px; z-index: 2; background: rgba(255,255,255,.92); border: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.fav svg { width: 20px; height: 20px; }
.fav[aria-pressed="true"] { color: #c2185b; }
.strike { text-decoration: line-through; color: var(--muted); font-weight: 500; font-size: .85em; margin-right: 6px; }

/* placeholder brodé */
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: #e7eaf1; }
.ph svg { width: 62%; height: 62%; }

/* ---------------------------------------------------------------- fiche produit */
.product { display: grid; gap: 22px; }
@media (min-width: 900px) { .product { grid-template-columns: 1.05fr 1fr; align-items: start; } .product .gallery { position: sticky; top: 76px; } }
.gallery .main { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: #e4e7ee; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumbs button { flex: 0 0 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #e4e7ee; }
.thumbs button[aria-current="true"] { border: 2px dashed var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.p-head .ref { font-size: .82rem; color: var(--muted); margin-bottom: 4px; }
.p-head h1 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); }
.p-head .short { margin-top: 8px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: #e3f2ec; color: var(--vert); margin-top: 10px; }
.status.soon { background: var(--safran-soft); color: #7a5300; }
.status.off { background: #eceef3; color: var(--muted); }
.panel { background: var(--card); border-radius: var(--r-lg); padding: 16px; border: 1px solid var(--line); }
.field { margin-top: 18px; }
.field > label, .field > .label { display: block; font-weight: 650; color: var(--ink); margin-bottom: 8px; }
.field .help { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.field .req { color: var(--rouge); margin-left: 2px; }
.opt-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-sm); padding: 10px 12px; cursor: pointer; text-align: left;
  min-height: 46px; display: inline-flex; flex-direction: column; justify-content: center;
}
.opt small { color: var(--muted); font-size: .78rem; }
.opt[aria-pressed="true"], .opt[aria-checked="true"] { border: 2px dashed var(--ink); background: var(--safran-soft); padding: 9.5px 11.5px; }
.opt[disabled] { opacity: .45; cursor: not-allowed; }
.swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); display: inline-block; vertical-align: middle; }
.opt.color { flex-direction: row; align-items: center; gap: 8px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; background: #fff;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(242, 179, 61, .45); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); border-radius: 50%; }
.stepper input { width: 56px; min-height: 40px; border: 0; text-align: center; padding: 0; box-shadow: none !important; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.size-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px 4px 4px 12px; background: #fff; }
.size-row.on { border: 1.5px dashed var(--ink); background: var(--safran-soft); }
.size-row .stepper button { width: 36px; height: 36px; }
.size-row .stepper input { width: 40px; }

.pricebox { position: sticky; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom) + 8px); margin-top: 18px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 14px 16px; display: flex; align-items: center; gap: 12px; z-index: 5; box-shadow: 0 10px 30px rgba(30, 42, 74, .28); }
.pricebox .amount { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.pricebox .detail { font-size: .8rem; opacity: .85; }
.pricebox .btn { background: var(--safran); color: var(--ink); margin-left: auto; }
.pricebox .btn[disabled] { background: #6b7591; color: #d8dce6; }
.notice { background: var(--safran-soft); border-left: 4px solid var(--safran); padding: 10px 12px; border-radius: 8px; font-size: .88rem; color: #4d3a10; }
.notice.info { background: #e8ecf6; border-color: var(--ink); color: var(--ink); }
.notice.error { background: #fbe9e7; border-color: var(--rouge); color: #6d1712; }
.errors { margin: 8px 0 0; padding-left: 18px; color: var(--rouge); font-size: .88rem; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: .92rem; margin-top: 10px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.tiers { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 8px; }
.tiers th, .tiers td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.tiers tr.on td { background: var(--safran-soft); font-weight: 650; }
.desc { white-space: pre-line; }

/* fichiers */
.files { display: grid; gap: 8px; margin-top: 8px; }
.file-item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px; }
.file-item .thumb { width: 48px; height: 48px; border-radius: 6px; background: #e4e7ee; display: grid; place-items: center; overflow: hidden; flex: none; font-size: .7rem; font-weight: 700; color: var(--ink); }
.file-item .thumb img { width: 100%; height: 100%; object-fit: contain; }
.file-item .meta { flex: 1; min-width: 0; font-size: .85rem; }
.file-item .meta strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop { border: 2px dashed var(--line); border-radius: var(--r-md); padding: 14px; text-align: center; cursor: pointer; background: #fff; display: block; }
.drop:hover { border-color: var(--safran); }

/* ---------------------------------------------------------------- panier */
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 12px; background: var(--card); border-radius: var(--r-md); padding: 12px; border: 1px solid var(--line); }
.cart-line + .cart-line { margin-top: 10px; }
.cart-line .img { width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: #e4e7ee; }
.cart-line .img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .t { font-weight: 650; color: var(--ink); }
.cart-line ul { margin: 4px 0 0; padding-left: 16px; font-size: .85rem; color: var(--muted); }
.cart-line .lp { font-weight: 700; color: var(--ink); margin-top: 6px; }
.cart-line .actions { display: flex; gap: 14px; margin-top: 6px; font-size: .9rem; }
.totals { margin-top: 16px; }
.totals .line { display: flex; justify-content: space-between; padding: 6px 0; }
.totals .grand { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--ink); border-top: 2px dashed var(--line); padding-top: 10px; margin-top: 6px; }

.empty { text-align: center; padding: 40px 16px; }
.empty svg { width: 96px; height: 96px; margin: 0 auto 12px; }
.empty p { color: var(--muted); margin: 6px auto 16px; max-width: 40ch; }

/* formulaire devis */
.form-grid { display: grid; gap: 4px 14px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .9rem; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--ink); }

/* merci */
.ticket { background: var(--card); border-radius: var(--r-lg); padding: 20px; border: 2px dashed var(--safran); text-align: center; }
.ticket .rid { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--ink); letter-spacing: .02em; margin: 6px 0; user-select: all; }
.send-grid { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 640px) { .send-grid { grid-template-columns: 1fr 1fr; } }
pre.recap { white-space: pre-wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; font: .85rem/1.45 var(--font-body); max-height: 360px; overflow: auto; }

/* feuille / dialogue */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(20, 26, 44, .5); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; width: 100%; max-width: 560px; border-radius: 20px 20px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); max-height: 88vh; overflow: auto; }
@media (min-width: 720px) { .sheet-backdrop { align-items: center; } .sheet { border-radius: 20px; } }
.sheet h2 { margin-bottom: 12px; }

/* toast */
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar) + 16px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 14px; z-index: 80; display: flex; gap: 12px; align-items: center; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: .92rem; }
.toast button { background: var(--safran); color: var(--ink); border: 0; border-radius: 999px; padding: 8px 12px; font-weight: 700; cursor: pointer; }

.search-box { position: relative; }
.suggest { list-style: none; margin: 4px 0 0; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.suggest a { display: flex; justify-content: space-between; gap: 10px; padding: 10px; text-decoration: none; color: var(--text); border-radius: 8px; }
.suggest a:hover, .suggest a:focus { background: var(--safran-soft); }

footer.site { margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
footer.site a { color: var(--muted); }
.offline { background: #4d3a10; color: #fff; text-align: center; font-size: .82rem; padding: 4px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ================================================================ v1.1 : habillage */
.topnav { display: none; gap: 4px; align-items: center; }
.topnav a { color: #dfe4f2; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; position: relative; }
.topnav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.topnav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--safran); border-radius: 6px; }
.topnav .count { position: static; display: inline-grid; margin-left: 4px; background: var(--safran); color: var(--ink); font-size: .72rem; min-width: 18px; height: 18px; border-radius: 9px; place-items: center; padding: 0 5px; font-weight: 800; }
@media (min-width: 960px) {
  .topnav { display: flex; }
  .tabbar { display: none; }
  body { padding-bottom: 0; }
  .pricebox { bottom: 16px; }
  .toast { bottom: 24px; }
}

/* hero */
.hero { position: relative; display: grid; gap: 18px; align-items: center; background: var(--ink); color: #fff; border-radius: 24px; padding: 26px 20px; margin-top: 4px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(242, 179, 61, .55); border-radius: 18px; pointer-events: none; z-index: -1; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 6vw, 3rem); font-weight: 800; letter-spacing: -0.02em; max-width: 18ch; }
.hero .lead { color: #cfd6e8; margin-top: 12px; max-width: 52ch; font-size: 1.02rem; }
.hero .kicker { color: var(--safran); font-weight: 700; font-size: .92rem; margin-bottom: 10px; }
.hero-cta { margin-top: 20px; }
.btn.ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.btn.ghost-light:hover { background: rgba(255, 255, 255, .08); }
.hero-art { position: relative; height: 170px; }
.hero-piece { position: absolute; width: 120px; height: 120px; background: #fff; border-radius: 28px; padding: 10px; box-shadow: 0 14px 30px rgba(0, 0, 0, .28); }
.hero-piece svg { width: 100%; height: 100%; }
.hero-piece.p1 { left: 4%; top: 18px; transform: rotate(-7deg); background: #e7ebf5; }
.hero-piece.p2 { left: 36%; top: 0; transform: rotate(4deg); background: #fbefd6; z-index: 1; }
.hero-piece.p3 { left: 66%; top: 34px; transform: rotate(-3deg); background: #f6ecd9; }
@media (min-width: 820px) {
  .hero { grid-template-columns: 1.15fr 1fr; padding: 44px 40px; }
  .hero-art { height: 260px; }
  .hero-piece { width: 160px; height: 160px; }
  .hero-piece.p1 { left: 0; top: 50px; }
  .hero-piece.p2 { left: 30%; top: 0; }
  .hero-piece.p3 { left: 58%; top: 80px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-piece { animation: pieceIn .6s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-piece.p2 { animation-delay: .08s; }
  .hero-piece.p3 { animation-delay: .16s; }
  @keyframes pieceIn { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
}

/* accueil : choix du profil */
.welcome { margin-bottom: 18px; }
.choice { position: relative; padding: 22px 20px 20px; box-shadow: 0 1px 0 var(--line); }
.choice-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--safran-soft); color: var(--ink); margin-bottom: 12px; }
.choice-ico .ic svg { width: 26px; height: 26px; }
.choice-go { display: inline-flex; margin-top: 16px; background: var(--ink); color: #fff !important; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.choice:hover .choice-go { background: var(--ink-2); }

/* icônes */
.ic { display: inline-grid; place-items: center; }
.ic svg { width: 22px; height: 22px; }
.with-ic { display: flex; align-items: center; gap: 10px; }
.with-ic .ic svg { width: 1em; height: 1em; }
.with-ic .ic { color: var(--ink); background: var(--safran-soft); border-radius: 12px; padding: 6px; }
.chip-ic .ic svg { width: 18px; height: 18px; }

/* tuiles catégories */
.tile { flex-direction: row; align-items: center; gap: 12px; min-height: 76px; transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--safran); }
.tile-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--safran-soft); color: var(--ink); display: grid; place-items: center; }
.tile-ico .ic svg { width: 26px; height: 26px; }
.tile-ico .emoji { font-size: 1.5rem; }
.tile-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile-img { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; flex: none; }
.tile.feature .tile-ico { background: #fff; }

/* cartes produit */
.art { width: 100%; height: 100%; display: grid; place-items: center; }
.art svg { width: 64%; height: 64%; transition: transform .25s; }
.art.big svg { width: 58%; height: 58%; }
.card { transition: box-shadow .2s, transform .2s, border-color .2s; }
@media (hover: hover) {
  .card:hover { box-shadow: 0 12px 28px rgba(30, 42, 74, .12); transform: translateY(-2px); border-color: #c9cfdc; }
  .card:hover .art svg { transform: scale(1.05) rotate(-2deg); }
}
.card .body { padding: 12px 14px 14px; }
.card .name { font-size: 1rem; }
.card .price { font-family: var(--font-display); font-size: 1.08rem; }
.cart-line .img .art svg { width: 70%; height: 70%; }

/* confiance + étapes */
.trust { display: grid; gap: 10px; margin-top: 28px; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.trust-item > span:last-child { display: flex; flex-direction: column; }
.trust-item strong { color: var(--ink); }
.steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.steps strong { font-family: var(--font-display); color: var(--ink); font-size: 1.1rem; }
.step-n { width: 34px; height: 34px; border-radius: 50%; border: 2px dashed var(--safran); color: var(--ink); font-weight: 800; display: grid; place-items: center; margin-bottom: 6px; font-family: var(--font-display); }

/* pied de page */
footer.site { background: var(--ink); color: #cfd6e8; border-top: 0; margin-top: 48px; padding: 32px 0 28px; }
footer.site a { color: #fff; }
footer.site .muted { color: #9ea8c3; }
.foot-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 6px; }

/* sections */
.section-head h2 { font-size: 1.4rem; }
.events-strip .event-card { min-height: 150px; }
.event-card strong { font-size: 1.45rem; }
@media (max-width: 819px) {
  .hero { padding: 22px 18px 18px; }
  .hero-art { height: 112px; }
  .hero-piece { width: 92px; height: 92px; border-radius: 22px; padding: 8px; }
  .hero-piece.p1 { left: 2%; top: 14px; }
  .hero-piece.p2 { left: 34%; top: 0; }
  .hero-piece.p3 { left: 64%; top: 18px; }
  .welcome .hero-art { height: 96px; }
  .hero-cta .btn { flex: 1; }
}
.choice .choice-ico { display: inline-grid; color: var(--ink); }
.choice .choice-go { display: inline-flex; width: auto; color: #fff; }
@media (max-width: 899px) { .gallery .main { aspect-ratio: 4 / 3; } }
.brand-logo { height: 40px; width: auto; display: block; }
@media (min-width: 960px) { .brand-logo { height: 44px; } }
.hero-logo { display: grid; place-items: center; }
.hero-logo img { width: 100%; max-width: 420px; height: auto; }
@media (max-width: 819px) { .hero-logo img { max-width: 230px; margin: 0 auto; } }
.foot-logo { height: 54px; width: auto; margin-bottom: 8px; }
