/* Print My Ticket : styles communs à toutes les pages (thème beige, clair). */
:root {
  /* Beige paper and light-brown wood: a warm, single light theme (Max's choice) */
  --bg: #f5ede1;
  --panel: #fbf6ee;
  --fg: #3b2a1e;
  --muted: #7a6352;
  --line: #e3d5c1;
  --accent: #8a5430; /* assombri pour un contraste lisible (WCAG AA) */
  --accent-ink: #fffaf2;
  --table: #ebdecb;
  --focus: #5c3b1f;
  /* the ticket is a printed object: it keeps its own paper colors */
  --paper: #fbf7ee;
  --ink: #1b1813;
  --ink-soft: #6f675a;

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 15px; line-height: 1.5; margin: 0; }

header.site { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 8px 20px; }
.brand { font-family: var(--f-display); font-weight: 900; font-size: 30px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.brand span { color: var(--accent); }
.tag { color: var(--muted); margin: 0; }

.layout { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr); } .stage { order: -1; } }

form.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: grid; gap: 18px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
legend { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; padding: 0 0 6px; color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; min-width: 0; }
label small { font-weight: 400; color: var(--muted); font-size: 12px; }
.row label, .row3 label { align-content: space-between; }
input, select, textarea { font: inherit; font-weight: 400; font-size: 16px; /* 16 px : pas de zoom automatique sur iPhone */ color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 9px 10px; width: 100%; min-width: 0; }
input[type="range"] { padding: 0; border: 0; background: none; accent-color: var(--accent); }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.btn { font: inherit; font-weight: 600; border-radius: 6px; padding: 10px 14px; cursor: pointer; border: 1px solid var(--line); background: var(--bg); color: var(--fg); }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-size: 16px; padding: 13px 18px; }
.btn.primary:hover { filter: brightness(1.08); }
.inline { display: flex; gap: 8px; align-items: end; }
.inline > label { flex: 1; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.seg label { display: block; text-align: center; padding: 8px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label:has(input:checked) { background: var(--accent); color: var(--accent-ink); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.disclaimer { font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.4; }
.img-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.note { font-size: 13px; color: var(--muted); margin: 0; }
.note.err { color: var(--accent); }
details { font-size: 13px; color: var(--muted); }
details summary { cursor: pointer; }
details[open] { display: grid; gap: 8px; }

.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatches label { width: 30px; height: 30px; border-radius: 50%; background: var(--sw); border: 2px solid var(--line); cursor: pointer; }
.swatches input:checked + label { outline: 2px solid var(--fg); outline-offset: 2px; }
.swatches input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }

.stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 16px); display: grid; gap: 14px; }
.table { background: var(--table); border-radius: 12px; padding: clamp(16px, 4vw, 48px); display: grid; place-items: center; container-type: inline-size; }
.stage-foot { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }


/* ---------- LANDING ---------- */
:root { --night: #ecdfca; --night-2: #dcc6a6; --beam: #fffaf0; --marquee: #8f5a2f; --night-fg: #3b2a1e; --night-muted: #5e4a3a; }
.container { max-width: 1180px; margin: 0 auto; padding-inline: 16px; }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--night) 92%, transparent); backdrop-filter: blur(8px); color: var(--night-fg); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.nav .brand { font-size: 24px; color: var(--night-fg); text-decoration: none; }
.nav .brand span { color: var(--marquee); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--night-muted); text-decoration: none; font-weight: 500; font-size: 14px; }
.nav-links a:hover { color: var(--night-fg); }
.nav-links a.cta-sm { color: var(--accent-ink); background: var(--marquee); padding: 8px 14px; border-radius: 999px; font-weight: 700; }
@media (max-width: 720px) { .nav-links a:not(.cta-sm) { display: none; } }

.hero { position: relative; overflow: hidden; color: var(--night-fg); background:
  conic-gradient(from 200deg at 108% -10%, transparent 0deg, color-mix(in srgb, var(--beam) 55%, transparent) 14deg, transparent 34deg),
  radial-gradient(60% 50% at 75% 55%, rgba(255,250,240,.6), transparent 70%),
  linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 72px 88px; }
