/* ═══════════════════════════════════════════════════
   LE FLORENTIN — Design System CSS
   Bistrot français classique, Paris 1er
   Mobile-first — Creato Display (DA Le Florentin)
   ═══════════════════════════════════════════════════ */

/* ─── @FONT-FACE — Creato Display (DA Le Florentin) ─── */
@font-face {
  font-family: 'Creato Display';
  src: url('/assets/da/CreatoDisplay-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Creato Display';
  src: url('/assets/da/CreatoDisplay-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  /* Couleurs principales */
  --rouge-florentin: #8B1A1A;
  --rouge-profond: #5C0E0E;
  --rouge-clair: #B94A4A;
  --or-bistrot: #C9A94E;
  --or-clair: #E8D48B;
  --creme: #FAF6EF;
  --creme-fonce: #F0E8D8;
  --bois: #3E2B1C;
  --bois-clair: #6B4C35;
  --noir-doux: #1A1A1A;
  --gris-texte: #4A4A4A;
  --gris-clair: #E8E4DE;
  --blanc: #FFFFFF;

  /* Typographies — DA Le Florentin
     Titres : Creato Display Regular Italic affichée en bold (synthetic)
     Body   : Creato Display Regular
     Fallback CJK pour zh/ja/ko */
  --font-display: 'Creato Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Creato Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               'Noto Sans SC', 'Noto Sans JP', 'Noto Sans KR',
               'PingFang SC', 'Hiragino Sans', 'Malgun Gothic',
               sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 400ms ease;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
  --shadow-up: 0 -4px 12px rgba(0,0,0,0.1);

  /* Container */
  --container-max: 1200px;
  --container-narrow: 720px;
}

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  /* Filet de sécurité : empêche tout débordement horizontal global */
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--creme);
  color: var(--bois);
  line-height: 1.7;
  font-weight: 400;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Espace pour le CTA sticky mobile (56px) */
  padding-bottom: 56px;
}

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

a {
  color: var(--rouge-florentin);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--rouge-clair);
}

/* Focus visible — accessibilité clavier WCAG AA */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--or-bistrot);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

/* ─── TYPOGRAPHY — Mobile-first
   DA Le Florentin : tous les titres en Creato Display italic bold ─── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
  color: var(--rouge-profond);
}

h3 {
  font-size: 1.15rem;
  color: var(--or-bistrot);
}

p {
  margin-bottom: 1rem;
  color: var(--bois);
  max-width: 75ch;
}

.text-small {
  font-size: 0.875rem;
  color: var(--gris-texte);
}

.text-caption {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--gris-texte);
}

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ─── NAVIGATION STICKY ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition-slow), box-shadow var(--transition-slow), transform var(--transition-normal);
  padding: 0.75rem var(--space-sm);
}

.nav--hidden {
  transform: translateY(-100%);
}

.nav--scrolled {
  background: rgba(92, 14, 14, 0.95);
  box-shadow: var(--shadow-md);
}

/* Pages sans hero plein écran : nav avec fond rouge dès le haut
   (sinon le logo blanc serait invisible sur fond crème) */
body:not(:has(.hero)) .nav {
  background: rgba(92, 14, 14, 0.95);
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.nav__logo img {
  height: 40px;
  max-height: 40px;
  width: auto;
  max-width: 160px;
  display: block;
  transition: opacity var(--transition-fast);
}

.nav__logo:hover img {
  opacity: 0.85;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-md);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--creme);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  padding: 0.4rem 0;
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--or-clair);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--or-bistrot);
  transition: width var(--transition-normal);
}

.nav__link:hover::after {
  width: 100%;
}

/* Language selector */
.nav__lang {
  position: relative;
}

.nav__lang-btn {
  background: none;
  border: 1px solid rgba(250,246,239,0.3);
  color: var(--creme);
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: border-color var(--transition-fast);
}

.nav__lang-btn:hover {
  border-color: var(--or-bistrot);
}

.nav__lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--blanc);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-width: 160px;
  z-index: 110;
}

.nav__lang-dropdown.is-open {
  display: block;
}

.nav__lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: var(--bois);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.nav__lang-dropdown a:hover {
  background: var(--creme);
  color: var(--rouge-florentin);
}

/* CTA in nav */
.nav__cta {
  display: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--creme);
  background: var(--rouge-florentin);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background var(--transition-normal), transform var(--transition-fast);
  border: none;
  cursor: pointer;
}

