/* L'Atypic — Restaurant Saint-Quay-Portrieux */

:root {
  --accent: #C44016;
  --ink: #1B1C20;
  --cream: #EFEDE7;
  --cream-2: #e5e2da;
  --ink-soft: #2a2b30;
  --muted: rgba(27, 28, 32, 0.55);
  --muted-strong: rgba(27, 28, 32, 0.75);
  --border: rgba(27, 28, 32, 0.12);
  --bg: var(--cream);
  --fg: var(--ink);
  --card: #ffffff;
  --card-border: rgba(27, 28, 32, 0.08);
  --shadow: 0 2px 20px rgba(27, 28, 32, 0.04);
}

[data-theme="dark"] {
  --bg: #131418;
  --fg: #EFEDE7;
  --ink: #EFEDE7;
  --ink-soft: #d6d3cc;
  --cream: #1f2025;
  --cream-2: #2a2b30;
  --muted: rgba(239, 237, 231, 0.55);
  --muted-strong: rgba(239, 237, 231, 0.8);
  --border: rgba(239, 237, 231, 0.14);
  --card: #1b1c21;
  --card-border: rgba(239, 237, 231, 0.08);
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.4s ease, color 0.4s ease;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 40px;
  border-bottom-color: var(--border);
}
.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.nav__brand .mark {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-2px);
}
.nav__brand small {
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: opacity 0.2s;
}
.nav__links a:hover { opacity: 0.6; }
.nav__cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav__phone {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__phone .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}

