/* Seau de Crabe Trois-Rivières — maquette
   Palette tirée de l'identité existante : rouge #E32B23, bleu #3BB5E9, noir profond, papier crème. */
:root {
  --red: #e32b23;
  --red-dark: #b81f19;
  --blue: #3bb5e9;
  --night: #0c0d12;
  --night-2: #15161d;
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --ink: #1b1b22;
  --muted: #6b6b76;
  --line: rgba(27, 27, 34, 0.12);
  --gold: #f5b301;
  --white: #ffffff;
  --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --body: "Nunito Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --script: "Caveat", "Brush Script MT", cursive;
  --wrap: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 64px; /* barre mobile */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; }
h1 { font-size: clamp(56px, 9vw, 112px); }
h2 { font-size: clamp(40px, 5.5vw, 68px); }
h3 { font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: 0.02em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.eyebrow {
  font-family: var(--body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 12px;
}
.eyebrow--blue { color: var(--blue); }
.hl { color: var(--red); }
.script { font-family: var(--script); font-weight: 600; color: var(--red); font-size: 1.15em; }
.muted { color: var(--muted); font-size: 0.45em; font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--light { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--lg { padding: 16px 28px; font-size: 17px; }

/* ── Header ── */
.top { position: sticky; top: 0; z-index: 50; background: var(--night); color: #fff; border-bottom: 1px solid rgba(255,255,255,0.08); }
.top__row { display: flex; align-items: center; gap: 24px; min-height: 84px; }
/* Logo officiel horizontal (fond transparent) : hauteur fixe, largeur auto — rien n'est rogné */
.brand { display: inline-flex; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 700; font-size: 15px; color: rgba(255,255,255,0.85); }
.nav a:hover { color: #fff; }
.top__cta { margin-left: auto; display: flex; gap: 10px; }
.top .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 3px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Hero ── */
.hero { position: relative; min-height: min(92vh, 900px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--night); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,13,18,0.25) 0%, rgba(12,13,18,0.55) 45%, rgba(12,13,18,0.92) 100%); }
.hero__content { position: relative; padding: 120px 0 72px; max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .eyebrow { color: var(--blue); }
.lede { font-size: clamp(17px, 2vw, 20px); max-width: 60ch; color: rgba(255,255,255,0.86); margin: 22px 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: rgba(255,255,255,0.1); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; padding: 8px 16px 8px 12px; font-size: 14px; }
.rating strong { font-family: var(--display); font-size: 26px; line-height: 1; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.pills li { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); }
.hero__status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; background: rgba(12,13,18,0.7); border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; }
.hero__status .dot { width: 9px; height: 9px; border-radius: 50%; background: #41c97c; box-shadow: 0 0 0 4px rgba(65,201,124,0.25); }
.hero__status.is-closed .dot { background: #ff6b6b; box-shadow: 0 0 0 4px rgba(255,107,107,0.25); }

/* ── Étapes ── */
.steps { background: var(--night); color: #fff; padding: 88px 0; }
.steps h2 { color: #fff; }
.steps__grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps__grid li { background: var(--night-2); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 26px 22px 22px; position: relative; }
.steps__grid h3 { color: #fff; margin: 14px 0 8px; }
.steps__grid p { color: rgba(255,255,255,0.72); font-size: 15px; margin: 0; }
.num { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--blue); }
.chili { letter-spacing: -2px; }

/* ── Mise en avant ── */
.feature { padding: 88px 0; background: var(--paper); }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature__img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.feature__img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.price { font-family: var(--display); font-size: 40px; color: var(--red); margin: 8px 0 12px; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; }
.checks li { padding-left: 28px; position: relative; margin: 8px 0; font-weight: 600; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 900; }
.checks--small li { font-size: 15px; font-weight: 500; }

/* ── Menu ── */
.menu { background: var(--paper-2); padding: 88px 0; }
.menu__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.menu__tools { display: flex; gap: 10px; }
.menu__tabs { display: flex; gap: 8px; overflow-x: auto; padding: 26px 0 8px; scrollbar-width: none; }
.menu__tabs::-webkit-scrollbar { display: none; }
.menu__tabs a { flex: 0 0 auto; text-decoration: none; font-weight: 800; font-size: 14px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.menu__tabs a:hover { border-color: var(--red); color: var(--red); }
.menu__cols { column-count: 2; column-gap: 40px; margin-top: 18px; }
.mcat { break-inside: avoid; background: #fff; border-radius: var(--radius); padding: 26px 26px 18px; margin: 0 0 24px; box-shadow: 0 6px 22px rgba(27,27,34,0.06); scroll-margin-top: 110px; }
.mcat h3 { color: var(--red); padding-bottom: 12px; border-bottom: 2px solid var(--red); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: baseline; }
.mcat h4 { font-family: var(--body); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 18px 0 4px; }
.mcat ul { list-style: none; margin: 0; padding: 0; }
.mcat li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dotted var(--line); }
.mcat li:last-child { border-bottom: 0; }
.mcat li span { font-weight: 700; }
.mcat li small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 2px; }
.mcat li b { font-family: var(--display); font-size: 22px; letter-spacing: 0.02em; white-space: nowrap; color: var(--ink); }
.mcat__compact li { padding: 6px 0; }
.mcat__compact li b { font-size: 19px; }
.mcat__new > span::after { content: "Nouveau"; display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 2px 7px; border-radius: 4px; vertical-align: middle; }
.mcat__tag { font-family: var(--body); font-weight: 800; font-size: 14px; color: var(--muted); }
.menu__note { font-size: 14px; color: var(--muted); margin: 6px 0 0; }

/* ── Galerie ── */
.gallery { padding: 88px 0 0; background: var(--night); color: #fff; }
.gallery h2 { color: #fff; margin-bottom: 36px; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 6px; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery__grid img:nth-child(1) { grid-row: span 2; }
.gallery__grid img:nth-child(4) { grid-row: span 2; }

/* ── À propos ── */
.about { padding: 96px 0; background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about__img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__img img { aspect-ratio: 4 / 4.2; object-fit: cover; width: 100%; }
.pillars { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pillars li { background: #fff; border-left: 4px solid var(--red); border-radius: 8px; padding: 14px 16px; }
.pillars strong { display: block; font-family: var(--display); font-size: 22px; letter-spacing: 0.02em; }
.pillars span { font-size: 14px; color: var(--muted); }

/* ── Avis ── */
.reviews { background: var(--paper-2); padding: 88px 0; }
.reviews__head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin-bottom: 32px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reviews blockquote { margin: 0; background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 6px 22px rgba(27,27,34,0.06); display: flex; flex-direction: column; }
.reviews blockquote p { font-size: 16px; margin: 10px 0 14px; flex: 1; }
.reviews footer { font-size: 13px; font-weight: 800; color: var(--muted); }

/* ── Contact ── */
.contact { padding: 96px 0; background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.hours { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 16px; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px dotted var(--line); }
.hours th { font-weight: 700; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--red); font-weight: 800; }
address { font-style: normal; line-height: 1.55; margin: 0 0 18px; }
.contact__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 460px; background: #ddd; }
.contact__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }

/* ── Pied ── */
.foot { background: var(--night); color: rgba(255,255,255,0.8); padding: 64px 0 90px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.foot__logo { width: 260px; height: auto; }
.foot__tag { color: var(--blue); font-size: 26px; margin: 10px 0 0; }
.foot h3 { color: #fff; margin-bottom: 10px; }
.foot a { color: #fff; }
.foot__social a { margin-right: 16px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); }
.foot__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: rgba(255,255,255,0.55); }
.foot__credit a { color: var(--blue); text-decoration: none; }

/* ── Barre mobile ── */
.mobilebar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--night); border-top: 1px solid rgba(255,255,255,0.12); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
.mobilebar a { flex: 1; text-align: center; text-decoration: none; color: #fff; font-weight: 800; font-size: 14px; padding: 12px 0; border-radius: 10px; border: 1px solid rgba(255,255,255,0.25); }
.mobilebar__main { background: var(--red); border-color: var(--red) !important; flex: 1.4 !important; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .top__cta { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--night); padding: 8px 20px 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 17px; }
  .burger { display: block; }
}
@media (max-width: 760px) {
  .top__row { min-height: 64px; }
  .brand img { height: 42px; }
  body { font-size: 16px; }
  .hero { min-height: 88vh; }
  .hero__content { padding: 96px 0 56px; }
  .hero__status { font-size: 12px; }
  .feature__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .feature__img { transform: none; }
  .menu__cols { column-count: 1; }
  .steps__grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__grid img:nth-child(1), .gallery__grid img:nth-child(4) { grid-row: span 1; }
  .foot__grid { grid-template-columns: 1fr; }
  .mobilebar { display: flex; }
  .steps, .feature, .menu, .about, .reviews, .contact { padding: 64px 0; }
}
