:root {
  --ink: #161514;
  --muted: #74706a;
  --line: #e7e3dc;
  --paper: #ffffff;
  --cream: #f5f2ec;
  --orange: #e2461f;   /* rond du logo Instagram */
  --green: #2c6a47;    /* étiquette tissée */
  --radius: 4px;
  --wrap: 1240px;
  --font: 'Archivo', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-stretch: 75%; font-weight: 800; letter-spacing: -0.01em; line-height: 1.02; margin: 0 0 .4em; text-transform: uppercase; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; letter-spacing: .02em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .02em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.lead { font-size: 1.12rem; color: #3b3935; max-width: 36em; }

/* logo */
.logo { display: inline-flex; color: var(--ink); line-height: 0; }
.logo svg { height: 30px; width: auto; display: block; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 8px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: .92rem; }
.nav a { text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.menu-btn { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.langs { display: flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.langs a { padding: 3px 10px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.langs a.on { background: var(--ink); color: #fff; }
.langs a:hover { text-decoration: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 99px; padding: 13px 26px; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; transition: background .15s, color .15s; }
.btn:hover { background: var(--orange); border-color: var(--orange); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.full { width: 100%; }
.btn.sm { padding: 8px 16px; font-size: .85rem; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.danger { color: #b3261e; }

/* hero */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
.hero .btn { margin-top: .5rem; }
.hero-img { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* grid */
.section { padding-top: 40px; padding-bottom: 88px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; margin-bottom: 32px; }
.section-head h1, .section-head h2 { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.card { text-decoration: none; display: block; }
.card-img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--cream); border-radius: var(--radius); }
.card-img > img, .card-img > .ph { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img > * { transform: scale(1.03); }
.card-meta { padding-top: 14px; }
.card-meta h3 { font-size: 1.15rem; margin-bottom: 2px; }
.card-meta .muted { font-size: .9rem; margin-bottom: 4px; }
.price { font-weight: 600; margin: 0; }
.card.is-out .card-img { opacity: .55; }
.badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; }
.badge.out { background: var(--ink); color: #fff; }
.p-price .badge { position: static; border: 1px solid var(--line); margin-left: 10px; vertical-align: middle; }

/* placeholder (en attendant les photos) */
.ph { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; aspect-ratio: 4/5; background:
  repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 4px),
  repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px), var(--sw, #e9e4da); }
.ph-tag { background: #fbfaf6; color: var(--green); padding: 10px 14px 8px; font-weight: 900; font-stretch: 62%; font-size: 1.7rem; line-height: .9; text-transform: uppercase; text-align: center; outline: 1px dashed rgba(44,106,71,.45); outline-offset: -5px; }
.ph-tag svg { display: block; height: 1.5rem; width: auto; margin: 0 auto; }
.ph-tag small { display: block; font-family: ui-monospace, Menlo, monospace; font-size: .55rem; font-weight: 400; letter-spacing: .04em; text-transform: none; margin-top: 4px; }

/* about */
.about { background: var(--cream); padding: 88px 0; }
.about-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.values { list-style: none; padding: 0; margin: 0; }
.values li { border-top: 1px solid rgba(0,0,0,.12); padding: 18px 0; display: grid; gap: 4px; }
.values b { text-transform: uppercase; font-stretch: 75%; font-size: 1.1rem; letter-spacing: .01em; }
.values span { color: var(--muted); }

/* page À propos */
.about-page { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.about-page.no-photo { grid-template-columns: minmax(0, 760px); }
.about-photo { margin: 0; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text .lead p { margin-bottom: 1em; }
.about-text .btn { margin-top: .5rem; }

/* product page */
.crumbs { padding-top: 24px; font-size: .9rem; }
.crumbs a { text-decoration: none; color: var(--muted); }
.product { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; padding-top: 20px; padding-bottom: 96px; align-items: start; }
.gallery { position: sticky; top: 84px; display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.g-main { grid-column: 2; grid-row: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); background: var(--cream); }
.g-main::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4/5; cursor: zoom-in; }
.g-slide > img, .g-slide > .ph { width: 100%; height: 100%; object-fit: cover; }
.g-video { cursor: default; position: relative; background: #161514; }
.vbox { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); aspect-ratio: 9/16; max-width: 100%; }
.vbox iframe, .vbox video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.vbox-instagram { background: #fff; }
.vbox-instagram iframe { background: #fff; }
.g-thumb.is-video { background: #161514; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: inherit; }
.g-thumb.is-video .play { font-size: 1.1rem; line-height: 1; }
.g-thumb.is-video small { font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; }
.g-main { align-self: start; }
/* La colonne de miniatures prend la hauteur de la photo principale et défile si elle est plus longue. */
.g-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; height: 0; min-height: 100%; overflow-y: auto; scrollbar-width: thin; }
.g-thumbs > .g-thumb { flex-shrink: 0; }
.g-thumb { padding: 0; border: 1px solid transparent; border-radius: 3px; background: none; cursor: pointer; aspect-ratio: 4/5; overflow: hidden; opacity: .6; transition: opacity .15s; }
.g-thumb.on, .g-thumb:hover { opacity: 1; border-color: var(--ink); }
.g-thumb > img, .g-thumb > .ph { width: 100%; height: 100%; object-fit: cover; }
.g-thumb .ph-tag { padding: 3px 4px; } .g-thumb .ph-tag svg { height: .7rem; } .g-thumb .ph-tag svg { display: block; height: 1.5rem; width: auto; margin: 0 auto; }
.ph-tag small { display: none; }
.gallery[data-count="1"] { grid-template-columns: 1fr; } .gallery[data-count="1"] .g-main { grid-column: 1; }
.p-info h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: .2em; }
.p-price { font-size: 1.4rem; font-weight: 600; margin: 18px 0 28px; }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs button { background: none; border: 0; padding: 0 0 10px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-color: var(--ink); }
.tab-panel { min-height: 120px; }
.details { padding-left: 1.1em; color: #3b3935; }
.details li { margin-bottom: 4px; }
.deliv { display: grid; gap: 18px; }
.deliv h4 { margin-bottom: 4px; }
.deliv p { margin: 0; color: #3b3935; }
.soldout-note { margin-top: 32px; padding: 16px; background: var(--cream); text-align: center; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* forms */
.order { margin-top: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 26px; display: grid; gap: 14px; background: #fff; }
.order h3 { margin: 0 0 4px; }
label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; }
input, select, textarea { font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #d6d1c8; border-radius: 6px; padding: 11px 12px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
input[type=color] { padding: 4px; height: 46px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
legend { font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.radio { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: .95rem; cursor: pointer; }
.radio input { width: auto; accent-color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row2 > :only-child { grid-column: 1 / -1; }
.row4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.err { background: #fdeceb; color: #8c1d18; padding: 10px 14px; border-radius: 6px; margin: 0; }
.err-t { color: #b3261e; }
.order .addr[hidden] { display: none; }

/* thanks */
.thanks, .page { padding-top: 64px; padding-bottom: 96px; }
.paybox { border: 1.5px solid var(--ink); border-radius: 8px; padding: 26px; margin: 32px 0; }
.paybox h3 { margin-bottom: 16px; }
.paybox dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0 0 16px; }
.paybox dt { color: var(--muted); }
.paybox dd { margin: 0; overflow-wrap: anywhere; }
.page .deliv { margin: 32px 0; gap: 28px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(255,255,255,.97); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: min(1100px, 100%); max-height: 100%; }
.lb-img img, .lb-img .ph { max-height: calc(100vh - 48px); width: auto; margin: auto; }
.lb-img .ph { height: calc(100vh - 48px); }
.lb-close { position: absolute; top: 12px; right: 18px; font-size: 2.4rem; background: none; border: 0; cursor: pointer; line-height: 1; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.foot .logo svg { height: 26px; }
.foot p { margin-top: 6px; font-size: .9rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: .92rem; }

/* admin */
.admin-tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; background: var(--ink); color: #fff; padding: 2px 7px; border-radius: 99px; }
.admin-main { padding-top: 32px; padding-bottom: 80px; }
.admin h1 { font-size: 2.2rem; }
.inline { display: inline; }
.flash { background: #e8f2ec; color: #1d4a30; padding: 12px 16px; border-radius: 6px; }
.login { padding-top: 12vh; display: grid; gap: 20px; justify-items: center; max-width: 420px; }
.login .logo svg { height: 56px; } .login form { width: 100%; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.filters a { text-decoration: none; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: .88rem; }
.filters a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters small { opacity: .7; margin-left: 2px; }
.o-card { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; margin-bottom: 14px; display: grid; gap: 10px; }
.o-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.o-body { display: grid; gap: 4px; font-size: .95rem; }
.o-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.o-actions:empty { display: none; }
.st { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 99px; margin-left: 6px; }
.st-pending { background: #fff1d6; color: #7a4d00; } .st-paid { background: #dff1e5; color: #1d5a33; }
.st-done { background: #eceae6; color: #555; } .st-cancel { background: #f7e1df; color: #8c1d18; }
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--ink); }
.tbl td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr.inactive td { opacity: .55; }
.thumbcell { width: 64px; } .thumbcell img, .sw { width: 48px; height: 60px; object-fit: cover; border-radius: 3px; display: block; }
.nowrap { white-space: nowrap; } .nowrap .linkbtn { text-decoration: none; font-size: 1.1rem; padding: 0 6px; }
.panel { border: 1px solid var(--line); border-radius: 8px; padding: 22px; margin-bottom: 24px; display: grid; gap: 14px; }
.panel h3 { margin: 6px 0 0; font-size: 1rem; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ph-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.ph-item { position: relative; width: 140px; }
.ph-item img { width: 140px; height: 175px; object-fit: cover; border-radius: 4px; }
.ph-item .badge { top: 6px; left: 6px; font-size: .62rem; }
.ph-actions { display: flex; gap: 10px; font-size: .82rem; margin-top: 6px; }
.upload { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.upload input { width: auto; flex: 1; min-width: 200px; }
.created { border-color: var(--green); background: #f3f8f5; }
.creds { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.creds dt { color: var(--muted); } .creds dd { margin: 0; overflow-wrap: anywhere; }
.hero-admin { grid-template-columns: 160px 1fr; align-items: start; gap: 22px; }
.img-empty { width: 160px; aspect-ratio: 4/5; border: 1px dashed #cfc9bf; border-radius: 4px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: .8rem; color: var(--muted); padding: 10px; }
.hero-admin img { width: 160px; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
@media (max-width: 600px) { .hero-admin { grid-template-columns: 1fr; } }
.tx-group { gap: 0; padding: 0; }
.tx-group summary { display: flex; align-items: baseline; gap: 12px; padding: 18px 22px; cursor: pointer; list-style: none; }
.tx-group summary::-webkit-details-marker { display: none; }
.tx-group summary::before { content: '+'; font-weight: 700; width: 1em; }
.tx-group[open] summary::before { content: '−'; }
.tx-group summary h3 { margin: 0; }
.tx-row { padding: 14px 22px; border-top: 1px solid var(--line); }
.tx-label { font-size: .85rem; font-weight: 600; margin: 0 0 8px; }
.tx { font-weight: 400; }
.tx-lang { font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.tx.changed .tx-lang { color: var(--green); }
.tx.changed input, .tx.changed textarea { border-color: var(--green); }
.sticky-save { position: sticky; bottom: 0; background: rgba(255,255,255,.95); padding: 14px 0; border-top: 1px solid var(--line); z-index: 5; }
.danger-zone { margin-top: 12px; font-size: .9rem; }

/* page Travaillons ensemble */
.contact-box { border: 1.5px solid var(--ink); border-radius: 8px; padding: 22px 24px; margin-top: 8px; }
.contact-box h3 { margin-bottom: 12px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.contact-list a { font-weight: 600; overflow-wrap: anywhere; }

/* références clients */
.refs { padding-top: 8px; }
/* Un client par ligne : photo à gauche, titre et texte à droite. */
.ref-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.ref-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--line); }
.ref-card:first-child { padding-top: 8px; }
.ref-card:last-child { border-bottom: 0; }
.ref-card > .rc-body:only-child { grid-column: 1 / -1; max-width: 760px; }
.rc-media { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.rc-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rc-track::-webkit-scrollbar { display: none; }
.rc-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.rc-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding-bottom: 3px; opacity: 0; transition: opacity .2s; }
.rc-nav.prev { left: 10px; } .rc-nav.next { right: 10px; }
.rc-media:hover .rc-nav, .rc-nav:focus-visible { opacity: 1; }
.rc-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.rc-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); }
.rc-dots span.on { background: #fff; }
.rc-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 12px; }
.rc-body p { color: #3b3935; font-size: 1.02rem; line-height: 1.65; margin-bottom: 14px; max-width: 36em; }
.rc-link { font-size: .9rem; font-weight: 600; }
@media (hover: none) { .rc-nav { display: none; } }

/* responsive */
/* Menu mobile : les liens passent dans un panneau déroulant ouvert par le bouton « Menu ». */
@media (max-width: 860px) {
  body:not(.admin) .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 9px; background: none; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; }
  .menu-btn span:not(.sr) { display: block; height: 1.5px; background: var(--ink); transition: transform .2s; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
  body:not(.admin) .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; box-shadow: 0 12px 24px -16px rgba(0,0,0,.25); }
  body:not(.admin) .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  body:not(.admin) .nav-links a:last-child { border-bottom: 0; }
  .menu-open .nav-links { display: flex !important; }
}
@media (max-width: 1000px) {
  .admin .nav { flex-wrap: wrap; justify-content: flex-end; gap: 6px 16px; }
  .admin .bar { height: auto; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
}
@media (max-width: 900px) {
  .hero, .about-in, .product, .about-page { grid-template-columns: 1fr; gap: 36px; }
  .about-page { padding-top: 32px; }
  .hero { padding-top: 40px; padding-bottom: 48px; }
  .hero-img { aspect-ratio: 4/3; order: -1; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .ref-card { gap: 28px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .g-main { grid-column: 1; }
  .g-video { cursor: default; position: relative; background: #161514; }
.vbox { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); aspect-ratio: 9/16; max-width: 100%; }
.vbox iframe, .vbox video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.vbox-instagram { background: #fff; }
.vbox-instagram iframe { background: #fff; }
.g-thumb.is-video { background: #161514; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: inherit; }
.g-thumb.is-video .play { font-size: 1.1rem; line-height: 1; }
.g-thumb.is-video small { font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; }
  .g-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; height: auto; min-height: 0; }
  .g-thumb { flex: 0 0 60px; }
  .row4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav { gap: 12px; }
  .logo svg { height: 26px; }
  .row2 { grid-template-columns: 1fr; }
  .ref-card { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .rc-body h3 { font-size: 1.3rem; }
  .br { display: none; }
  .order { padding: 18px; }
  .card-meta h3 { font-size: 1rem; }
  .foot { flex-direction: column; }
  .admin .nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px 12px; }
  .admin .bar { height: auto; padding-top: 10px; padding-bottom: 10px; }
}
.photo-drop input[type=file] { border: 1.5px dashed #cfc9bf; background: var(--cream); padding: 18px 14px; cursor: pointer; }

/* traduction automatique (admin) */
.tr-note { background: #eef5f0; border: 1px solid #cfe3d6; color: #1d4a30; border-radius: 6px; padding: 10px 14px; font-size: .88rem; margin: 0 0 4px; }
.tr-note.off { background: var(--cream); border-color: var(--line); color: var(--muted); }
.tr-state { display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 1px 8px; margin-left: 6px; }
.tr-state.auto { color: var(--green); border-color: #cfe3d6; background: #eef5f0; }
.tr-btn { background: none; border: 0; padding: 0; margin-left: 8px; font: inherit; font-size: .78rem; font-weight: 600; color: var(--green); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tr-btn:disabled { opacity: .6; cursor: default; }
.tx.is-auto .tx-lang { color: var(--green); }
.lbl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 1.4em; }
.lbl .tr-state, .lbl .tr-btn { margin: 0; }
