/* La Bonne Mer — « la devanture » */
:root {
  --outremer: #1E4C9A;
  --outremer-deep: #173E80;
  --marine: #0E2147;
  --ecume: #F7F4EE;
  --pierre: #E6DCCB;
  --laiton: #C9A24A;
  --laiton-clair: #E2C77A;
  --laiton-fonce: #8A6A1F;
  --zellige: #9DB5AC;
  --muted: #4A5468;
  --white: #FFFFFF;

  --f-display: "Gloock", "Didot", "Bodoni 72", Georgia, serif;
  --f-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--marine);
  background: var(--ecume);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--laiton); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--marine); color: var(--white); padding: .75rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

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

.eyebrow {
  font-family: var(--f-label);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--laiton-fonce);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--laiton-clair); }
.eyebrow sup { font-size: .65em; letter-spacing: 0; }
.maison__grid > *, .carte__grid > *, .panels > *, .quotes > * { min-width: 0; }
.h2 {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 1.25rem;
}
.lead { font-size: 1.2rem; line-height: 1.6; }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__intro { color: inherit; opacity: .9; font-size: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.5rem;
  font-family: var(--f-label); font-weight: 600; font-size: 1.05rem;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); border: 1.5px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  cursor: pointer;
}
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn--brass { background: var(--laiton); color: var(--marine); }
.btn--brass:hover { background: var(--laiton-clair); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn:active { transform: translateY(1px); }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--marine); color: var(--white);
  border-bottom: 1px solid rgba(201,162,74,.35);
}
.topbar__inner {
  max-width: var(--wrap); margin: 0 auto; padding: .5rem var(--gutter);
  display: flex; align-items: center; gap: 1.5rem; min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; min-height: 44px; }
.brand__mark { width: 28px; height: 28px; color: var(--laiton); }
.brand__name { font-family: var(--f-display); font-size: 1.45rem; letter-spacing: .02em; white-space: nowrap; }
.nav { display: none; margin-left: auto; gap: .25rem; }
.nav a {
  font-family: var(--f-label); font-weight: 500; font-size: 1.05rem; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; padding: .6rem .8rem; min-height: 44px;
  display: inline-flex; align-items: center; color: rgba(255,255,255,.88);
}
.nav a:hover { color: var(--laiton-clair); }
.topbar__cta { margin-left: auto; min-height: 44px; padding: .5rem 1.1rem; font-size: .98rem; }

/* Hero */
.hero { display: grid; background: var(--outremer); color: var(--white); }
.hero__awning {
  position: relative;
  padding: clamp(2.25rem, 7vw, 5rem) calc(var(--gutter) + 1rem) clamp(2.5rem, 6vw, 4rem);
  display: flex; flex-direction: column; justify-content: center;
}
.hero__awning::after { /* moulure de porte */
  content: ""; position: absolute; inset: clamp(.75rem, 2vw, 1.25rem);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: inset 0 0 0 5px var(--outremer), inset 0 0 0 6px rgba(0,0,0,.18);
  pointer-events: none;
}
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3.3rem, 11vw, 7.4rem);
  line-height: .92; letter-spacing: .01em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero__sign {
  font-family: var(--f-display); font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  color: var(--laiton-clair); margin-bottom: 1.5rem;
}
.hero__promise { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 32rem; line-height: 1.55; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.25rem; }
.hero__actions .btn { flex: 1 1 auto; }
.hero__proof { list-style: none; margin: 0; padding: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 1rem 2rem; border-top: 1px solid rgba(255,255,255,.25); }
.hero__proof li { display: flex; flex-direction: column; }
.hero__proof strong { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; color: var(--white); }
.hero__proof span { font-family: var(--f-label); letter-spacing: .1em; text-transform: uppercase; font-size: .92rem; color: rgba(255,255,255,.85); }
.hero__photo { position: relative; height: 44vh; min-height: 260px; max-height: 460px; overflow: hidden; order: -1; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }

/* Weave — liseré tressé des chaises de terrasse */
.weave {
  height: 18px;
  background-color: var(--ecume);
  background-image:
    linear-gradient(135deg, var(--marine) 25%, transparent 25%),
    linear-gradient(225deg, var(--marine) 25%, transparent 25%),
    linear-gradient(315deg, var(--marine) 25%, transparent 25%),
    linear-gradient(45deg, var(--marine) 25%, transparent 25%);
  background-size: 18px 18px;
  background-position: -9px 0, -9px 0, 0 0, 0 0;
}

/* Maison */
.maison__grid { display: grid; gap: 2rem; }
.maison__text p { max-width: 38rem; }
.maison__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.maison__img--a { aspect-ratio: 4 / 5; }
.maison__img--b { aspect-ratio: 4 / 3; }
.maison__img figcaption { font-family: var(--f-label); letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; color: var(--muted); margin-top: .6rem; }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; border-top: 1px solid rgba(14,33,71,.15); padding-top: 1.5rem; }
.facts li { display: flex; flex-direction: column; }
.facts__n { font-family: var(--f-display); font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; color: var(--outremer); }
.facts li span:last-child { font-family: var(--f-label); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; line-height: 1.3; }

