/* ============================================
   LE BISTROT DES FRANGINS
   Trouville-sur-Mer
   ============================================ */

/* --- Fonts (loaded via Google Fonts in HTML <head>) --- */

/* --- Variables --- */
:root {
  --green: #1f351f;
  --burgundy: #89342d;
  --brown: #401b13;
  --gold: #d6bd95;
  --cream: #fff4e3;
  --dark: #1c1916;
  --white: #ffffff;
  --gold-bright: #e8d4ad; /* AA-safe gold for eyebrows/labels on dark surfaces */
  --cream-muted: #e6d8c6; /* AA-safe muted cream for body text on dark surfaces */
  --font-heading: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;

  /* Motion + interaction tokens */
  --duration-fast: 180ms;
  --duration: 360ms;
  --duration-slow: 700ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* clear the compacted (scrolled) header with a small gap */
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease, opacity 0.3s ease; }
ul { list-style: none; }

/* --- Accessibility: visible keyboard focus + skip link --- */
:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
  border-radius: 2px;
  box-shadow: 0 0 0 4px rgba(255, 244, 227, 0.9); /* cream halo carries focus on dark surfaces */
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 2000;
  background: var(--dark);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--gold);
  letter-spacing: 0.08em;
  transition: top var(--duration) var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* --- Typography Scale --- */
/* min: 1rem (16px) | body: 1.05-1.125rem | headings: clamp */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.italic { font-style: italic; }
.nowrap { white-space: nowrap; }

/* --- Container --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}



/* =====================
   GRAIN OVERLAY
   ===================== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* =====================
   HEADER / NAV
   ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease;
  padding: 0.5rem 0;
}

.header--scrolled {
  background-color: rgba(28, 25, 22, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(214, 189, 149, 0.22);
  padding: 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav__logo img {
  height: 62px;
  width: auto;
  transform-origin: left center;
  filter: sepia(1) saturate(0.2) brightness(2);
  transition: filter 0.4s ease, transform 0.4s ease; /* transform, not height — no per-frame reflow */
}

.header--scrolled .nav__logo img {
  transform: scale(0.8); /* ~50px scrolled — same visual height, compositor-only */
  filter: sepia(1) saturate(0.2) brightness(2);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a:hover {
  color: var(--gold);
}

.nav__links .btn--reservation {
  background-color: var(--gold);
  border: 1px solid var(--gold);
  color: var(--dark);
  padding: 0.62rem 1.6rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

.nav__links .btn--reservation::after {
  display: none;
}

.nav__links .btn--reservation:hover {
  background-color: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(214, 189, 149, 0.6);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  width: 44px;
  height: 44px;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  width: 28px;
  height: 1.5px;
  background-color: var(--cream);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh; /* iOS Safari: exclude the dynamic toolbar so the CTA isn't clipped */
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 25, 22, 0.45) 0%,
    rgba(28, 25, 22, 0.3) 40%,
    rgba(28, 25, 22, 0.5) 100%
  );
}

.hero__content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  max-width: 700px;
}

.hero__content h1 {
  color: var(--cream);
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero__content h1 .italic {
  color: var(--gold);
  font-weight: 400;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 0.95rem + 0.7vw, 1.3rem);
  font-weight: 500;
  color: var(--cream);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-align: center;
  text-wrap: balance; /* even lines, no orphan word */
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.45);
}


.hero__cta {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}


/* Hero sub-pages */
.hero--sub {
  height: 50vh;
  height: 50svh;
  min-height: 380px;
}

.hero--sub .hero__content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-block;
  position: relative;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  padding: 0.85rem 2.25rem;
  border: 1px solid;
  cursor: pointer;
  transition: color var(--duration) var(--ease-out),
              background-color var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--filled-burgundy:hover { box-shadow: 0 12px 26px -12px rgba(64, 27, 19, 0.75); }