/* Nav color states — white on hero, ink on scroll */
.nav .nav__brand,
.nav .nav__links a,
.nav .nav__phone { color: #fff; transition: color 0.3s ease; }
.nav .nav__brand small { color: rgba(255,255,255,0.7); transition: color 0.3s ease; }
.nav.scrolled .nav__brand,
.nav.scrolled .nav__links a,
.nav.scrolled .nav__phone { color: var(--fg); }
.nav.scrolled .nav__brand small { color: var(--muted); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { transform: translateY(-1px); background: color-mix(in oklab, var(--accent) 85%, black); }
.btn--ghost {
  border: 1px solid var(--border);
  color: var(--fg);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--ink {
  background: var(--ink);
  color: var(--cream);
}
[data-theme="dark"] .btn--ink { background: var(--cream); color: var(--ink); }
.btn--ink:hover { transform: translateY(-1px); }
.btn .arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.btn:hover .arrow { transform: translate(3px, -3px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  padding: 140px 40px 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.hero__meta .right { text-align: right; }
.hero__title {
  font-family: 'Poppins', serif;
  font-weight: 300;
  font-size: clamp(64px, 14vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.hero__title .thick {
  font-weight: 700;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  margin-top: 40px;
}
.hero__media {
  aspect-ratio: 4/5;
  background: var(--cream-2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.8s ease;
}
.hero__media:hover img { transform: scale(1); }
.hero__media .tag {
  position: absolute;
  top: 20px; left: 20px;
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  color: var(--fg);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.hero__copy {
  padding-bottom: 20px;
}
.hero__copy p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted-strong);
  max-width: 420px;
  margin-bottom: 28px;
}
.hero__copy p strong { font-weight: 500; color: var(--fg); }
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* HERO VARIANTS */
.hero[data-variant="split"] .hero__title { font-size: clamp(48px, 8vw, 120px); }
.hero[data-variant="split"] .hero__grid { grid-template-columns: 1fr 1fr; margin-top: 20px; }
.hero[data-variant="split"] .hero__media { aspect-ratio: 3/4; }

.hero[data-variant="mosaic"] .hero__title { font-size: clamp(56px, 11vw, 160px); }
.hero[data-variant="mosaic"] .hero__grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.hero[data-variant="mosaic"] .hero__copy { grid-column: 1 / -1; padding: 20px 0 0; }
.hero[data-variant="mosaic"] .hero__copy p { max-width: 560px; }

.hero[data-variant="image"] {
  padding: 0;
  min-height: 100vh;
}
.hero[data-variant="image"] .hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1B1C20;
}
.hero[data-variant="image"] .hero__bg video,
.hero[data-variant="image"] .hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero[data-variant="image"] .hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,28,32,0.35) 0%, rgba(27,28,32,0.6) 100%);
}
.hero[data-variant="image"] .hero__content {
  position: relative;
  z-index: 2;
  padding: 160px 40px 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.hero[data-variant="image"] .hero__title { color: #fff; font-size: clamp(64px, 12vw, 180px); }
.hero[data-variant="image"] .hero__title em { color: color-mix(in oklab, var(--accent) 85%, white); }
.hero[data-variant="image"] .hero__meta { color: rgba(255,255,255,0.7); }
.hero[data-variant="image"] .hero__copy p { color: rgba(255,255,255,0.9); }
.hero[data-variant="image"] .hero__copy p strong { color: #fff; }
.hero[data-variant="image"] .hero__grid { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.hero[data-variant="image"] .hero__media { display: none; }
.hero[data-variant="image"] .btn--ghost { border-color: rgba(255,255,255,0.3); color: #fff; }
.hero[data-variant="image"] .btn--ghost:hover { background: #fff; color: var(--ink); }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  background: var(--bg);
}
.marquee__track {
  display: flex;
  gap: 60px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee__item {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 60px;
}
.marquee__item::after {
  content: '✦';
  color: var(--accent);
  font-size: 16px;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   SECTIONS
   ========================================================= */
section { padding: 120px 40px; }

.label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}
.h2 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 12ch;
}
.h2 em { font-style: italic; color: var(--accent); font-weight: 300; }

/* Histoire */
.histoire {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.histoire__media {
  aspect-ratio: 4/5;
  background: var(--cream-2);
  overflow: hidden;
  position: relative;
  border-radius: 4px;
}
.histoire__media img { width: 100%; height: 100%; object-fit: cover; }
.histoire__text p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  margin-top: 28px;
  color: var(--muted-strong);
  max-width: 52ch;
}
.histoire__text p + p { margin-top: 16px; }
.histoire__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.histoire__stats .stat__num {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.histoire__stats .stat__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 400;
}

/* Spécialités */
.specs { background: var(--ink); color: var(--cream); }
[data-theme="dark"] .specs { background: #0c0d10; }
.specs .label { color: color-mix(in oklab, var(--accent) 90%, white); }
.specs__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 80px;
}
.specs .h2 { color: var(--cream); }
.specs__head p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(239, 237, 231, 0.7);
  max-width: 44ch;
}
.specs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(239, 237, 231, 0.1);
  border-radius: 4px;
  overflow: hidden;
}
.spec {
  background: var(--ink);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.3s;
  cursor: pointer;
  position: relative;
  min-height: 320px;
}
[data-theme="dark"] .spec { background: #0c0d10; }
.spec:hover { background: var(--accent); }
.spec__num {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(239, 237, 231, 0.5);
  font-weight: 500;
}
.spec:hover .spec__num { color: rgba(255,255,255,0.7); }
.spec__title {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: auto;
}
.spec__desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(239, 237, 231, 0.65);
  line-height: 1.5;
}
.spec:hover .spec__desc { color: rgba(255,255,255,0.85); }
.spec__arrow {
  position: absolute;
  top: 32px; right: 32px;
  font-size: 20px;
  font-weight: 300;
  opacity: 0.3;
  transition: transform 0.3s, opacity 0.3s;
}
.spec:hover .spec__arrow { opacity: 1; transform: translate(4px, -4px); }

/* Menus */
.menus__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 80px;
}
.menus__head p {
  font-size: 16px;
  font-weight: 300;
  max-width: 380px;
  color: var(--muted-strong);
}
.menus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.menus__grid--2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.menu-card {
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.3s, border-color 0.3s;
  position: relative;
}
.menu-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.menu-card__tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.menu-card__name {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
}
.menu-card__name em { font-style: italic; color: var(--accent); }
.menu-card__desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted-strong);
  line-height: 1.6;
}
.menu-card__items {
  list-style: none;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.menu-card__items li {
  font-size: 14px;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.menu-card__items li span:last-child {
  color: var(--muted);
  font-weight: 300;
  font-size: 12px;
  white-space: nowrap;
}
.menu-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: auto;
}
.menu-card__price {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.menu-card__price span {
  font-size: 13px;
  color: var(--muted);
  margin-left: 4px;
}
.menu-card__price--with-from {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
.menu-card__price-from {
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: lowercase;
  margin-left: 0;
}

/* Detailed menu cards */
.menu-card--detailed {
  padding: 56px 56px 48px;
  gap: 20px;
}
.menu-card--detailed .menu-card__name {
  font-size: 40px;
}
.menu-card__sections {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 0 4px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.menu-section__title {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-strong);
  font-weight: 500;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}
.menu-section__title em {
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--muted);
  margin-left: 6px;
}
.menu-section__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.menu-section__list li {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  position: relative;
  padding-left: 18px;
}
.menu-section__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.menu-section__note {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.menu-card__items--flush {
  border: none;
  padding: 0;
}
.menu-card__note {
  font-size: 12.5px;
  font-style: italic;
  font-weight: 300;
  color: var(--muted-strong);
  line-height: 1.55;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  margin: 0;
}

/* Galerie */
.galerie__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}
.galerie__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px 240px;
  gap: 16px;
}
.galerie__item {
  overflow: hidden;
  border-radius: 4px;
  background: var(--cream-2);
  position: relative;
  cursor: pointer;
}
.galerie__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.galerie__item:hover img { transform: scale(1.05); }
.galerie__item:nth-child(1) { grid-row: span 2; }
.galerie__item:nth-child(4) { grid-column: span 2; }

/* Avis */
.avis { background: var(--cream-2); }
[data-theme="dark"] .avis { background: #1a1b20; }
.avis__head { text-align: center; margin-bottom: 56px; }
.avis__head .h2 { margin: 0 auto; }
.avis__head .label { justify-content: center; }
.avis__head .label::before { content: none; }

/* Grille statique (utilisée par index-print.html) */
.avis__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.avis__meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 8px 18px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-strong);
}
.avis__meta-stars { color: var(--accent); letter-spacing: 1px; font-size: 13px; }

/* Carrousel */
.avis-carousel {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}
.avis-carousel__viewport {
  overflow: hidden;
  border-radius: 4px;
}
.avis-carousel__track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  --per-view: 3;
  --gap: 24px;
}
.avis-carousel__track .avis-card {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  min-width: 0;
}
@media (max-width: 1099px) {
  .avis-carousel__track { gap: 20px; --gap: 20px; }
}
@media (max-width: 719px) {
  .avis-carousel__track { gap: 0; --gap: 0px; }
}

/* Boutons nav */
.avis-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--card-border);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  z-index: 2;
  box-shadow: var(--shadow);
}
.avis-carousel__nav:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.avis-carousel__nav:active { transform: translateY(-50%) scale(0.95); }
.avis-carousel__nav--prev { left: 0; }
.avis-carousel__nav--next { right: 0; }

