/* ==========================================================================
   MANOFICA — TRATTORIA NAPOLETANA · PORT DE TOULON
   Direction Artistique Minimaliste, Épurée & Solaire
   Inspirée des photos réelles : devanture vert sauge, bar zellige, rotin & port
   ========================================================================== */

/* Déclarations typographiques : Police du Nom Yuma Bold */
@font-face {
  font-family: 'Yuma Bold';
  src: local('Yuma Bold'), local('Yuma-Bold'), local('Yuma');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Yuma';
  src: local('Yuma'), local('Yuma Regular'), local('Yuma-Regular');
  font-weight: 400;
  font-style: normal;
}

:root {
  /* Typographie */
  --font-brand: 'Yuma Bold', 'Yuma', 'Rye', Georgia, serif;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Palette de couleurs */
  --green-dark: #1E3328;
  --green-awning: #2D483B;       /* Vert sauge / olive de l'enseigne */
  --green-zellige: #0E7857;      /* Vert émeraude brillant du bar carrelé */
  --green-zellige-deep: #082D20; /* Vert zellige profond en ombre */
  --blue-cobalt: #123456;        /* Bleu cobalt profond des bouteilles du comptoir */
  --blue-mediterranean: #1B4D7E; /* Bleu méditerranéen de la rade et des cartes */
  --gold-brass: #D4AF37;         /* Laiton & cuivre chaud de la machine et des étagères */
  --terracotta: #C85A32;         /* Terracotta chaud */
  --terracotta-hover: #AF4924;

  --bg: #FAF8F5;                 /* Pierre calcaire chaude et lumineuse du port */
  --surface: #F3ECE1;            /* Fond doux pour alternance */
  --white: #FFFFFF;
  --border: rgba(30, 51, 40, 0.1);
  --border-subtle: rgba(30, 51, 40, 0.06);

  --text: #19241D;
  --text-muted: #5E7065;
  --text-light: #8A9A90;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --trans: 0.25s var(--ease);

  --wrap-max: 1140px;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

body.drawer-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--terracotta);
  color: #fff;
  padding: 10px 18px;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  transition: transform var(--trans);
}

.skip-link:focus-visible {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--green-zellige);
  outline-offset: 3px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans);
}

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

input, select, textarea {
  font-family: inherit;
  font-size: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

/* Typographie épurée */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--green-dark);
  text-wrap: balance;
}

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.015em;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.sublead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2rem;
}

.section {
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.section-intro-block {
  margin-bottom: 3.5rem;
}

/* --------------------------------------------------------------------------
   HEADER FLOTTANT & IMMERSIF
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1000;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.header.header-scrolled {
  background-color: rgba(18, 32, 25, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.header-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}

.header-logo {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transform: translateZ(0);
  transition: transform var(--trans), filter var(--trans);
}

.logo:hover .header-logo {
  transform: scale(1.08) rotate(-2deg) translateZ(0);
}

.logo-title {
  font-family: var(--font-brand);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  text-transform: uppercase;
  line-height: 1;
  transition: opacity var(--trans);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo:hover .logo-title {
  opacity: 0.85;
}

.nav {
  display: none;
  gap: 2.25rem;
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }
}

.nav-item {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--trans);
}

.nav-item:hover {
  color: #FFFFFF;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color var(--trans), color var(--trans), border-color var(--trans);
}

.btn-reserve {
  background-color: var(--green-awning);
  color: #FFFFFF;
}

.btn-reserve:hover {
  background-color: var(--green-zellige);
}

.btn-primary {
  background-color: var(--terracotta);
  color: #FFFFFF;
  padding: 14px 28px;
  min-height: 48px;
}

.btn-primary:hover {
  background-color: var(--terracotta-hover);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 14px 28px;
  min-height: 48px;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: #FFFFFF;
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 16px;
  font-size: 0.8125rem;
}

.btn-outline:hover {
  border-color: var(--green-awning);
  color: var(--green-awning);
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 8px;
}

@media (min-width: 860px) {
  .burger-btn {
    display: none;
  }
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--green-awning);
  border-radius: 2px;
}

/* Menu Mobile */
.mobile-nav {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg);
  z-index: 999;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--trans), opacity var(--trans), visibility var(--trans);
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--green-dark);
}

.mobile-nav-foot {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.mobile-nav-tel {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--terracotta);
}