@media (max-width: 900px) { .hero .container { grid-template-columns: minmax(0, 1fr); padding-block: 48px 56px; } }
.eyebrow { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--marquee); margin: 0 0 18px; }
.hero h1 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 7.4vw, 92px); line-height: .9; letter-spacing: .005em; margin: 0; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--marquee); }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--night-muted); max-width: 34em; margin: 22px 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-marquee { display: inline-block; background: var(--marquee); color: var(--accent-ink); font-weight: 800; font-size: 17px; text-decoration: none; padding: 15px 24px; border-radius: 999px; box-shadow: 0 0 0 4px rgba(143,90,47,.15); }
.btn-marquee:hover { filter: brightness(1.06); }
/* Bouton principal renforcé : plus grand, fond plus foncé pour un meilleur contraste */
.btn-marquee.btn-xl { background: var(--accent); font-size: 19px; padding: 18px 34px; box-shadow: 0 10px 24px -12px rgba(92,59,31,.75), 0 0 0 4px rgba(138,84,48,.16); }
.btn-marquee.btn-xl:hover { filter: brightness(1.12); }
.cta-repeat { text-align: center; margin: 36px 0 0; }
.hero-example { margin: 14px 0 0; font-size: 13px; color: var(--night-muted); }
/* Preuve sociale, juste sous le hero */
.proof-band { background: var(--night-2); color: var(--night-fg); }
.proof-band p { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 16px 16px; font-weight: 600; font-size: 17px; text-align: center; }
.proof-icon { flex: none; width: 26px; height: 26px; color: var(--marquee); }
.btn-ghost { color: var(--night-fg); text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.hero-proof { margin-top: 30px; display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--night-muted); }
.hero-proof b { display: block; font-family: var(--f-display); font-size: 26px; color: var(--night-fg); font-weight: 800; line-height: 1; }

.fan { position: relative; height: clamp(380px, 46vw, 540px); }
.fan .ticket-holder { position: absolute; width: 46%; max-width: 270px; left: 50%; top: 50%; }
.fan .ticket-holder:nth-child(1) { transform: translate(-108%, -46%) rotate(-11deg); }
.fan .ticket-holder:nth-child(2) { transform: translate(-50%, -54%) rotate(1.5deg); z-index: 2; }
.fan .ticket-holder:nth-child(3) { transform: translate(8%, -44%) rotate(12deg); }
.fan .ticket { box-shadow: 0 26px 50px -20px rgba(80,48,20,.45); }
@media (prefers-reduced-motion: no-preference) {
  .fan .ticket-holder { animation: deal .9s cubic-bezier(.2,.8,.2,1) both; }
  .fan .ticket-holder:nth-child(1) { animation-delay: .05s; } .fan .ticket-holder:nth-child(3) { animation-delay: .15s; }
  @keyframes deal { from { opacity: .0001; translate: 0 30px; } }
}

section.block { padding-block: 84px; }
section.block.alt { background: var(--panel); border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head .eyebrow { color: var(--accent); }
.sec-head h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 56px); line-height: .95; margin: 0; text-wrap: balance; }
.sec-head p { color: var(--muted); font-size: 17px; margin: 14px 0 0; max-width: 40em; }