/* Dots */
.avis-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.avis-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(27, 28, 32, 0.18);
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}
[data-theme="dark"] .avis-carousel__dot { background: rgba(239, 237, 231, 0.22); }
.avis-carousel__dot.is-active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

/* Sources liens */
.avis__sources {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.avis__source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-strong);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.avis__source-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Carte d'avis */
.avis-card {
  background: var(--bg);
  padding: 32px 30px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}
.avis-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.avis-card__stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 2px;
  white-space: nowrap;
}
.avis-card__stars-empty {
  color: rgba(196, 64, 22, 0.22);
}
[data-theme="dark"] .avis-card__stars-empty { color: rgba(196, 64, 22, 0.35); }

.avis-card__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  background: var(--cream-2);
  color: var(--muted-strong);
  font-family: 'Poppins', sans-serif;
}
.avis-card__mark--google {
  background: #fff;
  color: #4285F4;
  border: 1px solid var(--card-border);
}
[data-theme="dark"] .avis-card__mark--google {
  background: #1a1b20;
}
.avis-card__mark--trip {
  background: #fff;
  color: #00AA6C;
  border: 1px solid var(--card-border);
  font-size: 9px;
  letter-spacing: -1px;
}
[data-theme="dark"] .avis-card__mark--trip {
  background: #1a1b20;
}

