/* Page d’accueil de lunchou.ca (les pages légales gardent style.css) */
:root {
  --bg: #dcefff;
  --bg-2: #eef7ff;
  --surface: #ffffff;
  --fg: #1d2446;
  --muted: #56607f;
  --navy: #28357a;
  --coral: #e8553b;
  --coral-soft: #ffe3dc;
  --sage: #e3f1e6;
  --line: #cfe0f0;
  --shadow: 0 18px 40px -18px rgba(29, 36, 70, 0.35);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12162a;
    --bg-2: #171c34;
    --surface: #1b2038;
    --fg: #eef0fb;
    --muted: #a3aac8;
    --navy: #8f9dff;
    --coral: #ff7a60;
    --coral-soft: #3a2421;
    --sage: #1d2e27;
    --line: #2f3656;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, .brand { font-family: "Fredoka", -apple-system, "Segoe UI", sans-serif; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; margin: 0 0 16px; }
h2 { font-size: clamp(28px, 4.2vw, 40px); line-height: 1.15; margin: 0 0 12px; text-align: center; }
h3 { font-size: 21px; margin: 0 0 6px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.lead { color: var(--muted); font-size: 19px; }
.center { text-align: center; }
.sub { color: var(--muted); text-align: center; max-width: 620px; margin: 0 auto 36px; }

/* Langue : on cache la version qui n’est pas choisie */
html[lang="en"] [lang="fr-CA"], html[lang="fr-CA"] [lang="en"] { display: none !important; }

/* En-tête */
header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 30px; font-weight: 700; color: var(--fg); text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand em { font-style: normal; color: var(--coral); }
.lang-btn {
  font: 700 14px/1 inherit; font-family: inherit;
  border: 2px solid var(--navy); color: var(--navy); background: transparent;
  border-radius: 999px; padding: 8px 14px; cursor: pointer;
}
.lang-btn:hover { background: var(--navy); color: var(--bg); }

/* Accueil */
.hero { padding: 32px 0 64px; overflow-x: clip; }
.hero .wrap { display: grid; gap: 40px; align-items: center; grid-template-columns: 1.1fr 0.9fr; }
.pill { display: inline-block; background: var(--coral-soft); color: var(--coral); font-weight: 700; font-size: 14px; border-radius: 999px; padding: 6px 12px; margin-bottom: 16px; }
h1 em { font-style: normal; color: var(--coral); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  border-radius: 14px; padding: 10px 18px; min-width: 190px;
}
.store svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store small { display: block; font-size: 11px; line-height: 1.2; opacity: 0.85; }
.store b { display: block; font-size: 19px; line-height: 1.15; font-weight: 600; }
.store.soon { background: transparent; color: var(--fg); border: 2px dashed var(--line); cursor: default; }
.note { color: var(--muted); font-size: 15px; margin: 0; }
.phones { position: relative; display: flex; justify-content: center; }
.phone {
  width: 270px; border-radius: 38px; overflow: hidden;
  border: 8px solid #0d1022; background: #0d1022; box-shadow: var(--shadow);
}
.phones .phone + .phone { position: absolute; width: 220px; right: -6px; bottom: -30px; transform: rotate(6deg); }
.phones .phone:first-child { transform: rotate(-4deg); margin-right: 90px; }

/* Sections */
section { padding: 72px 0; }
.alt { background: var(--bg-2); }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--coral-soft); margin-bottom: 14px; }
.card:nth-child(3n+2) .ico { background: var(--sage); }
.card:nth-child(3n) .ico { background: var(--bg); }
.card p { margin: 0; color: var(--muted); }

.steps { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.step { text-align: center; }
.step .phone { width: 100%; max-width: 250px; margin: 0 auto 18px; }
.step p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 700; font-size: 15px; margin-right: 6px; vertical-align: 2px; }

.plates { display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 18px; scroll-snap-type: x mandatory; max-width: 1100px; margin: 0 auto; }
.plate { flex: 0 0 230px; scroll-snap-align: start; background: var(--surface); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.plate img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.plate p { margin: 0; padding: 10px 14px 12px; font-weight: 600; font-size: 15px; }

.prices { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; max-width: 720px; margin: 0 auto; }
.price { background: var(--surface); border: 2px solid var(--line); border-radius: 24px; padding: 28px 24px; text-align: center; position: relative; }
.price.best { border-color: var(--coral); }
.price .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.price .amt { font-family: "Fredoka", sans-serif; font-size: 44px; font-weight: 600; line-height: 1.1; margin: 6px 0; }
.price .amt small { font-size: 18px; color: var(--muted); font-weight: 500; }
.price p { margin: 0; color: var(--muted); }
.perk { display: flex; gap: 16px; align-items: flex-start; max-width: 720px; margin: 22px auto 0; background: var(--surface); border: 2px dashed var(--coral); border-radius: 24px; padding: 20px 22px; }
.perk .ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--coral-soft); }
.perk h3 { margin: 0 0 4px; }
.perk p { margin: 0; color: var(--muted); }
.soon-tag { display: inline-block; vertical-align: 3px; font-family: -apple-system, "Segoe UI", sans-serif; font-size: 12px; font-weight: 700; color: #fff; background: var(--coral); border-radius: 999px; padding: 2px 10px; }
.fine { text-align: center; color: var(--muted); font-size: 14px; max-width: 640px; margin: 24px auto 0; }

.faq { max-width: 760px; margin: 0 auto; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin-bottom: 12px; }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

.cta { text-align: center; }
.cta .stores { justify-content: center; }
.cta img.mascot { width: 90px; margin: 0 auto 10px; }

footer { padding: 36px 0 48px; color: var(--muted); font-size: 15px; text-align: center; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 10px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .stores { justify-content: center; }
  .phones .phone:first-child { margin-right: 70px; }
  .phone { width: 220px; }
  .phones .phone + .phone { width: 180px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .steps .phone { max-width: 230px; }
}
@media (max-width: 520px) {
  .prices { grid-template-columns: 1fr; }
  .store { min-width: 0; flex: 1 1 160px; }
  section { padding: 56px 0; }
}