/* --------------------------------------------------------------------------
   HERO ÉPURÉ HAUTE COUTURE (ATMOSPHÈRE VERT ZELLIGE & BLEU MÉDITERRANÉEN NUIT)
   Fond riche et profond sans image : alliance organique des matières
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6.5rem 1.5rem 3rem;
  overflow: hidden;
  color: #FFFFFF;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #081711;
  background-image: 
    radial-gradient(ellipse 65% 50% at 50% 28%, rgba(20, 68, 48, 0.52) 0%, transparent 68%),
    radial-gradient(ellipse 70% 55% at 88% 78%, rgba(11, 48, 62, 0.46) 0%, transparent 65%),
    radial-gradient(ellipse 60% 45% at 12% 82%, rgba(15, 54, 40, 0.38) 0%, transparent 62%),
    linear-gradient(168deg, #07150f 0%, #0c241c 38%, #09212a 72%, #051319 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 36, 26, 0.1) 0%,
    rgba(6, 22, 17, 0.5) 65%,
    rgba(4, 15, 12, 0.82) 100%
  );
  pointer-events: none;
}

.hero-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.035;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: auto auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Lockup Logo Traits & Typographie sculptée */
.hero-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-emblem-wrapper {
  display: block;
  width: 100%;
  text-align: center;
}

.hero-emblem-traits {
  display: inline-block;
  width: clamp(145px, 22vw, 195px);
  height: clamp(145px, 22vw, 195px);
  object-fit: contain;
  margin: 0 auto;
  align-self: center;
  -webkit-filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.6));
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.6));
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: transform 0.45s var(--ease), -webkit-transform 0.45s var(--ease);
}

.hero-emblem-traits:hover {
  -webkit-transform: scale(1.05) rotate(-1.5deg) translateZ(0);
  transform: scale(1.05) rotate(-1.5deg) translateZ(0);
}

.hero-titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.hero-brand-name {
  font-family: var(--font-brand);
  font-size: clamp(3.2rem, 9.5vw, 6.4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.95;
  color: #FFFFFF;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  min-width: 0;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
}

.hero-brand-sub {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.2vw, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  color: #E2C08D; /* Champagne / Laiton chaud */
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-lead-text {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-hero-primary {
  background-color: var(--terracotta);
  color: #FFFFFF;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(200, 90, 50, 0.4);
  transition: background-color var(--trans), transform var(--trans), box-shadow var(--trans);
}

.btn-hero-primary:hover {
  background-color: var(--terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(200, 90, 50, 0.5);
}

.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 14px 26px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color var(--trans), border-color var(--trans), transform var(--trans);
}

.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* Indicateur de défilement minimal & aérien */
.hero-scroll-minimal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color var(--trans), transform var(--trans);
}

.hero-scroll-minimal:hover {
  color: #FFFFFF;
  transform: translateY(3px);
}

.hero-scroll-line {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
  animation: scrollLineDrop 2s ease-in-out infinite;
}

@keyframes scrollLineDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   SECTION L'ESPRIT (RESPIRATION ÉDITORIALE)
   -------------------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .story-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
  }
}

.paragraph {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.paragraph.lead {
  font-size: 1.2rem;
  color: var(--green-awning);
  font-weight: 500;
  line-height: 1.65;
}

.story-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   SECTION LA CARTE (TYPOGRAPHIE ÉPURÉE FAÇON MENU IMPRIMÉ)
   -------------------------------------------------------------------------- */
.section-carte {
  background-color: var(--surface);
}

.menu-tabs {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 3rem;
  scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color var(--trans);
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: var(--green-awning);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -0.85rem;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--green-awning);
}

.menu-tab-content {
  display: none;
}

.menu-tab-content.active {
  display: block;
}

.menu-items-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .menu-items-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3.5rem;
  }
}

.menu-row {
  display: flex;
  flex-direction: column;
}

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

.dish-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-dark);
}

.dish-dots {
  flex-grow: 1;
  border-bottom: 1px dotted var(--border);
  margin-bottom: 4px;
}

.dish-price {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--terracotta);
  white-space: nowrap;
}

.dish-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.menu-pdf-action {
  margin-top: 3.5rem;
  text-align: center;
}

.link-clean {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green-awning);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}

.link-clean:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

/* --------------------------------------------------------------------------
   GALERIE MASONRY (Architecture Flexbox robuste — 100% Zéro chevauchement)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   GALERIE MASONRY & STORY FEED (Adaptative, pleine et harmonieuse)
   -------------------------------------------------------------------------- */
#galerie {
  position: relative;
  z-index: 1;
}

.gallery-masonry,
.gallery-masonry-flex {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .gallery-masonry,
  .gallery-masonry-flex {
    gap: 1.5rem;
  }
}

.gallery-masonry-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .gallery-masonry-col {
    gap: 1.5rem;
  }
}

.gallery-masonry-item {
  width: 100%;
  display: block;
  position: relative;
  flex-shrink: 0;
}

.gallery-card-3d {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #111a14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px -6px rgba(18, 32, 24, 0.22), 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  width: 100%;
}

.gallery-card-3d:hover {
  box-shadow: 0 20px 36px -10px rgba(18, 32, 24, 0.38), 0 0 28px rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.4);
}

.gallery-card-3d:active {
  transform: scale(0.97) !important;
}

.gallery-card-3d img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-card-3d:hover img {
  transform: scale(1.05);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 28, 20, 0.88) 0%, rgba(14, 28, 20, 0.25) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.85rem 0.8rem;
  pointer-events: none;
}