.nav__cta:hover {
  background: var(--or-bistrot);
  color: var(--noir-doux);
  transform: scale(1.02);
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 120;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--creme);
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

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

.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile menu overlay */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--rouge-profond);
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

.nav__mobile-menu.is-open {
  display: flex;
}

.nav__mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--creme);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav__mobile-menu a:hover {
  color: var(--or-clair);
}

/* ─── HERO SECTION ─── */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--noir-doux); /* fond sombre derrière l'image, plus de bande grise */
  overflow: hidden;
}

/* Le wrapper parallax remplit toute la zone hero */
.hero__parallax {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* La balise <picture> est inline par défaut : on la force en bloc plein cadre */
.hero__image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.8) 0%,
    rgba(26, 26, 26, 0.3) 40%,
    transparent 70%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--creme);
  max-width: 600px;
}

.hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  font-weight: 700;
  color: var(--creme);
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 800ms ease-out 200ms forwards;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--or-clair);
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 800ms ease-out 400ms forwards;
}

.hero__meta {
  font-size: 0.875rem;
  color: rgba(250, 246, 239, 0.8);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 800ms ease-out 600ms forwards;
}

.hero__cta {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 800ms ease-out 800ms forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: background-color var(--transition-normal), color var(--transition-normal), transform var(--transition-fast);
}

.btn--primary {
  background: var(--rouge-florentin);
  color: var(--creme);
}

.btn--primary:hover {
  background: var(--or-bistrot);
  color: var(--noir-doux);
  transform: scale(1.02);
}

.btn--outline {
  background: transparent;
  color: var(--creme);
  border: 2px solid var(--or-bistrot);
}

.btn--outline:hover {
  background: var(--or-bistrot);
  color: var(--noir-doux);
}

.btn--secondary {
  background: transparent;
  color: var(--rouge-florentin);
  border: 2px solid var(--rouge-florentin);
}

.btn--secondary:hover {
  background: var(--rouge-florentin);
  color: var(--creme);
}

.btn--full {
  display: block;
  width: 100%;
  text-align: center;
}

/* Sticky CTA mobile */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--rouge-florentin);
  box-shadow: var(--shadow-up);
  padding: 0;
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  color: var(--creme);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background-color var(--transition-fast);
}

.sticky-cta a:active {
  background: var(--rouge-profond);
}

/* ─── SECTIONS ─── */
.section {
  padding: var(--space-xl) var(--space-sm);
}

.section--alt {
  background: var(--blanc);
}

.section--dark {
  background: var(--noir-doux);
  color: var(--creme);
}

.section--dark h2 {
  color: var(--or-clair);
}

.section--dark p {
  color: rgba(250, 246, 239, 0.85);
}

.section--rouge {
  background: var(--rouge-profond);
  color: var(--creme);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__header h2 {
  margin-bottom: 0.5rem;
}

.section__header h3 {
  margin-bottom: var(--space-sm);
}

/* Separator */
.separator {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--or-bistrot);
  margin: var(--space-sm) auto;
}

/* ─── STORY SECTION (text + image side by side) ─── */
.story {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.story__image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__content h2 {
  margin-bottom: var(--space-sm);
}

.story__content .separator {
  margin: var(--space-sm) 0;
}

/* ─── DISH GRID (signatures) ─── */
.dishes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.dish-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--blanc);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  text-decoration: none;
  color: var(--bois);
}

.dish-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  color: var(--bois);
}

.dish-card__image {
  aspect-ratio: 1/1;
  overflow: hidden;
}

.dish-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.dish-card:hover .dish-card__image img {
  transform: scale(1.05);
}

.dish-card__info {
  padding: var(--space-sm);
}

.dish-card__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rouge-profond);
  margin-bottom: 0.25rem;
}

.dish-card__desc {
  font-size: 0.8rem;
  color: var(--gris-texte);
  margin-bottom: 0;
}

/* ─── QUOTE / IMMERSIVE SECTION ─── */
.quote-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-sm);
  overflow: hidden;
}

.quote-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.quote-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(92, 14, 14, 0.75);
  z-index: 1;
}

.quote-section__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.quote-section__text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--creme);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.quote-section__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

/* ─── SOCIAL PROOF ─── */
.social-proof {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: center;
}

.social-proof__item {
  padding: var(--space-md);
}

.social-proof__rating {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--or-bistrot);
  margin-bottom: 0.25rem;
}

