/* ===== Thème ===== */
:root {
  --bg: #0c0c0e;
  --surface: #151518;
  --surface-2: #1d1d22;
  --line: #2a2a31;
  --text: #ece7df;
  --muted: #9b958c;
  --accent: #c8102e;
  --gold: #c9a45c;
  --ok: #3fae6a;
  --warn: #d99a2b;
  --info: #4c8fd6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Oswald", "Inter", sans-serif;
  --font-display: "Pirata One", "Oswald", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 2.8rem); text-transform: uppercase; }
h2 { font-size: 1.6rem; text-transform: uppercase; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 .8em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.section { padding: 64px 0; }
.section-tight { padding: 28px 0 40px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-alt > .container { padding: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.link-arrow { color: var(--gold); text-decoration: none; font-weight: 600; font-size: .95rem; }
.link-arrow:hover { text-decoration: underline; }
.prose p { color: #d5cfc6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font: 600 .95rem var(--font);
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { border-color: #3d3d46; transform: translateY(-1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); border-color: var(--accent); }
.btn-ghost { background: transparent; }
.btn-danger { background: transparent; border-color: #5a2228; color: #ff8a8a; }
.btn-danger:hover { background: #3a1418; border-color: #7a2b33; }
.btn-small { padding: 7px 14px; font-size: .85rem; }
.btn-block { width: 100%; }
.linklike { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 0; text-align: left; }
.linklike:hover { color: var(--text); }

/* ===== En-tête ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(12, 12, 14, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--text); }
.brand img { height: 40px; width: 40px; object-fit: cover; border-radius: 50%; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-nav a.active { color: var(--text); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }
.flash-zone { padding-top: 18px; }

/* ===== Accueil ===== */
.hero {
  position: relative; padding: 110px 0 100px; overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(201, 164, 92, .14), transparent 50%),
    var(--bg);
}
.hero-has-img { background: linear-gradient(90deg, rgba(12,12,14,.95) 0%, rgba(12,12,14,.7) 50%, rgba(12,12,14,.35) 100%), var(--hero-img) center / cover no-repeat; }
.hero-inner { position: relative; max-width: 1180px; }
.eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .78rem; color: var(--gold); font-weight: 600; }
.display { font-family: var(--font-display); font-weight: 400; text-transform: none; font-size: clamp(3.2rem, 11vw, 7rem); letter-spacing: .01em; line-height: .95; margin: 0 0 .2em; }
.lead { font-size: 1.25rem; color: #d5cfc6; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-rating { margin-top: 28px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pinned {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: -28px; position: relative;
  background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 16px 20px; text-decoration: none; box-shadow: var(--shadow);
}
.pinned:hover { border-color: #3d3d46; border-left-color: var(--accent); }
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 64px 0 !important; align-items: start; }
.info-card h3 { color: var(--gold); margin-top: 6px; }
.info-card h3 + p { margin-top: 0; }
.info-card .btn { margin-top: 10px; }
.cta {
  margin: 64px 0; padding: 40px; border-radius: 20px; display: flex; gap: 24px; justify-content: space-between; align-items: center; flex-wrap: wrap;
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 30%, var(--surface)), var(--surface));
  border: 1px solid var(--line);
}
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; color: #d5cfc6; }

/* ===== Cartes ===== */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px 20px; text-align: center; color: var(--muted); }
.empty a { color: var(--gold); }
.chip {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; white-space: nowrap;
}
a.chip:hover { border-color: #44444d; }
.chip-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip-accent { background: color-mix(in srgb, var(--accent) 22%, transparent); border-color: color-mix(in srgb, var(--accent) 55%, transparent); color: #fff; }
.chip-float { position: absolute; top: 12px; left: 12px; background: rgba(12, 12, 14, .75); backdrop-filter: blur(6px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }

/* Catalogue */
.tattoo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.tattoo-card { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.tattoo-card:hover { transform: translateY(-3px); border-color: #3d3d46; }
.tattoo-img { position: relative; aspect-ratio: 4 / 5; background: var(--surface-2); overflow: hidden; }
.tattoo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tattoo-card:hover .tattoo-img img { transform: scale(1.04); }
.tattoo-body { padding: 14px 16px 16px; }
.tattoo-body h3 { margin: 0 0 4px; font-size: 1.05rem; }
.tattoo-body p { margin: 0; font-size: .88rem; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, #19191d 14px 28px); color: #3a3a42; }
.ph svg { width: 34%; fill: currentColor; }
.ph-large { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.page-head { padding: 48px 0 8px; }
.banner-home { width: min(1400px, 100%); margin: 0 auto; padding: 24px 16px 0; }
.banner-frame { position: relative; }
.banner-frame > img { width: 100%; height: auto; border-radius: var(--radius); }
.genre-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.genre-tabs a {
  display: flex; align-items: center; justify-content: center; padding: 18px 12px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.genre-tabs a:hover { color: var(--text); border-color: #3d3d46; }
.genre-tabs a.active { color: #fff; background: var(--accent); border-color: var(--accent); }
.genre-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.genre-card {
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; padding: 26px; border-radius: 18px; text-decoration: none;
  border: 1px solid var(--line); background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 28%, var(--surface)), var(--surface) 70%);
  transition: transform .2s, border-color .2s;
}
.genre-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.genre-card strong { font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 1; }
.genre-card span { color: var(--muted); margin-top: 6px; }
@media (max-width: 600px) { .genre-cards { grid-template-columns: 1fr; } .genre-card { min-height: 140px; } }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters input[type=search] { flex: 1 1 240px; }
.filters select { flex: 0 1 220px; }
.result-count { margin-bottom: 12px; }

/* Fiche tatouage */
.back { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }
.tattoo-detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.gallery-main { width: 100%; max-height: 78vh; object-fit: contain; background: var(--surface-2); border-radius: var(--radius); cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; width: 76px; height: 76px; opacity: .65; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--accent); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.artist-line { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 18px; }
.details { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 0 0 20px; }
.details div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.details dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.details dd { margin: 2px 0 0; font-weight: 600; }
.tattoo-grid-4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* Équipe */
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-sm { width: 34px; height: 34px; }
.avatar-lg { width: 120px; height: 120px; }
.avatar-empty { display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 25%, var(--surface-2)); font-family: var(--font-display); font-size: 1.4em; color: #fff; }
.avatar-lg.avatar-empty { font-size: 3rem; }
.team-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.team-mini-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; text-decoration: none; padding: 20px; border-radius: var(--radius); }
.team-mini-item:hover { background: var(--surface); }
.team-mini-item .avatar { margin-bottom: 10px; border: 2px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; padding-bottom: 64px; }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.team-card:target { border-color: var(--accent); }
.team-photo { width: 100%; aspect-ratio: 1; object-fit: cover; }
.team-photo.avatar-empty { font-size: 5rem; border-radius: 0; }
.team-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.team-body h2 { font-size: 1.4rem; margin-bottom: .2em; }
.team-role { color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.team-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }

/* Avis */
.stars { display: inline-flex; gap: 1px; color: #45454e; letter-spacing: 0; font-size: 1rem; line-height: 1; }
.star.on { color: var(--gold); }
.star.half { background: linear-gradient(90deg, var(--gold) 50%, #45454e 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.section-alt .review { background: var(--bg); }
.review header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.review footer { font-size: .9rem; }
.review-reply { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, .03); border-radius: 0 8px 8px 0; font-size: .92rem; }
.review-reply p { margin: 4px 0 0; color: #d5cfc6; }
.review-list { display: grid; gap: 16px; }
.reviews-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; padding-top: 20px; padding-bottom: 64px; }
.reviews-layout aside { position: sticky; top: 90px; }
.rating-summary { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.rating-big { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 110px; }
.rating-big strong { font-family: var(--font-head); font-size: 3rem; line-height: 1; }
.rating-bars { flex: 1; min-width: 200px; display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 32px 1fr 28px; align-items: center; gap: 10px; font-size: .88rem; }
.bar { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.star-input { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; position: relative; }
.star-input legend { width: 100%; font-weight: 500; font-size: .92rem; margin-bottom: 4px; float: left; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; line-height: 1; color: #45454e; cursor: pointer; transition: color .1s; margin: 0 !important; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }

/* Annonces */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.news-card { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.news-card:hover { border-color: #3d3d46; }
.news-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.news-card > div { padding: 16px 18px; }
.news-card h3 { margin: 4px 0 6px; }
.announce { padding: 0; overflow: hidden; margin-bottom: 22px; scroll-margin-top: 90px; }
.announce:target { border-color: var(--accent); }
.announce > img { width: 100%; max-height: 420px; object-fit: cover; cursor: zoom-in; }
.announce-body { padding: 22px 24px; }
.announce-body h2 { text-transform: none; }

/* Recrutement */
.h-small { font-size: 1.2rem; }
.offer { margin-bottom: 16px; }
.offer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.offer-head h3 { margin: 0; font-size: 1.3rem; }
.offer h4 { margin: 12px 0 4px; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.offer > p:first-of-type { margin-top: 12px; }

/* ===== Formulaires ===== */
.form { display: flex; flex-direction: column; gap: 14px; }
.form h2 { margin-bottom: 0; font-size: 1.3rem; }
.form label, .field > label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .92rem; }
input[type=text], input[type=password], input[type=number], input[type=search], input[type=email], select, textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: 400 .95rem var(--font);
}
textarea { resize: vertical; min-height: 80px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
input[type=file] { font: .9rem var(--font); color: var(--muted); }
input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: 600 .85rem var(--font); cursor: pointer; }
input[type=color] { width: 70px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: 4px; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { flex-direction: row !important; align-items: center; gap: 10px !important; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.preview { display: flex; gap: 8px; flex-wrap: wrap; }
.preview:empty { display: none; }
.preview img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; border: 1px solid; font-weight: 500; }
.alert-success { background: rgba(63, 174, 106, .12); border-color: rgba(63, 174, 106, .4); color: #9fe3b8; }
.alert-error { background: rgba(200, 16, 46, .12); border-color: rgba(200, 16, 46, .45); color: #ffb0b8; }
.req { color: var(--accent); }

/* ===== Pied de page ===== */
.site-footer { border-top: 1px solid var(--line); background: #09090a; padding-top: 48px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); }
.footer-grid p { margin: 0 0 4px; color: #cfc9c0; font-size: .92rem; }
.footer-links { display: flex; gap: 14px; margin-top: 8px !important; }
.footer-links a { color: var(--text); }
.brand-footer { font-size: 2rem; margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; margin-top: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-bottom a { color: var(--muted); }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: none; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 92vh; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* ===== Panel admin ===== */
.admin-body { background: #0a0a0c; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: var(--surface); border-right: 1px solid var(--line); padding: 24px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { font-size: 1.5rem; padding: 0 10px; }
.admin-tag { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; padding: 0 10px; margin: 6px 0 20px; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; }
.admin-nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .93rem; }
.admin-nav a:hover { background: var(--surface-2); color: var(--text); }
.admin-nav a.active { background: var(--surface-2); color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
.badge { background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.admin-side-foot { margin-top: auto; padding: 20px 10px 0; display: flex; flex-direction: column; gap: 10px; font-size: .88rem; }
.admin-side-foot a { color: var(--muted); text-decoration: none; }
.admin-side-foot a:hover { color: var(--text); }
.admin-main { padding: 32px clamp(16px, 4vw, 48px) 64px; min-width: 0; }
.admin-title { font-size: 1.9rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin: 20px 0 24px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.tile:hover { border-color: #3d3d46; }
.tile strong { font-family: var(--font-head); font-size: 2rem; line-height: 1.1; }
.tile span { color: var(--muted); font-size: .88rem; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.admin-cols > div { display: grid; gap: 20px; }
.admin-cols-wide { grid-template-columns: 1.6fr 1fr; }
.admin-cols h2 { font-size: 1.15rem; }
.admin-cols h3 { margin-top: 18px; color: var(--gold); font-size: 1rem; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; }
.mini-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mini-list li:last-child { border-bottom: 0; }
.account-row { justify-content: space-between; }
.toolbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar input { max-width: 280px; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, .02); }
.thumb { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; display: block; }
.thumb-empty { background: repeating-linear-gradient(135deg, var(--surface-2) 0 6px, #19191d 6px 12px); }
.row-actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.row-actions form { margin: 0; }
.table .row-actions { white-space: nowrap; }
.switch { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--muted); font: 500 .85rem var(--font); cursor: pointer; padding: 0; }
.switch span { width: 34px; height: 20px; border-radius: 99px; background: #33333b; position: relative; transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #aaa; transition: transform .15s, background .15s; }
.switch.on { color: var(--text); }
.switch.on span { background: var(--ok); }
.switch.on span::after { transform: translateX(14px); background: #fff; }
.admin-form { max-width: 980px; }
.share-box { max-width: 980px; margin-bottom: 20px; }
.share-box h2 { font-size: 1.15rem; }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.share-row input { flex: 1 1 280px; font-family: ui-monospace, Consolas, monospace; font-size: .88rem; }
.music-list { display: grid; gap: 10px; }
.music-row { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(200px, 1.4fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.music-row audio { width: 100%; height: 36px; }
.yt-item { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); font-size: .88rem; }
.yt-item img { width: 80px; height: 45px; object-fit: cover; border-radius: 6px; }
.yt-badge { display: inline-grid; place-items: center; width: 80px; height: 45px; border-radius: 6px; background: #c4302b; color: #fff; font-weight: 700; font-size: .8rem; }
@media (max-width: 700px) { .music-row { grid-template-columns: 1fr; } }
input[type=range] { accent-color: var(--accent); width: min(360px, 100%); }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.pick { position: relative; display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 400; cursor: pointer; }
.pick img, .pick-empty { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 2px solid var(--line); display: block; }
.pick input { position: absolute; top: 8px; left: 8px; width: 20px; height: 20px; accent-color: var(--accent); }
.pick input:checked ~ img, .pick input:checked ~ .pick-empty { border-color: var(--accent); }
.pick input:not(:checked) ~ img { opacity: .55; }
.admin-form h2 { margin-top: 10px; color: var(--gold); font-size: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.span-2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field small { font-size: .8rem; }
.form-actions { display: flex; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 18px; }
.current-img { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.current-img img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); cursor: zoom-in; }
.gallery-edit { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.gallery-edit label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 400; width: 110px; }
.gallery-edit img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); cursor: zoom-in; }
.gallery-edit label span { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--text); font-size: .9rem; border: 1px solid var(--line); }
.tabs a.active { background: var(--surface-2); border-color: var(--accent); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.pill-ok { background: rgba(63, 174, 106, .15); color: #8fdcab; }
.pill-warn { background: rgba(217, 154, 43, .15); color: #f0c272; }
.pill-info { background: rgba(76, 143, 214, .15); color: #9cc4f0; }
.pill-off { background: rgba(255, 255, 255, .06); color: var(--muted); }
.admin-reviews { display: grid; gap: 14px; max-width: 900px; }
.admin-review header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.admin-review details { margin: 6px 0 14px; }
.admin-review summary { cursor: pointer; color: var(--gold); font-size: .9rem; font-weight: 500; }
.admin-review details .form { margin-top: 10px; align-items: flex-start; }
.admin-review .row-actions { justify-content: flex-start; }
.danger-zone { margin-top: 14px; }
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 60%), var(--bg); }
.login-card { width: min(420px, 100%); }
.login-card .brand { font-size: 2rem; }
.login-card h1 { font-size: 1.4rem; margin: 4px 0 0; }
.login-card > a { text-align: center; text-decoration: none; }

/* ===== Devis ===== */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.steps li::before { content: counter(step); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font: 600 1.2rem var(--font-head); }
.from-tattoo { display: flex; gap: 16px; align-items: center; }
.from-tattoo img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; }
.from-tattoo div { display: flex; flex-direction: column; }
.devis-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.track { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.track li { display: flex; flex-direction: column; gap: 8px; font-size: .85rem; color: var(--muted); }
.track li span { height: 6px; border-radius: 99px; background: var(--surface-2); }
.track li.done { color: var(--text); }
.track li.done span { background: var(--accent); }
.devis-doc { background: #f7f4ef; color: #1b1a18; border-radius: var(--radius); padding: clamp(20px, 4vw, 44px); margin-bottom: 20px; }
.devis-doc .muted { color: #6e685f; }
.devis-doc-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 2px solid #1b1a18; padding-bottom: 18px; margin-bottom: 22px; }
.devis-brand { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; margin-bottom: 6px; }
.devis-ref { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.devis-ref strong { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: .15em; color: var(--accent); }
.devis-parties { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 22px; }
.devis-parties > div { display: flex; flex-direction: column; }
.devis-doc .table-wrap { background: transparent; border-color: #d9d3c9; }
.devis-doc .table th { color: #6e685f; border-color: #d9d3c9; }
.devis-doc .table td { border-color: #e4dfd6; }
.devis-doc .table tbody tr:hover { background: transparent; }
.num { text-align: right !important; white-space: nowrap; }
.devis-totals, .live-totals { margin: 16px 0 0 auto; max-width: 340px; display: grid; gap: 6px; }
.devis-totals div, .live-totals div { display: flex; justify-content: space-between; gap: 20px; }
.devis-totals .grand, .live-totals .grand { font: 600 1.35rem var(--font-head); border-top: 2px solid currentColor; padding-top: 8px; margin-top: 4px; }
.devis-note { margin-top: 24px; padding-top: 16px; border-top: 1px solid #d9d3c9; }
.devis-note h3, .devis-doc h3 { font-size: 1rem; }
.devis-request { margin-top: 22px; }
.devis-request summary { cursor: pointer; color: #6e685f; }
.devis-request .details div { background: #fff; border-color: #e4dfd6; }
.devis-answer { margin-bottom: 20px; }
.answer-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.devis-admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.lines-table input { padding: 8px 10px; }
.lines-table td:nth-child(2), .lines-table td:nth-child(3) { width: 110px; }
.lines-table td:first-child { min-width: 200px; }
.new-devis { margin-bottom: 20px; max-width: 980px; }
.new-devis summary { cursor: pointer; font-weight: 600; color: var(--gold); }
.new-devis .form { margin-top: 14px; }
.devis-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; align-items: start; padding-top: 20px; padding-bottom: 64px; }
.devis-layout > div { display: grid; gap: 16px; }
.devis-layout .form h2 { margin-top: 8px; color: var(--gold); font-size: 1.1rem; }
.devis-items { display: grid; gap: 14px; }
.devis-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 16px; margin: 0; display: grid; gap: 12px; background: var(--bg); }
.devis-item legend { display: flex; gap: 14px; align-items: center; padding: 0 6px; font: 600 .95rem var(--font-head); text-transform: uppercase; letter-spacing: .06em; }
.devis-item legend .linklike { font: 500 .8rem var(--font); text-transform: none; letter-spacing: 0; color: #ff8a8a; }
.devis-custom { display: grid; gap: 12px; }
.devis-custom[hidden] { display: none; }
.devis-item-pick { display: flex; gap: 12px; align-items: flex-end; }
.devis-item-pick label { flex: 1; }
.devis-item-thumb:empty { display: none; }
.devis-item-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cart-list li { display: flex; gap: 12px; align-items: center; }
.cart-list li span { flex: 1; }
.cart-list img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.req-items { display: grid; gap: 12px; margin: 12px 0; }
.req-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.devis-doc .req-item { border-color: #e4dfd6; background: #fff; }
.req-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; cursor: zoom-in; }
.req-thumb-empty { display: grid; place-items: center; background: var(--surface-2); font: 600 1.3rem var(--font-head); color: var(--muted); cursor: default; }
.req-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.req-body p { margin: 4px 0 0; }
.line-cell { display: flex; gap: 10px; align-items: center; }
.line-cell > div { flex: 1; display: grid; gap: 6px; }
.line-cell img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; cursor: zoom-in; }
.lines-table .in-detail { font-size: .82rem; padding: 6px 10px; color: var(--muted); }
.line-with-img { display: flex; gap: 12px; align-items: center; }
.line-with-img img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; cursor: zoom-in; }
.devis-sign { margin-top: 20px; }
@media (max-width: 960px) { .devis-layout { grid-template-columns: 1fr; } }
@media print {
  body { background: #fff; }
  .site-header, .site-footer, .no-print, .flash-zone, .lightbox { display: none !important; }
  .devis-doc { border-radius: 0; padding: 0; background: #fff; }
}

/* ===== Thème Noël ===== */
/* Palette Carm'Inka Noël : noir profond, rouge sang, or, vert sapin. */
.theme-noel {
  --bg: #080808; --surface: #110f0f; --surface-2: #1a1615; --line: #2c2421;
  --text: #f5ebdd; --muted: #b7a995; --accent: #a50018; --blood: #65000b; --gold: #d6a84b; --green: #123b28;
}
body.theme-noel {
  background:
    url("christmas/texture-noire.svg"),
    radial-gradient(ellipse at 50% -10%, rgba(165, 0, 24, .22), transparent 55%),
    radial-gradient(ellipse at 50% 120%, rgba(18, 59, 40, .35), transparent 60%),
    #080808;
  background-attachment: fixed;
}
.theme-noel h1, .theme-noel h2 { font-family: var(--font-display); font-weight: 400; text-transform: none; letter-spacing: .03em; }
.theme-noel h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); color: var(--text); text-shadow: 0 2px 18px rgba(165, 0, 24, .45); }
.theme-noel h2 { font-size: 2rem; }
.theme-noel .btn { transition: transform .2s, box-shadow .25s, background .2s, border-color .2s; }
.theme-noel .btn-primary { background: linear-gradient(180deg, #c3102a, #a50018 55%, #65000b); border-color: rgba(214, 168, 75, .7); box-shadow: 0 0 0 1px rgba(214, 168, 75, .25), 0 6px 20px rgba(165, 0, 24, .4); }
.theme-noel .btn-primary:hover { filter: none; box-shadow: 0 0 0 1px var(--gold), 0 8px 26px rgba(165, 0, 24, .55), 0 0 22px rgba(214, 168, 75, .35); }
.theme-noel .btn:not(.btn-primary):hover { border-color: rgba(214, 168, 75, .6); box-shadow: 0 0 16px rgba(214, 168, 75, .18); }
.theme-noel .chip-on { background: var(--accent); border-color: var(--gold); }
.theme-noel .link-arrow, .theme-noel .team-role { color: var(--gold); }
.theme-noel .tattoo-card:hover, .theme-noel .team-card:hover, .theme-noel .news-card:hover { border-color: var(--gold); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 24px rgba(214, 168, 75, .12); }

/* Bandeau d'annonce */
.theme-banner.xmas-bar {
  overflow: hidden; padding: 24px 16px 10px; border-bottom: 2px solid var(--gold);
  background: repeating-linear-gradient(135deg, #8a0014 0 18px, #a50018 18px 36px);
  box-shadow: inset 0 -10px 20px rgba(101, 0, 11, .6);
}
.xmas-bar-lights { position: absolute; top: -4px; left: 0; right: 0; height: 28px; background: url("christmas/guirlande-lumieres.svg") repeat-x 0 0 / auto 28px; }
.xmas-bar-text { position: relative; margin: 0; color: #fff; font-weight: 600; letter-spacing: .02em; text-shadow: 0 1px 2px #000, 0 0 12px rgba(214, 168, 75, .7); }
.xmas-flake { position: absolute; top: 4px; width: 11px; height: 11px; background: url("christmas/flocon.svg") center / contain no-repeat; opacity: 0; animation: barSnow 3.4s linear infinite; pointer-events: none; }
@keyframes barSnow { 10% { opacity: .9; } 100% { transform: translate(8px, 46px) rotate(160deg); opacity: 0; } }

/* Menu : guirlande de sapin au-dessus, ornements suspendus en dessous */
.theme-noel .site-header { background: rgba(8, 8, 8, .93); border-bottom: 1px solid rgba(214, 168, 75, .35); box-shadow: 0 12px 30px rgba(0, 0, 0, .55); }
.xmas-nav-garland {
  position: relative; z-index: 2; height: 38px; margin-bottom: -6px; pointer-events: none;
  background: url("christmas/guirlande-sapin.svg") repeat-x 0 50% / auto 60px;
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .65));
}
.theme-noel .site-nav a { color: #d9cdbb; }
.theme-noel .site-nav a:hover { color: #fff; background: rgba(165, 0, 24, .18); }
.theme-noel .site-nav a.active { color: #fff; background: rgba(165, 0, 24, .22); box-shadow: inset 0 -2px 0 var(--gold); }
.theme-noel .brand span { color: var(--text); text-shadow: 0 0 14px rgba(165, 0, 24, .6); }
.xmas-hangings { position: absolute; left: 0; right: 0; top: 100%; height: 0; pointer-events: none; z-index: 3; }
.xmas-hang { position: absolute; top: 0; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; animation: swing 3.8s ease-in-out infinite; animation-delay: var(--d); }
.xmas-hang::before { content: ""; width: 1px; height: var(--len); background: linear-gradient(var(--gold), rgba(214, 168, 75, .5)); }
.xmas-hang.is-bow::before { display: none; }
.xmas-ball { width: 24px; height: auto; margin-top: -1px; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .6)); }
.xmas-bow { width: 32px; height: auto; margin-top: -9px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .6)); }
@keyframes swing { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }

/* Grande bannière */
.theme-noel .banner-home {
  width: 100%; padding: clamp(70px, 9vw, 140px) 16px 48px;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, .15) 0%, rgba(8, 8, 8, .35) 45%, #080808 92%),
    url("christmas/fond-cadeaux.jpg") center top / cover no-repeat;
}
.theme-noel .banner-frame { max-width: 1368px; margin: 0 auto; }
.xb-garland {
  width: 104%; left: -2%; top: -70%; z-index: 1; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .7)) !important;
  /* La photo est coupée net à gauche, à droite et en haut : on fond ces bords. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%);
  mask-composite: intersect;
}
.theme-noel .banner-frame > img {
  border: 1px solid rgba(214, 168, 75, .5);
  box-shadow: 0 0 0 6px #080808, 0 0 0 7px rgba(214, 168, 75, .28), 0 30px 80px rgba(0, 0, 0, .85), 0 0 80px rgba(165, 0, 24, .25);
}
.xmas-banner-decor { position: absolute; inset: 0; pointer-events: none; }
.xmas-banner-decor .xm { position: absolute; height: auto; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .6)); }
.xb-rose { width: 13%; bottom: -12%; z-index: 2; }
.xb-rose-l { left: -3%; transform: rotate(-12deg); }
.xb-rose-r { right: -3%; transform: scaleX(-1) rotate(-12deg); }
.xb-hat { width: 10.5%; left: 10.6%; top: 8.5%; transform: rotate(-16deg); z-index: 2; }
.xb-ribbon { width: 7.5%; left: 80.2%; top: 40%; transform: rotate(-38deg); z-index: 2; }
.xb-glow { position: absolute; inset: -6% -3%; border-radius: 30px; background: radial-gradient(ellipse at 50% 50%, rgba(214, 168, 75, .14), transparent 65%); animation: glowPulse 4.5s ease-in-out infinite; }

/* Pied de page */
.theme-noel .site-footer {
  position: relative; margin-top: 110px; padding-top: 120px; border-top: 1px solid rgba(214, 168, 75, .35);
  background:
    linear-gradient(90deg, #070606 0%, rgba(7, 6, 6, .94) 40%, rgba(7, 6, 6, .55) 72%, rgba(7, 6, 6, .3) 100%),
    linear-gradient(180deg, #070606 0%, rgba(7, 6, 6, 0) 30%, rgba(7, 6, 6, 0) 70%, #050505 100%),
    url("christmas/fond-lanterne.jpg") right center / cover no-repeat,
    #070606;
}
.theme-noel .site-footer, .theme-noel .banner-home, .theme-noel .site-header { overflow-x: clip; }
.xmas-footer-decor { position: absolute; left: 0; right: 0; top: 0; height: 0; pointer-events: none; }
.xf-snow { position: absolute; top: -10px; left: 0; right: 0; height: 30px; background: url("christmas/neige-bord.svg") repeat-x 0 0 / 400px 30px; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .5)); }
.xf-lights { position: absolute; top: 16px; left: 0; right: 0; height: 30px; background: url("christmas/guirlande-lumieres.svg") repeat-x 0 0 / auto 30px; }
.xf-branch { position: absolute; width: min(380px, 36vw); height: auto; top: -84px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .6)); }
.xf-branch-l { left: -50px; transform: rotate(-4deg); }
.xf-branch-r { right: -50px; transform: scaleX(-1) rotate(-4deg); }
.xf-sign {
  position: absolute; left: 50%; top: -64px; transform: translateX(-50%) rotate(-2deg);
  width: min(330px, 72vw); aspect-ratio: 420 / 170; display: grid; place-items: center; padding-top: 14px;
  background: url("christmas/panneau-bois.svg") center / 100% 100% no-repeat;
}
.xf-sign span { font-family: "Great Vibes", cursive; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1; color: #f5ebdd; text-shadow: 0 2px 0 #2e170a, 0 0 14px rgba(214, 168, 75, .55); }
.theme-noel .footer-grid h3 { color: var(--gold); }
.theme-noel .footer-bottom { border-top-color: rgba(214, 168, 75, .25); position: relative; z-index: 1; }
.xmas-footer-gifts { position: relative; height: 96px; pointer-events: none; }
.xmas-footer-gifts .xm { position: absolute; bottom: 0; height: auto; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.xf-gift-1 { width: 84px; left: 2%; }
.xf-gift-2 { width: 66px; left: calc(2% + 66px); }
.xf-gift-3 { width: 66px; right: calc(2% + 66px); }
.xf-gift-4 { width: 84px; right: 2%; }

@media (max-width: 860px) {
  .xmas-nav-garland { height: 28px; background-size: auto 46px; }
  .theme-noel .site-nav { top: 100%; z-index: 5; box-shadow: 0 20px 40px rgba(0, 0, 0, .7); }
  .xmas-hang.md-hide { display: none; }
}
@media (max-width: 600px) {
  .xmas-bar { padding: 22px 12px 8px; font-size: .82rem; }
  .xmas-hang.sm-hide { display: none; }
  .theme-noel .banner-home { padding: 50px 12px 30px; }
  .xb-rose { width: 17%; }
  .theme-noel .site-footer {
    background:
      linear-gradient(180deg, #070606 0%, rgba(7, 6, 6, .72) 30%, rgba(7, 6, 6, .8) 75%, #050505 100%),
      url("christmas/fond-lanterne.jpg") 70% center / cover no-repeat,
      #070606;
  }
  .theme-noel .site-footer { padding-top: 104px; margin-top: 90px; }
  .xf-branch { width: 46vw; top: -60px; }
  .xmas-footer-gifts { height: 70px; }
  .xf-gift-1, .xf-gift-4 { width: 62px; }
  .xf-gift-2, .xf-gift-3 { width: 48px; }
  .xf-gift-2 { left: calc(2% + 50px); }
  .xf-gift-3 { right: calc(2% + 50px); }
}

.theme-banner {
  position: relative; z-index: 51; text-align: center; padding: 9px 16px; font-weight: 600; font-size: .92rem; color: #fff;
  background: repeating-linear-gradient(135deg, #b3122e 0 22px, #c41e3a 22px 44px);
  border-bottom: 2px solid var(--gold); text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.garland { position: absolute; left: 0; top: 100%; width: 100%; height: 34px; pointer-events: none; z-index: 1; display: block; }
.garland .bulb { animation: bulb 2.4s ease-in-out infinite; filter: drop-shadow(0 0 5px currentColor); }
@keyframes bulb { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.holly { width: 34px; height: 24px; margin-left: 2px; transform: rotate(-8deg) translateY(-6px); }
.theme-noel .section-alt { background: linear-gradient(180deg, rgba(18, 59, 40, .25), var(--surface)); }
.theme-noel .page-head h1::after { content: " ❄"; color: #e6eef6; font-size: .55em; vertical-align: middle; }
.theme-noel .card, .theme-noel .tattoo-card, .theme-noel .team-card, .theme-noel .news-card { border-color: rgba(214, 168, 75, .2); }

/* Connexion admin version Noël */
.login-noel { background: #120608; position: relative; overflow: hidden; }
.noel-scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.noel-scene .light { fill: #ffe39a; animation: bulb 2.8s ease-in-out infinite; }
.noel-scene .star { animation: starGlow 3s ease-in-out infinite; transform-origin: 1330px 135px; }
@keyframes starGlow { 50% { transform: scale(1.06); filter: brightness(1.25); } }
.noel-scene .flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flame 1.1s ease-in-out infinite alternate; }
.noel-scene .f2 { animation-duration: .8s; animation-delay: .2s; }
.noel-scene .f3 { animation-duration: 1.3s; animation-delay: .4s; }
@keyframes flame { 0% { transform: scale(1, 1) skewX(0); } 50% { transform: scale(.92, 1.08) skewX(3deg); } 100% { transform: scale(1.04, .9) skewX(-3deg); } }
.noel-scene .candle { transform-box: fill-box; transform-origin: 50% 100%; animation: flame .9s ease-in-out infinite alternate; }
.noel-scene .fire-glow { animation: glowPulse 2.2s ease-in-out infinite; }
@keyframes glowPulse { 50% { opacity: .7; } }
.noel-scene .window-snow { animation: windowSnow 14s linear infinite; }
@keyframes windowSnow { to { transform: translateY(300px); } }
.noel-scene .stocking { transform-box: fill-box; transform-origin: 50% 0; }
.noel-scene .sway1 { animation: sway 4s ease-in-out infinite; }
.noel-scene .sway2 { animation: sway 4.6s ease-in-out infinite reverse; }
@keyframes sway { 50% { transform: rotate(2.5deg); } }
.login-noel .login-card {
  position: relative; z-index: 2; width: min(430px, 100%); padding: 34px 30px 26px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 233, 180, .28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .2);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.noel-hat { position: absolute; top: -46px; left: -34px; width: 110px; transform: rotate(-18deg); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.login-noel .login-card .brand { justify-content: center; font-size: 1.5rem; color: #f3e6c8; }
.login-noel .noel-title { font-family: "Great Vibes", cursive; font-weight: 400; text-transform: none; letter-spacing: 0; text-align: center; font-size: 3.4rem; margin: 0; line-height: 1.1;
  background: linear-gradient(180deg, #fff3c4, #e8c766 55%, #b8862a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 8px rgba(232, 199, 102, .35)); }
.noel-sub { text-align: center; color: #e9dcc7; margin: 0 0 6px; }
.login-noel .login-card input { background: rgba(10, 4, 5, .55); border-color: rgba(255, 233, 180, .22); }
.login-noel .login-card input:focus { border-color: #e8c766; box-shadow: 0 0 0 3px rgba(232, 199, 102, .25); }
.login-noel .login-card label { color: #f3e6c8; }
.login-noel .btn-primary { background: linear-gradient(180deg, #d92a42, #9c0f25); border: 1px solid #e8c766; box-shadow: 0 8px 24px rgba(196, 30, 58, .45); }
.login-noel .login-card > a { color: #d8c9b0; }
@media (max-width: 600px) { .noel-hat { width: 84px; top: -36px; left: -18px; } .noel-title { font-size: 2.8rem; } }
.snow-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 60; }
@media (prefers-reduced-motion: reduce) { .garland .bulb, .noel-scene *, .xmas-hang, .xmas-flake, .xb-glow { animation: none !important; } }

/* ===== Mobile ===== */
@media (max-width: 960px) {
  .about, .tattoo-detail, .reviews-layout, .admin-cols, .admin-cols-wide { grid-template-columns: 1fr; }
  .reviews-layout aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; padding: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-tag { margin-bottom: 10px; }
  .admin-nav { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .admin-nav a { white-space: nowrap; gap: 8px; }
  .admin-side-foot { flex-direction: row; justify-content: space-between; padding-top: 12px; }
}
@media (max-width: 600px) {
  .section { padding: 44px 0; }
  .hero { padding: 72px 0 70px; }
  .form-grid, .form-row { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .cta { padding: 28px 22px; }
  .tattoo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tattoo-body { padding: 10px 12px 12px; }
  .team-grid { grid-template-columns: 1fr; }
}