.btn--outline-burgundy {
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.btn--outline-burgundy:hover {
  background-color: var(--burgundy);
  color: var(--cream);
}

.btn--filled-burgundy {
  color: var(--cream);
  background-color: var(--burgundy);
  border-color: var(--burgundy);
}

.btn--filled-burgundy:hover {
  background-color: var(--brown);
  border-color: var(--brown);
}


.btn--outline-cream {
  color: var(--cream);
  border-color: rgba(255, 244, 227, 0.5);
}

.btn--outline-cream:hover {
  background-color: var(--cream);
  color: var(--dark);
  border-color: var(--cream);
}

/* =====================
   SECTIONS
   ===================== */
.section {
  padding: 7rem 0;
  position: relative;
}

.section--cream { background-color: var(--cream); }
.section--white { background-color: var(--white); }
.section--green { background-color: var(--green); color: var(--cream); }
.section--burgundy { background-color: var(--burgundy); color: var(--cream); }
.section--brown { background-color: var(--brown); color: var(--cream); }
.section--dark { background-color: var(--dark); color: var(--cream); }

.section__eyebrow {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 1rem;
}

.section--green .section__eyebrow,
.section--burgundy .section__eyebrow,
.section--brown .section__eyebrow,
.section--dark .section__eyebrow {
  color: var(--gold-bright); /* AA on burgundy/brown (plain gold was 4.46:1) */
}

.section__title {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.section--green .section__title,
.section--burgundy .section__title,
.section--brown .section__title,
.section--dark .section__title {
  color: var(--cream);
}

.section__text {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 560px;
  color: rgba(28, 25, 22, 0.75);
  text-align: left;
}

.section--green .section__text,
.section--burgundy .section__text,
.section--brown .section__text,
.section--dark .section__text {
  color: rgba(255, 244, 227, 0.75);
}

.section__text + .section__text {
  margin-top: 1.25rem;
}

/* =====================
   CONCEPT (Home)
   ===================== */

/* =====================
   MENU PREVIEW (Home)
   ===================== */
.menu-preview {
  text-align: center;
}

.menu-preview .section__title {
  color: var(--cream);
}

.menu-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 3rem 0;
}

.menu-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.9);
}

.menu-gallery img:hover {
  transform: scale(1.03);
  filter: brightness(1);
}


/* =====================
   ABOUT: CONCEPT
   ===================== */
.about-concept {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-concept__image {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.section--green .section__eyebrow {
  font-family: var(--font-heading);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  color: var(--gold);
}

/* =====================
   NOTRE HISTOIRE — Les frangins
   ===================== */
.histoire {
  max-width: 720px;
  margin: 0 auto 4.5rem;
  text-align: center;
}

.histoire__text {
  margin-top: 1.5rem;
}

.histoire .section__text {
  text-align: left;
  max-width: none;
}

.histoire .section__text + .section__text {
  margin-top: 1.1rem;
}

/* Trio of founder portraits */
.team-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.frangin {
  text-align: center;
}

/* editorial rhythm: lift the centre portrait (echoes home-products) */
.frangin:nth-child(2) {
  transform: translateY(2.25rem);
}

.frangin__portrait {
  position: relative;
  margin: 0 0 1.1rem;
  aspect-ratio: 4 / 5;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 18px 40px -24px rgba(28, 25, 22, 0.45);
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

/* delicate engraving-plate frame in the house ink — matches the Paris addresses */
.frangin__portrait::after {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border: 1px solid rgba(64, 27, 19, 0.22);
  pointer-events: none;
  z-index: 1;
  transition: border-color var(--duration) var(--ease-out);
}

.frangin__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--duration-slow) var(--ease-out);
}

.frangin:hover .frangin__portrait {
  transform: translateY(-4px);
  box-shadow: 0 26px 55px -22px rgba(28, 25, 22, 0.5);
}

.frangin:hover .frangin__portrait::after {
  border-color: rgba(137, 52, 45, 0.6);
}

.frangin:hover .frangin__portrait img {
  transform: scale(1.035);
}

.frangin__name {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--burgundy);
  line-height: 1.2;
}

.frangin__name::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin: 0.6rem auto 0;
  background-color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .frangin__portrait img,
  .frangin:hover .frangin__portrait img { transition: none; transform: none; }
}