.social-proof__source {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bois);
  margin-bottom: 0.25rem;
}

.social-proof__count {
  font-size: 0.8rem;
  color: var(--gris-texte);
}

.social-proof__quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gris-texte);
  padding: var(--space-md);
}

/* ─── LOCATION SECTION ─── */
.location {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.location__map {
  /* Largeur explicite pour empêcher aspect-ratio de calculer
     une largeur supérieure au viewport sur mobile */
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: 0;
}

.location__info h2 {
  margin-bottom: var(--space-sm);
}

.location__detail {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--gris-texte);
}

.location__detail strong {
  color: var(--bois);
}

.location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--noir-doux);
  color: var(--creme);
  padding: var(--space-xl) var(--space-sm) var(--space-lg);
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer__brand .footer__logo {
  margin-bottom: var(--space-sm);
  line-height: 0;
}

.footer__brand .footer__logo img {
  height: 56px;
  width: auto;
  display: block;
}

.footer__brand p {
  font-size: 0.85rem;
  color: rgba(250,246,239,0.7);
}

.footer__nav h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--or-bistrot);
  margin-bottom: var(--space-sm);
}

.footer__nav a {
  display: block;
  font-size: 0.85rem;
  color: rgba(250,246,239,0.7);
  text-decoration: none;
  padding: 0.2rem 0;
  transition: color var(--transition-fast);
}

.footer__nav a:hover {
  color: var(--or-clair);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social a {
  color: rgba(250,246,239,0.7);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer__social a:hover {
  color: var(--or-clair);
}

.footer__bottom {
  border-top: 1px solid rgba(250,246,239,0.1);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(250,246,239,0.5);
}

.footer__bottom a {
  color: var(--or-clair);
  text-decoration: none;
}

/* ─── MENU PAGE — ACCORDION ─── */
.menu-hero {
  position: relative;
  height: 40vh;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.menu-hero__bg {
  position: absolute;
  inset: 0;
}

.menu-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(92,14,14,0.85), rgba(92,14,14,0.5));
  z-index: 1;
}

.menu-hero__content {
  position: relative;
  z-index: 2;
  color: var(--creme);
}

.menu-hero__content h1 {
  color: var(--creme);
  margin-bottom: 0.5rem;
}

.menu-hero__content h3 {
  color: var(--or-clair);
}

/* Accordion */
.menu-section {
  border: 1px solid var(--gris-clair);
  border-radius: 8px;
  margin-bottom: var(--space-sm);
  overflow: hidden;
  background: var(--blanc);
}

.menu-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rouge-profond);
  background: var(--blanc);
  border: none;
  list-style: none;
  transition: background var(--transition-fast);
}

.menu-section summary::-webkit-details-marker {
  display: none;
}

.menu-section summary::after {
  content: '\25BC';
  font-size: 0.75rem;
  color: var(--or-bistrot);
  transition: transform var(--transition-normal);
}

.menu-section[open] summary::after {
  transform: rotate(180deg);
}

.menu-section summary:hover {
  background: var(--creme);
}

.menu-section__content {
  padding: 0 var(--space-md) var(--space-md);
}

/* Menu item */
.menu-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px dotted var(--gris-clair);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bois);
  flex: 1;
  /* Filet pointillé style bistrot classique */
  background-image: radial-gradient(circle, var(--gris-clair) 1px, transparent 1.5px);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  background-position: bottom;
  padding-bottom: 2px;
}

.menu-item__price {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--rouge-florentin);
  margin-left: var(--space-sm);
  white-space: nowrap;
  padding-left: var(--space-xs);
  background: var(--blanc);
}

.menu-item__desc {
  width: 100%;
  font-size: 0.85rem;
  color: var(--gris-texte);
  margin-top: 0.2rem;
}

.menu-item__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--or-bistrot);
  border: 1px solid var(--or-bistrot);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.menu-item__photo {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  margin-right: var(--space-sm);
  flex-shrink: 0;
}

.menu-item__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-allergen {
  font-size: 0.8rem;
  color: var(--gris-texte);
  font-style: italic;
  padding: var(--space-md) 0;
  text-align: center;
}

/* ─── LE LIEU — GALLERY MASONRY ─── */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
}

.gallery__item {
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

/* ─── INFOS PRATIQUES ─── */
.info-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.info-card {
  background: var(--blanc);
  border-radius: 8px;
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  font-style: normal;
  color: var(--rouge-florentin);
  margin-bottom: var(--space-sm);
}

.info-card p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.info-card a[href^="tel:"] {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--rouge-florentin);
}