.avis-card__text {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--fg);
  font-style: italic;
  flex: 1;
  /* limiter à ~7 lignes pour homogénéiser */
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.avis-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  gap: 12px;
}
.avis-card__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.avis-card__name { font-size: 14px; font-weight: 500; }
.avis-card__meta {
  font-size: 11px;
  color: var(--muted);
  font-style: normal;
}
.avis-card__source {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  align-self: flex-end;
}

/* Infos */
.infos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.infos__block h3 {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.infos__row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.infos__row span:first-child { font-weight: 400; }
.infos__row span:last-child { color: var(--muted-strong); font-weight: 300; }
.infos__row.closed span:last-child { color: var(--accent); }
.infos__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.infos__contact .line {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  align-items: baseline;
}
.infos__contact .line .k {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.infos__contact .line .v {
  font-weight: 400;
}
.infos__contact .line .v em { font-style: normal; color: var(--accent); font-size: 22px; font-weight: 300; letter-spacing: -0.01em; }
.infos__map {
  margin-top: 32px;
  aspect-ratio: 16/10;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream-2);
  position: relative;
}
.infos__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(30%); }

/* Footer */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 40px 40px;
}
[data-theme="dark"] .footer { background: #0c0d10; }
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(239, 237, 231, 0.12);
}
.footer__brand {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.footer__brand em { font-style: italic; color: var(--accent); }
.footer__brand .tag {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(239, 237, 231, 0.5);
  font-weight: 400;
}
.footer__col h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(239, 237, 231, 0.5);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer__col a, .footer__col li {
  font-size: 14px;
  font-weight: 300;
  color: rgba(239, 237, 231, 0.85);
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--accent); }
.footer__col li { list-style: none; }
.footer__bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  color: rgba(239, 237, 231, 0.5);
  letter-spacing: 0.06em;
}

/* =========================================================
   TWEAKS PANEL
   ========================================================= */
.tweaks {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px;
  width: 260px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  z-index: 100;
  display: none;
  font-size: 13px;
}
.tweaks.active { display: block; }
.tweaks__title {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tweaks__group { margin-bottom: 18px; }
.tweaks__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
  font-weight: 500;
}
.tweaks__row { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks__btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 400;
  transition: all 0.15s;
  background: transparent;
  color: var(--fg);
  min-width: 0;
}
.tweaks__btn.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tweaks__swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: transform 0.15s;
  flex: 0 0 auto;
}
.tweaks__swatch:hover { transform: scale(1.1); }
.tweaks__swatch.active { border-color: var(--fg); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--fg); }

/* =========================================================
   MOBILE HAMBURGER
   ========================================================= */
