/* strid'fondue — site public
   Rouge caquelon, or du fromage fondu, vert sapin de la Baroche.
   Élément signature : la nappe à carreaux rouges (hero). Le reste reste sobre. */
:root {
  --red: #B8202B;
  --red-dk: #8E1720;
  --gold: #F2C14E;
  --gold-soft: #FCEBB6;
  --pine: #1F3A2E;
  --pine-2: #2C5140;
  --ink: #1B2420;
  --muted: #56615B;
  --paper: #FFFFFF;
  --mist: #F2F4EF;
  --line: rgba(31, 58, 46, .14);
  --display: "Caprasimo", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 12px; --r-md: 20px; --r-lg: 32px;
  --wrap: 1180px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 58ch; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--pine); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: .7em 1.5em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); }
.btn-line { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-line:hover { background: var(--pine); color: #fff; }
.btn-gold { background: var(--gold); color: var(--pine); }
.btn-gold:hover { background: #FFD470; }
.btn-line-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--pine); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: var(--mist); }

/* Bandeau */
.announce { background: var(--gold); color: var(--pine); text-align: center; font-weight: 600; font-size: .93rem; padding: .5em 1em; }
.announce p { margin: 0; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.55rem; color: var(--red); }
.logo svg { width: 36px; height: 36px; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 500; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { text-decoration: none; font-size: .82rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--pine); color: #fff; }
.cart-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cart-btn svg { width: 24px; height: 24px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--pine); font-size: .75rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .2s; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--pine); max-width: 13ch; }
.hero .lead { margin-bottom: 1.8em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { list-style: none; padding: 0; margin: 2.2em 0 0; display: grid; gap: 10px; }
.facts li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.facts svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.hero-visual { position: relative; }
.hero-art { position: relative; }
.hero-medal { position: absolute; left: -2%; bottom: 2%; width: 31%; aspect-ratio: 1; border-radius: 50%; z-index: 2; transform: rotate(-9deg); filter: drop-shadow(0 10px 18px rgba(27,36,32,.28)); transition: transform .25s; }
.hero-medal:hover { transform: rotate(0) scale(1.04); }
.hero-medal img { width: 100%; height: 100%; display: block; }
.award { display: flex; gap: 18px; align-items: center; margin-top: 28px; padding: 18px 20px; background: var(--gold-soft); border-radius: 18px; scroll-margin-top: 110px; }
.award img { width: 96px; height: 96px; flex: none; filter: drop-shadow(0 6px 10px rgba(27,36,32,.18)); }
.award-kicker { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9A5F38; margin-bottom: 4px; }
.award h3 { font-size: 1.28rem; color: var(--pine); margin: 0 0 .35em; }
.award p { margin: 0; font-size: .95rem; }
.product-media img.medal-mini { position: absolute; right: 10px; bottom: 10px; left: auto; top: auto; width: 26%; max-width: 64px; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.product-media:hover img.medal-mini { transform: none; }
.pm-award { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #8A5431; margin: -.2em 0 1em; }
.pm-award img { width: 44px; height: 44px; }
[data-award][hidden] { display: none !important; }
.hero-art .art-hero, .hero-art img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.hero-art::after { content: ""; position: absolute; inset: auto -6% -6% auto; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--gold); z-index: -1; }
.steam path { animation: steam 3.2s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: .6s; } .steam path:nth-child(3) { animation-delay: 1.2s; }
@keyframes steam { 0%, 100% { opacity: 0; transform: translateY(14px); } 45% { opacity: .9; } 80% { opacity: 0; transform: translateY(-12px); } }

/* Boutique */
.shop { padding: clamp(56px, 8vw, 100px) 0; background: var(--mist); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: 28px; }
.section-head h2 { margin: 0; color: var(--pine); }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .5em 1.1em; font-weight: 600; cursor: pointer; min-height: 42px; }
.chip[aria-selected="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }
.closed-note { background: #fff; border-left: 5px solid var(--red); padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 24px; font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.product { background: #fff; border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.product-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--gold-soft); border: 0; padding: 0; cursor: pointer; width: 100%; }
.product-media img, .product-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-media:hover img, .product-media:hover svg { transform: scale(1.04); }
.badge { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--red); font-size: .8rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; }
.badge.off { color: var(--muted); }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: .3em; color: var(--pine); }
.product-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.price { font-weight: 700; font-size: 1.08rem; white-space: nowrap; }
.price small { font-weight: 500; color: var(--muted); font-size: .85rem; margin-right: 4px; }
.product-foot .btn { min-height: 44px; padding: .5em 1.2em; }

/* Étapes (vraie séquence : numérotation justifiée) */
.steps { padding: clamp(56px, 8vw, 96px) 0; }
.steps h2 { color: var(--pine); max-width: 18ch; }
.steps-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--pine); }
.steps-list li { padding: 26px 26px 0 0; }
.steps-list li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.step-n { font-family: var(--display); font-size: 3rem; color: var(--red); line-height: 1; display: block; margin-bottom: 10px; }
.steps-list h3 { color: var(--pine); }
.steps-list p { color: var(--muted); margin: 0; }