.services {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid; gap: 0;
  border-top: 1px solid rgba(14,33,71,.18);
}
.service { padding: 1.5rem 0; border-bottom: 1px solid rgba(14,33,71,.18); display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 1rem; }
.service svg { width: 2rem; height: 2rem; color: var(--outremer); grid-row: span 2; }
.service h3 { font-family: var(--f-label); font-weight: 600; font-size: 1.2rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .25rem; }
.service p { margin: 0; color: var(--muted); }

/* Carte */
.carte { background: var(--outremer); color: var(--white); position: relative; }
.carte__grid { display: grid; gap: 1.5rem; }
.menu-card {
  background: var(--ecume); color: var(--marine);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(14,33,71,.08), inset 0 0 0 8px var(--ecume), inset 0 0 0 9px var(--outremer);
}
.menu-card__title { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1.5rem; color: var(--outremer); }
.menu-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.menu-list li { display: flex; align-items: baseline; gap: .5rem; padding: .7rem 0; }
.menu-list__name { font-size: 1.08rem; }
.menu-list__dots { flex: 1; border-bottom: 1.5px dotted rgba(14,33,71,.35); transform: translateY(-.3em); min-width: 1rem; }
.menu-list__price { font-family: var(--f-label); font-weight: 600; font-size: 1.15rem; letter-spacing: .04em; white-space: nowrap; color: var(--outremer); }
.sunday { background: var(--marine); color: var(--white); padding: 1.25rem 1.5rem; border-radius: var(--radius); border-left: 4px solid var(--laiton); }
.sunday__day { font-family: var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--laiton-clair); margin: 0 0 .2rem; font-size: .95rem; }
.sunday__dish { font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 0; line-height: 1.2; }
.dish-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.dish-list li { padding: .7rem 0 .7rem 1.75rem; border-bottom: 1px solid rgba(14,33,71,.12); position: relative; font-size: 1.08rem; }
.dish-list li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: .9rem; height: 1px; background: var(--laiton-fonce); }
.menu-card__note { color: var(--muted); font-style: italic; margin: 0; }

.cocktails {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border: 1px solid rgba(226,199,122,.5);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  position: relative;
}
.cocktails__head { text-align: center; margin-bottom: 2.25rem; }
.cocktails__mark { width: 44px; height: 44px; color: var(--laiton-clair); margin: 0 auto .75rem; display: block; }
.cocktails__title { font-family: var(--f-display); font-size: clamp(2rem, 4.5vw, 3rem); text-transform: uppercase; letter-spacing: .06em; }
.cocktail-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem 3rem; }
.cocktail-list h4 { font-family: var(--f-label); font-weight: 600; font-size: 1.25rem; letter-spacing: .14em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.22); padding-bottom: .35rem; margin-bottom: .45rem; }
.cocktail-list h4 span { color: var(--laiton-clair); }
.cocktail-list p { margin: 0; font-style: italic; color: rgba(255,255,255,.9); line-height: 1.5; }
.cocktails__foot { text-align: center; margin: 2.25rem 0 0; font-size: .92rem; color: rgba(255,255,255,.85); }

/* Galerie */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.mosaic__item { overflow: hidden; border-radius: var(--radius); aspect-ratio: 1 / 1; background: var(--pierre); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic__item:hover img { transform: scale(1.04); }
.mosaic__item--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
.mosaic__item--tall { grid-column: span 2; aspect-ratio: 4 / 5; }
.mosaic__item:last-child { grid-column: span 2; aspect-ratio: 16 / 10; }

/* Avis */
.avis { background: var(--pierre); }
.quotes { display: grid; gap: 1.25rem; }
.quote { background: var(--ecume); padding: 1.75rem; border-radius: var(--radius); border-top: 3px solid var(--outremer); }
.quote blockquote { margin: 0 0 1rem; font-family: var(--f-display); font-size: 1.3rem; line-height: 1.35; }
.quote figcaption { font-family: var(--f-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--outremer); }
.quote figcaption::before { content: "— "; }
.quote--big { background: var(--marine); color: var(--white); border-top-color: var(--laiton); }
.quote--big blockquote { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
.quote--big figcaption { color: var(--laiton-clair); }

/* Infos : panneaux de porte */
.infos { background: var(--marine); color: var(--white); }
.panels { display: grid; gap: 1.25rem; }
.panel {
  background: var(--outremer);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow:
    inset 0 0 0 10px var(--outremer),
    inset 0 0 0 11px rgba(255,255,255,.28),
    inset 0 0 0 13px var(--outremer-deep),
    0 1px 0 rgba(255,255,255,.08);
}
.panel__title { font-family: var(--f-label); font-weight: 600; font-size: 1.6rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.05; margin-bottom: 1.25rem; }
.panel__title small { font-size: .95rem; letter-spacing: .2em; font-weight: 500; }
.panel__pending { font-family: var(--f-display); font-size: 1.25rem; color: var(--laiton-clair); margin-bottom: .75rem; }
.panel__text { font-style: normal; color: rgba(255,255,255,.92); margin-bottom: .75rem; }
.panel__link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-label); font-weight: 600; font-size: 1.3rem; letter-spacing: .1em; text-decoration-color: var(--laiton); text-underline-offset: 5px; }
.panel__link:hover { color: var(--laiton-clair); }