/* =====================
   CARTE: MENU
   ===================== */
.carte-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.carte-intro .section__eyebrow {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
}

.carte-intro p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 1rem;
  color: rgba(28, 25, 22, 0.6);
  text-align: left;
}

.menu-section {
  margin-bottom: 4.5rem;
}

.menu-section__title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gold);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 5rem;
  margin-top: 2rem;
}

.menu-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(214, 189, 149, 0.25);
}

.menu-item__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.menu-item__name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--dark);
}

.menu-item__price {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--burgundy);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.menu-item__desc {
  font-size: 1rem;
  color: rgba(28, 25, 22, 0.6);
  line-height: 1.65;
  text-align: left;
}

/* Special items */
.menu-special {
  background-color: var(--gold);
  color: var(--brown);
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.menu-special__title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
}

.menu-special__desc {
  font-size: 1rem;
  opacity: 0.85;
}


/* Menu sections on dark backgrounds (carte page) */
.section--menu {
  padding: clamp(4.5rem, 6vw, 7rem) 0;
}

.menu-section--dark .menu-section__title {
  color: var(--cream);
  border-bottom-color: rgba(214, 189, 149, 0.3);
}

.menu-section--dark .menu-item__name {
  color: var(--cream);
}

.menu-section--dark .menu-item__price {
  color: var(--gold);
}

.menu-section--dark .menu-item__desc {
  color: var(--cream-muted); /* 5.79:1 on burgundy — was 3.73:1 */
}

.menu-section--dark .menu-item {
  border-bottom-color: rgba(214, 189, 149, 0.15);
}

.menu-section--dark .menu-special {
  background-color: var(--gold);
  color: var(--brown);
}

/* Ardoise CTA */
.ardoise-cta {
  text-align: center;
  padding: 4rem 0;
}

.ardoise-cta__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.ardoise-cta__sub {
  font-size: 1.05rem;
  color: rgba(28, 25, 22, 0.5);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

/* =====================
   NOS ADRESSES
   ===================== */
.adresses-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
}


/* =====================
   FOOTER
   ===================== */
.footer {
  background-color: var(--dark);
  color: var(--cream);
  padding: 3rem 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(214, 189, 149, 0.15);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer__logo img {
  height: 50px;
  width: auto;
  filter: sepia(1) saturate(0.2) brightness(2);
}

.footer__info p {
  font-size: 1rem;
  line-height: 1.75;
  opacity: 0.6;
  text-align: left;
}

.footer__info p:first-child {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  opacity: 1;
  font-style: italic;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__nav a {
  font-size: 1rem;
  opacity: 0.6;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.footer__nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer__social {
  text-align: right;
}

.footer__social p {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.footer__social-icons {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.footer__social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 244, 227, 0.3);
  opacity: 0.8;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.footer__social-icons a:hover {
  opacity: 1;
  border-color: var(--gold);
}

.footer__social-icons svg {
  width: 18px;
  height: 18px;
  fill: var(--cream);
}

/* =====================
   SCROLL TO TOP
   ===================== */
.scroll-top {
  position: fixed;
  bottom: calc(clamp(1rem, 3vw, 1.75rem) + 60px); /* stack above the Réserver FAB */
  right: clamp(1rem, 3vw, 1.75rem);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--burgundy);
  color: var(--cream);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 998;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--brown);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  fill: var(--cream);
}

/* =====================
   CONTACT PAGE
   ===================== */

/* =====================
   ANIMATIONS
   ===================== */
/* Hidden state is gated behind html.js: without JS (or if the script fails) the
   content stays fully visible — no blank page for users, crawlers, or preview bots. */
.js .fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1), transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.js .fade-in.visible {
  opacity: 1;
  transform: none; /* none (not translateY(0)) so descendants aren't trapped in a stacking context */
}


/* Respect reduced-motion globally: show content at once, no reveal/scroll motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in, .fade-in-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* =====================
   MOBILE NAV OVERLAY
   ===================== */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nav__overlay.active {
  display: flex;
}

.nav__overlay a {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--cream);
  font-style: italic;
  transition: color 0.3s ease;
}

