/* 05 S2M · Shop This World · styles v3 — DA de la maquette Lovable, simplifiée pour acheter vite.
   Fond blanc cassé, grande typo noire serrée, photos plein cadre, libellés en capitales espacées. Téléphone d'abord. */
:root {
  --paper: #F4F3EF; --card: #FFFFFF; --ink: #111111; --muted: #6B6A66; --line: #E2E0DA; --accent: #C2402A;
  --sans: "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* En-tête */
header.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 10px; padding-block: 10px; }
.brand { font: 700 15px var(--sans); letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.brand i { font-style: normal; color: var(--accent); }
.langs { display: flex; gap: 0; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.langs::-webkit-scrollbar { display: none; }
.langs a { font: 500 10.5px var(--mono); letter-spacing: .1em; text-decoration: none; padding: 8px 5px; color: var(--muted); }
.langs a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.bag { position: relative; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); width: 44px; height: 40px; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
.bag svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.bag span { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--accent); color: #fff; font: 700 11px/20px var(--sans); text-align: center; padding: 0 5px; }
.bag span:empty, .bag span[data-n="0"] { display: none; }

/* Accueil */
.hero { padding-block: 26px 14px; }
h1 { font: 700 clamp(42px, 11vw, 112px)/.92 var(--sans); letter-spacing: -.055em; margin: 0; text-wrap: balance; }
.hero h1 { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.sub { color: var(--muted); font-size: 17px; margin: 10px 0 0; }
.worlds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-bottom: 30px; }
.world { position: relative; aspect-ratio: 3 / 4; background: var(--tone, #333) center / cover no-repeat; color: #fff; text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; overflow: hidden; }
.world::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.72)); }
.world.noimg { background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--tone) 70%, #fff), var(--tone) 60%, #0b0b0b); }
.world > * { position: relative; }
.world .place { font: 500 10px var(--mono); letter-spacing: .25em; text-transform: uppercase; opacity: .85; }
.world .wname { font: 700 clamp(22px, 6vw, 40px)/.95 var(--sans); letter-spacing: -.04em; margin: 4px 0 6px; }
.world .wtag { font-size: 12.5px; opacity: .9; line-height: 1.35; }
.world .cta { margin-top: 10px; font: 500 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; border-top: 1px solid rgba(255,255,255,.5); padding-top: 8px; }
.world:hover .cta { color: #fff; }
@media (min-width: 760px) { .worlds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .world { padding: 18px; } }

/* Monde */
.whero { background: var(--tone, #333) center / cover no-repeat; color: #fff; position: relative; }
.whero.noimg { background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--tone) 70%, #fff), var(--tone) 60%, #0b0b0b); }
.whero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.65)); }
.whero .wrap { position: relative; padding-block: 18px 22px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
.whero h1 { font-size: clamp(38px, 10vw, 96px); }
.whero .sub { color: #fff; opacity: .9; }
.backlink { font: 500 10.5px var(--mono); letter-spacing: .15em; text-transform: uppercase; text-decoration: none; opacity: .9; margin-bottom: auto; padding-bottom: 40px; }
.place { font: 500 10.5px var(--mono); letter-spacing: .25em; text-transform: uppercase; margin: 0 0 6px; }

.filters { position: sticky; top: 61px; z-index: 10; background: var(--paper); padding-block: 10px 6px; border-bottom: 1px solid var(--line); }
.row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.row::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: 600 13px var(--sans); padding: 6px 12px; min-height: 40px; cursor: pointer; border-radius: 999px; }
.chip.person { padding-left: 5px; }
.chip img, .chip .ini { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: top; }
.chip .ini { display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 700 12px var(--sans); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-block: 14px 40px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.card { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.card[hidden] { display: none; }
.thumb { position: relative; aspect-ratio: 1; background: linear-gradient(150deg, color-mix(in srgb, var(--col) 55%, #fff), var(--col)); display: grid; place-items: center; }
.thumb .ico { width: 44%; height: 44%; fill: none; stroke: rgba(255,255,255,.9); stroke-width: 1.1; stroke-linejoin: round; mix-blend-mode: normal; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.thumb .who { position: absolute; left: 8px; top: 8px; font: 500 9.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; background: rgba(255,255,255,.88); color: var(--ink); padding: 3px 6px; }
.info { padding: 10px 10px 4px; flex: 1; }
.meta { margin: 0; font: 500 9.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.card h3 { font: 700 14.5px/1.2 var(--sans); letter-spacing: -.01em; margin: 4px 0; }
.lt { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.acts { display: grid; grid-template-columns: 44px 1fr; border-top: 1px solid var(--line); }
.add { border: 0; border-right: 1px solid var(--line); background: var(--card); font: 400 24px/1 var(--sans); cursor: pointer; min-height: 44px; color: var(--ink); }
.add.in { background: var(--accent); color: #fff; }
.go { display: grid; place-items: center; text-decoration: none; background: var(--ink); color: var(--paper); font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; min-height: 44px; }
.go:hover { background: var(--accent); }

/* Panier */
.drawer { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-in { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); overflow-y: auto;
  padding: 16px max(16px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) 16px; transform: translateX(100%); transition: transform .25s; }
.drawer.open .drawer-in { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.drawer h2 { font: 700 28px var(--sans); letter-spacing: -.04em; margin: 0; }
.x { border: 0; background: none; font: 500 11px var(--mono); letter-spacing: .15em; text-transform: uppercase; cursor: pointer; padding: 10px 0; color: var(--ink); }
.line { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line .sw { width: 52px; height: 52px; background: linear-gradient(150deg, color-mix(in srgb, var(--col) 55%, #fff), var(--col)); }
.line b { display: block; font-size: 14px; line-height: 1.2; }
.line small { color: var(--muted); font-size: 11.5px; }
.line .rm { border: 0; background: none; color: var(--muted); font-size: 11px; cursor: pointer; padding: 4px 0; text-decoration: underline; }
.line .buy { text-decoration: none; background: var(--ink); color: var(--paper); font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 10px 10px; display: inline-block; }
.sugg h4 { font: 500 10.5px var(--mono); letter-spacing: .22em; text-transform: uppercase; margin: 22px 0 6px; color: var(--muted); }
.mini { display: grid; grid-template-columns: 40px 1fr 40px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mini .sw { width: 40px; height: 40px; background: linear-gradient(150deg, color-mix(in srgb, var(--col) 55%, #fff), var(--col)); }
.mini b { font-size: 13px; display: block; line-height: 1.2; }
.mini small { color: var(--muted); font-size: 11px; }
.mini button { width: 40px; height: 40px; border: 1px solid var(--ink); background: var(--card); font-size: 20px; cursor: pointer; color: var(--ink); }
.empty, .note { color: var(--muted); font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); z-index: 50; width: min(520px, calc(100% - 24px));
  background: var(--ink); color: var(--paper); padding: 12px 14px; transition: transform .25s; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.toast.show { transform: translate(-50%, 0); }
.toast p { margin: 0 0 8px; font-weight: 700; }
.toast .mini { border-color: rgba(255,255,255,.15); }
.toast .mini small { color: #bbb; }
.toast .mini button { background: var(--paper); }

.legal { padding-block: 24px 40px; max-width: 760px; }
.legal h1 { font-size: clamp(36px, 9vw, 72px); margin-bottom: 18px; }
footer { border-top: 1px solid var(--ink); }
footer .wrap { padding-block: 18px calc(28px + env(safe-area-inset-bottom)); font: 400 11px/1.6 var(--mono); color: var(--muted); }
footer p { margin: 0 0 8px; }
@media (prefers-reduced-motion: reduce) { .hero h1 { animation: none; } .drawer, .drawer-in, .toast { transition: none; } }
/* Pièces originales (pilote 2026-11-24) */
.card.orig { border-color: var(--ink); }
.card.orig .thumb::after { content: "ORIGINAL"; position: absolute; right: 8px; top: 8px; font: 700 9.5px var(--mono); letter-spacing: .18em; background: var(--ink); color: var(--paper); padding: 3px 6px; }

/* v4 (2026-11-24) · newsletter « Le look de la semaine », alerte saison 6, badge Nouveau */
.world .badge{position:absolute;top:14px;right:14px;background:#fff;color:#1E1C24;font:600 11px/1 system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:7px 10px;border-radius:99px}
.world{position:relative}
.nlwrap{margin:56px auto 8px}
.nl{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:18px;padding:26px 24px;max-width:720px;margin:0 auto}
.nl.hot{background:#1E1C24;color:#fff;border:0;margin-top:22px}
.nl h2{margin:0 0 6px;font-size:22px}
.nl .nlsub{margin:0 0 16px;opacity:.8}
.nlrow{display:flex;gap:10px;flex-wrap:wrap}
.nlrow input{flex:1 1 220px;min-width:0;padding:13px 14px;border-radius:12px;border:1px solid rgba(0,0,0,.18);font:inherit;font-size:16px}
.nlrow button{padding:13px 20px;border-radius:12px;border:0;background:#C2205A;color:#fff;font:600 15px system-ui,sans-serif;cursor:pointer}
.nl .consent{font-size:12px;opacity:.7;margin:12px 0 0}
.nl .consent a{color:inherit}
.nl .nlmsg{margin:10px 0 0;font-weight:600}
.nl .nlmsg:empty{display:none}
.hp,.sr{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.notify .s6note{max-width:720px;margin:10px auto 0;font-size:13px;opacity:.75}

/* v5 (2026-11-26) · looks groupés par personnage, photos produits */
.look { padding-top: 22px; border-top: 1px solid var(--line); margin-top: 8px; }
.look[hidden] { display: none; }
.lookhead { display: flex; align-items: center; gap: 12px; }
.lookhead .av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.lookhead .ini { display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; }
.lookhead .lw { margin: 0; font: 500 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.lookhead h2 { margin: 2px 0 0; font: 700 18px/1.2 var(--sans); letter-spacing: -.02em; }
.look .grid { padding-block: 12px 10px; }
.thumb.photo { background: #fff; }
.thumb.photo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
.card .orig { font-size: 12px; opacity: .7; margin: 2px 0 6px; }
.card .thumb, .card h3 { cursor: pointer; }
.pmodal { position: fixed; inset: 0; z-index: 60; background: rgba(20,18,24,.55); display: grid; place-items: center; padding: 16px; }
.pmodal[hidden] { display: none; }
body.noscroll { overflow: hidden; }
.pm-in { position: relative; background: #fff; max-width: 760px; width: 100%; max-height: 92vh; overflow: auto; display: grid; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pm-in { grid-template-columns: 1fr 1fr; } }
.pm-img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; }
.pm-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; box-sizing: border-box; }
.pm-col { background: linear-gradient(150deg, color-mix(in srgb, var(--col) 55%, #fff), var(--col)); }
.pm-txt { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.pm-meta { margin: 0; font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.pm-txt h3 { margin: 0; font: 700 22px/1.15 var(--sans); letter-spacing: -.02em; }
.pm-lt, .pm-note { margin: 0; opacity: .75; font-size: 14px; }
.pm-orig { margin: 6px 0 0; font-size: 14px; }
.pm-acts { margin-top: auto; padding-top: 14px; display: grid; gap: 8px; }
.pm-add { padding: 14px; border: 1px solid var(--ink); background: #fff; font: 600 14px var(--sans); cursor: pointer; }
.pm-add.in { background: var(--ink); color: #fff; }
.pm-buy { padding: 14px; background: var(--ink); color: #fff; text-align: center; text-decoration: none; font: 600 14px var(--sans); }
.pm-x { position: absolute; right: 10px; top: 10px; z-index: 1; border: 0; background: #fff; width: 36px; height: 36px; font-size: 18px; cursor: pointer; }
.pm-orig-link { text-align: center; font-size: 13px; color: var(--ink); padding: 6px; }
/* Visuels de looks dans la v5 (2026-11-26) */
.lookhero { display: block; width: 100%; max-width: 520px; aspect-ratio: 1; object-fit: cover; margin: 12px 0 0; }
.thumb.lookphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-img.pm-look img { object-fit: cover; padding: 0; }
/* Visuels de Sara : portraits 3:4 (2026-11-26) */
.lookhero { aspect-ratio: 3 / 4; max-width: 420px; object-position: 50% 20%; }
.thumb.lookphoto img, .pm-img.pm-look img { object-position: 50% 22%; }
.look::after { content: ""; display: block; clear: both; }
.lookfig { margin: 12px 0 0; }
.lookfig .lookhero { margin: 0; }
.lookfig figcaption { font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
/* Bandeau cookies (Skimlinks) */
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70; max-width: 560px; margin: 0 auto;
  background: var(--ink); color: var(--paper); padding: 14px 16px; display: grid; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 13px; line-height: 1.45; }
.consent a { color: inherit; }
.consent div { display: flex; gap: 8px; justify-content: flex-end; }
.consent button { font: 600 13px var(--sans); padding: 10px 16px; min-height: 42px; cursor: pointer; border: 1px solid var(--paper); background: transparent; color: var(--paper); }
.consent button[data-consent="yes"] { background: var(--paper); color: var(--ink); }
