/* Official Vagabondes fonts, self-hosted; no third-party font requests. */
@font-face { font-family: 'Clash Display'; src: url('../fonts/clash-display.ttf') format('truetype'); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-italic.ttf') format('truetype'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Just Me Again Down Here'; src: url('../fonts/just-me-again-down-here.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
:root{--paper:#fff9e6;--ink:#171336;--muted:#504b65;--line:#d9d1df;--violet:#44359c;--light:#f1ecdf;--accent:#febd00;--radius:3px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:300 16px/1.7 Poppins,Arial,sans-serif}
a{color:inherit;text-underline-offset:4px}
a:hover{color:var(--violet)}
button,input,select,textarea{font:inherit}
button,.button{display:inline-flex;justify-content:center;align-items:center;gap:2rem;background:var(--violet);border:1px solid var(--violet);color:#fff;padding:.85rem 1.4rem;text-decoration:none;cursor:pointer;border-radius:var(--radius);line-height:1.4}
button:hover,.button:hover{background:#171336;color:#fff}
button:disabled{opacity:.5;cursor:not-allowed}
.secondary{background:transparent;color:var(--ink);border-color:var(--line)}
.link-button{background:none;border:0;color:var(--ink);text-decoration:underline;padding:.4rem 0}
.link-button:hover{background:none;color:var(--violet)}
:focus-visible{outline:3px solid #44359c;outline-offset:4px}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:'Clash Display',Arial,sans-serif;font-weight:400;line-height:1.14}
h1{font-size:clamp(2.5rem,5vw,4.4rem);letter-spacing:-.04em;margin-bottom:1.5rem}
h2{font-size:2.1rem;margin-bottom:1rem}
h3{font-size:1.5rem}
main{max-width:1240px;margin:0 auto;padding:3.5rem 40px 5rem;min-height:65vh}
.announcement{background:var(--violet);color:#fff;text-align:center;padding:.5rem;font-size:.72rem;letter-spacing:.16em}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1.8rem 40px;border-bottom:1px solid var(--line);max-width:1600px;margin:auto}
.brand{font-family:'Clash Display',Arial,sans-serif;font-size:1.8rem;letter-spacing:.14em;text-decoration:none;text-align:center;line-height:1.2}
.brand span{display:block;font-family:Poppins,Arial,sans-serif;font-size:.6rem;letter-spacing:.5em;margin-top:.55rem}
.site-header nav,footer nav{display:flex;gap:1.8rem;align-items:center;flex-wrap:wrap}
.site-header nav a{text-decoration:none;font-size:.9rem}
.count{display:inline-block;background:var(--light);border-radius:100%;min-width:22px;text-align:center;font-size:.75rem;margin-left:4px}
.eyebrow{font-family:Poppins,Arial,sans-serif;font-size:.7rem;letter-spacing:.17em;color:var(--muted);line-height:1.6;margin-bottom:.8rem}
.lead{font-size:1.1rem;max-width:470px;color:var(--muted);line-height:1.8}
.hero{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center;margin-bottom:5rem}
.hero h1{font-size:clamp(3.6rem,6vw,5.5rem)}
.hero .button{margin-top:1rem}
.hero-visual{height:500px;background:#44359c;overflow:hidden;border-radius:46% 46% 2px 2px;display:grid;place-items:center}
.hero-visual img{width:100%;height:100%;object-fit:cover}
.hero-visual>span{font:400 12rem 'Clash Display',Arial,sans-serif;color:var(--violet)}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:2rem;margin-bottom:1.8rem}
.section-heading h1,.section-heading h2{margin:0}
.filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.5rem 0 2rem}
.filters a{border:1px solid var(--line);padding:.45rem .85rem;border-radius:2rem;text-decoration:none;font-size:.8rem}
.filters .selected,.filters a:hover{background:var(--violet);color:#fff;border-color:var(--violet)}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}
.product-card>a{text-decoration:none}
.card-image{aspect-ratio:4/5;background:var(--light);overflow:hidden;display:grid;place-items:center}
.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.product-card a:hover img{transform:scale(1.025)}
.card-caption{display:flex;justify-content:space-between;gap:1rem;padding-top:1rem;align-items:center}
.card-caption h3{margin:0}
.card-caption .eyebrow{margin:0 0 .2rem}
.card-caption>span{white-space:nowrap;font-size:.95rem}
.product-card>.muted{font-size:.8rem;margin-top:.65rem}
.placeholder{font:400 1.8rem 'Clash Display',Arial,sans-serif;color:var(--muted)}
.muted,.help{color:var(--muted)}
.help{font-size:.84rem;line-height:1.6}
.breadcrumb{font-size:.82rem;margin-bottom:2rem}
.product-detail{display:grid;grid-template-columns:1.2fr 1fr;gap:4rem}
.gallery img{width:100%;height:auto;margin-bottom:1rem}
.gallery img:first-child{aspect-ratio:1/1.1;object-fit:cover;background:var(--light)}
.product-info h1{font-size:3.2rem}
.price{font-size:1.6rem}
.field{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1.2rem;font-size:.9rem;min-width:0}
input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;border:1px solid #82758e;background:#fff;padding:.7rem .8rem;color:var(--ink);border-radius:var(--radius);min-height:46px}
input[type=checkbox],input[type=radio]{width:18px;height:18px;accent-color:var(--violet);flex-shrink:0}
.check{display:flex;align-items:center;gap:.55rem;margin:.7rem 0;font-size:.93rem}
.quantity{max-width:120px}
.wide{width:100%;margin-bottom:1rem}
.purchase-form{padding-top:1rem}
.product-info details{padding:1rem 0;border-bottom:1px solid var(--line)}
summary{cursor:pointer}
.product-info details p{margin-top:1rem}
.panel{padding:1.7rem;background:#fff;border:1px solid var(--line);margin-bottom:1.5rem;border-radius:var(--radius)}
.empty{text-align:center;padding:4rem 2rem;background:var(--light);margin:2rem 0}
.narrow{max-width:600px;margin:2rem auto}
.cart-layout{display:grid;grid-template-columns:1.7fr 1fr;gap:3rem;align-items:start}
.cart-row{padding:1.8rem 0;border-bottom:1px solid var(--line)}
.cart-row h2{font-size:1.7rem}
.cart-row p{font-size:.92rem;margin-bottom:.45rem}
.row-actions,.row-actions form{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
.row-actions{margin-top:1rem}
.quantity-input{max-width:85px;margin-right:.6rem}
.split{display:flex;justify-content:space-between;gap:1rem}
.notice,.error{padding:1rem 1.3rem;border-left:3px solid var(--violet);background:#eeeaf9;color:#171336}
.error{background:#fff9e6;border-color:var(--accent);color:#171336}
.admin-nav{display:flex;gap:1.5rem;flex-wrap:wrap;align-items:center;padding:.8rem 40px;background:var(--light);border-bottom:1px solid var(--line)}
.admin-nav a{font-size:.88rem}
.admin-nav form{margin-left:auto}
.admin-main h1{font-size:2.8rem}
.admin-main h2{font-size:1.8rem}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.4rem}
fieldset{border:1px solid var(--line);padding:1.6rem;margin:1.7rem 0;background:#fff}
legend{padding:0 .6rem;font:400 1.4rem 'Clash Display',Arial,sans-serif}
.repeat-row{background:var(--paper);border:1px solid var(--line);padding:1rem;margin:1rem 0}
.editor{margin-bottom:3rem}
.table-wrap{overflow-x:auto}
table{border-collapse:collapse;width:100%;background:#fff;font-size:.9rem}
th,td{padding:1rem;border-bottom:1px solid var(--line);text-align:left}
th{background:var(--light);font-weight:600}
.dashboard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.3rem}
.metric{display:flex;flex-direction:column;text-decoration:none}
.metric strong{font-size:3rem;font-family:'Clash Display',Arial,sans-serif;font-weight:400}
.image-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:2rem}
.image-editor img{width:100%;height:180px;object-fit:cover;margin-bottom:.8rem}
footer{background:#171336;display:flex;justify-content:space-between;align-items:start;gap:2rem;padding:3rem 40px}
footer nav{flex-direction:column;align-items:start;gap:.6rem;font-size:.86rem}
.footer-brand{font:400 2rem 'Clash Display',Arial,sans-serif;text-decoration:none}
footer p{font-size:.85rem;margin-top:.6rem}
.skip{position:absolute;top:-100px;padding:1rem;background:#fff;z-index:10}
.skip:focus{top:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
code{font-size:.88em;overflow-wrap:anywhere}
@media(max-width:900px){.hero{gap:2rem}
.hero-visual{height:400px}
.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.product-detail{gap:2rem}
.cart-layout{gap:1.5rem}
.site-header{padding:1.5rem 24px}
.site-header nav{gap:1rem}
.image-editor{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){main{padding:2rem 20px 3rem}
.site-header{flex-direction:column;padding:1.4rem 16px;gap:1.2rem}
.site-header nav{gap:1.2rem;justify-content:center}
.site-header nav a{font-size:.8rem}
.hero{grid-template-columns:1fr;gap:2rem;margin-bottom:3rem}
.hero h1{font-size:3.6rem}
.hero-visual{height:350px}
.product-grid{gap:1.4rem 1rem}
.card-caption{display:block}
.card-caption h3{font-size:1.25rem}
.card-caption>span{display:block;margin-top:.4rem}
.product-detail,.cart-layout,.form-grid{grid-template-columns:1fr}
.product-info h1{font-size:2.6rem}
.dashboard-grid{grid-template-columns:1fr}
.section-heading{align-items:start;flex-direction:column;gap:1rem}
.admin-nav{padding:1rem 20px;gap:1rem}
.admin-nav form{margin-left:0}
.panel,fieldset{padding:1.1rem}
.image-editor{grid-template-columns:1fr}
.row-actions form{align-items:flex-end}
.row-actions form label{flex-basis:100%}
footer{padding:2.5rem 20px;flex-direction:column}
.gallery img{max-height:550px;object-fit:cover}
.filters a{font-size:.75rem}
.empty{padding:3rem 1rem}
.announcement{font-size:.62rem}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
.card-image img{transition:none}
}


/* Brand charter: violet/beige first, night for copy, yellow for small accents.
   Readable UI weights take precedence over the extra-light editorial reference. */
:root { --radius: 6px; }
strong, b { font-weight: 600; }
button, .button, input, select, textarea, .check { font-weight: 400; }
h1, h2, h3 { letter-spacing: -.025em; }
h1, .hero h1 { font-weight: 400; }
a { text-decoration-thickness: 1px; }
.announcement { color: var(--paper); font-weight: 400; letter-spacing: .08em; padding: .65rem 1rem; }
.site-header { padding: 38px 40px; }
.brand { display: inline-flex; flex-shrink: 0; line-height: 0; padding: 0 42px 0 0; }
.brand img { display: block; width: 224px; height: auto; }
.site-header nav a { font-weight: 400; }
.count { color: var(--ink); background: var(--accent); min-width: 25px; line-height: 25px; }
main { padding-top: 2.5rem; }
.eyebrow { font-weight: 400; letter-spacing: .11em; }
.handwritten { font-family: 'Just Me Again Down Here', cursive; font-size: 2.2rem; font-weight: 400; line-height: 1.25; letter-spacing: .015em; }
.hero { grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--violet); color: var(--paper); overflow: hidden; border-radius: 22px; margin-bottom: 4rem; }
.hero-copy { padding: 3.4rem 3rem; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1.06; margin-bottom: .8rem; }
.hero .eyebrow, .hero .lead { color: var(--paper); }
.hero .eyebrow { font-size: .66rem; }
.hero .handwritten { margin-bottom: 1.3rem; }
.hero .lead { font-size: .96rem; font-weight: 300; }
.hero .button { background: var(--paper); border-color: var(--paper); color: var(--violet); gap: 1rem; margin-top: .5rem; }
.hero .button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hero .button:focus-visible { outline-color: var(--paper); outline-offset: 5px; }
.hero-visual { position: relative; height: 100%; min-height: 470px; border-radius: 0; background: var(--violet) url('../brand/reflets-violets.webp') center/cover no-repeat; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 3rem; gap: 2rem; }
.hero-visual .hero-symbol { width: min(100%, 230px); height: auto; object-fit: contain; }
.hero-visual .hero-caption { color: var(--paper); font: 400 .7rem/1.8 Poppins,Arial,sans-serif; letter-spacing: .06em; text-align: center; background: var(--violet); border-radius: 30px; padding: .6rem 1rem; }
.filters a { font-weight: 400; }
.filters .selected { color: var(--paper); }
.card-image { border-radius: 12px; }
.card-caption>span, .price { font-weight: 500; font-variant-numeric: tabular-nums; }
.product-card>.muted { font-size: .79rem; }
.placeholder { color: var(--violet); }
.field { font-weight: 400; }
.field .help { font-weight: 300; }
.notice { border-color: var(--violet); }
.error { border: 1px solid var(--ink); border-left: 5px solid var(--accent); }
.panel { border-radius: 10px; }
.empty { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.admin-nav { background: #eeeaf9; }
.metric strong { color: var(--violet); }
footer { position: relative; overflow: hidden; padding: 3.5rem 40px; color: var(--paper); gap: 3rem; }
footer::before { content: ''; position: absolute; inset: 0; background: url('../brand/motif-beige.webp') center/700px repeat; opacity: .12; pointer-events: none; }
footer>* { position: relative; }
footer a:hover { color: var(--accent); }
footer .muted { color: var(--paper); font-weight: 300; }
.footer-brand { display: inline-block; line-height: 0; margin: 0 0 2rem; }
.footer-brand img { width: 216px; height: auto; display: block; }
footer .handwritten { font-size: 1.8rem; margin: 0; }
footer nav { padding-top: .4rem; }
footer :focus-visible { outline-color: var(--paper); }
@media (max-width: 900px) {
  .site-header { padding: 32px 24px; }
  .brand { padding-right: 20px; }
  .brand img { width: 190px; }
  .hero-copy { padding: 2.5rem 2rem; }
  .hero-visual { min-height: 430px; padding: 2rem; }
  .hero-visual .hero-symbol { width: 190px; }
}
@media (max-width: 650px) {
  .site-header { padding: 34px 20px 20px; gap: 32px; }
  .brand { padding: 0; }
  .brand img { width: 204px; }
  .site-header nav { gap: .9rem; }
  .site-header nav a { font-size: .76rem; }
  main { padding-top: 1.6rem; }
  .hero { grid-template-columns: 1fr; gap: 0; border-radius: 16px; margin-bottom: 2.7rem; }
  .hero-copy { padding: 2.1rem 1.5rem; }
  .hero h1 { font-size: clamp(2.6rem, 10vw, 3.6rem); }
  .hero .handwritten { font-size: 1.85rem; }
  .hero .lead { font-size: .9rem; }
  .hero .button { font-size: .88rem; }
  .hero-visual { height: 240px; min-height: 240px; padding: 1.8rem; gap: 1rem; }
  .hero-visual .hero-symbol { width: 135px; }
  .hero-visual .hero-caption { font-size: .59rem; }
  .card-caption h3 { font-size: 1.25rem; }
  .product-card>.muted { font-size: .72rem; }
  .product-grid { column-gap: .9rem; }
  footer { padding: 3rem 24px; gap: 2rem; }
  .footer-brand { margin-bottom: 1.8rem; }
}

.relay-list{display:grid;gap:1rem}.relay-choice{display:flex;align-items:flex-start;gap:.8rem;padding:1rem;border:1px solid var(--purple,#44359c);border-radius:.5rem;cursor:pointer}.relay-choice input{width:auto;flex:none;margin-top:.3rem}.relay-choice:has(input:checked){background:#fff9e6;outline:2px solid #44359c}.relay-choice span{overflow-wrap:anywhere}fieldset{min-width:0}

/* Accueil : la photographie reste dégagée, les liens restent lisibles. */
.category-filter{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin:1.4rem 0 2.3rem;padding:1rem 1.2rem;border:1px solid var(--line);border-radius:12px;background:var(--light)}
.category-filter label{font-weight:500;font-size:.9rem}
.category-filter select{width:auto;min-width:190px;max-width:100%;flex:0 1 290px}
.category-filter button{padding:.75rem 1.2rem}
.category-filter>a{font-size:.85rem}
.legal-page{max-width:850px;margin:auto;overflow-wrap:anywhere}
.legal-page h1{font-size:clamp(2.3rem,5vw,3.5rem)}
.legal-page h2{font-size:1.65rem;margin-top:2.5rem}
.legal-summary{display:block;padding:1.2rem;background:var(--light);border-radius:12px}
.legal-summary ol{margin:0;padding-left:1.3rem}
.legal-summary li{margin:.45rem 0;font-size:.88rem}
.terms-check{align-items:flex-start;margin:1.3rem 0}
.terms-check input{margin-top:.35rem}
.terms-receipt{margin:1.5rem 0;padding:1rem;border:1px solid var(--line);border-radius:8px}
.legal-snapshot{font-size:.86rem;overflow-wrap:anywhere}
@media(max-width:650px){.category-filter{gap:.7rem;padding:1rem}.category-filter label{flex-basis:100%}.category-filter select{flex:1;min-width:0}.category-filter>a{flex-basis:100%}}
.site-header{flex-direction:column;align-items:center;gap:1.65rem;padding:30px 24px 22px}
.brand{padding:0}
.brand img{width:300px;max-width:75vw;height:auto}
.site-header nav{justify-content:center;flex-wrap:wrap}
.home-banner{margin-bottom:4rem;border-radius:16px;overflow:hidden;background:var(--light)}
.banner-photo,.banner-preview{display:block;width:100%;height:clamp(320px,39vw,500px);object-fit:cover}
.banner-position-top{object-position:50% 25%}
.banner-position-center{object-position:50% 55%}
.banner-position-bottom{object-position:50% 80%}
.banner-caption{display:flex;justify-content:space-between;align-items:center;gap:2rem;padding:2rem 2.6rem}
.banner-caption .eyebrow{font-size:.68rem;margin-bottom:.6rem}
.banner-caption h1{font-size:2.6rem;line-height:1.08;margin:0;color:var(--violet)}
.banner-caption h1 .handwritten{font-size:2.6rem}
.banner-actions{display:flex;flex-direction:column;align-items:center;gap:.8rem}
.banner-actions .button{gap:1.5rem}
.banner-shop-link{font-size:.86rem}
.banner-preview{height:280px;border-radius:8px;margin:1.5rem 0}
@media(max-width:650px){
 .site-header{gap:1.3rem;padding:26px 16px 20px}
 .brand img{width:250px}
 .home-banner{margin-bottom:2.8rem}
 .banner-photo{height:330px}
 .banner-caption{flex-direction:column;align-items:flex-start;gap:1.5rem;padding:1.5rem}
 .banner-caption h1,.banner-caption h1 .handwritten{font-size:2.3rem}
 .banner-caption .eyebrow{font-size:.6rem}
 .banner-actions{align-items:flex-start;width:100%}
 .banner-actions .button{width:100%;justify-content:space-between}
 .banner-preview{height:220px}
}