.map { margin-top: 2rem; display: grid; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--outremer-deep); }
.map iframe { width: 100%; height: 320px; border: 0; display: block; background: var(--pierre); }
.map__side { padding: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.map__addr { width: 100%; margin: 0 0 .25rem; font-family: var(--f-display); font-size: 1.3rem; }

/* Footer */
.footer { background: var(--marine); color: rgba(255,255,255,.9); padding-bottom: 6rem; }
.weave--footer { background-color: var(--marine); background-image:
    linear-gradient(135deg, var(--ecume) 25%, transparent 25%),
    linear-gradient(225deg, var(--ecume) 25%, transparent 25%),
    linear-gradient(315deg, var(--ecume) 25%, transparent 25%),
    linear-gradient(45deg, var(--ecume) 25%, transparent 25%); }
.footer__inner { display: grid; gap: 1.75rem; padding-top: 3rem; padding-bottom: 2rem; }
.footer__brand svg { width: 36px; height: 36px; color: var(--laiton); margin-bottom: .5rem; }
.footer__name { font-family: var(--f-display); font-size: 1.8rem; margin: 0; color: var(--white); }
.footer__tag { font-family: var(--f-label); letter-spacing: .16em; text-transform: uppercase; font-size: .92rem; color: var(--laiton-clair); }
.footer a { color: var(--white); text-underline-offset: 4px; display: inline-block; padding: .55rem 0; min-height: 44px; }
.footer a:hover { color: var(--laiton-clair); }
.footer__credit { font-size: .9rem; color: rgba(255,255,255,.75); }

/* Barre d'action mobile */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr;
  background: var(--marine); border-top: 1px solid rgba(201,162,74,.45);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  min-height: 60px; color: var(--white); text-decoration: none;
  font-family: var(--f-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .9rem;
}
.actionbar a + a { border-left: 1px solid rgba(255,255,255,.12); }
.actionbar svg { width: 1.3rem; height: 1.3rem; }
.actionbar__main { background: var(--laiton); color: var(--marine) !important; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- ≥ 600px ---------- */
/* Mobile : sur-titre du hero moins espacé pour éviter un retour à la ligne disgracieux */
@media (max-width: 599px) { .hero .eyebrow { letter-spacing: .12em; font-size: .85rem; } }

@media (min-width: 600px) {
  .services { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .cocktail-list { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quote--big { grid-column: span 2; }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
  .mosaic__item:last-child { grid-column: auto; aspect-ratio: 1 / 1; }
  .mosaic__item--tall { grid-column: span 1; grid-row: span 2; aspect-ratio: auto; }
  .mosaic__item--wide { grid-column: span 2; aspect-ratio: auto; }
  .panels { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1.3fr 1fr 1.3fr; align-items: start; }
}

/* ---------- ≥ 900px ---------- */
@media (min-width: 900px) {
  .nav { display: flex; }
  .topbar__cta { margin-left: .5rem; }
  .actionbar { display: none; }
  .footer { padding-bottom: 0; }

  .hero { grid-template-columns: 1.05fr 1fr; min-height: calc(100vh - 64px); max-height: 940px; }
  .hero__awning { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-right: clamp(2rem, 4vw, 4rem); }
  .hero__photo { height: auto; max-height: none; min-height: 0; order: 0; }
  .hero__actions .btn { flex: 0 0 auto; }

  .maison__grid { grid-template-columns: 1.1fr .9fr; grid-template-rows: auto auto; column-gap: clamp(2rem, 5vw, 4.5rem); row-gap: 2rem; align-items: start; }
  .maison__text { grid-row: span 2; align-self: center; }
  .maison__img--a { grid-column: 2; }
  .maison__img--b { grid-column: 2; width: 80%; margin-left: -8%; margin-top: -6rem; position: relative; border: 8px solid var(--ecume); border-bottom: 0; background: var(--ecume); }

  .services { grid-template-columns: repeat(4, 1fr); border-top: 0; column-gap: 0; }
  .service { display: block; padding: 1.75rem 1.5rem; border-bottom: 0; border-left: 1px solid rgba(14,33,71,.18); }
  .service:first-child { border-left: 0; padding-left: 0; }
  .service svg { margin-bottom: 1rem; }

  .carte__grid { grid-template-columns: 1.1fr .9fr; gap: 2rem; }
  .cocktail-list { grid-template-columns: repeat(4, 1fr); gap: 2rem 2.25rem; }

  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 1rem; }
  .mosaic__item { aspect-ratio: auto; }
  .mosaic__item--tall { grid-row: span 2; }
  .mosaic__item:nth-child(5) { grid-column: span 1; }

  .quotes { grid-template-columns: 1.4fr 1fr 1fr; }
  .quote--big { grid-column: 1; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; padding: 2.5rem; }
  .quote:nth-child(4) { grid-column: 2 / span 2; }

  .map { grid-template-columns: 1.6fr 1fr; }
  .map iframe { height: 380px; }
  .map__side { padding: 2.5rem; align-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
