/* L'OASIS – site public. Mobile d'abord. Charte : docs/BRAND.md */
:root {
  --y: #FFCA2A; --y-d: #F0B800; --k: #0B0B0B; --k2: #141414; --k3: #1f1f1f; --w: #FFFFFF;
  --g: #6B6B6B; --g2: #E9E9E9; --g3: #F6F6F4; --red: #C62828; --green: #1E7D3A; --orange: #A85B00;
  --r-sm: 12px; --r: 16px; --r-lg: 20px; --r-xl: 24px;
  --sh: 0 1px 2px rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.07);
  --sh-lg: 0 12px 40px rgba(0,0,0,.18);
  --font: -apple-system, "SF Pro Display", "Segoe UI", Roboto, Inter, system-ui, sans-serif;
  --t: 200ms cubic-bezier(.2,.7,.2,1);
  --header-h: 64px;
  --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
html.no-scroll { overflow: hidden; }
body { margin: 0; font-family: var(--font); color: var(--k); background: var(--w); line-height: 1.5; font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 2px; border-radius: 6px; }
.section--soft :focus-visible, .page-legal :focus-visible, .form-card :focus-visible, .co-form :focus-visible, .sheet :focus-visible, .cart :focus-visible { outline-color: var(--k); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--y); color: var(--k); padding: 10px 16px; border-radius: 10px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ico { flex: none; }
.muted { color: var(--g); }
.lead { font-size: 1.075rem; color: #3a3a3a; max-width: 68ch; }
mark.todo { background: #FFE58A; color: var(--k); padding: 0 4px; border-radius: 4px; font-weight: 700; }
code { background: var(--g3); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

/* Titres */
.h1, .h2, .h3, .h4 { font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
.h1 { font-size: clamp(1.9rem, 6vw, 3rem); text-transform: uppercase; }
.h2 { font-size: clamp(1.45rem, 4.4vw, 2.1rem); text-transform: uppercase; }
.h3 { font-size: 1.25rem; font-weight: 850; }
.h4 { font-size: 1.05rem; font-weight: 800; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid transparent; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform var(--t), background var(--t), box-shadow var(--t), opacity var(--t); white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--yellow { background: var(--y); color: var(--k); box-shadow: 0 6px 18px rgba(255,202,42,.35); }
.btn--yellow:hover:not(:disabled) { background: var(--y-d); }
.btn--dark { background: var(--k); color: var(--w); }
.btn--dark:hover:not(:disabled) { background: #2a2a2a; }
.btn--light { background: var(--w); color: var(--k); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(127,127,127,.08); }
.btn--danger { background: var(--red); color: var(--w); }
.btn-price { margin-left: auto; padding-left: 12px; font-variant-numeric: tabular-nums; }
.btn--block .btn-price { margin-left: auto; }
.btn--block:has(.btn-price) { justify-content: space-between; }
.linklike { background: none; border: 0; padding: 4px 0; min-height: 32px; color: var(--k); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linklike--muted { color: var(--g); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--g3); color: var(--k); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--g2); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Bandeau annonce */
.announce { padding: 10px var(--gutter); text-align: center; font-weight: 700; font-size: .95rem; background: var(--y); color: var(--k); }
.announce--warning { background: #FFE0B2; }
.announce--success { background: #D7F5DD; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(11,11,11,.96); color: var(--w); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.header-in { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo-pill { display: inline-block; background: var(--y); color: var(--k); font-weight: 900; letter-spacing: .02em; font-size: 1.15rem; padding: 7px 14px; border-radius: 999px; line-height: 1; }
.logo-img { height: 44px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 700; text-decoration: none; color: #ddd; }
.nav a:hover { color: var(--w); background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: var(--y); }
.header-cta { margin-left: 4px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: var(--w); cursor: pointer; place-items: center; }
@media (max-width: 899px) {
  .nav-toggle { display: inline-grid; }
  .header-cta { margin-left: auto; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--k); border-bottom: 1px solid rgba(255,255,255,.1); padding: 8px var(--gutter) 16px; display: none; margin: 0; }
  .nav.is-open { display: block; animation: drop var(--t); }
  .nav ul { flex-direction: column; }
  .nav a { width: 100%; min-height: 52px; font-size: 1.05rem; }
}
@media (max-width: 359px) { .header-cta span { display: none; } .header-cta { padding: 0 12px; } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Fil d'Ariane */
.crumbs { padding-top: 14px; font-size: .88rem; color: var(--g); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Sections */
.section { padding: 44px 0; }
.section--dark { background: var(--k); color: var(--w); }
.section--dark .lead, .section--dark .muted { color: #c9c9c9; }
.section--soft { background: var(--g3); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.section-desc { margin: -8px 0 18px; max-width: 70ch; }
.page-hero { padding-top: 18px; padding-bottom: 8px; display: grid; gap: 14px; justify-items: start; }
.notice { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: #FFF6D6; border: 1px solid #F3D774; margin: 10px 0; font-weight: 600; }
.notice--warn { background: #FFF1DE; border-color: #F5C77E; }
.notice--err { background: #FDECEC; border-color: #F2B8B5; }
.notice .icon-btn { width: 36px; height: 36px; background: transparent; }
.loading { padding: 30px 0; color: var(--g); }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 0%, rgba(255,202,42,.22), transparent 55%), linear-gradient(180deg, #0B0B0B 0%, #161616 100%); color: var(--w); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero-in { position: relative; padding-top: 36px; padding-bottom: 44px; display: grid; gap: 18px; }
.hero-title { font-size: clamp(2.05rem, 9vw, 4.4rem); font-weight: 900; line-height: .98; text-transform: uppercase; letter-spacing: -.02em; max-width: 15ch; }
.hero-title .hl { color: var(--y); }
.hero-sub { color: #d6d6d6; font-size: 1.08rem; max-width: 52ch; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 700; font-size: .9rem; }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #9e9e9e; }
.status-pill.is-open .dot { background: #3DDC6E; box-shadow: 0 0 0 4px rgba(61,220,110,.18); }
.hero-ctas { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 4px; }
.mode-cta { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 64px; border-radius: var(--r-lg); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); text-decoration: none; transition: background var(--t), transform var(--t), border-color var(--t); }
.mode-cta:hover { background: rgba(255,202,42,.14); border-color: var(--y); }
.mode-cta .ico { color: var(--y); }
.mode-cta span { display: grid; }
.mode-cta strong { font-size: 1.1rem; font-weight: 850; }
.mode-cta small { color: #bdbdbd; font-size: .9rem; }
.hero-main { justify-self: stretch; }
@media (min-width: 640px) { .hero-ctas { grid-template-columns: repeat(3, 1fr); } .hero-main { justify-self: start; } }
@media (min-width: 1024px) { .hero-in { padding-top: 72px; padding-bottom: 84px; } }

/* Visuel produit (photo réelle ou fond sombre + nom) */
.visual { display: block; position: relative; overflow: hidden; background: var(--k2); aspect-ratio: 4 / 3; }
.visual img { width: 100%; height: 100%; object-fit: cover; }
.visual--empty { display: flex; align-items: flex-end; padding: 14px; background: radial-gradient(90% 80% at 80% 10%, rgba(255,202,42,.28), transparent 60%), linear-gradient(150deg, #262626 0%, #0B0B0B 70%); }
.visual--empty span { color: var(--w); font-weight: 900; text-transform: uppercase; line-height: 1.05; font-size: 1.05rem; letter-spacing: .01em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Cartes produit (accueil) */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pcard-link { display: grid; grid-template-columns: 112px 1fr; height: 100%; text-decoration: none; background: var(--w); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); transition: transform var(--t), box-shadow var(--t); }
.pcard-link:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.pcard-visual { aspect-ratio: auto; height: 100%; min-height: 120px; }
.pcard-visual.visual--empty span { font-size: .85rem; }
.pcard-body { padding: 14px; display: grid; gap: 4px; align-content: start; }
.pcard-name { font-size: 1.05rem; font-weight: 850; }
.pcard-desc { color: var(--g); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
@media (min-width: 560px) { .pcard-link { grid-template-columns: 1fr; } .pcard-visual { aspect-ratio: 4 / 3; height: auto; } .pcard-visual.visual--empty span { font-size: 1.15rem; } }
.price { font-weight: 850; font-variant-numeric: tabular-nums; }
.add-dot { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--y); color: var(--k); flex: none; }
.add-dot--btn { border: 0; cursor: pointer; width: 44px; height: 44px; }

/* Tuiles catégories */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
@media (min-width: 760px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.cat-tile { position: relative; display: grid; align-content: end; gap: 4px; min-height: 120px; padding: 16px; border-radius: var(--r-lg); text-decoration: none; background: linear-gradient(160deg, #262626, #121212); border: 1px solid rgba(255,255,255,.08); transition: border-color var(--t), transform var(--t); }
.cat-tile:hover { border-color: var(--y); transform: translateY(-2px); }
.cat-name { font-weight: 900; text-transform: uppercase; font-size: 1.05rem; line-height: 1.1; }
.cat-meta { color: #bdbdbd; font-size: .85rem; }
.cat-go { position: absolute; top: 14px; right: 14px; color: var(--y); }

/* À propos */
.about { display: grid; gap: 28px; }
.about .h2 { margin-bottom: 14px; }
.about-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.usp { display: grid; gap: 12px; }
.usp li { display: flex; gap: 14px; align-items: start; padding: 16px; background: var(--g3); border-radius: var(--r-lg); }
.usp .ico { color: var(--k); background: var(--y); border-radius: 12px; padding: 8px; width: 44px; height: 44px; }
.usp span { display: grid; color: var(--g); }
.usp strong { color: var(--k); font-weight: 850; }
@media (min-width: 900px) { .about { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 48px; } }

/* Zones */
.zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.zone-card { display: grid; gap: 2px; padding: 16px; background: var(--w); border-radius: var(--r-lg); box-shadow: var(--sh); }
.zone-name { font-weight: 900; text-transform: uppercase; font-size: 1.05rem; margin-bottom: 4px; }
.section--soft .muted { margin-bottom: 16px; }

/* Carte SEO */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-top: 14px; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--g3); font-weight: 750; text-decoration: none; border: 2px solid transparent; }
.chip:hover { border-color: var(--k); }
.chip[aria-current="page"] { background: var(--k); color: var(--w); }
.menu-section { padding: 28px 0; }
.menu-section + .menu-section { border-top: 1px solid var(--g2); }
.menu-list { display: grid; gap: 14px; }
@media (min-width: 760px) { .menu-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .menu-list { grid-template-columns: repeat(3, 1fr); } }
.menu-item { display: grid; grid-template-columns: 104px 1fr; background: var(--w); border: 1px solid var(--g2); border-radius: var(--r-lg); overflow: hidden; }
.mi-visual { aspect-ratio: auto; height: 100%; min-height: 104px; }
.mi-visual.visual--empty { padding: 10px; }
.mi-visual.visual--empty span { font-size: .78rem; }
.mi-body { padding: 14px; display: grid; gap: 6px; align-content: start; }
.mi-name { font-size: 1.05rem; font-weight: 850; line-height: 1.2; }
.mi-desc { color: var(--g); font-size: .92rem; }
.mi-vars { display: grid; gap: 2px; font-size: .9rem; }
.mi-vars li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--g2); padding: 2px 0; }
.mi-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .82rem; color: var(--g); }
.mi-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.menu-item.is-out { opacity: .65; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--g3); font-weight: 700; font-size: .78rem; color: var(--k); }
.tag--hot { background: #FFE3D6; color: #8A2A00; }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 800; }
.badge--out { background: var(--k); color: var(--w); }
.badge--hot { background: var(--y); color: var(--k); }
@media (min-width: 560px) { .menu-item { grid-template-columns: 1fr; } .mi-visual { aspect-ratio: 16 / 9; height: auto; } .mi-visual.visual--empty span { font-size: 1.1rem; } }
.note-block { max-width: 820px; }
.note-block .h3 { margin-bottom: 8px; }
.cta-band { display: grid; gap: 12px; justify-items: start; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Tableaux / listes */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--g2); margin: 14px 0; }
.table { width: 100%; border-collapse: collapse; background: var(--w); font-size: .95rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--g2); vertical-align: top; }
.table thead th { background: var(--g3); font-weight: 800; }
.table tbody tr:last-child > * { border-bottom: 0; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.towns li { padding: 8px 12px; border-radius: 999px; background: var(--w); border: 1px solid var(--g2); font-weight: 650; font-size: .93rem; }
.two-col { display: grid; gap: 24px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }
.info-card { background: var(--g3); border-radius: var(--r-xl); padding: 20px; display: grid; gap: 14px; align-content: start; }
.info-card--dark { background: var(--k); color: var(--w); }
.steps-list { display: grid; gap: 10px; padding-left: 20px; margin: 0; }
.steps-list li::marker { font-weight: 900; }
.hours-list { display: grid; gap: 2px; margin-top: 8px; }
.hours-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(127,127,127,.18); }
.hours-list dt { font-weight: 700; }
.hours-list dd { text-align: right; font-variant-numeric: tabular-nums; }
.hours-list dd.closed { color: var(--g); }
.hours-list--lg { font-size: 1.02rem; }
.hours-blocks { display: grid; gap: 16px; margin-top: 12px; }
@media (min-width: 640px) { .hours-blocks { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.hours-block { background: var(--g3); border-radius: var(--r-lg); padding: 16px; }
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 380px 1fr; align-items: start; } }
.contact-lines { font-style: normal; display: grid; gap: 12px; }
.contact-lines p { display: flex; gap: 12px; align-items: start; }
.contact-lines .ico { color: var(--y); margin-top: 2px; }
.contact-lines a { font-weight: 800; }
.plain { padding-left: 18px; }

/* Réseaux */
.social { display: flex; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--w); text-decoration: none; transition: background var(--t), color var(--t); }
.social a:hover { background: var(--y); color: var(--k); }
.social--lg { flex-wrap: wrap; }
.social--lg a { width: auto; padding: 0 14px; gap: 8px; display: inline-flex; align-items: center; border-radius: 999px; min-height: 44px; font-weight: 700; }

/* Pied de page */
.site-footer { background: var(--k); color: #d9d9d9; padding: 44px 0 0; margin-top: 0; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.f-tag { margin: 12px 0; color: #bdbdbd; }
.site-footer address { font-style: normal; display: grid; gap: 6px; }
.f-line { display: inline-flex; gap: 10px; align-items: center; min-height: 40px; text-decoration: none; color: var(--w); font-weight: 650; }
.f-line .ico { color: var(--y); }
.f-title { color: var(--w); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 900; margin: 0 0 8px; }
.f-links ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; }
.f-links a, .f-links .linklike { display: inline-flex; align-items: center; min-height: 40px; color: #d9d9d9; text-decoration: none; font-weight: 600; }
.f-links .linklike { text-decoration: none; padding: 0; }
.f-links a:hover, .f-links .linklike:hover { color: var(--y); }
.f-hours .hours-list > div { border-color: rgba(255,255,255,.1); font-size: .93rem; }
.f-hours .hours-list dd.closed { color: #9a9a9a; }
.f-more { display: inline-block; margin-top: 10px; color: var(--y); font-weight: 700; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 16px; padding-bottom: 24px; font-size: .88rem; color: #9a9a9a; }
.page-order .site-footer { padding-bottom: 80px; }

/* Bandeau cookies */
.consent { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; max-width: 520px; margin: 0 auto; background: var(--w); color: var(--k); border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: 18px; display: grid; gap: 10px; border: 1px solid var(--g2); }
.consent-title { font-weight: 900; }
.consent p { font-size: .93rem; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent .btn { width: 100%; }

/* Formulaires */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 750; }
.optional { color: var(--g); font-weight: 500; }
.req { color: var(--g); font-weight: 500; }
input[type=text], input[type=email], input[type=tel], input[type=password], input:not([type]), select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid #cfcfcf; background: var(--w); font-size: 16px; transition: border-color var(--t), box-shadow var(--t); }
textarea { min-height: 72px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--k); box-shadow: 0 0 0 3px rgba(255,202,42,.6); }
input[aria-invalid="true"] { border-color: var(--red); }
.hint { font-size: .85rem; color: var(--g); }
.field-err, .form-error { color: var(--red); font-weight: 700; font-size: .92rem; }
.check { display: flex; gap: 10px; align-items: start; padding: 8px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--k); }
.form-card { background: var(--w); border: 1px solid var(--g2); border-radius: var(--r-xl); padding: 20px; display: grid; gap: 4px; margin-top: 14px; }
.form-card .h3 { margin-bottom: 10px; }
.form-card--danger { border-color: #F2B8B5; }
.form-msg { color: var(--green); font-weight: 700; min-height: 1.2em; }

/* Compte */
.account { padding-top: 24px; padding-bottom: 56px; display: grid; gap: 12px; }
.auth-grid { display: grid; gap: 4px; }
@media (min-width: 900px) { .auth-grid { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; } }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.acc-section { margin-top: 28px; }
.points-card { margin-top: 16px; background: var(--k); color: var(--w); border-radius: var(--r-xl); padding: 20px; }
.pts-num { font-size: 2.6rem; font-weight: 900; color: var(--y); line-height: 1; }
.orders-list { display: grid; gap: 10px; margin-top: 12px; }
.order-row { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--g2); border-radius: var(--r-lg); }
@media (min-width: 640px) { .order-row { grid-template-columns: 1fr auto; align-items: center; } }
.or-sum { color: var(--g); font-size: .92rem; }
.or-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.badge--st { background: var(--g3); color: var(--k); }
.badge--st.is-done { background: #D7F5DD; color: #0E4D22; }
.badge--st.is-cancelled { background: #FDECEC; color: #8A1F1F; }

/* Légal */
.legal { max-width: 820px; padding-top: 18px; padding-bottom: 56px; }
.legal .h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin-bottom: 6px; }
.legal h2 { font-size: 1.2rem; font-weight: 850; margin: 28px 0 10px; }
.legal p, .legal ul { margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }

/* 404 */
.notfound { padding-top: 48px; padding-bottom: 72px; display: grid; gap: 14px; justify-items: start; }
.nf-code { font-size: clamp(5rem, 22vw, 9rem); font-weight: 900; line-height: .9; color: var(--y); -webkit-text-stroke: 3px var(--k); }

/* ===================== Commande ===================== */
.page-order { background: var(--g3); }
.order-app { padding-bottom: 96px; }
.ctx { padding-top: 14px; }
.ctx-summary { display: flex; align-items: center; gap: 12px; background: var(--w); border-radius: var(--r-lg); padding: 10px 10px 10px 14px; box-shadow: var(--sh); }
.ctx-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--y); flex: none; }
.ctx-text { display: grid; min-width: 0; flex: 1; }
.ctx-text span { color: var(--g); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctx-panel { background: var(--w); border-radius: var(--r-xl); padding: 18px; box-shadow: var(--sh); display: grid; gap: 18px; margin-top: 10px; }
.ctx-summary[hidden] + .ctx-panel { margin-top: 0; }
.ctx-block { border: 0; padding: 0; margin: 0; min-width: 0; }
.ctx-legend { display: block; font-weight: 900; font-size: 1.05rem; margin-bottom: 10px; padding: 0; }
.mode-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mode-opt input { position: absolute; opacity: 0; pointer-events: none; }
.mode-card { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 14px 6px; min-height: 104px; border-radius: var(--r); border: 2px solid var(--g2); cursor: pointer; transition: border-color var(--t), background var(--t); }
.mode-card strong { font-weight: 850; font-size: .98rem; line-height: 1.15; }
.mode-card small { color: var(--g); font-size: .78rem; line-height: 1.2; }
.mode-opt input:checked + .mode-card { border-color: var(--k); background: #FFF8DC; box-shadow: inset 0 0 0 1px var(--k); }
.mode-opt input:focus-visible + .mode-card { outline: 3px solid var(--k); outline-offset: 2px; }
.when-switch { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--g2); font-weight: 750; cursor: pointer; }
.radio-pill input:checked + span { border-color: var(--k); background: var(--k); color: var(--w); }
.radio-pill input:disabled + span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.radio-pill input:focus-visible + span { outline: 3px solid var(--y); outline-offset: 2px; }
.slot-pick { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 12px; }
.slot-pick .field { margin: 0; }
.closed-msg { background: #FFF1DE; border-radius: var(--r-sm); padding: 10px 12px; font-weight: 700; margin-bottom: 10px; }
.combo { position: relative; }
.combo-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); background: var(--w); border-radius: var(--r); box-shadow: var(--sh-lg); border: 1px solid var(--g2); overflow: hidden; }
.combo-opt { display: grid; padding: 12px 14px; cursor: pointer; border-bottom: 1px solid var(--g3); min-height: 48px; }
.combo-opt span { color: var(--g); font-size: .88rem; }
.combo-opt.is-active, .combo-opt:hover { background: #FFF8DC; }
.addr-actions { margin-top: 8px; }
.addr-status { margin-top: 8px; font-weight: 700; font-size: .93rem; min-height: 1.2em; }
.addr-status.is-ok { color: var(--green); }
.addr-status.is-err { color: var(--red); }
.addr-status.is-warn { color: var(--orange); }
@media (min-width: 760px) { .ctx-panel { grid-template-columns: 1fr 1fr; } .ctx-panel > .ctx-block:first-child, #ctx-done { grid-column: 1 / -1; } #ctx-done { justify-self: start; width: auto; padding: 0 32px; } }

.ord-layout { display: grid; gap: 24px; padding-top: 8px; }
.ord-main { min-width: 0; }
.cat-tabs { position: sticky; top: var(--header-h); z-index: 30; background: var(--g3); margin: 0 calc(-1 * var(--gutter)); padding: 8px 0; }
.tabs-list { display: flex; gap: 6px; overflow-x: auto; padding: 0 var(--gutter); scrollbar-width: none; scroll-behavior: smooth; }
.tabs-list::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--w); font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 2px rgba(0,0,0,.06); transition: background var(--t), color var(--t); }
.tab[aria-current="true"] { background: var(--k); color: var(--w); }
.cat-sec { padding-top: 22px; scroll-margin-top: calc(var(--header-h) + 64px); }
.cat-h { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; }
.cat-desc { color: var(--g); font-size: .93rem; margin-top: 4px; max-width: 70ch; }
.prod-grid { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 640px) { .prod-grid { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); } }
.prod { position: relative; display: grid; grid-template-columns: 1fr 112px; width: 100%; height: 100%; padding: 0; text-align: left; border: 0; background: var(--w); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); cursor: pointer; transition: transform var(--t), box-shadow var(--t); -webkit-tap-highlight-color: transparent; }
.prod:hover:not(:disabled) { box-shadow: var(--sh-lg); transform: translateY(-1px); }
.prod:active:not(:disabled) { transform: scale(.985); }
.prod-visual { order: 2; aspect-ratio: auto; height: 100%; min-height: 128px; }
.prod-visual.visual--empty { padding: 10px; }
.prod-visual.visual--empty span { font-size: .78rem; }
.prod-body { display: grid; gap: 4px; padding: 14px; align-content: start; }
.prod-name { font-weight: 850; font-size: 1.02rem; line-height: 1.2; }
.prod-desc { color: var(--g); font-size: .87rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; gap: 8px; }
.prod .add-dot { width: 36px; height: 36px; }
.prod-flag { position: absolute; left: 10px; top: 10px; }
.prod.is-out { cursor: not-allowed; }
.prod.is-out .prod-visual, .prod.is-out .prod-name, .prod.is-out .price { opacity: .55; }

/* Panier */
.cart-in { background: var(--w); }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 16px 8px; }
.cart-body { padding: 0 16px 16px; display: grid; gap: 14px; }
.cart-empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 24px 8px; color: var(--g); }
.cart-empty p:first-of-type { color: var(--k); font-weight: 800; }
.cart-lines { display: grid; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--g2); }
.cl-name { font-weight: 800; line-height: 1.25; }
.cl-det, .cl-note { color: var(--g); font-size: .86rem; }
.cl-tools { display: flex; gap: 14px; margin-top: 2px; }
.cl-tools .linklike { font-size: .88rem; min-height: 36px; }
.cl-side { display: grid; justify-items: end; gap: 6px; align-content: start; }
.cl-price { font-weight: 850; font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; gap: 2px; background: var(--g3); border-radius: 999px; padding: 2px; }
.step-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--w); color: var(--k); cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.step-btn:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.qty-val { min-width: 26px; text-align: center; font-weight: 850; font-variant-numeric: tabular-nums; }
.stepper--lg .step-btn { width: 48px; height: 48px; }
.promo { display: flex; align-items: center; gap: 8px; background: var(--g3); border-radius: var(--r); padding: 6px 6px 6px 12px; }
.promo input { border: 0; background: transparent; min-height: 44px; padding: 0 4px; text-transform: uppercase; min-width: 0; flex: 1; }
.promo input:focus { box-shadow: none; }
.promo:focus-within { box-shadow: 0 0 0 3px rgba(255,202,42,.7); }
.promo-msg { font-weight: 700; font-size: .92rem; margin-top: -6px; }
.promo-msg.is-err { color: var(--red); }
.promo-msg.is-ok { color: var(--green); }
.totals { display: grid; gap: 6px; }
.tot-row { display: flex; justify-content: space-between; gap: 10px; }
.tot-row dd { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; }
.tot-disc dd { color: var(--green); }
.tot-warn dd { color: var(--red); font-weight: 700; }
.tot-total { font-size: 1.2rem; font-weight: 900; padding-top: 8px; border-top: 2px solid var(--k); }
.tot-total dd { font-weight: 900; }
.cart-err { color: var(--red); font-weight: 700; background: #FDECEC; padding: 10px 12px; border-radius: var(--r-sm); }
.cart-warn { color: #6A3C00; font-weight: 700; background: #FFF1DE; padding: 10px 12px; border-radius: var(--r-sm); }
.cart-why { font-size: .88rem; text-align: center; margin-top: -6px; }
.ups { display: grid; gap: 8px; }
.ups-title { font-weight: 900; }
.ups-list { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.ups-item { flex: none; width: 132px; display: grid; gap: 4px; background: var(--w); border: 1px solid var(--g2); border-radius: var(--r); padding: 8px; position: relative; }
.ups-visual { border-radius: 10px; aspect-ratio: 4 / 3; }
.ups-visual.visual--empty { padding: 8px; }
.ups-visual.visual--empty span { font-size: .72rem; }
.ups-name { font-weight: 800; font-size: .88rem; line-height: 1.2; }
.ups-price { color: var(--g); font-size: .85rem; padding-right: 44px; }
.ups-item .add-dot--btn { position: absolute; right: 6px; bottom: 6px; }

.cart-bar { position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(246,246,244,0), var(--g3) 30%); }
.cart-bar-btn { min-height: 56px; justify-content: space-between; font-size: 1.05rem; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.cb-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--k); color: var(--y); font-weight: 900; }
.cb-total { font-variant-numeric: tabular-nums; }
.scrim { position: fixed; inset: 0; z-index: 44; background: rgba(0,0,0,.5); animation: fade var(--t); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1023px) {
  .cart { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; max-height: 92vh; max-height: 92dvh; transform: translateY(105%); visibility: hidden; transition: transform 250ms cubic-bezier(.2,.7,.2,1), visibility 0s linear 250ms; }
  .cart.is-open { transform: none; visibility: visible; transition: transform 250ms cubic-bezier(.2,.7,.2,1); }
  .cart-in { border-radius: var(--r-xl) var(--r-xl) 0 0; max-height: inherit; overflow-y: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom); }
  .cart-head { position: sticky; top: 0; background: var(--w); z-index: 1; border-bottom: 1px solid var(--g2); padding-bottom: 12px; }
}
@media (min-width: 1024px) {
  .ord-layout { grid-template-columns: 1fr 380px; align-items: start; }
  .cart { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); }
  .cart-in { border-radius: var(--r-xl); box-shadow: var(--sh); max-height: inherit; overflow-y: auto; }
  .cart-close, .cart-bar { display: none !important; }
  .cat-tabs { margin: 0; border-radius: 0 0 var(--r) var(--r); }
  .tabs-list { padding: 0; }
  .order-app { padding-bottom: 40px; }
  .page-order .site-footer { padding-bottom: 0; }
}

/* Fiche produit : bottom-sheet mobile / modale desktop */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,0); transition: background var(--t); }
.sheet-wrap.is-in { background: rgba(0,0,0,.55); }
.sheet { position: relative; width: 100%; max-height: 94vh; max-height: 94dvh; display: flex; flex-direction: column; background: var(--w); border-radius: var(--r-xl) var(--r-xl) 0 0; overflow: hidden; transform: translateY(100%); transition: transform 240ms cubic-bezier(.2,.7,.2,1); }
.sheet-wrap.is-in .sheet { transform: none; }
.sheet-close { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(255,255,255,.92); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.sheet-scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.sheet-visual { aspect-ratio: 16 / 9; max-height: 34vh; width: 100%; }
.sheet-visual.visual--empty span { font-size: 1.6rem; }
.sheet-head { padding: 18px 18px 6px; display: grid; gap: 6px; }
.sheet-title { font-size: 1.45rem; font-weight: 900; line-height: 1.15; padding-right: 8px; }
.sheet-desc { color: #444; }
.sheet-allergens { color: var(--g); font-size: .87rem; }
.sheet-vars, .sheet-groups { padding: 0 18px; }
.sheet-note { padding: 6px 18px 18px; }
.grp { border: 0; margin: 0; padding: 16px 0 6px; border-top: 1px solid var(--g2); min-width: 0; }
.sheet-vars .grp { border-top: 0; }
.grp-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; width: 100%; padding: 0; margin-bottom: 10px; }
.grp-name { font-weight: 900; font-size: 1.08rem; margin-right: auto; }
.rule { font-size: .8rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--g3); color: var(--g); }
.rule--req { background: var(--k); color: var(--y); }
.grp.is-done .rule--req { background: #D7F5DD; color: #0E4D22; }
.grp-count { font-size: .82rem; font-weight: 800; color: var(--g); font-variant-numeric: tabular-nums; min-width: 2.6em; text-align: right; }
.grp-count.is-ok { color: var(--green); }
.grp.shake { animation: shake 300ms; }
@keyframes shake { 0%,100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.opt-list, .var-list { display: grid; gap: 8px; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border: 1.5px solid var(--g2); border-radius: var(--r); cursor: pointer; transition: border-color var(--t), background var(--t); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-mark { width: 22px; height: 22px; flex: none; border: 2px solid #9a9a9a; border-radius: 6px; display: grid; place-items: center; background: var(--w); }
.opt input[type=radio] + .opt-mark { border-radius: 50%; }
.opt input:checked + .opt-mark { background: var(--k); border-color: var(--k); box-shadow: inset 0 0 0 4px var(--w); }
.opt input[type=checkbox]:checked + .opt-mark { box-shadow: none; background: var(--k) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFCA2A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 16px no-repeat; }
.opt input:focus-visible + .opt-mark { outline: 3px solid var(--y); outline-offset: 2px; }
.opt.is-on { border-color: var(--k); background: #FFFBEA; }
.opt-label { flex: 1; font-weight: 650; }
.opt-price { font-weight: 800; color: #444; font-variant-numeric: tabular-nums; }
.opt.is-off { cursor: not-allowed; opacity: .5; }
.opt-out { font-style: normal; color: var(--red); font-weight: 700; }
.opt--qty { cursor: default; padding-right: 6px; }
.opt--qty .stepper { background: transparent; }
.var-opt { position: relative; display: block; cursor: pointer; }
.var-opt input { position: absolute; opacity: 0; }
.var-card { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; min-height: 60px; padding: 10px 14px; border: 2px solid var(--g2); border-radius: var(--r); transition: border-color var(--t), background var(--t); }
.var-label { font-weight: 800; flex: 1; }
.var-price { font-weight: 900; font-variant-numeric: tabular-nums; }
.var-badge { order: 3; flex-basis: 100%; font-size: .82rem; font-weight: 900; color: var(--k); background: var(--y); border-radius: 999px; padding: 3px 10px; justify-self: start; width: max-content; }
.var-opt--menu .var-card { border-style: dashed; border-color: #E6B400; }
.var-opt input:checked + .var-card { border-color: var(--k); border-style: solid; background: #FFF8DC; box-shadow: inset 0 0 0 1px var(--k); }
.var-opt input:focus-visible + .var-card { outline: 3px solid var(--k); outline-offset: 2px; }
.sheet-foot > * { min-width: 0; }
.sheet-foot { border-top: 1px solid var(--g2); padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); display: grid; gap: 8px; background: var(--w); }
.sheet-missing { color: var(--red); font-weight: 700; font-size: .9rem; }
.sheet-actions { display: flex; gap: 10px; align-items: center; min-width: 0; }
.sheet-actions > * { min-width: 0; }
.sheet-actions .stepper { flex: none; }
.sheet-add { min-height: 56px; flex: 1 1 auto; min-width: 0; padding: 0 16px; gap: 10px; justify-content: space-between; }
.sheet-add .btn-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-add .btn-price { flex: none; margin-left: 0; padding-left: 0; }
@media (max-width: 420px) {
  .sheet-foot { padding-left: 12px; padding-right: 12px; }
  .sheet-actions { gap: 8px; }
  .stepper--lg .step-btn { width: 42px; height: 42px; }
  .sheet-add { padding: 0 14px; }
}
@media (max-width: 374px) { .hide-xs { display: none; } }
.sheet-actions .btn--dark { min-height: 56px; flex: 1; }
.sheet-actions .btn--ghost { min-height: 56px; }
.wiz-bar { display: grid; gap: 6px; }
.wiz-progress { height: 6px; border-radius: 999px; background: var(--g2); overflow: hidden; }
.wiz-progress span { display: block; height: 100%; background: var(--y); width: 0; transition: width var(--t); }
.wiz-step { font-weight: 800; font-size: .9rem; color: var(--g); }
.wiz-recap { display: grid; gap: 6px; padding: 14px 18px 0; }
.sheet--guided .grp { border-top: 0; }
@media (min-width: 760px) {
  .sheet-wrap { align-items: center; padding: 24px; }
  .sheet { max-width: 620px; max-height: 88vh; border-radius: var(--r-xl); transform: translateY(16px) scale(.98); opacity: 0; transition: transform var(--t), opacity var(--t); }
  .sheet-wrap.is-in .sheet { opacity: 1; }
}
.sheet-wrap--mini .sheet { max-width: 560px; }
.sheet--mini { padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 14px; overflow-y: auto; }
.added-head { display: flex; align-items: center; gap: 10px; }
.added-ok { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #D7F5DD; color: #0E4D22; flex: none; }
.added-title { font-weight: 850; flex: 1; line-height: 1.25; }
.upgrade { display: grid; gap: 10px; background: #FFF8DC; border: 2px solid var(--y); border-radius: var(--r-lg); padding: 14px; }
.upgrade-q { display: grid; }
.upgrade-q strong { font-size: 1.08rem; font-weight: 900; }
.upgrade-q span { color: var(--g); font-size: .9rem; }
.upgrade-actions, .added-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.toast { position: fixed; z-index: 80; left: 50%; bottom: 92px; transform: translateX(-50%); max-width: calc(100% - 32px); background: var(--k); color: var(--w); padding: 12px 18px; border-radius: 999px; font-weight: 700; box-shadow: var(--sh-lg); animation: toast-in var(--t); text-align: center; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (min-width: 1024px) { .toast { bottom: 32px; } }

/* Validation */
.checkout { padding-top: 16px; padding-bottom: 40px; }
.co-top { display: grid; gap: 12px; justify-items: start; margin-bottom: 16px; }
.co-top .h2:focus { outline: none; }
.co-grid { display: grid; gap: 16px; }
@media (min-width: 1024px) { .co-grid { grid-template-columns: 1fr 400px; align-items: start; gap: 24px; } .co-col--recap { position: sticky; top: calc(var(--header-h) + 16px); } }
.co-block { background: var(--w); border: 0; border-radius: var(--r-xl); padding: 18px; margin: 0 0 14px; box-shadow: var(--sh); min-width: 0; }
.co-legend { float: left; width: 100%; font-weight: 900; font-size: 1.1rem; margin-bottom: 12px; padding: 0; }
.co-legend + * { clear: both; }
.co-ctx { display: grid; gap: 8px; justify-items: start; margin-bottom: 12px; }
.co-ctx-line { display: flex; gap: 8px; align-items: center; }
.pay-list { display: grid; gap: 8px; }
.radio-card { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border: 1.5px solid var(--g2); border-radius: var(--r); cursor: pointer; font-weight: 700; }
.radio-card input { width: 22px; height: 22px; accent-color: var(--k); }
.radio-card:has(input:checked) { border-color: var(--k); background: #FFFBEA; }
.co-consents { display: grid; gap: 2px; }
.rgpd { font-size: .87rem; color: var(--g); margin-top: 6px; }
.co-recap { background: var(--w); box-shadow: var(--sh); }
.recap-lines { display: grid; gap: 10px; }
.recap-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: start; }
.rl-qty { font-weight: 900; }
.rl-name { display: grid; font-weight: 700; }
.rl-name small { color: var(--g); font-weight: 500; font-size: .84rem; }
.rl-price { font-weight: 800; font-variant-numeric: tabular-nums; }
.co-error { background: #FDECEC; color: #8A1F1F; border-radius: var(--r-sm); padding: 12px; font-weight: 700; display: grid; gap: 10px; justify-items: start; }
.co-legal { font-size: .84rem; }
#co-submit { justify-content: space-between; }

/* Suivi */
.page-track { background: var(--g3); }
.track { padding-top: 20px; padding-bottom: 56px; display: grid; gap: 16px; max-width: 720px; }
.track-head { background: var(--k); color: var(--w); border-radius: var(--r-xl); padding: 24px 20px; text-align: center; display: grid; gap: 4px; }
.track-thanks { font-weight: 800; color: var(--y); }
.track-label { color: #bdbdbd; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; font-weight: 800; margin-top: 8px; }
.track-number { font-size: clamp(4rem, 22vw, 7rem); font-weight: 900; line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.track-meta { color: #d6d6d6; font-weight: 700; }
.track-steps { background: var(--w); border-radius: var(--r-xl); padding: 20px; box-shadow: var(--sh); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; counter-reset: st; }
.steps li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: .82rem; font-weight: 700; color: var(--g); }
.steps li::before { content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 4px; background: var(--g2); z-index: 0; }
.steps li:first-child::before { display: none; }
.st-dot { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: var(--g2); border: 4px solid var(--w); box-shadow: 0 0 0 1px var(--g2); }
.steps li.is-done .st-dot, .steps li.is-current .st-dot { background: var(--y); box-shadow: 0 0 0 1px var(--y-d); }
.steps li.is-done::before, .steps li.is-current::before { background: var(--y); }
.steps li.is-done, .steps li.is-current { color: var(--k); }
.steps li.is-current .st-dot { animation: pulse 1.6s infinite; }
.steps.is-cancelled { opacity: .4; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,202,42,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,202,42,0); } 100% { box-shadow: 0 0 0 0 rgba(255,202,42,0); } }
.track-status { margin-top: 16px; font-weight: 800; font-size: 1.08rem; text-align: center; }
.track-status.is-ready { color: #0E4D22; }
.track-status.is-cancelled { color: var(--red); }
.track-refresh { text-align: center; font-size: .82rem; margin-top: 6px; }
.track-recap { background: var(--w); box-shadow: var(--sh); }
.track-actions { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}