.versus { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; align-items: center; }
@media (max-width: 800px) { .versus { grid-template-columns: minmax(0, 1fr); } .vs-mid { justify-self: center; rotate: 90deg; } }
.vs-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.vs-card h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 24px; margin: 0 0 8px; line-height: 1; }
.vs-card ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }
.vs-mid { font-family: var(--f-display); font-weight: 900; font-size: 30px; color: var(--muted); }
.phone { width: 96px; aspect-ratio: 9/18; border-radius: 16px; background: #15161b; padding: 7px; box-shadow: inset 0 0 0 2px #2c2e36; }
.phone-screen { height: 100%; border-radius: 10px; background: #f4f5f8; display: grid; grid-template-rows: auto 1fr auto; padding: 8px 7px; gap: 6px; }
.phone-screen small { font-size: 7px; color: #6b6f7c; text-align: center; font-family: var(--f-body); }
.phone canvas { width: 100%; aspect-ratio: 1; filter: grayscale(1) opacity(.35); align-self: center; }
.phone .expired { font-size: 7.5px; font-weight: 700; color: #b3122e; text-align: center; border: 1px solid #b3122e; border-radius: 3px; padding: 2px; font-family: var(--f-body); }
.mini-ticket { width: 96px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
@media (max-width: 800px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { counter-increment: s; border-top: 3px solid var(--fg); padding-top: 16px; display: grid; gap: 8px; }
.steps li::before { content: "Étape " counter(s); font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.steps h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; margin: 0; }
.steps p { margin: 0; color: var(--muted); }

.uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
@media (max-width: 800px) { .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.use { background: var(--bg); border-radius: 12px; padding: 18px; border: 1px solid var(--line); }
.use b { display: block; font-size: 15px; margin-bottom: 4px; }
.use span { color: var(--muted); font-size: 14px; }

#creer { scroll-margin-top: 70px; }
.creator-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
@media (max-width: 800px) { .faq { grid-template-columns: minmax(0, 1fr); } }
.faq details { border-top: 1px solid var(--line); padding-block: 16px; color: var(--fg); font-size: 15px; }
.faq summary { font-weight: 700; font-size: 16px; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

footer.site-foot { background: var(--night-2); color: var(--night-muted); padding-block: 40px; font-size: 13.5px; }
footer.site-foot .container { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; align-items: center; }
.foot-main { display: grid; gap: 4px; }
.foot-info { flex-basis: 100%; display: flex; justify-content: space-between; gap: 0 20px; flex-wrap: wrap; align-items: center; border-top: 1px solid rgba(59,42,30,.15); padding-top: 10px; }
.foot-info a { display: inline-flex; align-items: center; min-height: 44px; }
footer.site-foot .brand { font-size: 22px; color: var(--night-fg); }
footer.site-foot .brand span { color: var(--marquee); }
footer.site-foot a { color: var(--night-fg); }
.cgv-ok { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-block: 12px; }
.cgv-ok input { margin-top: 3px; accent-color: var(--accent); }
.cgv-ok a { color: var(--accent); }

/* ---------- ORDER: home print or pro print mailed in an envelope ---------- */
.side { display: grid; gap: 18px; min-width: 0; }
.offers { display: grid; gap: 10px; }
.offer { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); cursor: pointer; font-weight: 400; font-size: 14px; }
.offer:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--panel)); }
.offer input { accent-color: var(--accent); width: 18px; height: 18px; margin: 2px 0 0; padding: 0; }
.offer b { display: block; font-size: 15px; margin-bottom: 2px; }
.offer span { color: var(--muted); }
.offer .price { font-family: var(--f-display); font-weight: 800; font-size: 24px; color: var(--fg); line-height: 1; white-space: nowrap; }
.offer .badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.recap { display: grid; gap: 6px; border-top: 1px dashed var(--line); padding-top: 12px; font-size: 14px; }
.recap div { display: flex; justify-content: space-between; gap: 12px; }
.recap .total { font-weight: 800; font-size: 17px; }
.ok { background: color-mix(in srgb, #2f7a4a 10%, var(--panel)); border: 1px solid color-mix(in srgb, #2f7a4a 40%, var(--line)); color: var(--fg); border-radius: 8px; padding: 12px; font-size: 14px; }
.cine-row { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 10px; align-items: end; }
.logo-prev { width: 46px; height: 42px; display: grid; place-items: center; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 900; font-size: 15px; overflow: hidden; }
.logo-prev img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.dropzone { border: 1.5px dashed var(--accent); border-radius: 10px; padding: 14px; background: color-mix(in srgb, var(--accent) 6%, var(--panel)); cursor: pointer; }
.dropzone input { background: var(--panel); }
.cart { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.cart:empty::before { content: "Votre panier est vide. Ajoutez le ticket affiché à droite."; color: var(--muted); font-size: 14px; }
.cart li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; font-size: 14px; }
.cart li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart li small { color: var(--muted); }
.cart button { all: unset; cursor: pointer; color: var(--muted); font-size: 18px; line-height: 1; padding: 0 4px; }
.cart button:hover { color: var(--accent); }

/* ---------- Pages multiples ---------- */
.foot-links { display: flex; gap: 0 18px; flex-wrap: wrap; }
.sec-head .h-page { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 56px); line-height: .95; margin: 0; text-wrap: balance; }
main.block { padding-block: 48px 84px; }
.type-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: -12px 0 24px; }
.type-tabs a { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--panel); color: var(--fg); text-decoration: none; font-weight: 700; }
.type-tabs a:hover { border-color: var(--accent); }
.type-tabs a[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ok a { color: var(--accent); }

/* Accueil : pile de billets, chaque billet grossit au survol et mène à sa page de création */
.collage { position: relative; height: clamp(360px, 44vw, 520px); margin-bottom: clamp(100px, 14vw, 170px); }
.collage > .collage-card { position: absolute; display: block; border-radius: 6px; outline: none; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.collage .ticket-holder { width: 100%; }
.collage .ticket { box-shadow: 0 24px 46px -22px rgba(80,48,20,.55); transition: box-shadow .4s; }
/* Tailles : avion > cinéma > concert > théâtre ; le match est posé sous l'avion */
.collage > :nth-child(1) { width: 66%; left: 0; top: 2%; transform: rotate(-6deg); z-index: 1; }
.collage > :nth-child(2) { width: 92%; left: 0; top: 53%; transform: rotate(3deg); z-index: 3; }
.collage > :nth-child(3) { width: 50%; left: 14%; top: 25%; transform: rotate(-2deg); z-index: 2; }
.collage > :nth-child(4) { width: 40%; right: 0; top: 0; transform: rotate(8deg); z-index: 2; }
/* Billet de match : sous l'avion, de biais, en recouvrant légèrement le bas de l'avion */
.collage > :nth-child(5) { width: 64%; left: 26%; top: 91%; transform: rotate(-4deg); z-index: 4; }
.collage > .collage-card:focus-visible { transform: rotate(var(--r)) scale(1.07); z-index: 10; }
.collage > :nth-child(1) { --r: -6deg; } .collage > :nth-child(2) { --r: 3deg; } .collage > :nth-child(3) { --r: -2deg; } .collage > :nth-child(4) { --r: 8deg; } .collage > :nth-child(5) { --r: -4deg; }
.collage-card:hover .ticket, .collage-card:focus-visible .ticket { box-shadow: 0 34px 60px -24px rgba(80,48,20,.7); }
.collage-card:focus-visible .ticket { outline: 3px solid var(--focus); outline-offset: 3px; }
.collage-tag { position: absolute; left: 50%; bottom: -14px; transform: translate(-50%, 6px); background: var(--marquee); color: var(--accent-ink); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; white-space: nowrap; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.collage-card:hover .collage-tag, .collage-card:focus-visible .collage-tag { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: no-preference) {
  .collage > .collage-card > .ticket-holder { animation: deal .9s cubic-bezier(.2,.8,.2,1) both; }
  .collage > :nth-child(2) > .ticket-holder { animation-delay: .08s; } .collage > :nth-child(3) > .ticket-holder { animation-delay: .16s; } .collage > :nth-child(4) > .ticket-holder { animation-delay: .24s; } .collage > :nth-child(5) > .ticket-holder { animation-delay: .32s; }
}
@media (prefers-reduced-motion: reduce) { .collage > .collage-card { transition: none; } }
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 800px) { .types { grid-template-columns: minmax(0, 1fr); } }
.type-card { display: grid; grid-template-rows: 220px auto; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.type-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.type-card .tc-visual { background: var(--table); display: grid; place-items: center; padding: 18px; overflow: hidden; }
.type-card .tc-visual .ticket-holder { box-shadow: none; }
.type-card .tc-visual .ticket-holder:not(.wide) { width: 130px; }
.type-card .tc-visual .ticket-holder.wide { width: 92%; }
.type-card .tc-text { padding: 18px 20px 20px; display: grid; gap: 6px; }
.type-card h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; margin: 0; }
.type-card p { margin: 0; color: var(--muted); }
.type-card .go { margin-top: 8px; font-weight: 700; color: var(--accent); }

/* Suivi de commande */
.narrow { max-width: 720px; }
.track-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
@media (max-width: 640px) { .track-form { grid-template-columns: minmax(0, 1fr); } }
.order-card { margin-top: 24px; display: grid; gap: 16px; }
.order-card h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 30px; text-transform: uppercase; }
.order-meta { display: flex; gap: 8px 22px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.steps-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.steps-track li { border-top: 4px solid var(--line); padding-top: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.steps-track li.done { border-color: var(--accent); color: var(--fg); }
.steps-track li.now { border-color: var(--accent); color: var(--accent); }
@media (max-width: 520px) { .steps-track { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.billets { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.tracking { background: var(--bg); border: 1px dashed var(--accent); border-radius: 10px; padding: 14px; display: grid; gap: 6px; }
.tracking b { font-family: var(--f-mono); font-size: 18px; letter-spacing: .04em; overflow-wrap: anywhere; }
.merci { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 18px; margin-bottom: 24px; }
.merci h2 { margin: 0 0 6px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 28px; }
.merci p { margin: 0; color: var(--muted); }
.merci .num { font-family: var(--f-mono); font-size: 20px; color: var(--fg); font-weight: 500; }
.tc-visual[data-t="theatre"] .ticket-holder.wide { width: 76%; }
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .prices { grid-template-columns: minmax(0, 1fr); } }
.price-card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: grid; gap: 4px; }
.price-card b { font-family: var(--f-display); font-weight: 900; font-size: 44px; line-height: 1; color: var(--accent); }
.price-card span { font-weight: 700; }
.price-card small { color: var(--muted); font-size: 14px; }

/* ---------- Mobile, tactile et accessibilité ---------- */
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
[id] { scroll-margin-top: 84px; }
a, button, summary, label, select, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: 6px; z-index: 50; font-weight: 600; }
.skip:focus { top: 8px; }
/* Survol réservé aux souris : sur écran tactile, un appui ouvre directement le billet */
@media (hover: hover) {
  .collage > .collage-card:hover { transform: rotate(var(--r)) scale(1.07); z-index: 10; }
}
/* Zones tactiles d'au moins 44 px */
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a.cta-sm { padding: 10px 16px; }
.btn-ghost { display: inline-flex; align-items: center; min-height: 44px; }
.faq summary { padding-block: 10px; min-height: 44px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
footer.site-foot .brand { display: inline-block; padding-block: 11px; }
.btn { min-height: 44px; }
.seg label { padding-block: 11px; }
.cgv-ok input { width: 22px; height: 22px; flex: none; accent-color: var(--accent); }
input[type="range"] { height: 32px; }
@media (pointer: coarse) { .swatches { gap: 10px; } .swatches label { width: 40px; height: 40px; } }
/* Page de création sur mobile : l'aperçu ne reste plus collé en haut (il masquait le formulaire) ;
   une barre fixe en bas permet de revoir l'aperçu et d'aller au panier */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .stage { position: static; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--panel) 94%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .mobile-bar .btn { display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 15px; padding: 10px 12px; }
  body:has(.mobile-bar) footer.site-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
.nav .brand { display: inline-block; padding-block: 10px; }
@media (max-width: 480px) { .row3 { grid-template-columns: 1.6fr 1fr 1fr; } }

/* ---------- Photo du client (obligatoire) ---------- */
.photo-box { display: grid; gap: 10px; padding: 16px; border: 2px dashed var(--accent); border-radius: 10px; background: var(--bg); cursor: pointer; position: relative; }
.photo-box .photo-title { font-family: var(--f-display); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .03em; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.photo-box .req { font-family: var(--f-body); font-size: 12px; letter-spacing: .04em; background: var(--accent); color: var(--accent-ink); padding: 3px 8px; border-radius: 999px; }
.photo-box .photo-help { font-weight: 400; font-size: 14px; color: var(--muted); line-height: 1.45; }
.photo-box .photo-btn { justify-self: start; display: inline-flex; align-items: center; }
.photo-box input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.photo-box:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.photo-box.done { border-style: solid; border-color: var(--line); }
.photo-box.done .req { background: #2f6b46; }
.photo-box .disclaimer { position: relative; z-index: 1; }

/* ---------- Aperçu protégé : filigrane « SPECIMEN » pour qu'une capture d'écran ne serve pas de billet ---------- */
#stage .ticket-holder { position: relative; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#stage .ticket-holder img { -webkit-user-drag: none; pointer-events: none; }
#stage .ticket-holder::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='120' viewBox='0 0 220 120'%3E%3Ctext x='110' y='66' text-anchor='middle' transform='rotate(-24 110 60)' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='22' letter-spacing='4' fill='%23fff' fill-opacity='.55' stroke='%23000' stroke-opacity='.28' stroke-width='.8'%3ESPECIMEN%3C/text%3E%3C/svg%3E") 0 0 / 34% auto repeat; }
@media print { #stage { visibility: hidden; } }
/* Logo (billet en traits fins + nom) : remplace le nom en texte dans l'en-tête et le pied de page */
.brand img { display: block; height: 54px; width: auto; }
@media (max-width: 400px) { .brand img { height: 50px; } }
@media (max-width: 360px) { .brand img { height: 44px; } }
footer.site-foot .brand img { height: 42px; }
.nav .brand:has(img) { padding-block: 0; }

/* Cadrage de la photo, sous l'aperçu du billet */
.addr { position: relative; }
.addr-sugg { list-style: none; margin: 4px 0 0; padding: 4px; position: absolute; left: 0; right: 0; z-index: 20; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 12px 24px -12px rgba(80,48,20,.45); }
.addr-sugg button { display: block; width: 100%; text-align: left; font: inherit; font-size: 14px; color: var(--fg); background: none; border: 0; border-radius: 4px; padding: 8px 10px; cursor: pointer; }
.addr-sugg button:hover, .addr-sugg button:focus-visible { background: var(--panel); }
.addr-check { display: grid; gap: 8px; padding: 10px 12px; border: 1px solid var(--accent); border-radius: 8px; }
.addr-check .btn { justify-self: start; text-align: left; }
.focus-ctl { margin-top: 14px; padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
/* Page contact */
textarea { resize: vertical; min-height: 160px; }
.contact-form .row { align-items: start; }
@media (max-width: 640px) { .contact-form .row { grid-template-columns: minmax(0, 1fr); } }
.contact-form .hp { position: absolute; left: -9999px; }
.req-note { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Pages de contenu SEO (billets, guides, FAQ), générées par outils/generer-seo.mjs ---------- */
.page-top { background: linear-gradient(180deg, var(--night) 0%, var(--bg) 100%); color: var(--night-fg); padding-block: 18px 40px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 22px; padding: 0; font-size: 13.5px; color: var(--night-muted); }
.crumbs li + li::before { content: "›"; margin-inline: 8px; opacity: .6; }
.crumbs a { color: var(--night-fg); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 32px; }
.page-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.page-hero.solo { grid-template-columns: minmax(0, 820px); }
.page-h1 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 5.2vw, 64px); line-height: .95; margin: 0 0 18px; text-wrap: balance; }
.answer { font-size: 18px; line-height: 1.6; margin: 0 0 24px; max-width: 40em; }
.answer strong { font-weight: 700; }
.page-visual { margin: 0; display: flex; justify-content: center; }
.page-visual img { width: 100%; height: auto; filter: drop-shadow(0 18px 28px rgba(59,42,30,.28)); transform: rotate(-2deg); }
.page-visual.portrait img { max-width: 330px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 34px 0 0; }
.facts div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.facts dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; font-size: 14.5px; }
.page-body { padding-block: 24px 8px; }
.prose { max-width: 760px; font-size: 16.5px; line-height: 1.7; }
.prose h2, .page-section > h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 36px); line-height: 1; margin: 44px 0 14px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose a:not(.btn-marquee) { color: var(--accent); text-underline-offset: 3px; }
.prose .btn-marquee { margin-top: 6px; }
.steps-list { padding-left: 22px; }
.page-section { padding-block: 8px 12px; }
.page-section .faq { margin-top: 6px; }
.autres { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.autres a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--fg); text-decoration: none; font-weight: 600; }
.autres a:hover { border-color: var(--accent); color: var(--accent); }
.page-maj { padding-block: 28px 40px; }
.tableau { width: 100%; max-width: 680px; border-collapse: collapse; margin: 6px 0 18px; font-size: 15.5px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.tableau caption { text-align: left; font-weight: 700; padding: 0 0 8px; color: var(--muted); font-size: 14px; }
.tableau th, .tableau td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tableau th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.tableau tr:last-child td { border-bottom: 0; }
.foot-seo { flex-basis: 100%; font-size: 13px; }
@media (max-width: 860px) {
  .page-hero { grid-template-columns: 1fr; gap: 26px; }
  .page-visual { order: -1; }
  .page-visual img { max-width: 520px; }
  .page-visual.portrait img { max-width: 220px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .facts div { padding: 10px 12px; }
  .answer { font-size: 16.5px; }
  .tableau { font-size: 14px; }
  .tableau th, .tableau td { padding: 8px 10px; }
}
.more-link { margin: 22px 0 0; font-size: 15px; color: var(--muted); line-height: 1.9; }
.more-link a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