.nav__overlay a:hover {
  color: var(--gold);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .concept { grid-template-columns: 1fr; gap: 2.5rem; }
  .concept__images { order: -1; }

  .menu-gallery { grid-template-columns: repeat(2, 1fr); }

  .about-concept { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-concept__image { height: 350px; }

  .team-trio { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.5rem; max-width: 520px; }
  .frangin:nth-child(2) { transform: none; }
  .frangin:nth-child(3) { grid-column: 1 / -1; max-width: 240px; margin: 0 auto; }
  .frangin__name { font-size: 1.3rem; }

  .menu-grid { grid-template-columns: 1fr; }
  .maturations__grid { grid-template-columns: 1fr; }
  .maturations__accomp ul { grid-template-columns: 1fr; }

  .adresses-grid { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__brand { flex-direction: column; }
  .footer__social { text-align: center; }
  .footer__social-icons { justify-content: center; }

  .menu-special { flex-direction: column; text-align: center; gap: 0.5rem; }
}

@media (max-width: 600px) {
  .hero { min-height: 500px; }
  .section { padding: 5rem 0; }
  .instagram__grid { grid-template-columns: repeat(2, 1fr); }
  .maturations { padding: 2.5rem 1.5rem; }
  .maturations::before { top: 1rem; left: 1rem; right: 1rem; bottom: 1rem; }
  .concept__images { grid-template-columns: 1fr; }
  .concept__images img { height: 220px; }
  .menu-gallery { grid-template-columns: 1fr 1fr; }
  .team-trio { grid-template-columns: 1fr; max-width: 320px; gap: 2.25rem; }
  .frangin:nth-child(3) { max-width: none; }
}

/* ============================================
   REDESIGN ADDITIONS — Maquette v3
   ============================================ */

/* (nav dropdown styles removed — leftover from the deleted multi-page version) */


/* --- Vins page --- */
.vins-intro {
  text-align: center;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto 4rem;
  opacity: 0.85;
}
.vins-list { max-width: 760px; margin: 0 auto; }
.vins-list__title {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 400;
  margin: 2.5rem 0 1.25rem;
  border-bottom: 1px solid rgba(214,189,149,0.3);
  padding-bottom: 0.5rem;
}
.vins-list ul { list-style: none; padding: 0; margin: 0; }
.vins-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.55rem 0;
  color: var(--cream);
  font-size: 0.98rem;
  border-bottom: 1px dashed rgba(214,189,149,0.18);
}
.vins-list li:last-child { border-bottom: none; }
.vins-price { color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* --- Adresses page --- */
.section--gold { background-color: var(--gold); color: var(--brown); }
.adresses-intro-text {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--burgundy);
  max-width: 720px;
  margin: 0 auto;
}
.adresses-paris {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.adresse-paris {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.adresse-paris__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: clamp(0.9rem, 2.4vw, 1.5rem);
  /* gold "paper" matching the section so the baked-gold illustration sits seamlessly */
  background: var(--gold);
  overflow: hidden;
}
/* delicate engraving-plate frame, drawn in the house ink */
.adresse-paris__image::after {
  content: "";
  position: absolute;
  inset: clamp(0.45rem, 1.2vw, 0.75rem);
  border: 1px solid rgba(64,27,19,0.28);
  pointer-events: none;
  transition: border-color 0.4s ease;
}
.adresse-paris:hover .adresse-paris__image::after { border-color: rgba(137,52,45,0.6); }
.adresse-paris__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.adresse-paris:hover .adresse-paris__image img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .adresse-paris__image img { transition: none; }
  .adresse-paris:hover .adresse-paris__image img { transform: none; }
}
.adresse-paris__name { color: var(--burgundy); margin-bottom: 0.4rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.adresse-paris__addr {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.85;
  margin-bottom: 1.25rem;
}
.adresse-paris__desc { color: var(--brown); line-height: 1.7; margin-bottom: 1.5rem; max-width: 38ch; }
.adresse-paris__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
@media (max-width: 900px) {
  .adresse-paris,
  .adresse-paris--right { grid-template-columns: 1fr; gap: 1.5rem; }
  .adresse-paris--right .adresse-paris__image { order: -1; }
}

/* --- Contact page split layout --- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.contact-split:last-child { margin-bottom: 0; }
.contact-split__text .section__title { color: var(--burgundy); margin-bottom: 1.5rem; }
.contact-split__lead { color: var(--brown); margin-bottom: 0.6rem; font-size: 1.05rem; }
.contact-split__phone { color: var(--brown); margin-bottom: 1.25rem; font-size: 1.1rem; line-height: 1.5; }
.contact-split__sub { color: var(--brown); opacity: 0.75; margin-bottom: 1.75rem; line-height: 1.6; }
.contact-split__image img { width: 100%; height: 380px; object-fit: cover; }
.contact-hours { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.contact-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(64,27,19,0.18);
  color: var(--brown);
}
.contact-hours li:last-child { border-bottom: none; }
.contact-hours li span:first-child { font-weight: 700; }
.contact-address { color: var(--brown); margin-top: 1rem; line-height: 1.6; }

/* --- Legal / mentions page --- */
.container--narrow { max-width: 760px; }
.legal { color: var(--brown); }
.legal__note {
  font-size: 0.9rem;
  opacity: 0.8;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 2.5rem;
}
.legal__heading { color: var(--burgundy); font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.25rem 0 0.6rem; }
.legal p { line-height: 1.8; margin-bottom: 0.5rem; }
.legal a { color: var(--burgundy); text-decoration: underline; }
.legal__back { margin-top: 2.5rem; }
.legal__back a { text-decoration: none; }

/* --- Reservation popup (Zenchef booking form) --- */
.resa-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 2rem);
}
.resa-modal.is-open { display: flex; }
.resa-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 22, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.resa-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: min(86vh, 760px);
  height: min(86svh, 760px); /* iOS: keep the Zenchef submit button on-screen */
  background: var(--cream);
  border: 1px solid var(--gold);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
}
.resa-modal__close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(255, 244, 227, 0.85);
  color: var(--brown);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: color var(--duration) var(--ease-out), background-color var(--duration) var(--ease-out);
}
.resa-modal__close:hover { color: var(--burgundy); background: var(--white); }
.resa-modal__iframe { width: 100%; height: 100%; border: 0; background: var(--cream); }
.resa-modal__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.resa-modal__loader span {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(137, 52, 45, 0.25);
  border-top-color: var(--burgundy);
  border-radius: 50%;
  animation: resa-spin 0.8s linear infinite;
}
.resa-modal.is-loaded .resa-modal__loader { display: none; }
@keyframes resa-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .resa-modal__loader span { animation: none; } }