/* ─── BOOKING PAGE ─── */
.booking-embed {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-lg) 0;
}

.booking-embed iframe {
  width: 100%;
  min-height: 600px;
  border: 0;
  border-radius: 8px;
}

/* ─── BLOG ─── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.blog-card {
  background: var(--blanc);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--bois);
  transition: box-shadow var(--transition-normal), transform var(--transition-fast);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--bois);
}

.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__content {
  padding: var(--space-md);
}

.blog-card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rouge-profond);
  margin-bottom: 0.5rem;
}

.blog-card__excerpt {
  font-size: 0.88rem;
  color: var(--gris-texte);
  margin-bottom: var(--space-sm);
}

.blog-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rouge-florentin);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Blog article */
.article__header {
  text-align: center;
  padding: var(--space-xl) var(--space-sm);
}

.article__date {
  font-size: 0.8rem;
  color: var(--gris-texte);
  margin-bottom: var(--space-sm);
}

.article__body {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-sm);
}

.article__body h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.article__body p {
  margin-bottom: var(--space-sm);
}

/* ─── SCROLL ANIMATIONS ─── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
  will-change: opacity, transform;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enfants stagger (utilisés par JS IntersectionObserver) */
.fade-in-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
  will-change: opacity, transform;
}

.fade-in-child.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── REDUCED MOTION (accessibilité) ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in,
  .fade-in-child {
    opacity: 1;
    transform: none;
  }

  .hero__title,
  .hero__tagline,
  .hero__meta,
  .hero__cta {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .slide-in-left,
  .slide-in-right,
  .scale-reveal,
  .text-reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .hero__parallax img,
  .quote-section__bg img {
    animation: none;
  }

  .separator {
    width: 60px;
    transition: none;
  }
}

/* ─── SKIP LINK (a11y) ─── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--rouge-florentin);
  color: var(--creme);
  padding: 0.5rem 1rem;
  z-index: 200;
  font-size: 0.85rem;
}

.skip-link:focus {
  top: 0;
}

/* ═══════════════════════════════════════
   RESPONSIVE — Tablet (768px+)
   ═══════════════════════════════════════ */
@media (min-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 1.85rem; }
  h3 { font-size: 1.3rem; }
  body { font-size: 1.02rem; }

  .section { padding: var(--space-xl) var(--space-lg); }
  .container { padding: 0 var(--space-lg); }

  .hero { height: 100vh; padding: var(--space-xl); }
  .hero__title { font-size: 2.8rem; }
  .hero__tagline { font-size: 1.1rem; }

  .story { flex-direction: row; align-items: center; }
  .story__image { flex: 0 0 45%; }
  .story__content { flex: 1; }
  .story--reverse { flex-direction: row-reverse; }

  .dishes-grid { grid-template-columns: repeat(4, 1fr); }

  .quote-section__text { font-size: 1.3rem; }
  .quote-section__actions { flex-direction: row; }

  .social-proof { flex-direction: row; justify-content: center; }
  .social-proof__item { flex: 1; }

  .location { flex-direction: row; }
  .location__map { flex: 1; min-width: 0; aspect-ratio: 16/9; min-height: 300px; }
  .location__info { flex: 1; min-width: 0; }

  .footer__inner { flex-direction: row; flex-wrap: wrap; }
  .footer__brand { flex: 0 0 100%; }
  .footer__nav { flex: 1; }

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

  .info-grid { flex-direction: row; }
  .info-grid > * { flex: 1; }

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

  .poi-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { padding-left: 3rem; }
  .timeline::before { left: 1rem; }
  .timeline__step::before { left: -3rem; width: 2rem; height: 2rem; font-size: 0.85rem; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Desktop (1024px+)
   ═══════════════════════════════════════ */
@media (min-width: 1024px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.4rem; }
  body { font-size: 1.05rem; }

  .section { padding: var(--space-3xl) var(--space-xl); }

  .hero__title { font-size: 3.5rem; }
  .hero__tagline { font-size: 1.2rem; }

  /* Show desktop nav, hide hamburger + sticky CTA */
  .nav__links { display: flex; }
  .nav__cta { display: inline-block; }
  .nav__hamburger { display: none; }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }

  .nav { padding: 1rem var(--space-lg); }

  .footer__brand { flex: 0 0 30%; }
  .footer__inner { flex-wrap: nowrap; gap: var(--space-xl); }

  .quote-section__text { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════
   CJK — Ajustements typographiques
   ═══════════════════════════════════════ */
:lang(zh),
:lang(ja),
:lang(ko) {
  line-height: 1.8;
  word-break: keep-all;
}

:lang(zh) {
  font-feature-settings: "palt";
}

:lang(ja) {
  font-feature-settings: "palt";
}

/* ─── ENHANCED ANIMATIONS ─── */

/* Slide-in from left */
.slide-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
  will-change: opacity, transform;
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide-in from right */
.slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
  will-change: opacity, transform;
}

.slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale reveal for images */
.scale-reveal {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
  will-change: opacity, transform;
}

.scale-reveal.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Text reveal with clip-path */
.text-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 800ms cubic-bezier(0.77, 0, 0.175, 1);
}

.text-reveal.is-visible {
  clip-path: inset(0 0% 0 0);
}

/* Separator grow animation */
.separator {
  width: 0;
  transition: width 600ms ease-out 200ms;
}

.is-visible .separator,
.separator.is-visible {
  width: 60px;
}

/* Stagger delay utilities */
.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }
.stagger-4 { transition-delay: 400ms; }
.stagger-5 { transition-delay: 500ms; }
.stagger-6 { transition-delay: 600ms; }

/* Counter number animation */
.counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ─── IMAGE HOVER EFFECTS ─── */

/* Subtle tilt on dish cards */
.dish-card {
  perspective: 600px;
}

.dish-card:hover {
  transform: scale(1.03) rotateY(-2deg);
}

/* Image shine effect on hover */
.dish-card__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.15),
    transparent
  );
  transition: left 600ms ease;
  pointer-events: none;
}

.dish-card__image {
  position: relative;
}

.dish-card:hover .dish-card__image::after {
  left: 150%;
}

/* Gallery item enhanced hover */
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(92, 14, 14, 0);
  transition: background 300ms ease;
  pointer-events: none;
}

.gallery__item {
  position: relative;
}

.gallery__item:hover::after {
  background: rgba(92, 14, 14, 0.15);
}

/* ─── SCROLL PROGRESS BAR ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rouge-florentin), var(--or-bistrot));
  z-index: 200;
  width: 0%;
  transition: none;
}

/* ─── POI CARDS (Le Quartier page) ─── */
.poi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.poi-card {
  background: var(--blanc);
  border-radius: 12px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid transparent;
}

.poi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--or-bistrot);
}

.poi-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.poi-card__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rouge-profond);
  margin-bottom: 0.25rem;
}

.poi-card__distance {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--or-bistrot);
  margin-bottom: 0.5rem;
}

.poi-card__desc {
  font-size: 0.85rem;
  color: var(--gris-texte);
  margin-bottom: 0;
}

/* ─── TIMELINE (Walking itinerary) ─── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  counter-reset: timeline-step;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--or-bistrot), var(--rouge-florentin));
}

.timeline__step {
  position: relative;
  padding-bottom: var(--space-lg);
  counter-increment: timeline-step;
}

.timeline__step::before {
  content: counter(timeline-step);
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--rouge-florentin);
  color: var(--creme);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 1;
}

.timeline__step:last-child {
  padding-bottom: 0;
}

.timeline__step p {
  font-size: 1rem;
  color: var(--bois);
  margin-bottom: 0;
  padding-top: 0.1rem;
}

/* ─── NAV ENHANCED ─── */
/* Subtle nav logo animation on load */
.nav__logo {
  opacity: 0;
  animation: fadeInUp 600ms ease-out 100ms forwards;
}

/* ─── BUTTON MAGNETIC HOVER ─── */
.btn--primary:hover {
  box-shadow: 0 4px 15px rgba(139, 26, 26, 0.4);
}

.btn--primary:active {
  transform: scale(0.98);
}

/* ─── HERO ENHANCED ─── */
/* Subtle zoom on hero image */
.hero__parallax img {
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

/* ─── QUOTE SECTION ENHANCED ─── */
.quote-section__bg img {
  animation: subtleZoom 15s ease-in-out infinite alternate;
}

@keyframes subtleZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.quote-section__text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms ease-out 300ms, transform 800ms ease-out 300ms;
}