.nav__burger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 110;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, background 0.25s ease;
}
.nav.scrolled .nav__burger {
  background: var(--cream-2);
  border-color: var(--card-border);
}
.nav.scrolled .nav__burger span { background: var(--ink); }
.nav__burger.is-active {
  background: var(--accent);
  border-color: var(--accent);
}
.nav__burger.is-active span { background: #fff; }
.nav__burger.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__burger.is-active span:nth-child(2) { opacity: 0; }
.nav__burger.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-menu__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 110px 28px 40px;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu__links a {
  font-size: clamp(32px, 8vw, 48px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.15;
  padding: 14px 0;
  border-bottom: 1px solid rgba(239, 237, 231, 0.1);
  color: var(--cream);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.mobile-menu__links a::after {
  content: '↗';
  font-size: 18px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  color: var(--accent);
}
.mobile-menu__links a:hover,
.mobile-menu__links a:active {
  color: var(--accent);
  padding-left: 6px;
}
.mobile-menu__links a:hover::after,
.mobile-menu__links a:active::after {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(239, 237, 231, 0.12);
}
.mobile-menu__phone {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.mobile-menu__phone .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}
.mobile-menu__foot .btn--primary {
  align-self: flex-start;
  padding: 14px 24px;
  font-size: 14px;
}
.mobile-menu__addr {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(239, 237, 231, 0.5);
  margin-top: 8px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ===== TABLET (≤ 1024px) ===== */
@media (max-width: 1024px) {
  body { overflow-x: hidden; }

  /* NAV */
  .nav { padding: 18px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav__links { display: none; }
  .nav__brand { padding: 0 !important; font-size: 18px; }
  .nav__phone { display: none; }
  .nav__burger { display: inline-flex; }

  /* HERO */
  .hero, .hero[data-variant="image"] { min-height: 90vh; }
  .hero[data-variant="image"] .hero__content {
    padding: 130px 32px 56px !important;
  }
  .hero__title,
  .hero[data-variant="image"] .hero__title {
    font-size: clamp(64px, 14vw, 140px) !important;
    line-height: 0.9;
  }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .hero[data-variant="image"] .hero__grid { flex-direction: column; align-items: flex-start; }
  .hero__copy p { max-width: 100%; }

  /* HERO VIDEO — keep prominent on tablet, slight zoom for impact */
  .hero[data-variant="image"] .hero__bg video,
  .hero[data-variant="image"] .hero__bg img {
    transform: scale(1.15);
    transform-origin: center center;
  }
  .hero[data-variant="image"] .hero__bg::after {
    background: linear-gradient(180deg, rgba(27,28,32,0.30) 0%, rgba(27,28,32,0.55) 60%, rgba(27,28,32,0.7) 100%);
  }

  /* HISTOIRE */
  .histoire, .infos { grid-template-columns: 1fr; gap: 40px; }
  #histoire { margin: 0 !important; }
  .histoire__text .h2 { padding: 0 !important; }

  /* SPÉCIALITÉS / MENUS / GALERIE */
  .specs__head, .menus__head, .galerie__head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .specs__head > div,
  .menus__head > div { padding: 0 !important; }
  .specs__head p,
  .menus__head p { margin: 0 !important; max-width: 100%; }
  .specs__grid { grid-template-columns: repeat(2, 1fr); }
  .spec { padding: 32px 24px !important; min-height: 260px; }
  .menus__grid, .menus__grid--2 { grid-template-columns: 1fr; gap: 24px; }
  .menu-card--detailed { padding: 36px 32px 32px; }
  .menu-card--detailed .menu-card__name { font-size: 32px; }

  /* GALERIE INDEX */
  .galerie__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px 200px; }
  .galerie__item:nth-child(1) { grid-row: span 1; }
  .galerie__item:nth-child(4) { grid-column: span 1; }

  /* AVIS */
  .avis__grid { grid-template-columns: 1fr; }
  .avis-carousel { padding: 0 0 8px; }
  .avis-carousel__nav { display: none; }
  .avis__sources { gap: 20px; flex-direction: column; align-items: center; }

  /* FOOTER */
  .footer { padding: 60px 24px 32px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 40px; }
  .footer__brand { font-size: 36px; }

  /* SECTIONS */
  section { padding: 72px 24px; }
  #galerie { padding: 72px 24px !important; }

  /* PAGE HERO (legal pages, contact, gallery) */
  .page-hero { padding: 130px 24px 60px; }
  .page-body { padding: 60px 24px 90px; }
  .infos-section { padding: 60px 24px 90px !important; }

  /* MARQUEE */
  .marquee__item { font-size: 22px; }
}

/* ===== MOBILE (≤ 720px) ===== */
@media (max-width: 720px) {
  .nav { padding: 14px 18px; }
  .nav.scrolled { padding: 10px 18px; }
  .nav__phone { display: none; }
  .nav__brand { font-size: 17px; }
  .nav .btn--primary { padding: 10px 16px; font-size: 12px; }

  /* HERO — vidéo plus grande, plus immersive */
  .hero, .hero[data-variant="image"] { min-height: 100vh; }
  .hero[data-variant="image"] .hero__content {
    padding: 110px 20px 40px !important;
  }
  .hero__meta { font-size: 10px; letter-spacing: 0.14em; }
  .hero__meta .right { text-align: left; }
  .hero__title,
  .hero[data-variant="image"] .hero__title {
    font-size: clamp(52px, 16vw, 88px) !important;
    line-height: 0.92;
  }
  .hero__grid { gap: 24px; margin-top: 24px; }
  .hero__copy p { font-size: 15px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; justify-content: center; }

  /* Vidéo header — grossie pour rester impactante */
  .hero[data-variant="image"] .hero__bg video,
  .hero[data-variant="image"] .hero__bg img {
    transform: scale(1.5);
    transform-origin: center 35%;
  }
  .hero[data-variant="image"] .hero__bg::after {
    background: linear-gradient(180deg, rgba(27,28,32,0.25) 0%, rgba(27,28,32,0.5) 50%, rgba(27,28,32,0.75) 100%);
  }

  /* HISTOIRE */
  .histoire__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 28px; margin-top: 32px; }
  .histoire__stats .stat__num { font-size: 28px; }
  .histoire__stats .stat__label { font-size: 10px; letter-spacing: 0.1em; }
  .histoire__text p { font-size: 15px; }

  /* SPÉCIALITÉS */
  .specs__grid { grid-template-columns: 1fr; }
  .spec { min-height: 200px; padding: 28px 22px !important; }
  .spec__title { font-size: 24px; }

  /* MENU */
  .menu-card { padding: 28px 24px; }
  .menu-card--detailed { padding: 28px 24px 24px; }
  .menu-card--detailed .menu-card__name { font-size: 28px; }
  .menu-card__price { font-size: 26px; }

  /* GALERIE */
  .galerie__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; grid-template-rows: none; }
  .galerie__item { grid-row: auto !important; grid-column: auto !important; height: 220px; }

  /* H2 général */
  .h2 { font-size: clamp(34px, 9vw, 52px); }

  /* FOOTER */
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* SECTIONS */
  section { padding: 56px 18px; }
  #galerie { padding: 56px 18px !important; }

  /* PAGE HERO sur petit mobile */
  .page-hero { padding: 110px 18px 48px; }
  .page-body { padding: 48px 18px 72px; }
  .infos-section { padding: 48px 18px 72px !important; }

  /* MARQUEE */
  .marquee__item { font-size: 18px; gap: 32px; }
  .marquee__track { gap: 32px; }

  /* MENU section header overlap fix */
  .menus__head { margin-bottom: 40px !important; }

  /* TWEAKS panel */
  .tweaks { width: calc(100vw - 32px); right: 16px; bottom: 16px; }
}

/* ===== SMALL MOBILE (≤ 400px) ===== */
@media (max-width: 400px) {
  .hero[data-variant="image"] .hero__content {
    padding: 100px 16px 32px !important;
  }
  .hero__title,
  .hero[data-variant="image"] .hero__title {
    font-size: clamp(44px, 14vw, 68px) !important;
  }
  .nav .btn--primary { padding: 9px 14px; }
  section { padding: 48px 16px; }
}

/* Page content (for legal pages) */
.page-hero {
  padding: 180px 40px 80px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .label { margin-bottom: 24px; }
.page-body {
  padding: 80px 40px 120px;
  max-width: 820px;
  margin: 0 auto;
}
.page-body h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
}
.page-body h2:first-child { margin-top: 0; }
.page-body p, .page-body ul {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted-strong);
  margin-bottom: 12px;
}
.page-body ul { padding-left: 20px; }
.page-body ul li { margin-bottom: 6px; }
.page-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page-body strong { font-weight: 500; color: var(--fg); }