/* Cabane */
.cabane { background: var(--pine); color: #EAF0EC; padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); }
.cabane h2, .cabane h3 { color: #fff; }
.cabane .lead { color: #C9D6CF; }
.cabane-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.cabane-art .art-cabane, .cabane-art img { width: 100%; border-radius: var(--r-lg); background: #2C5140; object-fit: cover; aspect-ratio: 56/46; }
.cabane-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 26px 0; }
.cabane h3 { font-size: 1.2rem; }
.hours { margin: 0 0 14px; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.hours dt { color: #C9D6CF; } .hours dd { margin: 0; font-weight: 600; color: #fff; }
.addr { font-style: normal; margin-bottom: 16px; color: #C9D6CF; }
.how { padding-left: 1.2em; margin: 0; display: grid; gap: 8px; }
.how li::marker { color: var(--gold); font-weight: 700; }
.cabane-tip { background: rgba(242, 193, 78, .12); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: var(--r-sm); margin: 0; color: #fff; }
.map { margin-top: clamp(36px, 5vw, 56px); border-radius: var(--r-lg); overflow: hidden; height: 320px; background: var(--pine-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* Histoire */
.story { padding: clamp(60px, 9vw, 110px) 0; }
.story-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.story h2 { color: var(--pine); }
.story-copy p { max-width: 60ch; }
.sign { font-family: var(--display); font-size: 2rem; color: var(--red); margin-top: .4em; }
.story-art .art-story, .story-art img { width: 100%; border-radius: var(--r-lg); object-fit: cover; aspect-ratio: 52/46; }

/* Recette */
.recipe { background: var(--gold-soft); padding: clamp(56px, 8vw, 100px) 0; }
.recipe-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 70px); }
.recipe h2 { color: var(--pine); }
.recipe-list { counter-reset: r; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.recipe-list li { counter-increment: r; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(31,58,46,.18); font-size: 1.08rem; }
.recipe-list li::before { content: counter(r); font-family: var(--display); font-size: 1.9rem; color: var(--red); }

/* Avis */
.reviews { padding: clamp(56px, 8vw, 100px) 0; }
.reviews h2 { color: var(--pine); }
.reviews-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.review { margin: 0; padding: 26px; border-radius: var(--r-md); background: var(--mist); display: flex; flex-direction: column; }
.review .stars { color: var(--red); letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; font-size: 1.06rem; flex: 1; }
.review figcaption { font-weight: 600; color: var(--muted); }

/* FAQ */
.faq { padding: 0 0 clamp(56px, 8vw, 100px); }
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 70px); }
.faq h2 { color: var(--pine); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.07rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; color: var(--red); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 12px; max-width: 64ch; }

/* Contact & pied */
.contact { background: var(--red); color: #fff; padding: clamp(56px, 8vw, 90px) 0; }
.contact h2 { color: #fff; max-width: 16ch; }
.contact .lead { color: #FBE3E4; }
.contact-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.contact-actions { display: grid; gap: 12px; }
.contact .btn-red { background: #fff; color: var(--red); }
.contact .btn-red:hover { background: var(--gold); color: var(--pine); }
.contact-plain { margin: 6px 0 0; color: #FBE3E4; text-align: center; }
.site-footer { background: var(--pine); color: #C9D6CF; padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); font-size: .93rem; }
.site-footer::before { content: ""; display: block; height: 14px; margin-top: -34px; margin-bottom: 34px; background: repeating-linear-gradient(90deg, rgba(184,32,43,.8) 0 14px, transparent 14px 28px), repeating-linear-gradient(0deg, rgba(184,32,43,.5) 0 7px, #fff 7px 14px); }
.footer-in { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; }
.footer-in p { margin: 0; }
.footer-brand { font-family: var(--display); font-size: 1.4rem; color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.footer-links a { color: #fff; }

/* Dialogues communs */
dialog { border: 0; padding: 0; color: var(--ink); background: #fff; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(20, 30, 25, .55); }
dialog[open] { animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
body.locked { overflow: hidden; }

/* Fiche produit */
.modal { width: min(100% - 24px, 920px); border-radius: var(--r-lg); margin: auto; }
.modal-in { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.pm-media { background: var(--gold-soft); }
.pm-media img, .pm-media svg { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.pm-info { padding: 34px 30px 30px; max-height: 88vh; overflow: auto; }
.pm-info h2 { color: var(--pine); font-size: clamp(1.8rem, 3.4vw, 2.4rem); padding-right: 40px; }
.pm-info .desc { color: var(--muted); }
.field-label { display: block; font-weight: 600; margin: 18px 0 8px; }
.variants { display: grid; gap: 8px; }
.variant { display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; cursor: pointer; }
.variant:has(input:checked) { border-color: var(--pine); background: var(--mist); }
.variant input { accent-color: var(--pine); width: 18px; height: 18px; }
.variant span { flex: 1; }
.variant b { white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; border-radius: 50%; }
.qty output, .qty span { min-width: 34px; text-align: center; font-weight: 700; }
.pm-buy { display: flex; gap: 12px; align-items: center; margin-top: 22px; }
.pm-buy .btn { flex: 1; }
.pm-details { margin-top: 24px; border-top: 1px solid var(--line); }
.pm-details details { border-bottom: 1px solid var(--line); }
.pm-details summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.pm-details p { color: var(--muted); font-size: .95rem; }

/* Panier (tiroir) */
.drawer { margin: 0 0 0 auto; height: 100dvh; width: min(100%, 440px); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.drawer[open] { animation: slide .25s ease; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-in { display: flex; flex-direction: column; height: 100%; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.7rem; margin: 0; color: var(--pine); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 22px; }
.drawer-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--mist); }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; }
.line-thumb img, .line-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.line h3 { font-family: var(--body); font-weight: 700; font-size: 1rem; margin: 0; color: var(--ink); }
.line small { color: var(--muted); display: block; }
.line .qty { margin-top: 6px; border-width: 1px; }
.line .qty button { width: 34px; height: 34px; font-size: 1.1rem; }
.line-end { text-align: right; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; }
.empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.empty svg { width: 90px; margin: 0 auto 14px; }
.progress { margin: 14px 0 4px; font-size: .92rem; font-weight: 600; color: var(--pine); }
.bar { height: 8px; border-radius: 999px; background: #fff; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--gold); border-radius: 999px; transition: width .3s; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0; }
.sum-row.total { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.sum-row .muted { color: var(--muted); font-size: .9rem; text-align: right; }

/* Commande */
.checkout { width: 100%; height: 100dvh; margin: 0; background: var(--mist); }
.co-in { display: flex; flex-direction: column; height: 100%; }
.co-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(20px, calc((100% - var(--wrap)) / 2)); background: #fff; border-bottom: 1px solid var(--line); }
.co-head h2 { margin: 0; font-size: 1.6rem; color: var(--pine); }
.co-body { flex: 1; overflow: auto; padding: 28px 0 60px; }
.co-grid { width: min(100% - 40px, var(--wrap)); margin: 0 auto; display: grid; grid-template-columns: 1.3fr .9fr; gap: 28px; align-items: start; }
/* Récapitulatif repliable sur mobile */
.sum-toggle { all: unset; display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: 10px; font: inherit; cursor: default; }
.sum-toggle span { display: none; font-family: var(--body, inherit); font-size: 1rem; font-weight: 700; }
@media (max-width: 720px) {
  .summary .sum-toggle { cursor: pointer; }
  .summary .sum-toggle span { display: inline; }
  .summary .sum-toggle::after { content: "▾"; font-size: .9rem; transition: transform .2s; }
  .summary.open .sum-toggle::after { transform: rotate(180deg); }
  .summary:not(.open) > :not(h3) { display: none; }
  .summary:not(.open) h3 { margin: 0; }
}
.co-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 20px; counter-reset: s; }
.co-steps li { counter-increment: s; flex: 1; padding: 10px 12px; border-radius: var(--r-sm); background: #fff; color: var(--muted); font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.co-steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); font-size: .8rem; flex: none; }
.co-steps li[aria-current="step"] { color: var(--pine); box-shadow: inset 0 0 0 2px var(--pine); }
.co-steps li[aria-current="step"]::before { background: var(--pine); color: #fff; }
.co-steps li.done::before { content: "✓"; background: var(--gold); color: var(--pine); }
.panel { background: #fff; border-radius: var(--r-md); padding: clamp(20px, 3vw, 30px); }
.panel h3 { color: var(--pine); font-size: 1.5rem; }
.choice { display: flex; gap: 14px; align-items: flex-start; border: 2px solid var(--line); border-radius: var(--r-sm); padding: 16px; cursor: pointer; margin-bottom: 10px; }
.choice:has(input:checked) { border-color: var(--pine); background: var(--mist); }
.choice input { accent-color: var(--pine); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.choice div { flex: 1; }
.choice strong { display: block; }
.choice small { color: var(--muted); display: block; margin-top: 2px; }
.choice .c-price { font-weight: 700; white-space: nowrap; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.fields .full { grid-column: 1 / -1; }
.fields .zip-city { grid-column: 1 / -1; display: grid; grid-template-columns: 120px 1fr; gap: 14px; }
.f label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.f input, .f select, .f textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #C9D0CB; border-radius: var(--r-sm); background: #fff; }
.f textarea { min-height: 90px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--pine); outline: 3px solid rgba(31,58,46,.15); }
.f .err { color: var(--red); font-size: .86rem; margin-top: 4px; display: none; }
.f.invalid input, .f.invalid textarea { border-color: var(--red); }
.f.invalid .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; }
.check input { width: 20px; height: 20px; accent-color: var(--pine); margin-top: 3px; }
.co-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.form-err { color: var(--red); font-weight: 600; margin-top: 12px; }
.summary { position: sticky; top: 0; }
.summary h3 { font-size: 1.3rem; }
.sum-line { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.sum-line .line-thumb { width: 48px; height: 48px; border-radius: 10px; flex: none; }
.sum-line div { flex: 1; }
.sum-line small { display: block; color: var(--muted); }
.secure { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .86rem; margin-top: 14px; }
.secure svg { width: 18px; height: 18px; flex: none; }
.confirm { width: min(100% - 40px, 680px); margin: 0 auto; text-align: center; }
.confirm .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin: 10px auto 18px; }
.confirm .tick svg { width: 42px; }
.confirm h3 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--pine); }
.order-no { display: inline-block; background: #fff; border: 2px dashed var(--pine); border-radius: var(--r-sm); padding: 10px 20px; font-weight: 700; font-size: 1.3rem; margin: 6px 0 18px; }
.confirm .panel { text-align: left; margin: 18px 0; }

/* Paiement simulé */
.pay { width: min(100% - 24px, 420px); border-radius: var(--r-md); margin: auto; }
.pay-in { padding: 28px; }
.pay-brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pay-brand b { color: #635BFF; font-size: 1.3rem; letter-spacing: -.02em; }
.pay-amount { font-size: 2rem; font-weight: 700; margin: 4px 0 14px; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.pay-methods span { border: 1.5px solid var(--line); border-radius: 10px; padding: 12px; text-align: center; font-weight: 700; }
.pay-note { background: #FFF6D8; border-radius: 10px; padding: 10px 12px; font-size: .88rem; }
.pay .btn { width: 100%; margin-top: 10px; }
.pay .btn-pay { background: #635BFF; color: #fff; }

/* Légal */
.legal { width: min(100% - 24px, 760px); }
.legal-in { display: block; padding: 40px clamp(20px, 4vw, 44px); max-height: 88vh; overflow: auto; }
.legal-in h2 { color: var(--pine); padding-right: 40px; }
.legal-body p { color: var(--ink); }
.legal-body strong { color: var(--pine); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px); background: var(--pine); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Tablette */
@media (max-width: 980px) {
  .main-nav { position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .2s, opacity .2s, visibility 0s .2s; z-index: 40; box-shadow: 0 20px 30px rgba(31,58,46,.08); }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform .2s, opacity .2s; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .menu-btn { display: block; }
  .header-actions { margin-left: auto; }
  .cabane-in, .story-in, .recipe-in, .faq-in, .contact-in { grid-template-columns: 1fr; }
  .reviews-list { grid-template-columns: 1fr; }
  .co-grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
}
/* Mobile */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: min(82%, 380px); margin: 0 auto; }
  .award { align-items: flex-start; }
  .award img { width: 72px; height: 72px; }
  .hero h1 { max-width: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .section-head { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 12px; }
  .product-body h3 { font-size: 1.1rem; }
  .product-body p { display: none; }
  .product-foot { flex-direction: column; align-items: stretch; }
  .product-foot .btn { width: 100%; }
  .steps-list { grid-template-columns: 1fr; }
  .steps-list li, .steps-list li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .cabane-grid { grid-template-columns: 1fr; }
  .modal-in { grid-template-columns: 1fr; max-height: 92dvh; overflow: auto; }
  .pm-media img, .pm-media svg { aspect-ratio: 16/11; }
  .pm-info { max-height: none; padding: 22px 20px 26px; }
  .modal { width: 100%; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .drawer { width: 100%; border-radius: 0; }
  .fields { grid-template-columns: 1fr; }
  .co-steps li { font-size: 0; justify-content: center; }
  .co-steps li::before { font-size: .8rem; }
  .co-steps li[aria-current="step"] { font-size: .9rem; }
  .map { height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.footer-links .made-by { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-links .made-by:hover { color: #fff; text-decoration: underline; }