@media (min-width: 768px) {
  .gallery-card-overlay {
    padding: 1.25rem;
  }
}

/* Sur tactile / smartphone : l'overlay avec le titre est affiché doucement */
@media (hover: none), (pointer: coarse) {
  .gallery-card-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(14, 28, 20, 0.85) 0%, rgba(14, 28, 20, 0.15) 55%, transparent 100%);
  }
}

.gallery-card-3d:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-brass);
  margin-bottom: 0.2rem;
}

@media (min-width: 768px) {
  .gallery-card-tag {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.25rem;
  }
}

.gallery-card-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
  font-family: var(--font-serif);
}

@media (min-width: 768px) {
  .gallery-card-title {
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   EXPÉRIENCE MOBILE : STORY SWIPE HORIZONTAL (Plein écran tactile, zéro rétrécissement)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  #galerie .wrap {
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
  }

  #galerie .section-intro-block {
    padding-left: clamp(1.25rem, 4vw, 2.5rem);
    padding-right: clamp(1.25rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
  }

  .gallery-masonry,
  .gallery-masonry-flex {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth;
    gap: 1rem !important;
    padding: 0.5rem 1.25rem 1.25rem !important;
    margin: 0 !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-masonry::-webkit-scrollbar,
  .gallery-masonry-flex::-webkit-scrollbar {
    display: none;
  }

  .gallery-masonry-col {
    display: contents !important;
  }

  .gallery-masonry-item {
    flex: 0 0 82vw !important;
    max-width: 340px !important;
    scroll-snap-align: center !important;
  }

  .gallery-card-3d {
    aspect-ratio: 4/5 !important;
    height: 100% !important;
    border-radius: 16px;
    box-shadow: 0 12px 28px -6px rgba(18, 32, 24, 0.28);
  }
}

.gallery-mobile-hint {
  display: none;
}

@media (max-width: 767px) {
  .gallery-mobile-hint {
    display: flex;
    justify-content: center;
    margin-top: 0.75rem;
    padding: 0 1.25rem;
  }

  .gallery-hint-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(18, 32, 24, 0.05);
    border: 1px solid rgba(18, 32, 24, 0.1);
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--green-dark);
    letter-spacing: 0.03em;
  }

  .gallery-hint-pill svg {
    opacity: 0.6;
  }
}

.section-sub-desc {
  max-width: 580px;
  margin: 0.75rem auto 2.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   CITATION CLIENT ÉPURÉE
   -------------------------------------------------------------------------- */
.section-avis {
  clear: both;
  position: relative;
  z-index: 2;
  background-color: var(--green-awning);
  color: #FFFFFF;
  text-align: center;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.quote-pure {
  max-width: 780px;
  margin: 0 auto;
}

.quote-pure-text {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-style: italic;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
}

.quote-pure-author {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E2EBD8;
}

/* --------------------------------------------------------------------------
   RÉSERVATION MINIMALISTE
   -------------------------------------------------------------------------- */
.section-reservation {
  background-color: var(--bg);
}

.res-box {
  max-width: 840px;
  margin: 0 auto;
}

.res-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.res-header .sublead {
  margin: 0 auto;
}

.res-form {
  background: var(--white);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.res-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 680px) {
  .res-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .res-row:nth-child(2) {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.res-field {
  display: flex;
  flex-direction: column;
}

.res-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.res-field input,
.res-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background-color: var(--bg);
  color: var(--text);
  transition: border-color var(--trans);
}

.res-field input:focus,
.res-field select:focus {
  outline: none;
  border-color: var(--green-awning);
  background-color: #FFFFFF;
}

.res-submit-row {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 680px) {
  .res-submit-row {
    flex-direction: row;
    justify-content: space-between;
  }
}

.btn-submit {
  width: 100%;
}

@media (min-width: 680px) {
  .btn-submit {
    width: auto;
  }
}

.res-phone-hint {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.res-phone-hint a {
  color: var(--terracotta);
  font-weight: 700;
}

.res-confirm-msg {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
  margin-top: 1.5rem;
}

.res-confirm-msg h3 {
  font-size: 1.35rem;
  color: var(--green-awning);
  margin-bottom: 0.5rem;
}

.res-confirm-msg p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   INFOS & ACCÈS (SPLIT ÉPURÉ)
   -------------------------------------------------------------------------- */
.section-contact {
  background-color: var(--surface);
}

.info-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (min-width: 860px) {
  .info-split {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
}

.info-item-clean {
  margin-bottom: 2rem;
}

.info-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  margin-bottom: 0.4rem;
}

.info-body {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}

.info-map-col iframe {
  width: 100%;
  height: 380px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: block;
}

/* --------------------------------------------------------------------------
   FOOTER MINIMALISTE
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--green-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0;
  font-size: 0.8125rem;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-wrap {
    flex-direction: row;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.footer-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.footer-logo {
  font-family: var(--font-brand);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  display: block;
  line-height: 1;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
  }
}
