/* Ça va le chalet ? — boutique
   Univers du logo : vert sapin, crème, rouge des volets, jaune soleil, bois. */
@font-face { font-family: 'Bricolage Grotesque'; src: url('/assets/fonts/BricolageGrotesque-Variable.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('/assets/fonts/InterTight-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Permanent Marker'; src: url('/assets/fonts/PermanentMarker-Regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/IBMPlexMono-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --sapin: #1D3B2D;
  --sapin-2: #285240;
  --creme: #F7F1E3;
  --creme-2: #EFE4CB;
  --carte: #FFFBF2;
  --encre: #17261E;
  --muted: #5B5849;
  --line: #DCCFB2;
  --rouge: #C2352B;
  --rouge-2: #A82A21;
  --soleil: #F2B134;
  --bois: #8A5A33;
  --sauge: #E2E8D5;
  --peche: #F6E0C0;
  --rose: #F2DAD2;
  --display: 'Bricolage Grotesque', 'Inter Tight', system-ui, sans-serif;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --marker: 'Permanent Marker', 'Bricolage Grotesque', cursive;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--creme); color: var(--encre); font: 400 17px/1.55 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--soleil); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono, .kicker { font-family: var(--mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: 12.5px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--bois); }
.kicker::before { content: ''; width: 18px; height: 2px; background: currentColor; }
.muted { color: var(--muted); }
.marker { font-family: var(--marker); font-weight: 400; letter-spacing: .01em; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1; }