.quote-section.is-visible .quote-section__text {
  opacity: 1;
  transform: translateY(0);
}

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(26, 26, 26, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
  cursor: pointer;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 300ms ease;
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid rgba(250,246,239,0.5);
  border-radius: 50%;
  color: var(--creme);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.lightbox__close:hover {
  border-color: var(--or-bistrot);
  transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════
   PAGE "NOUS TROUVER" (infos-pratiques / visit-us)
   ═══════════════════════════════════════════════════ */

/* ─── Hero centré avec photo en fond ─── */
.visit-hero {
  position: relative;
  min-height: 50vh;
  padding: calc(var(--space-3xl) + 4rem) var(--space-sm) var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.visit-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.visit-hero__bg img,
.visit-hero__bg picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visit-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(26,26,26,0.55) 0%, rgba(92,14,14,0.75) 100%);
}

.visit-hero__content {
  max-width: 720px;
  color: var(--creme);
}

.visit-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--or-clair);
  margin-bottom: var(--space-sm);
}

.visit-hero h1 {
  color: var(--creme);
  font-size: 2.5rem;
  margin-bottom: 0;
}

.visit-hero .separator--light {
  background: var(--or-bistrot);
  margin: var(--space-sm) auto;
}

.visit-hero__lead {
  margin: var(--space-sm) auto 0;
  color: rgba(250,246,239,0.92);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 560px;
}

/* ─── Grille des 4 info cards ─── */
.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 1100px;
  margin: 0 auto;
}

.info-card {
  background: var(--blanc);
  border: 1px solid var(--gris-clair);
  border-radius: 16px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--or-bistrot);
}

.info-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--creme);
  border-radius: 50%;
  color: var(--rouge-florentin);
  margin-bottom: var(--space-xs);
  transition: background var(--transition-normal), color var(--transition-normal);
}

.info-card__icon svg {
  width: 26px;
  height: 26px;
}

.info-card:hover .info-card__icon {
  background: var(--rouge-florentin);
  color: var(--creme);
}

.info-card__label {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--or-bistrot);
  margin: 0;
}

.info-card__value {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--rouge-profond);
  line-height: 1.3;
  margin: 0;
  max-width: none;
}

.info-card__value a {
  color: inherit;
  text-decoration: none;
}

.info-card__value a:hover {
  color: var(--rouge-florentin);
}

.info-card__value span {
  display: inline-block;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--gris-texte);
}

.info-card__action {
  margin-top: auto;
  padding-top: var(--space-xs);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rouge-florentin);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.info-card__action:hover {
  color: var(--or-bistrot);
  transform: translateX(2px);
}

/* ─── Carte Google Maps pleine largeur ─── */
.visit-map {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  background: var(--creme-fonce);
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.visit-map__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

/* ─── Section quartier (split image + contenu) ─── */
.visit-neighborhood {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.visit-neighborhood__content .eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--or-bistrot);
  margin-bottom: var(--space-xs);
}

.visit-neighborhood__content p {
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.visit-neighborhood__image picture,
.visit-neighborhood__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  aspect-ratio: 4 / 5;
}

/* ─── Desktop ≥ 768px ─── */
@media (min-width: 768px) {
  .visit-hero {
    min-height: 60vh;
  }

  .visit-hero h1 {
    font-size: 3.5rem;
  }

  .visit-hero__lead {
    font-size: 1.15rem;
  }

  .info-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .info-card {
    padding: var(--space-xl) var(--space-md);
  }

  .visit-neighborhood {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-2xl);
  }

  .visit-neighborhood__image picture,
  .visit-neighborhood__image img {
    aspect-ratio: 3 / 4;
  }
}

/* ─── FAQ (SEO + GEO) ─── */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq__item {
  background: var(--blanc);
  border: 1px solid var(--gris-clair);
  border-radius: 8px;
  padding: var(--space-sm) var(--space-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq__item[open] {
  border-color: var(--or-bistrot);
  box-shadow: var(--shadow-sm);
}

.faq__item summary {
  cursor: pointer;
  padding: var(--space-xs) 0;
  font-size: 1rem;
  color: var(--bois);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--or-bistrot);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  line-height: 1;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  padding: var(--space-sm) 0 0;
  color: var(--gris-texte);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq__item p a {
  font-weight: 500;
}

/* ─── PRINT ─── */
@media print {
  .nav, .sticky-cta, .footer { display: none; }
  .hero { height: auto; min-height: 0; }
  .section { padding: 1rem 0; }
  body { color: #000; background: #fff; }
}