/* --- Floating reservation button (bottom-right, Zenchef) --- */
.resa-fab {
  position: fixed;
  bottom: clamp(1rem, 3vw, 1.75rem);
  right: clamp(1rem, 3vw, 1.75rem);
  z-index: 1500;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.3rem 0.5rem 0.5rem;
  background: var(--burgundy);
  color: var(--cream);
  border: none;
  border-radius: 999px;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(64, 27, 19, 0.55);
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              background-color var(--duration) var(--ease-out);
  animation: resa-fab-in 0.5s var(--ease-out) 0.7s both;
}
.resa-fab__logo { width: 32px; height: 32px; border-radius: 9px; display: block; }
.resa-fab__label { line-height: 1; }
.resa-fab:hover { transform: translateY(-3px); background: var(--brown); box-shadow: 0 18px 40px -10px rgba(64, 27, 19, 0.65); }
.resa-fab:active { transform: translateY(-1px); }
.resa-fab:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; box-shadow: 0 0 0 4px rgba(137, 52, 45, 0.45); }
@keyframes resa-fab-in { from { opacity: 0; transform: translateY(22px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
  .resa-fab { font-size: 0.82rem; padding: 0.45rem 1.05rem 0.45rem 0.45rem; }
  .resa-fab__logo { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .resa-fab { animation: none; }
  .resa-fab:hover, .resa-fab:active { transform: none; }
}
@media (max-width: 900px) {
  .contact-split,
  .contact-split--reverse { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
  .contact-split__image img { height: 260px; }
}

/* ============================================
   ULTRA-AUDIT ADDITIONS
   ============================================ */

/* Responsive home hero source — keeps the preload in sync with what renders */
.hero__bg--home { background-image: url('../images/restaurant-2.webp'); }
@media (max-width: 768px) {
  .hero__bg--home { background-image: url('../images/restaurant-2-750w.webp'); }
}
.hero__bg--carte { background-image: url('../images/restaurant-2.webp'); }
@media (max-width: 768px) {
  .hero__bg--carte { background-image: url('../images/restaurant-2-750w.webp'); }
}
.hero__bg--contact { background-image: url('../images/facade.webp'); }
@media (max-width: 768px) {
  .hero__bg--contact { background-image: url('../images/facade-750w.webp'); }
}

/* Filled-cream CTA — primary action that pops on dark/green surfaces */
.btn--filled-cream {
  color: var(--brown);
  background-color: var(--cream);
  border-color: var(--cream);
}
.btn--filled-cream:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--brown);
}

/* Nos adresses (Paris) — merged section intro */
.adresses-paris-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.adresses-paris-head .section__title { color: var(--burgundy); }
.adresses-paris-head .adresses-intro-text { margin-top: 1.25rem; }

/* "Réserver à Trouville" closing conversion band */
.reserve-band__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.reserve-band__text {
  color: rgba(255, 244, 227, 0.82);
  max-width: 46ch;
  margin: 0 auto 2rem;
}

/* Honest blancs & rosés note (carte) */
.vins-note {
  color: var(--cream);
  opacity: 0.82;
  text-align: center;
  max-width: 620px;
  margin: 0.5rem auto 0;
  line-height: 1.7;
  font-style: italic;
}

/* Contact page CTA row */
.contact-split__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.contact-split__phone a,
.contact-split__sub a {
  color: var(--burgundy);
  border-bottom: 1px solid rgba(137, 52, 45, 0.35);
  transition: border-color var(--duration) var(--ease-out);
}
.contact-split__phone a:hover,
.contact-split__sub a:hover { border-color: var(--burgundy); }

/* ----- Multi-column price lists (huîtres, vins, bières, eaux) ----- */
.pricelist { max-width: 720px; margin: 0 auto; }
.pricelist + .pricelist { margin-top: 2.75rem; }
.pricelist__title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 0.6rem;
  color: var(--burgundy);
}
.pricelist__head,
.pricelist li {
  display: grid;
  grid-template-columns: 1fr repeat(var(--cols, 1), 2.9rem);
  gap: 0 0.6rem;
  align-items: baseline;
}
.pricelist__head {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(214, 189, 149, 0.5);
  margin-bottom: 0.25rem;
}
.pricelist__head span { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.pricelist__head span:not(:first-child) { text-align: right; color: var(--burgundy); }
.pricelist ul { list-style: none; padding: 0; margin: 0; }
.pricelist li {
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(214, 189, 149, 0.32);
}
.pricelist li:last-child { border-bottom: none; }
.pl-name { line-height: 1.45; }
.pl-name em { font-style: italic; opacity: 0.65; font-size: 0.9em; }
.pl-name small { display: block; font-size: 0.85em; opacity: 0.6; line-height: 1.4; }
.pl-price { text-align: right; font-variant-numeric: tabular-nums; color: var(--burgundy); white-space: nowrap; }
.pl-price--na { opacity: 0.35; }

/* price lists on dark surfaces */
.section--green .pricelist__title, .section--brown .pricelist__title,
.section--burgundy .pricelist__title, .section--dark .pricelist__title { color: var(--gold); }
.section--green .pricelist__head span:not(:first-child), .section--brown .pricelist__head span:not(:first-child),
.section--burgundy .pricelist__head span:not(:first-child), .section--dark .pricelist__head span:not(:first-child),
.section--green .pl-price, .section--brown .pl-price,
.section--burgundy .pl-price, .section--dark .pl-price { color: var(--gold); }

/* ----- Bar: multi-column grid of single-price drink categories ----- */
.bar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 3.5rem;
  max-width: 920px;
  margin: 0 auto;
}
.bar-grid .vins-list { max-width: none; margin: 0; }
@media (max-width: 760px) {
  .bar-grid { grid-template-columns: 1fr; gap: 0.5rem; }
  .pricelist__head, .pricelist li { grid-template-columns: 1fr repeat(var(--cols, 1), 2.6rem); }
}

/* ----- Instagram / opening CTA (replaces the fake feed grid) ----- */
.ig-cta {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--brown);
  color: var(--cream);
  box-shadow: 0 30px 60px -30px rgba(28, 25, 22, 0.65);
}
.ig-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.04);
  transition: transform var(--duration-slow) var(--ease-out);
}
.ig-cta:hover .ig-cta__bg { transform: scale(1.08); }
.ig-cta__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(28, 25, 22, 0.55) 0%, rgba(64, 27, 19, 0.82) 100%),
    radial-gradient(120% 90% at 50% 0%, rgba(64, 27, 19, 0.15) 0%, rgba(28, 25, 22, 0.6) 100%);
}
.ig-cta__inner {
  position: relative;
  text-align: center;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ig-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid rgba(214, 189, 149, 0.45);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  margin-bottom: 1.75rem;
}
.ig-cta__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold);
  animation: igEmberPulse 2.6s var(--ease-out) infinite;
}
@keyframes igEmberPulse {
  0%   { box-shadow: 0 0 0 0 rgba(214, 189, 149, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(214, 189, 149, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 189, 149, 0); }
}
.ig-cta__handle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.9rem;
}
.ig-cta__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 1.1rem;
  max-width: 18ch;
}
.ig-cta__text {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--cream-muted);
  max-width: 46ch;
  margin-bottom: 2.25rem;
}
.ig-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
.btn--ig {
  color: var(--brown);
  background-color: var(--gold);
  border-color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn--ig:hover {
  background-color: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.6);
}
.btn--ig svg { width: 1.05em; height: 1.05em; }
.ig-cta .btn--outline-cream {
  color: var(--cream);
  border-color: rgba(255, 244, 227, 0.55);
  background: none;
}
.ig-cta .btn--outline-cream:hover {
  background-color: var(--cream);
  color: var(--brown);
  border-color: var(--cream);
}
@media (max-width: 600px) {
  .ig-cta__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .ig-cta__actions .btn { width: 100%; text-align: center; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-cta__bg, .ig-cta:hover .ig-cta__bg { transition: none; transform: scale(1.04); }
  .ig-cta__badge::before { animation: none; }
}

/* ============================================
   GLOBAL TEXT ADJUSTMENT
   Justified prose (clean both edges, FR hyphenation),
   balanced headings, no orphan/widow words anywhere.
   ============================================ */
h1, h2, h3, h4,
.section__title, .menu-section__title, .ardoise-cta__title, .pricelist__title,
.vins-list__title, .ig-cta__title, .maturations__title, .legal__heading,
.adresse-paris__name, .frangin__name, .hero__subtitle, .instagram__title,
.contact-block__title, .adresse-card__name {
  text-wrap: balance;
}

p, li, .menu-item__desc, .pl-name {
  text-wrap: pretty;
}

/* Justify the long, left-aligned prose blocks for even, "adjusted" edges */
.section__text,
.carte-intro p,
.legal p,
.adresse-paris__desc {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 6 3 3; /* don't hyphenate short words / leave ≥3 chars each side */
}

/* Keep deliberately-centered copy centered (never justify these) */
.hero__subtitle,
.vins-intro,
.reserve-band__text,
.ig-cta__text,
.adresses-intro-text,
.ardoise-cta__sub,
.carte-intro .section__eyebrow,
.contact-block__text {
  text-align: center;
  hyphens: manual;
}