/* ---- Bandeau, en-tête ---- */
.announce { background: var(--sapin); color: var(--creme); text-align: center; padding: 9px var(--gut); font-size: 14px; font-weight: 500; }
.announce:empty { display: none; }
.test-banner { background: var(--soleil); color: var(--encre); text-align: center; padding: 8px var(--gut); font-size: 14px; font-weight: 600; }
header.site { background: rgba(247, 241, 227, .94); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; color: var(--sapin); }
nav.main { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav.main a { text-decoration: none; padding: 10px 14px; font-weight: 600; border-radius: 999px; }
nav.main a:hover { background: var(--creme-2); }
nav.main .cart-link { background: var(--sapin); color: var(--creme); display: inline-flex; gap: 10px; align-items: center; padding: 10px 18px; }
nav.main .cart-link:hover { background: var(--sapin-2); }
.cart-count { background: var(--soleil); color: var(--encre); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12.5px; font-weight: 800; padding: 0 6px; }

/* ---- Boutons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border: 2px solid var(--rouge); background: var(--rouge); color: #fff; font-weight: 700; font-size: 16.5px; text-decoration: none; cursor: pointer; border-radius: 999px; transition: transform .15s, background .15s, box-shadow .15s; box-shadow: 0 4px 0 var(--rouge-2); }
.btn:hover { background: var(--rouge-2); transform: translateY(-1px); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--rouge-2); }
.btn.sapin { background: var(--sapin); border-color: var(--sapin); box-shadow: 0 4px 0 #0f2219; }
.btn.sapin:hover { background: var(--sapin-2); }
.btn.ghost { background: transparent; color: var(--encre); border-color: var(--encre); box-shadow: none; }
.btn.ghost:hover { background: var(--encre); color: var(--creme); }
.btn.ghost-light { background: transparent; color: var(--creme); border-color: var(--creme); box-shadow: none; }
.btn.ghost-light:hover { background: var(--creme); color: var(--sapin); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.block { width: 100%; }

/* ---- Accueil : hero ---- */
.hero { background: var(--sapin); color: var(--creme); position: relative; overflow: hidden; padding: clamp(48px, 8vw, 104px) 0 clamp(120px, 14vw, 180px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; z-index: 2; }
.hero .kicker { color: var(--soleil); }
.hero h1 { font-size: clamp(56px, 9.5vw, 132px); line-height: .88; margin: 18px 0 22px; letter-spacing: -.045em; }
.hero h1 .q { color: var(--soleil); display: inline-block; transform: rotate(8deg); margin-left: .05em; }
.hero p.lead { font-size: clamp(18px, 2vw, 22px); max-width: 34ch; margin: 0 0 32px; color: #E9E3D2; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .proofs { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-size: 14.5px; color: #D8D2C0; }
.hero .proofs span { display: inline-flex; gap: 8px; align-items: center; }
.hero .proofs svg { width: 18px; height: 18px; color: var(--soleil); }
.sun { position: absolute; width: clamp(180px, 22vw, 300px); aspect-ratio: 1; border-radius: 50%; background: var(--soleil); right: clamp(-40px, 4vw, 80px); top: clamp(24px, 6vw, 70px); z-index: 1; opacity: .95; }
.skyline { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(90px, 12vw, 160px); z-index: 1; display: block; }
.hero-card { background: var(--carte); color: var(--encre); border-radius: 28px; aspect-ratio: 1; display: grid; place-items: center; position: relative; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); transform: rotate(1.5deg); }
.hero-card .tee-slot { width: 84%; }
.hero-card .badge-sticker { position: absolute; width: 30%; height: auto; left: -9%; top: -9%; transform: rotate(-12deg); filter: drop-shadow(0 10px 18px rgba(0,0,0,.3)); }
.hero-card .note { position: absolute; right: 5%; top: 7%; color: var(--rouge); font-size: clamp(18px, 2vw, 24px); transform: rotate(6deg); margin: 0; }
.hero-card .caption { position: absolute; left: 22px; bottom: 18px; color: var(--muted); margin: 0; }

/* ---- Bande défilante ---- */
.marquee { background: var(--soleil); color: var(--sapin); overflow: hidden; border-block: 3px solid var(--sapin); }
.marquee .track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.02em; padding: 14px 0; white-space: nowrap; display: inline-flex; align-items: center; }
.marquee span::after { content: '✦'; color: var(--rouge); margin: 0 28px; font-size: .7em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---- Sections ---- */
section.block { padding: clamp(56px, 8vw, 110px) 0; }
section.block.alt { background: var(--creme-2); }
section.block.dark { background: var(--sapin); color: var(--creme); }
section.block.dark .kicker { color: var(--soleil); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(38px, 5.5vw, 68px); margin: 12px 0 0; max-width: 16ch; }
.section-head p { max-width: 38ch; margin: 0; color: var(--muted); font-size: 17.5px; }
section.dark .section-head p { color: #D8D2C0; }

/* ---- Filtres et grille produits ---- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: -12px 0 28px; }
.filters button { border: 2px solid var(--sapin); background: transparent; color: var(--sapin); border-radius: 999px; padding: 8px 18px; font-weight: 700; cursor: pointer; min-height: 44px; }
.filters button[aria-pressed="true"] { background: var(--sapin); color: var(--creme); }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 32px 22px; }
.card { text-decoration: none; display: block; }
.card .visual { border-radius: var(--radius); aspect-ratio: 4/5; display: grid; place-items: center; overflow: hidden; position: relative; transition: transform .2s; }
.card:hover .visual { transform: translateY(-4px) rotate(-.6deg); }
.card .visual .tee-slot { width: 82%; transition: transform .25s; }
.card:hover .visual .tee-slot { transform: scale(1.04); }
.card .visual .tee-photo { position: absolute; inset: 0; }
.card .tag { position: absolute; top: 14px; left: 14px; background: var(--rouge); color: #fff; padding: 5px 12px; border-radius: 999px; font-family: var(--marker); font-size: 15px; transform: rotate(-4deg); z-index: 2; }
.card .tag.tag-sun { background: var(--soleil); color: var(--encre); }
.card .meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; align-items: baseline; }
.card h3 { margin: 0; font-size: 24px; }
.card .price { font-weight: 800; white-space: nowrap; font-size: 17px; }
.card .sub { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.card .type { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--bois); }
.swatches-mini { display: flex; gap: 6px; margin-top: 10px; }
.swatches-mini span { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.18); }

/* ---- Configurateur « Ma commune » sur l'accueil ---- */
.commune-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.commune-feature h2 { font-size: clamp(42px, 6vw, 78px); margin: 12px 0 18px; }
.commune-feature h2 em { font-style: normal; color: var(--rouge); }
.commune-feature p { font-size: 18.5px; max-width: 40ch; margin: 0 0 26px; }
.commune-feature .stage { background: var(--carte); border-radius: 28px; aspect-ratio: 1; display: grid; place-items: center; position: relative; transform: rotate(-1.5deg); box-shadow: 0 24px 50px -24px rgba(29,59,45,.45); }
.commune-feature .stage .tee-slot { width: 82%; }
.commune-feature .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.commune-feature .row .combo { flex: 1 1 260px; }

/* ---- Étapes ---- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { background: var(--sapin-2); border-radius: var(--radius); padding: 30px 28px 26px; }
.step .num { width: 56px; height: 56px; border-radius: 50%; background: var(--soleil); color: var(--sapin); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 26px; }
.step h3 { font-size: 26px; margin: 20px 0 8px; }
.step p { margin: 0; color: #D8D2C0; }

/* ---- Valeurs ---- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.value { background: var(--carte); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.value .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; color: var(--sapin); }
.value .ico svg { width: 28px; height: 28px; }
.value h3 { font-size: 22px; margin: 0 0 8px; }
.value p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---- FAQ ---- */
.faq { max-width: 860px; }
.faq details { background: var(--carte); border-radius: 14px; padding: 4px 22px; margin-bottom: 10px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; }
.faq summary::after { content: '+'; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: .8; color: var(--rouge); }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---- Aperçus d'articles ---- */
.tee { position: relative; width: 100%; aspect-ratio: 408 / 452; }
.tee svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tee-body { stroke: rgba(0,0,0,.16); stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 10px 14px rgba(0,0,0,.12)); }
.tee-collar { fill: none; stroke: rgba(0,0,0,.18); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tee-print { position: absolute; height: auto; }
.tee-photo { width: 100%; height: 100%; object-fit: cover; }
.swatch-closeup { width: 100%; height: 100%; display: grid; place-items: center; }
.swatch-closeup canvas { width: 86%; height: auto; }

/* ---- Fiche produit ---- */
.product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 68px); padding: clamp(24px, 4vw, 56px) 0 80px; }
.gallery { position: sticky; top: 96px; align-self: start; }
.gallery .stage { background: var(--creme-2); border-radius: 28px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; position: relative; }
.gallery .stage > div { width: 84%; }
.gallery .stage > div.full { width: 100%; height: 100%; position: absolute; inset: 0; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 88px; border-radius: 14px; border: 2px solid transparent; background: var(--creme-2); padding: 6px 6px 4px; cursor: pointer; display: grid; gap: 2px; justify-items: center; }
.thumbs button[aria-pressed="true"] { border-color: var(--sapin); }
.thumbs .th { width: 100%; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 9px; position: relative; }
.thumbs .th > div { width: 92%; }
.thumbs .th .tee-photo { position: absolute; inset: 0; }
.thumbs .lbl { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.product .crumbs { font-size: 14px; color: var(--muted); }
.product .crumbs a { text-decoration: none; font-weight: 600; color: var(--sapin); }
.product h1 { font-size: clamp(46px, 6.5vw, 82px); margin: 14px 0 8px; }
.chip { display: inline-block; background: var(--sauge); color: var(--sapin); border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: 13.5px; }
.product .tagline { font-size: 20px; margin: 10px 0 18px; color: var(--muted); }
.product .price { font-family: var(--display); font-size: 34px; font-weight: 800; margin: 0 0 26px; }
.product .price s { color: var(--muted); font-weight: 400; font-size: 20px; margin-left: 10px; }
.field { margin: 0 0 26px; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 12px; }
.l { font-weight: 700; font-size: 16px; }
label.l { display: block; margin-bottom: 8px; }
label.l .opt { font-weight: 400; color: var(--muted); }
.perso-box { background: var(--carte); border: 2px dashed var(--bois); border-radius: var(--radius); padding: 22px 20px 18px; position: relative; margin-top: 10px; }
.perso-box .marker-note { position: absolute; top: -15px; right: 18px; background: var(--soleil); color: var(--encre); padding: 2px 12px; border-radius: 999px; font-family: var(--marker); transform: rotate(3deg); font-size: 15px; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.2); cursor: pointer; padding: 0; position: relative; }
.swatch[aria-pressed="true"]::after { content: ''; position: absolute; inset: -6px; border: 2.5px solid var(--sapin); border-radius: 50%; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-width: 58px; min-height: 50px; border: 2px solid var(--sapin); background: var(--carte); cursor: pointer; font-weight: 800; border-radius: 12px; color: var(--sapin); padding: 0 12px; }
.size[aria-pressed="true"] { background: var(--sapin); color: var(--creme); }
.size:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.qty { display: inline-flex; border: 2px solid var(--sapin); border-radius: 999px; background: var(--carte); }
.qty button { width: 46px; height: 48px; border: 0; background: transparent; cursor: pointer; font-size: 22px; font-weight: 700; color: var(--sapin); border-radius: 999px; }
.qty input { width: 44px; text-align: center; border: 0; background: transparent; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 220px; }
.reassure { display: grid; gap: 10px; margin: 24px 0 26px; padding: 18px 20px; list-style: none; background: var(--sauge); border-radius: var(--radius); font-size: 15.5px; }
.reassure li { display: flex; gap: 10px; align-items: center; }
.reassure svg { width: 20px; height: 20px; color: var(--sapin); flex: none; }
.accordion details { border-top: 1px solid var(--line); padding: 14px 0; }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; font-weight: 700; font-size: 17px; }
.accordion details p, .accordion details ul { color: var(--muted); font-size: 15.5px; margin-bottom: 4px; }
.also { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.also a { text-decoration: none; border: 2px solid var(--sapin); color: var(--sapin); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14.5px; }
.also a:hover { background: var(--sapin); color: var(--creme); }

/* ---- Autocomplétion commune ---- */
.combo { position: relative; }
.input { width: 100%; min-height: 52px; border: 2px solid var(--sapin); background: #fff; padding: 12px 16px; border-radius: 14px; }
.input:focus { outline: none; box-shadow: 0 0 0 4px rgba(242, 177, 52, .55); }
.combo ul { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 10; margin: 0; padding: 6px; list-style: none; background: #fff; border: 2px solid var(--sapin); border-radius: 14px; max-height: 300px; overflow: auto; box-shadow: 0 18px 30px -18px rgba(0,0,0,.4); }
.combo li { padding: 11px 12px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; border-radius: 10px; }
.combo li[aria-selected="true"], .combo li:hover { background: var(--creme-2); }
.combo li .mono { color: var(--muted); }
.hint { font-size: 14px; color: var(--muted); margin-top: 8px; }
.error-text { color: var(--rouge); font-size: 14.5px; margin-top: 8px; font-weight: 600; }

/* ---- Panier et commande ---- */
.page-title { font-size: clamp(44px, 6vw, 80px); margin: 44px 0 26px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, .8fr); gap: 40px; padding-bottom: 90px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 18px; padding: 18px; background: var(--carte); border-radius: var(--radius); margin-bottom: 12px; align-items: center; border: 1px solid var(--line); }
.cart-line .thumb { background: var(--creme-2); border-radius: 14px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; position: relative; }
.cart-line .thumb .tee-slot { width: 88%; }
.cart-line .thumb .tee-photo { position: absolute; inset: 0; }
.cart-line h3 { margin: 0 0 4px; font-size: 21px; }
.cart-line .opts { color: var(--muted); font-size: 15px; }
.cart-line .line-actions { display: flex; gap: 14px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.line-total { font-weight: 800; }
.link-btn { background: none; border: 0; padding: 4px 0; text-decoration: underline; cursor: pointer; color: var(--muted); font-size: 14px; }
.summary { background: var(--carte); border: 1px solid var(--line); border-radius: 22px; padding: 26px; position: sticky; top: 96px; }
.summary h2 { margin: 0 0 16px; font-size: 26px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.summary .total { border-top: 2px solid var(--sapin); margin-top: 10px; padding-top: 14px; font-weight: 800; font-size: 21px; }
.promo { display: flex; gap: 8px; margin: 16px 0; }
.promo .input { min-height: 48px; text-transform: uppercase; }
.promo .btn { min-height: 48px; padding: 8px 18px; }
.empty { padding-top: 48px; padding-bottom: 100px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
fieldset { border: 1px solid var(--line); padding: 26px; margin: 0 0 18px; background: var(--carte); border-radius: 22px; }
legend { font-family: var(--display); font-size: 26px; font-weight: 800; padding: 0; float: left; width: 100%; margin-bottom: 16px; letter-spacing: -.02em; }
legend + * { clear: both; }
.input[aria-invalid="true"] { border-color: var(--rouge); }
.notice { border: 2px solid var(--sapin); padding: 14px 16px; background: #fff; font-size: 15px; border-radius: 14px; }
.notice.warn { background: #FCEBC3; border-color: var(--soleil); }
.notice.error { background: #FBE1DC; border-color: var(--rouge); }

/* ---- Pages de texte ---- */
.prose { max-width: 760px; padding: 0 0 90px; }
.prose h2 { font-size: 30px; margin: 40px 0 12px; }
.prose p, .prose li { color: #2E3A33; }
.placeholder { background: #FCEBC3; padding: 0 4px; border-radius: 4px; }

/* ---- Pied de page ---- */
footer.site { background: var(--sapin); color: var(--creme); position: relative; padding: 30px 0 34px; margin-top: clamp(80px, 10vw, 130px); }
footer.site .skyline { top: 1px; bottom: auto; transform: translateY(-100%); height: clamp(60px, 8vw, 110px); }
footer.site .wrap { display: grid; grid-template-columns: 1.5fr repeat(2, 1fr); gap: 36px; position: relative; z-index: 2; }
footer.site a { color: var(--creme); text-decoration: none; display: block; padding: 5px 0; }
footer.site a:hover { color: var(--soleil); }
footer.site .foot-brand { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
footer.site .foot-brand img { width: 84px; height: 84px; flex: none; }
footer.site .big { font-family: var(--display); font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 0; }
footer.site .mono { color: var(--soleil); margin: 0 0 10px; }
footer.site .legal { grid-column: 1 / -1; border-top: 1px solid rgba(247, 241, 227, .2); padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: #C9C3B0; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--sapin); color: var(--creme); padding: 14px 22px; opacity: 0; transition: .2s; z-index: 60; display: flex; gap: 16px; align-items: center; max-width: calc(100% - 32px); border-radius: 999px; box-shadow: 0 16px 30px -12px rgba(0,0,0,.45); }
.toast.show { opacity: 1; transform: translateX(-50%); }
.toast a { color: var(--soleil); font-weight: 800; }
.skeleton { background: linear-gradient(90deg, #EADFC6, #F4ECDA, #EADFC6); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }

@media (max-width: 900px) {
  .hero .wrap, .product, .cart-layout, .commune-feature { grid-template-columns: 1fr; }
  .gallery, .summary { position: static; }
  .steps { grid-template-columns: 1fr; }
  footer.site .wrap { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; width: 100%; margin: 0 auto; }
  .sun { top: auto; bottom: 120px; right: -70px; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 80px minmax(0, 1fr); }
  .cart-line .line-total { grid-column: 2; }
  .brand span { display: none; }
  .brand img { width: 44px; height: 44px; }
  header.site .wrap { flex-wrap: nowrap; min-height: 64px; }
  nav.main { flex-wrap: nowrap; }
  nav.main .hide-sm { display: none; }
  nav.main a:not(.cart-link) { padding: 8px 10px; }
  fieldset { padding: 20px; }
  .hero-card .badge-sticker { left: -4%; top: -6%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
