/* Thème : Le Camion Doré (démo) — crème, rouge, jaune soleil */
:root {
  --bg: #fff8ec; --bg-alt: #ffefcf; --ink: #2a1607; --muted: #7a5c43; --line: rgba(42,22,7,.12);
  --accent: #e63b2e; --accent-ink: #fff; --accent-soft: #ffe1d6; --card: #ffffff; --sun: #ffc93c; --green: #3f9b4a;
  --radius: 24px; --font-title: "Arial Black", "Segoe UI Black", -apple-system, "Segoe UI", sans-serif;
}
.head h2 { font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.btn { box-shadow: 0 5px 0 #a3241a; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #a3241a; }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #a3241a; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: 0 5px 0 var(--ink), inset 0 0 0 2px var(--ink); }
.btn.sun { background: var(--sun); color: var(--ink); box-shadow: 0 5px 0 #c99600; }
.brand { font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.status { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }

/* Héro */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(60px, 8vw, 100px); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -260px; border-radius: 50%; background: repeating-conic-gradient(rgba(255,201,60,.35) 0 9deg, transparent 9deg 18deg); animation: spin 60s linear infinite; z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(46px, 8vw, 104px); font-weight: 900; text-transform: uppercase; line-height: .92; letter-spacing: -.02em; }
.hero h1 .l { display: inline-block; animation: wobble 3.6s ease-in-out infinite; animation-delay: calc(var(--k) * -.25s); }
@keyframes wobble { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-4px); } }
.hero h1 .red { color: var(--accent); }
.hero .lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; margin-top: 22px; max-width: 44ch; }
.actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.stickers { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.stickers span { background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 7px 14px; font-weight: 800; font-size: 14px; transform: rotate(var(--r, -2deg)); }
.stickers span:nth-child(2) { --r: 2deg; background: var(--sun); }
.stickers span:nth-child(3) { --r: -1deg; background: var(--accent-soft); }

/* Burger qui se construit */
.burger { width: min(100%, 380px); justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; filter: drop-shadow(0 30px 30px rgba(42,22,7,.25)); }
.burger > div { opacity: 0; animation: drop .7s cubic-bezier(.3,1.5,.5,1) forwards; animation-delay: calc(var(--k) * .18s + .2s); }
@keyframes drop { from { opacity: 0; transform: translateY(-220px) rotate(-8deg); } to { opacity: 1; transform: none; } }
.bun-top { width: 92%; height: 100px; border-radius: 160px 160px 26px 26px; background: radial-gradient(circle at 30% 30%, #f6b25a, #d9822b 70%); position: relative; }
.bun-top::before { content: ""; position: absolute; inset: 18px 30px auto; height: 40px; background: radial-gradient(ellipse 5px 9px, #fff6d8 90%, transparent) 0 0 / 34px 22px; opacity: .9; }
.salad { width: 100%; height: 26px; background: radial-gradient(circle at 12px 0, transparent 13px, var(--green) 14px) 0 0 / 26px 26px; }
.tomato { width: 90%; height: 20px; border-radius: 10px; background: repeating-linear-gradient(90deg, #e63b2e 0 60px, #c92a1e 60px 64px); }
.cheese { width: 96%; height: 20px; background: linear-gradient(#ffd34d, #f2b705); clip-path: polygon(0 0, 100% 0, 100% 50%, 88% 100%, 76% 50%, 60% 100%, 46% 50%, 30% 100%, 16% 50%, 0 70%); }
.patty { width: 94%; height: 46px; border-radius: 24px; background: radial-gradient(circle at 20% 40%, #6b3b1e 2px, transparent 3px) 0 0 / 24px 18px, linear-gradient(#6a3a1c, #4a2711); }
.bun-bottom { width: 90%; height: 46px; border-radius: 12px 12px 40px 40px; background: linear-gradient(#e59a45, #c9772a); }

/* Aujourd'hui */
.today-card { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; background: var(--ink); color: #fff8ec; border-radius: 28px; padding: 26px 30px; margin: -40px var(--gutter) 0; position: relative; z-index: 2; box-shadow: 0 30px 50px -25px rgba(42,22,7,.6); }
@media (max-width: 760px) { .today-card { grid-template-columns: 1fr; margin-top: -20px; } }
.today-card .pin { width: 64px; height: 64px; border-radius: 20px; background: var(--sun); display: grid; place-items: center; font-size: 32px; }
.today-card small { text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--sun); font-size: 12px; }
.today-card h3 { font-size: clamp(22px, 3vw, 30px); margin-top: 4px; }
.today-card p { color: rgba(255,248,236,.7); margin-top: 4px; }
.today-card .status { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }

.marquee { background: var(--accent); color: #fff; transform: rotate(-1.5deg); margin: 70px -20px 0; }
.marquee span { text-transform: uppercase; font-weight: 900; }

/* Planning */
.planning { display: grid; gap: 10px; }
.day { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: center; background: var(--card); border-radius: 18px; padding: 18px 22px; box-shadow: 0 0 0 2px var(--line); transition: transform .3s var(--ease); }
.day b { font-size: 17px; text-transform: uppercase; font-weight: 900; }
.day span { color: var(--muted); }
.day em { font-style: normal; font-weight: 800; color: var(--accent); white-space: nowrap; }
.day.today { box-shadow: 0 0 0 3px var(--accent); transform: scale(1.02); }
.day.today b::after { content: " · aujourd'hui"; color: var(--accent); font-size: 12px; }
.day.off { opacity: .55; }
@media (max-width: 560px) { .day { grid-template-columns: 1fr auto; } .day span { grid-column: 1 / -1; grid-row: 2; } }

/* Carte + filtres */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filters button { border: 2px solid var(--ink); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 800; transition: background .2s, color .2s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff8ec; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.item { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: 0 0 0 2px var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, opacity .3s; }
.item:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: 0 0 0 2px var(--ink), 0 14px 0 -4px var(--sun); }
.item.hide { display: none; }
.item .em { font-size: 44px; }
.item h3 { font-size: 20px; margin-top: 10px; text-transform: uppercase; font-weight: 900; }
.item p { color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 6px; flex: 1; }
.item .tags { display: flex; gap: 6px; margin-top: 10px; }
.item .tags i { font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: var(--bg-alt); }
.item footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.item footer b { font-size: 20px; }
.add { border: none; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 24px; font-weight: 700; box-shadow: 0 4px 0 #a3241a; transition: transform .15s; }
.add:active { transform: translateY(3px); box-shadow: 0 1px 0 #a3241a; }
.add.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.3) rotate(10deg); } }

/* Compose ton burger */
.builder { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; }
@media (max-width: 860px) { .builder { grid-template-columns: 1fr; } }
.mini-burger { display: flex; flex-direction: column; align-items: center; gap: 3px; width: min(100%, 320px); margin: 0 auto; min-height: 300px; justify-content: flex-end; }
.mini-burger > div { animation: drop .5s cubic-bezier(.3,1.5,.5,1); }
.mini-burger .bun-top { height: 80px; }
.mini-burger .bun-top.complet { background: radial-gradient(circle at 30% 30%, #b98a55, #7b5530 70%); }
.mini-burger .bun-bottom.complet { background: linear-gradient(#a8784a, #7b5530); }
.mini-burger .bun-top.sg { background: radial-gradient(circle at 30% 30%, #f3e1b5, #d8bd7f 70%); }
.mini-burger .bun-bottom.sg { background: linear-gradient(#efd9a5, #d8bd7f); }
.mini-burger .patty.poulet { background: linear-gradient(#e0a157, #b8752f); }
.mini-burger .patty.vege { background: radial-gradient(circle at 30% 40%, #ff7f50 3px, transparent 4px) 0 0 / 20px 16px, linear-gradient(#7fb069, #4f7f3d); }
.mini-burger .cheese.chaource { background: linear-gradient(#fffaf0, #efe6cf); }
.bacon { width: 92%; height: 14px; border-radius: 8px; background: repeating-linear-gradient(90deg, #b5452c 0 18px, #f2b8a2 18px 26px); }
.onion { width: 86%; height: 12px; border-radius: 8px; background: linear-gradient(#a0522d, #6b2f12); }
.egg { width: 70%; height: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #ffb300 26%, #fff 28%); }
.jala { width: 80%; height: 12px; background: radial-gradient(circle, #4caf50 5px, transparent 6px) 0 0 / 22px 12px; }
.opts fieldset { border: none; margin-bottom: 16px; }
.opts legend { font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; margin-bottom: 8px; }
.opts .pills { display: flex; gap: 8px; flex-wrap: wrap; }
.opts label { cursor: pointer; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts label span { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 700; background: #fff; transition: background .2s, color .2s; }
.opts input:checked + span { background: var(--ink); color: #fff8ec; }
.opts input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.build-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; padding-top: 18px; border-top: 2px dashed var(--line); }
.build-total b { font-size: 32px; font-weight: 900; }

/* Panier */
.cart-btn { position: fixed; right: 18px; bottom: 96px; z-index: 55; border: none; background: var(--ink); color: #fff8ec; border-radius: 999px; padding: 14px 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); transform: translateY(150%); transition: transform .4s var(--ease); }
.cart-btn.show { transform: none; }
.cart-btn .count { background: var(--sun); color: var(--ink); border-radius: 99px; min-width: 24px; height: 24px; display: grid; place-items: center; font-size: 13px; }
@media (min-width: 761px) { .cart-btn { bottom: 24px; } }
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer .shade { position: absolute; inset: 0; background: rgba(42,22,7,.45); opacity: 0; transition: opacity .3s; }
.drawer .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); padding: 26px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); }
.drawer.open { pointer-events: auto; }
.drawer.open .shade { opacity: 1; }
.drawer.open .panel { transform: none; }
.drawer h3 { font-size: 26px; text-transform: uppercase; font-weight: 900; display: flex; justify-content: space-between; align-items: center; }
.drawer h3 button { border: none; background: none; font-size: 26px; }
.lines { flex: 1; overflow: auto; margin-top: 16px; }
.line { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 2px dashed var(--line); }
.line small { display: block; color: var(--muted); font-size: 13px; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-weight: 800; }
.cart-empty { color: var(--muted); text-align: center; margin-top: 40px; }
.cart-total { display: flex; justify-content: space-between; font-size: 22px; font-weight: 900; padding: 18px 0; }
.drawer .btn { width: 100%; }
.drawer .hint { color: var(--muted); font-size: 13px; text-align: center; margin-top: 12px; }

/* Privatisation */
.event { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; background: var(--ink); color: #fff8ec; border-radius: 34px; padding: clamp(28px, 5vw, 56px); }
@media (max-width: 860px) { .event { grid-template-columns: 1fr; } }
.event .head p, .event .kicker { color: rgba(255,248,236,.7); }
.event .kicker { color: var(--sun); }
.estimator label { display: block; font-weight: 800; margin-bottom: 8px; }
.estimator input[type=range] { width: 100%; accent-color: var(--sun); height: 30px; }
.estimator .guests { font-size: 54px; font-weight: 900; color: var(--sun); line-height: 1; }
.estimator .guests small { font-size: 18px; color: rgba(255,248,236,.7); }
.estimator .formules { display: grid; gap: 8px; margin: 20px 0; }
.estimator .formules label { display: flex; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.07); border-radius: 14px; padding: 14px 16px; cursor: pointer; font-weight: 700; margin: 0; }
.estimator .formules input { accent-color: var(--sun); margin-right: 8px; }
.estimate { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px dashed rgba(255,248,236,.2); padding-top: 18px; }
.estimate b { font-size: 38px; font-weight: 900; }

/* Grille façon Instagram */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (max-width: 760px) { .insta { grid-template-columns: repeat(3, 1fr); } }
.insta a { aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; font-size: 42px; position: relative; overflow: hidden; text-decoration: none; background: var(--sun); }
.insta a:nth-child(3n+2) { background: var(--accent-soft); }
.insta a:nth-child(3n) { background: #fff; box-shadow: inset 0 0 0 2px var(--line); }
.insta a::after { content: "♥ " attr(data-likes); position: absolute; inset: 0; background: rgba(42,22,7,.75); color: #fff; display: grid; place-items: center; font-size: 16px; font-weight: 800; opacity: 0; transition: opacity .25s; }
.insta a:hover::after { opacity: 1; }

.faq summary::after { color: var(--accent); }
.callbar .btn { box-shadow: 0 5px 0 #a3241a, 0 12px 30px -10px rgba(0,0,0,.45); }
.callbar .ghost { box-shadow: 0 5px 0 var(--ink), inset 0 0 0 2px var(--ink); }
