/* Le Terminus Marmara */

:root {
  --paper: #f3ede3;
  --paper-2: #e9e0d1;
  --ink: #1c1613;
  --ink-soft: #5b504a;
  --red: #c4161c;
  --red-dark: #9e1015;
  --maroon: #5a1418;
  --maroon-2: #6e1b20;
  --cream: #f6e9d2;
  --line: rgba(28, 22, 19, .14);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-stretch: 72%; font-weight: 800; line-height: .95; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.5rem;
  font: 700 1rem/1 var(--font); font-stretch: 90%;
  text-decoration: none; text-transform: uppercase; letter-spacing: .04em;
  border: 2px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 700 .95rem var(--font); color: inherit;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px;
}
.link-btn:hover { color: var(--red); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-stretch: 80%; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; }
.brand img { border-radius: 50%; }
.brand b { color: var(--red); font-weight: 800; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--red); }
.header-tel { font-weight: 800; text-decoration: none; font-variant-numeric: tabular-nums; }
.header-tel:hover { color: var(--red); }

/* Hero */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.status { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 1.5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2f8f46; }
.dot.closed { background: var(--red); }
.hero h1 {
  font-size: clamp(3rem, 8.4vw, 6.2rem);
  font-weight: 900; font-stretch: 65%;
  text-transform: uppercase; line-height: .88;
}
.hero h1 span { color: var(--red); }
.hero-sub { margin-top: 1.6rem; max-width: 30rem; font-size: 1.15rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-meta { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: .92rem; color: var(--ink-soft); }
.hero-meta strong { color: var(--ink); font-size: 1.05rem; }
.hero-photo { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* La maison */
.maison { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); border-top: 2px solid var(--ink); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.trio figure { margin: 0; }
.trio img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px; }
.trio figcaption { margin-top: 1rem; font-size: 1rem; color: var(--ink-soft); max-width: 22rem; }
.trio figcaption b { display: block; color: var(--ink); font-size: 1.35rem; font-stretch: 75%; font-weight: 800; text-transform: uppercase; margin-bottom: .2rem; }

/* Carte */
.carte { background: var(--maroon); color: var(--cream); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head h2 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 900; font-stretch: 65%; text-transform: uppercase; }
.board { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 6vw, 5rem); }
.item { padding: 1.4rem 0; border-top: 1px solid rgba(246, 233, 210, .22); }
.item header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.item h3 { font-size: 1.7rem; text-transform: uppercase; font-stretch: 70%; }
.price { font-size: 1.7rem; font-weight: 800; font-stretch: 70%; color: #fff; font-variant-numeric: tabular-nums; }
.note { margin-top: .35rem; font-size: .9rem; color: rgba(246, 233, 210, .65); }
.list { margin-top: .7rem; font-size: 1rem; }
.rows { list-style: none; padding: 0; margin: .8rem 0 0; }
.rows li { display: flex; align-items: baseline; gap: .5rem; padding: .25rem 0; }
.rows i { flex: 1; border-bottom: 1px dotted rgba(246, 233, 210, .35); transform: translateY(-4px); min-width: 1rem; }
.rows b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rows + .list { color: rgba(246, 233, 210, .75); font-size: .92rem; }
.sauces { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(246, 233, 210, .22); font-size: .95rem; color: rgba(246, 233, 210, .8); }
.sauces b { color: #fff; text-transform: uppercase; font-stretch: 75%; margin-right: .6rem; letter-spacing: .03em; }
/* Vignettes de la carte */
.pics { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.pics li { display: flex; flex-direction: column; align-items: center; gap: .35rem; width: 88px; font-size: .74rem; line-height: 1.15; text-align: center; color: rgba(246, 233, 210, .8); }
.pics img { width: 88px; height: 88px; object-fit: contain; padding: 6px; background: var(--cream); border-radius: 12px; }
.pics.sm li { width: 64px; font-size: .7rem; }
.pics.sm img { width: 56px; height: 56px; padding: 4px; border-radius: 10px; }
.sauces .pics { margin-top: .9rem; }
.sauces p { margin: 0; }
.carte .link-btn { color: var(--cream); }
.carte .link-btn:hover { color: #fff; }

/* Vidéos */
.videos { background: var(--ink); color: var(--paper); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.larry { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-bottom: clamp(4rem, 8vw, 6rem); }
.phone { aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000; }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.kicker { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #e8a09a; }
.larry blockquote {
  margin: 1rem 0 0; font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 800; font-stretch: 68%; line-height: 1; text-transform: uppercase;
}
.larry-links, .socials { display: flex; gap: 1.5rem; margin-top: 1.75rem; }
.socials { margin: 0; }
.larry-links a, .socials a { font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.larry-links a:hover, .socials a:hover { color: #e8a09a; }
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.reels video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; background: #000; }

/* Photos */
.photos { padding: clamp(3.5rem, 7vw, 6rem) 0 0; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 20vw, 250px); gap: .75rem; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.p-tall { grid-row: span 2; }
.photo-grid img[src*="devanture"] { object-position: 50% 15%; }
.p-wide { grid-column: span 2; }

/* Bandeau avis */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 1rem 0; }
.marquee-track { display: flex; width: max-content; animation: defile 45s linear infinite; }
.marquee span { padding-right: 3rem; font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 800; font-stretch: 70%; text-transform: uppercase; white-space: nowrap; }
@keyframes defile { to { transform: translateX(-50%); } }

/* Avis */
.avis { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.avis-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 2px solid var(--ink); }
.score { display: flex; align-items: flex-end; gap: 1.5rem; }
.score-num { font-size: clamp(7rem, 18vw, 12rem); font-weight: 900; font-stretch: 62%; line-height: .78; color: var(--red); }
.score-stars { color: var(--red); font-size: 1.6rem; letter-spacing: .1em; line-height: 1; }
.score-sub { margin-top: .6rem; font-weight: 600; color: var(--ink-soft); line-height: 1.4; }
.subscores { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin: 0; }
.subscores dt { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.subscores dd { margin: .2rem 0 0; font-size: 2.6rem; font-weight: 800; font-stretch: 68%; line-height: 1; }

.wall { columns: 3; column-gap: 1rem; }
.rv { break-inside: avoid; margin: 0 0 1rem; padding: 1.4rem 1.4rem 1.2rem; background: #fbf8f2; border: 1px solid var(--line); border-radius: 4px; }
.rv-stars { color: var(--red); font-size: .95rem; letter-spacing: .08em; }
.rv blockquote { margin: .7rem 0 1rem; font-size: 1.02rem; line-height: 1.5; }
.rv blockquote::before { content: "« "; }
.rv blockquote::after { content: " »"; }
.rv-mid blockquote { font-size: 1.35rem; line-height: 1.3; font-weight: 600; }
.rv-big { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rv-big blockquote { font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.02; font-weight: 800; font-stretch: 70%; text-transform: uppercase; }
.rv-big .rv-stars { color: #ef6b62; }
.rv figcaption { font-size: .9rem; font-weight: 700; }
.rv figcaption span { display: block; font-weight: 500; color: var(--ink-soft); font-size: .82rem; margin-top: .1rem; }
.rv-big figcaption span { color: rgba(243, 237, 227, .6); }
.avis-more { margin-top: 2rem; text-align: center; }
.wall-more { display: none; margin: .5rem auto 0; }
.hero-rating { text-decoration: none; }
.hero-rating span { color: var(--red); letter-spacing: .06em; }
.hero-rating:hover strong { color: var(--red); }

/* Infos */
.infos { background: var(--paper-2); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.infos-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.infos h2 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 900; font-stretch: 65%; text-transform: uppercase; margin-bottom: 1.5rem; }
.facts { margin: 0 0 2rem; }
.facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); padding-top: .15rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts a { font-weight: 700; text-decoration: none; }
.muted { color: var(--ink-soft); font-size: .92rem; }
.map { aspect-ratio: 4 / 3.4; border-radius: 2px; overflow: hidden; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.footer { background: var(--ink); color: rgba(243, 237, 227, .6); font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }

/* Flyer */
.flyer { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 3.5rem 1rem 1rem; border: 0; border-radius: 4px; background: var(--ink); }
.flyer::backdrop { background: rgba(10, 6, 5, .8); }
.flyer img { width: 100%; height: auto; margin-bottom: 1rem; }
.flyer-close { position: absolute; top: .9rem; right: 1rem; background: none; border: 0; color: var(--paper); font: 700 .95rem var(--font); text-decoration: underline; cursor: pointer; }

/* Barre mobile */
.mobile-bar { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .header-tel { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 3; order: -1; }
  .trio { grid-template-columns: 1fr; gap: 2.5rem; }
  .trio img { aspect-ratio: 4 / 3; }
  .board { grid-template-columns: 1fr; }
  .larry { grid-template-columns: 1fr; }
  .phone { max-width: 320px; }
  .reels { grid-template-columns: repeat(4, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
  .reels video { scroll-snap-align: start; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .infos-grid { grid-template-columns: 1fr; }
  .wall { columns: 2; }

  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--ink);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; height: 60px;
    color: var(--paper); text-decoration: none; font-weight: 700; text-transform: uppercase; font-stretch: 85%; letter-spacing: .04em; font-size: .92rem;
  }
  .mobile-bar .m-call { background: var(--red); }
}

@media (max-width: 600px) {
  .wall { columns: 1; }
  .wall:not(.open) .rv:nth-child(n+9) { display: none; }
  .wall-more { display: block; }
}

@media (max-width: 480px) {
  .pics { gap: .5rem; }
  .pics li, .pics img { width: 76px; }
  .pics img { height: 76px; }
  .pics.sm li { width: 60px; }
  .pics.sm img { width: 52px; height: 52px; }
  .brand span { font-size: 1rem; }
  .header-tel { font-size: .9rem; }
  .facts div { grid-template-columns: 1fr; gap: .2rem; }
  .footer-inner { flex-direction: column; }
  .score-num { font-size: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
