/* ==========================================================================
   Les Officiers — Styles principaux (mobile-first)
   ========================================================================== */

/* --- ACCESSIBILITÉ (texte masqué visuellement pour SEO/lecteurs d'écran) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- LAYOUT GLOBAL --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

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

/* --- NAVIGATION (slim & raffinée) --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              backdrop-filter 0.5s ease;
  height: var(--nav-height-mobile);
  display: flex;
  align-items: center;
}

.nav--scrolled {
  background: rgba(0, 39, 77, 0.92);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 6px 28px -10px rgba(0, 0, 0, 0.45);
}

/* État initial (pas scrollé) : pas de fond, pas de blur */
.nav:not(.nav--scrolled) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
}

.nav__logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--color-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 101;
  line-height: 0;
  position: relative;
  /* Centré avec un peu d'espace autour */
  padding: var(--space-xs) var(--space-sm);
}

/* Le sélecteur principal du logo se trouve plus bas (.nav__logo .nav__logo-img) */

/* Permet au logo de déborder visuellement sous le nav */
.nav { overflow: visible; }

.nav__links {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-primary);
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
}

/* Cacher les liens du header sur la homepage (navigation via sidebar) */
.nav__links--hidden {
  display: none !important;
}

.nav__links--open {
  display: flex;
}

.nav__links a {
  color: var(--color-text-on-dark);
  font-size: var(--fs-lg);
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  transition: color var(--transition-fast);
  position: relative;
}

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

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

.nav__links a:hover,
.nav__links a:focus {
  color: var(--color-creme);
}

.nav__cta {
  display: none;
}

/* Burger menu — positionné à droite pour laisser le logo centré */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
  padding: var(--space-xs);
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: var(--space-md);
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.nav__burger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav__burger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-primary);
  /* Luca : remplacer par la photo hero */
  background-image: url('../assets/img/hero-placeholder.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 46, 0.6) 0%,
    rgba(26, 26, 46, 0.4) 50%,
    rgba(26, 26, 46, 0.7) 100%
  );
  z-index: -1;
}

.hero__content {
  padding: var(--space-2xl) var(--space-md);
  max-width: 700px;
}

.hero__subtitle {
  font-family: var(--font-accent);
  font-size: var(--fs-md);
  color: var(--color-secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-size: var(--fs-3xl);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero__description {
  font-size: var(--fs-md);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  opacity: 0.9;
}

/* --- BOUTONS --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  text-align: center;
  cursor: pointer;
}

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

.btn--primary:hover,
.btn--primary:focus {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

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

.btn--outline:hover,
.btn--outline:focus {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn--dark {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn--dark:hover,
.btn--dark:focus {
  background: transparent;
  color: var(--color-primary);
}

/* --- SECTIONS COMMUNES --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header__label {
  font-family: var(--font-accent);
  font-size: var(--fs-sm);
  color: var(--color-marron);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-xs);
  display: block;
}

.section-header__title {
  font-size: var(--fs-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.section-header__title--light {
  color: var(--color-text-on-dark);
}

.section-header__line {
  width: 60px;
  height: 2px;
  background: var(--color-marron);
  margin: var(--space-sm) auto 0;
}

.section-header__description {
  max-width: 600px;
  margin: var(--space-md) auto 0;
  color: var(--color-text-light);
  font-size: var(--fs-md);
  line-height: 1.7;
}

/* --- SECTION RESTAURANT (3 salles) --- */
.salles {
  background: var(--color-bg);
}

.salles__grid {
  display: grid;
  gap: var(--space-lg);
}

.salle-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.salle-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.salle-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--color-border);
}

.salle-card__body {
  padding: var(--space-lg);
}

.salle-card__title {
  font-size: var(--fs-xl);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.salle-card__text {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* --- SECTION CARTE --- */
.carte {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.carte__moments {
  display: grid;
  gap: var(--space-2xl);
}

.moment {
  text-align: center;
}

.moment__icon {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-sm);
}

.moment__title {
  font-size: var(--fs-xl);
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.moment__description {
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 0.9;
}

.moment__items {
  margin-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
}

.moment__tag {
  background: rgba(201, 169, 110, 0.15);
  color: var(--color-secondary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: var(--fs-sm);
  border: 1px solid rgba(201, 169, 110, 0.3);
}

/* --- SECTION CHEFFE --- */
.cheffe {
  background: var(--color-bg);
}

.cheffe__content {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.cheffe__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  background: var(--color-border);
}

.cheffe__text h2 {
  font-size: var(--fs-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.cheffe__text p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.cheffe__quote {
  font-family: var(--font-accent);
  font-size: var(--fs-lg);
  color: var(--color-secondary);
  font-style: italic;
  border-left: 3px solid var(--color-secondary);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
}

/* --- SECTION PRIVATISATION --- */
.privatisation {
  background: var(--color-bg-alt);
}

.privatisation__content {
  display: grid;
  gap: var(--space-2xl);
}

.privatisation__features {
  display: grid;
  gap: var(--space-md);
}

.feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  font-weight: 700;
}

.feature__text h3 {
  font-size: var(--fs-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.feature__text p {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* --- GALERIE --- */
.galerie {
  background: var(--color-bg);
}

.galerie__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.galerie__item {
  overflow: hidden;
  border-radius: var(--border-radius);
}

.galerie__item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--color-border);
  transition: transform var(--transition-slow);
}

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

/* --- SECTION INFOS PRATIQUES --- */
.infos {
  background: var(--color-bg);
}

.infos__grid {
  display: grid;
  gap: var(--space-2xl);
}

.infos__details {
  display: grid;
  gap: var(--space-lg);
}

.info-block__title {
  font-size: var(--fs-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.info-block__text {
  color: var(--color-text-light);
  line-height: 1.7;
}

.info-block__text a {
  color: var(--color-marron);
  transition: color var(--transition-fast);
}

.info-block__text a:hover {
  color: var(--color-accent);
}

.horaires-table {
  width: 100%;
  border-collapse: collapse;
}

.horaires-table tr {
  border-bottom: 1px solid var(--color-border);
}

.horaires-table td {
  padding: 10px 0;
  color: var(--color-text-light);
}

.horaires-table td:first-child {
  font-weight: 500;
  color: var(--color-text);
}

.horaires-table td:last-child {
  text-align: right;
}

.infos__map {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  min-height: 300px;
}

.infos__map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

/* --- FAQ --- */
.faq {
  background: var(--color-bg-alt);
}

.faq__list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__question {
  width: 100%;
  text-align: left;
  padding: var(--space-md) 0;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
}

.faq__question::after {
  content: '+';
  font-size: var(--fs-xl);
  color: var(--color-marron);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.faq__item--open .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq__item--open .faq__answer {
  max-height: 500px;
  padding-bottom: var(--space-md);
}

.faq__answer p {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* --- SECTION RESERVATION CTA --- */
.reservation-cta {
  background: var(--color-primary);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.reservation-cta__title {
  font-size: var(--fs-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.reservation-cta__text {
  color: var(--color-text-on-dark);
  opacity: 0.8;
  margin-bottom: var(--space-lg);
  font-size: var(--fs-md);
}

/* --- FOOTER --- */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.footer__col h3 {
  font-size: var(--fs-md);
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-body);
  font-weight: 500;
}

.footer__col p,
.footer__col a {
  color: rgba(245, 245, 245, 0.7);
  line-height: 1.8;
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
}

.footer__col a:hover {
  color: var(--color-secondary);
}

.footer__col ul li {
  margin-bottom: var(--space-xs);
}

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

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245, 245, 245, 0.3);
  border-radius: 50%;
  font-size: var(--fs-sm);
  transition: all var(--transition-base);
}

.footer__social a:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid rgba(245, 245, 245, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

.footer__bottom p {
  color: rgba(245, 245, 245, 0.5);
  font-size: var(--fs-xs);
}

.footer__bottom a {
  color: rgba(245, 245, 245, 0.5);
  font-size: var(--fs-xs);
}

.footer__bottom a:hover {
  color: var(--color-secondary);
}

/* --- CTA MOBILE STICKY --- */
.mobile-cta {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-secondary);
  color: var(--color-primary);
  text-align: center;
  padding: 14px;
  font-weight: 600;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 99;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  transition: background var(--transition-fast);
}

.mobile-cta:hover {
  background: var(--color-accent);
}

/* --- ANIMATIONS AU SCROLL --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* --- PAGE HEADER (pages internes) --- */
.page-header {
  background: var(--color-primary);
  padding: calc(var(--nav-height-mobile) + var(--space-2xl)) 0 var(--space-2xl);
  text-align: center;
}

.page-header__title {
  font-size: var(--fs-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.page-header__breadcrumb {
  color: rgba(245, 245, 245, 0.6);
  font-size: var(--fs-sm);
}

.page-header__breadcrumb a {
  color: var(--color-secondary);
}

/* --- PAGE MENTIONS LÉGALES --- */
.legal {
  padding: var(--space-2xl) 0;
}

.legal h2 {
  font-size: var(--fs-xl);
  color: var(--color-primary);
  margin: var(--space-xl) 0 var(--space-sm);
}

.legal p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

/* --- FORMULAIRE CONTACT --- */
.form {
  display: grid;
  gap: var(--space-md);
  max-width: 500px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form__label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text);
}

.form__input,
.form__textarea {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: var(--fs-base);
  transition: border-color var(--transition-fast);
  background: var(--color-white);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-secondary);
  outline: none;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   NAV LOGO — Image
   ========================================================================== */
.nav__logo .nav__logo-img,
.nav__logo img.nav__logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* logo blanc sur fond sombre/transparent */
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.5s ease,
              opacity 0.4s ease;
}

.nav__logo:hover .nav__logo-img {
  transform: scale(1.05);
  filter: brightness(0) invert(1) drop-shadow(0 0 14px rgba(228, 195, 156, 0.55));
}

@media (min-width: 768px) {
  .nav__logo .nav__logo-img,
  .nav__logo img.nav__logo-img { height: 62px; max-width: 300px; }
}

@media (min-width: 1200px) {
  .nav__logo .nav__logo-img,
  .nav__logo img.nav__logo-img { height: 70px; max-width: 340px; }
}

/* ==========================================================================
   QUARTIER — Grille photos Vincennes (infos-pratiques)
   ========================================================================== */
@media (min-width: 768px) {
  .quartier-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-lg) !important;
  }
}

/* ==========================================================================
   HERO — Slideshow (style lazare-paris.fr)
   ========================================================================== */
.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: -2; /* sous overlay (-1), au-dessus du fond */
  overflow: hidden;
  background: var(--color-primary);
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroSlideFade 28s infinite;
  will-change: opacity, transform;
  transform: scale(1.04);
}

.hero__slide--1 { animation-delay: 0s; }
.hero__slide--2 { animation-delay: 7s; }
.hero__slide--3 { animation-delay: 14s; }
.hero__slide--4 { animation-delay: 21s; }

@keyframes heroSlideFade {
  0%   { opacity: 0; transform: scale(1.04); }
  4%   { opacity: 1; }
  25%  { opacity: 1; transform: scale(1.08); }
  29%  { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    animation: none;
    opacity: 0;
  }
  .hero__slide--1 { opacity: 1; }
}

/* ==========================================================================
   SPLASH SCREEN — Animation d'ouverture Art Déco
   ========================================================================== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-primary);
  display: none; /* JS pose .splash--show */
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.splash--show {
  display: flex;
  pointer-events: auto;
}

.splash--leave {
  animation: splashOut 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.splash::before,
.splash::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(228, 195, 156, 0.25);
  pointer-events: none;
}

.splash::after {
  inset: 32px;
  border-color: rgba(228, 195, 156, 0.12);
}

.splash__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 0 var(--space-lg);
}

.splash__logo {
  width: clamp(200px, 35vw, 340px);
  height: auto;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  animation: splashLogoIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.35));
}

.splash__line {
  display: block;
  width: 0;
  height: 1px;
  background: var(--color-secondary);
  opacity: 0;
  animation: splashLine 0.7s cubic-bezier(0.65, 0, 0.35, 1) 1.0s forwards;
}

.splash__baseline {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.78);
  opacity: 0;
  transform: translateY(8px);
  animation: splashBaseline 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.25s forwards;
}

.splash__skip {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: transparent;
  border: 1px solid rgba(245, 245, 245, 0.25);
  color: rgba(245, 245, 245, 0.7);
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: lowercase;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0;
  animation: splashBaseline 0.5s ease 0.6s forwards;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.splash__skip:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}

@keyframes splashLogoIn {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes splashLine {
  0%   { width: 0; opacity: 0; }
  20%  { opacity: 1; }
  100% { width: clamp(120px, 22vw, 220px); opacity: 1; }
}

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

@keyframes splashOut {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.02); }
}

/* Lock du scroll body pendant le splash */
body.splash-locked {
  overflow: hidden;
}

/* Accessibilité — pas d'animation si l'utilisateur préfère */
@media (prefers-reduced-motion: reduce) {
  .splash--show {
    display: none !important;
  }
}

/* ==========================================================================
   ANIMATIONS RAFFINÉES — Chic & convivialité
   ========================================================================== */

/* --- Hero : entrée séquentielle élégante --- */
.hero__subtitle,
.hero__title,
.hero__description,
.hero .btn,
.hero__cta {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__subtitle  { animation-delay: 0.20s; }
.hero__title     { animation-delay: 0.45s; transform: translateY(34px); }
.hero__description { animation-delay: 0.85s; }
.hero .btn,
.hero__cta       { animation-delay: 1.10s; }

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

/* Léger zoom lent sur les slides du hero pour ajouter de la vie */
.hero__slide {
  animation-name: heroSlideFade, heroSlideKenBurns;
  animation-duration: 28s, 28s;
  animation-iteration-count: infinite, infinite;
  animation-timing-function: ease-in-out, linear;
}

@keyframes heroSlideKenBurns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, 1%); }
}

/* --- fade-in scroll : easing plus raffiné + variations --- */
.fade-in {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Stagger : éléments multiples qui se révèlent en cascade */
.fade-in.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in.fade-in--delay-3 { transition-delay: 0.3s; }
.fade-in.fade-in--delay-4 { transition-delay: 0.4s; }

/* --- Salle cards : hover lift élégant --- */
.salle-card {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.salle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -20px rgba(0, 39, 77, 0.35);
}

.salle-card__img,
.salle-card .salle-card__img,
.salle-card img {
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.salle-card:hover img,
.salle-card:hover .salle-card__img {
  transform: scale(1.06);
}

/* --- Feature cards : translation latérale au hover --- */
.feature {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature:hover {
  transform: translateX(6px);
}

.feature__icon {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.4s ease,
              color 0.4s ease;
}

.feature:hover .feature__icon {
  transform: scale(1.08) rotate(-3deg);
}

/* --- Boutons primaires : effet de remplissage + élévation --- */
.btn,
.nav__cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              color 0.4s ease,
              border-color 0.4s ease;
}

.btn--primary::before,
.nav__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-accent, #ffb83d);
  transform: translateX(-101%);
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}

.btn--primary:hover::before,
.nav__cta:hover::before {
  transform: translateX(0);
}

.btn--primary:hover,
.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(228, 195, 156, 0.55);
}

.btn--outline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-white);
  transform: translateY(101%);
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}

.btn--outline:hover::before {
  transform: translateY(0);
}

.btn--outline:hover {
  transform: translateY(-2px);
}

/* --- Mobile CTA : pulsation discrète --- */
.mobile-cta {
  animation: pulseGlow 3.6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 22px -10px rgba(228, 195, 156, 0.45); }
  50%      { box-shadow: 0 12px 30px -8px rgba(228, 195, 156, 0.75); }
}

/* --- Liens nav (desktop) : underline animé en doré --- */
@media (min-width: 1024px) {
  .nav__links a {
    position: relative;
    padding: 4px 2px;
  }
  .nav__links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--color-secondary);
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                left 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav__links a:hover::after,
  .nav__links a:focus::after,
  .nav__links a[aria-current="page"]::after {
    width: 100%;
    left: 0;
  }
}

/* --- Section header : ligne dorée qui s'étend --- */
.section-header__line {
  width: 0;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.section-header.fade-in--visible .section-header__line,
.fade-in--visible .section-header__line {
  width: 60px;
}

.fade-in--visible.section-header .section-header__line {
  width: 60px;
}

/* --- Photos : zoom subtil au survol dans figures et galerie --- */
.cheffe__img,
.infos__map iframe,
.quartier-grid figure img,
.galerie__grid img {
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.8s ease;
}

.cheffe__img:hover,
.quartier-grid figure:hover img,
.galerie__grid a:hover img,
.galerie__grid img:hover {
  transform: scale(1.04);
}

/* --- Quartier grid : figcaption qui slide up --- */
.quartier-grid figure {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  position: relative;
}

.quartier-grid figure img {
  border-radius: var(--border-radius-lg);
}

/* --- Reservation CTA : entrée majestueuse --- */
.reservation-cta__title {
  background: linear-gradient(120deg, var(--color-white) 0%, var(--color-secondary) 50%, var(--color-white) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerTitle 6s linear infinite;
}

@keyframes shimmerTitle {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Liens : transition douce --- */
a {
  transition: color 0.35s ease, opacity 0.35s ease;
}

/* --- Accessibilité : reduce motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero__subtitle,
  .hero__title,
  .hero__description,
  .hero .btn,
  .hero__cta,
  .fade-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero__slide,
  .reservation-cta__title,
  .mobile-cta {
    animation: none !important;
  }
  .salle-card:hover,
  .feature:hover,
  .btn:hover,
  .nav__cta:hover {
    transform: none !important;
  }
}

/* ==========================================================================
   FULL-PAGE LOCKED — Rubriques fixées, slide entre sections
   Une scroll = une rubrique. Pas de scroll natif.
   ========================================================================== */

/* Lock total : page fixe, pas de scroll possible */
html.fp-enabled,
html.fp-enabled body {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  overscroll-behavior: none;
  touch-action: none;
}

.fp-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: block;
}

/* Chaque section couvre tout le viewport, cachée par défaut sous la pile */
.fp-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transform: translate3d(0, 100%, 0);
  transition: transform 0.7s cubic-bezier(0.86, 0, 0.07, 1);
  will-change: transform;
  pointer-events: none;
}

/* États de pile */
.fp-section.is-current {
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  z-index: 2;
}

.fp-section.is-above {
  transform: translate3d(0, -100%, 0);
  z-index: 1;
}

.fp-section.is-below {
  transform: translate3d(0, 100%, 0);
  z-index: 1;
}

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

.fp-section__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1),
              transform 14s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.fp-section__slide.is-active {
  opacity: 1;
  transform: scale(1.0);
}

/* Quand la section est current, ken-burns lent */
.fp-section.is-current .fp-section__slide.is-active {
  transform: scale(1.08);
}

.fp-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,16,30,0.7) 0%, rgba(0,16,30,0.5) 50%, rgba(0,16,30,0.8) 100%);
  pointer-events: none;
}

.fp-section__overlay--strong {
  background: linear-gradient(90deg, rgba(0,16,30,0.9) 0%, rgba(0,16,30,0.7) 55%, rgba(0,16,30,0.4) 100%);
}

.fp-section__overlay--dark {
  background: linear-gradient(180deg, #00101e 0%, #001a35 100%);
}

.fp-section__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nav-height-mobile) var(--space-lg) var(--space-2xl);
  box-sizing: border-box;
}

.fp-section__inner--center {
  justify-content: center;
  text-align: center;
}

/* Compenser le sommaire fixe à gauche (desktop uniquement) */
.fp-section__inner--left {
  justify-content: center;
}

@media (min-width: 1280px) {
  .fp-section__inner--left,
  .fp-section__inner--full {
    padding-left: 260px;
    padding-right: 60px;
  }
}

.fp-section__inner--full {
  align-items: stretch;
  flex-direction: column;
  justify-content: center;
}

.fp-section__content {
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s,
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.fp-section.is-current .fp-section__content {
  opacity: 1;
  transform: translateY(0);
}

.fp-section__inner--center .fp-section__content {
  margin: 0 auto;
}

.fp-section__content--gallery {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

/* Eyebrow / typography */
.fp-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
  position: relative;
  padding-left: 38px;
}

.fp-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--color-secondary);
}

.fp-section__inner--center .fp-eyebrow {
  padding-left: 0;
}

.fp-section__inner--center .fp-eyebrow::before {
  display: none;
}

.fp-title {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-white);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 var(--space-lg);
  text-transform: uppercase;
}

.fp-title--md {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: var(--space-md);
}

/* Logo PNG en remplacement du titre texte sur le hero */
.fp-title--logo {
  font-size: 0;
  line-height: 0;
  margin: 0 0 var(--space-lg);
}

.fp-hero-logo {
  display: block;
  width: clamp(200px, 28vw, 380px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.35));
}

.fp-lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 var(--space-lg);
  max-width: 560px;
}

.fp-text {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 var(--space-lg);
  max-width: 560px;
}

/* CTA buttons (full-page style) */
.fp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.fp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.fp-btn--primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}

.fp-btn--primary:hover {
  background: transparent;
  color: var(--color-secondary);
  letter-spacing: 0.22em;
}

.fp-btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.fp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-white);
  letter-spacing: 0.22em;
}

/* Listes typées */
.fp-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: grid;
  gap: var(--space-md);
}

.fp-list li {
  display: grid;
  gap: 4px;
  padding: var(--space-sm) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fp-list li strong {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  color: var(--color-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fp-list li span {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.fp-list--inline li {
  display: flex;
  flex-direction: column;
}

/* --- 3 salles : layout horizontal avec images --- */
.fp-salles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  width: 100%;
  max-width: 900px;
}

.fp-salles__card {
  text-align: center;
}

.fp-salles__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-sm);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.fp-salles__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fp-salles__card:hover .fp-salles__img img {
  transform: scale(1.05);
}

.fp-salles__name {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
}

/* Mobile : empiler les salles verticalement */
@media (max-width: 767px) {
  .fp-salles {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    max-width: 320px;
    margin: var(--space-md) auto 0;
  }

  .fp-salles__img {
    aspect-ratio: 16 / 9;
  }
}

/* Tablette : 3 colonnes mais plus serré */
@media (min-width: 768px) and (max-width: 1023px) {
  .fp-salles {
    gap: var(--space-md);
    max-width: 700px;
  }
}

/* Métadonnées (horaires, dates) */
.fp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin: var(--space-lg) 0;
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.fp-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fp-meta__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.fp-meta__value {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  color: var(--color-white);
}

/* Pricing (déjeuner ardoise) */
.fp-pricing {
  display: grid;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  max-width: 480px;
}

.fp-pricing__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-md);
  letter-spacing: 0.02em;
}

.fp-pricing__line strong {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--color-secondary);
  font-weight: 600;
}

.fp-pricing__line.is-highlight {
  border-bottom-color: var(--color-secondary);
  color: var(--color-white);
}

.fp-pricing__line.is-highlight strong {
  font-size: var(--fs-xl);
}

/* Partenaires (boissons) */
.fp-partners {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.fp-partners__label {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-sm);
}

.fp-partners ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
}

.fp-partners li {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.06em;
}

/* Contact / privatisation */
.fp-contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-md) 0 var(--space-lg);
}

.fp-contact a {
  font-family: var(--font-heading);
  color: var(--color-secondary);
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 195, 156, 0.5);
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}

.fp-contact a:hover {
  border-color: var(--color-secondary);
}

/* Infos pratiques (grille 2x2) */
.fp-infos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg) var(--space-2xl);
  margin-top: var(--space-md);
}

.fp-infos__block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fp-infos__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.fp-infos__block p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.fp-infos__block a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.fp-infos__block a:hover {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* Galerie */
.fp-gallery__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.fp-gallery__header .fp-eyebrow {
  padding-left: 0;
}
.fp-gallery__header .fp-eyebrow::before {
  display: none;
}

.fp-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(120px, 1fr);
  gap: 8px;
  margin-bottom: var(--space-lg);
}

.fp-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
}

.fp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.fp-gallery__item:hover img {
  transform: scale(1.06);
}

/* Indicateur de scroll vers le bas (hero) */
.fp-scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.fp-scroll-down:hover {
  color: var(--color-white);
}

.fp-scroll-down span:first-child {
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.7));
  animation: fpScrollLine 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  transform-origin: top;
}

.fp-scroll-down__label {
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

@keyframes fpScrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  40% { transform: scaleY(1); transform-origin: top; }
  60% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   INDICATEUR LATÉRAL DE RUBRIQUES (sommaire fixe à gauche)
   ========================================================================== */
.rubriques-dots {
  position: fixed;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 22px 0 22px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

@media (min-width: 1024px) {
  .rubriques-dots {
    display: flex;
  }
}

.rubriques-dots__dot {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  text-decoration: none;
  position: relative;
  /* La barre verticale à gauche du lien actif */
  border-left: 3px solid transparent;
  margin-left: -25px;
  padding-left: 22px;
  transition: border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              padding-left 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.rubriques-dots__dot::after {
  content: "";
  display: none;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.rubriques-dots__dot:hover::after {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.5);
}

.rubriques-dots__dot.is-active {
  border-left-color: var(--color-secondary);
  padding-left: 26px;
}

.rubriques-dots__dot.is-active::after {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: scale(1.4);
  box-shadow: 0 0 0 6px rgba(228, 195, 156, 0.25);
}

/* Labels visibles en permanence à côté des rubriques */
.rubriques-dots__dot span {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  transition: color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              font-size 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              letter-spacing 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.rubriques-dots__dot:hover span {
  color: var(--color-white);
}

.rubriques-dots__dot.is-active span {
  color: var(--color-secondary);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.25em;
}

/* La nav reste solid sur les sections sombres */
html.fp-enabled .nav {
  background: rgba(0, 16, 30, 0.0);
  backdrop-filter: blur(2px);
}

html.fp-enabled .nav.is-on-dark {
  background: rgba(0, 16, 30, 0.55);
  backdrop-filter: blur(8px);
}

/* Footer + mobile-cta cachés quand fp-enabled — page locked */
html.fp-enabled .footer,
html.fp-enabled .mobile-cta {
  display: none !important;
  visibility: hidden;
}

/* Sommaire : masqué partout sauf desktop large (>1024px via la règle au-dessus) */
/* Sécurité : on cache aussi en tablette portrait */
@media (max-width: 1023px) {
  .rubriques-dots {
    display: none !important;
  }
}

/* Responsive full-page : mobile — tout doit tenir dans 100vh */
@media (max-width: 767px) {
  .fp-section__inner {
    padding: calc(var(--nav-height-mobile) + 12px) 20px 16px;
    align-items: flex-start;
  }
  .fp-section__content {
    max-width: 100%;
  }
  .fp-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    margin-bottom: 10px;
  }
  .fp-title--md {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    margin-bottom: 8px;
  }
  .fp-eyebrow {
    font-size: 10px;
    margin-bottom: 8px;
    padding-left: 28px;
    letter-spacing: 0.25em;
  }
  .fp-eyebrow::before {
    width: 20px;
  }
  .fp-lead {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .fp-text {
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 10px;
  }
  .fp-list {
    gap: 2px;
    margin-bottom: 10px;
  }
  .fp-list li {
    padding: 8px 0;
    gap: 2px;
  }
  .fp-list li strong {
    font-size: 0.875rem;
  }
  .fp-list li span {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  .fp-cta-row {
    margin-top: 10px;
  }
  .fp-btn {
    padding: 11px 22px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }
  .fp-meta {
    gap: 16px;
    margin: 10px 0;
    padding: 8px 0;
  }
  .fp-meta dt {
    font-size: 0.7rem;
  }
  .fp-meta dd {
    font-size: 0.875rem;
  }
  .fp-infos {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .fp-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

/* Responsive full-page : tablette */
@media (min-width: 768px) and (max-width: 1023px) {
  .fp-section__inner {
    padding: calc(var(--nav-height-mobile) + var(--space-lg)) var(--space-xl) var(--space-xl);
    justify-content: center;
  }
  .fp-section__content {
    max-width: 580px;
    margin: 0 auto;
  }
  .fp-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
  }
}

/* Responsive full-page : desktop entre 1024 et 1279 */
@media (min-width: 1024px) and (max-width: 1279px) {
  .fp-section__inner--left,
  .fp-section__inner--full {
    padding-left: 220px;
    padding-right: 40px;
  }
}

/* ==========================================================================
   LA CARTE — Layout sidebar gauche + lisibilité raffinée
   ========================================================================== */

.carte-page {
  background: var(--color-bg);
}

/* --- Hero de la page carte --- */
.carte-hero {
  position: relative;
  padding: calc(var(--nav-height-mobile) + var(--space-3xl)) var(--space-md) var(--space-2xl);
  background: linear-gradient(180deg, #00101e 0%, #001a35 100%);
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}

.carte-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/IMG_7457.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: grayscale(0.6) blur(1px);
}

.carte-hero__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.carte-hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin: 0 0 var(--space-sm);
}

.carte-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 var(--space-md);
  color: var(--color-white);
}

.carte-hero__lead {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Layout sidebar + content --- */
.carte-layout {
  display: block;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
}

.carte-sidebar {
  display: none;
}

.carte-content {
  width: 100%;
}

/* Force chaque section à respecter le padding & masquer le background-alt
   pour rendre l'ensemble plus aéré et lisible */
.carte-content > section {
  padding: var(--space-3xl) 0 !important;
  background: transparent !important;
}

.carte-content > section:nth-child(even) {
  background: var(--color-bg-alt) !important;
}

/* Section "vins" garde son fond sombre */
.carte-content > section#vins {
  background: var(--color-bg-dark) !important;
  color: var(--color-text-on-dark);
}

/* Lisibilité : titres section plus tenus */
.carte-content .section-header__title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.02em;
}

/* --- Mode flipbook : affichage page par page --- */
.carte-content > section {
  display: none;
}

.carte-content > section.is-active-page {
  display: block;
  animation: cartePageIn 0.4s ease;
}

@keyframes cartePageIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Navigation page précédente/suivante */
.carte-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 700px;
  margin: var(--space-xl) auto 0;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border);
}

.carte-pager__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.carte-pager__btn:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-secondary);
}

.carte-pager__btn[disabled] {
  opacity: 0.3;
  pointer-events: none;
}

.carte-pager__current {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--color-text-light);
}

/* --- Desktop : sidebar visible --- */
@media (min-width: 1024px) {
  .carte-layout {
    display: block;
    margin-left: 280px;
    padding: 0 var(--space-lg);
  }

  .carte-sidebar {
    display: block;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 280px;
    height: calc(100vh - var(--nav-height));
    z-index: 90;
    background: var(--color-bg);
    border-right: 1px solid var(--color-border);
    overflow-y: auto;
  }

  .carte-sidebar__sticky {
    padding: var(--space-xl) var(--space-md);
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .carte-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .carte-sidebar__link {
    display: block;
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-light);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, padding-left 0.3s ease;
  }

  .carte-sidebar__link:hover {
    color: var(--color-primary);
    background: rgba(0, 39, 77, 0.04);
    padding-left: 20px;
  }

  .carte-sidebar__link.is-active {
    color: var(--color-primary);
    font-weight: 600;
    border-left-color: var(--color-secondary);
    background: rgba(228, 195, 156, 0.15);
    padding-left: 20px;
  }

  /* Sur desktop, la sidebar gère le sommaire — on aère la zone contenu */
  .carte-content > section .container {
    max-width: none;
    padding: 0 var(--space-lg);
  }
}

/* --- Mobile : sidebar en bande horizontale scrollable --- */
@media (max-width: 1023px) {
  .carte-layout {
    display: block;
  }

  .carte-sidebar {
    display: block;
    position: sticky;
    top: var(--nav-height-mobile);
    z-index: 80;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .carte-sidebar__sticky {
    padding: 0;
  }

  .carte-sidebar__nav {
    display: flex;
    gap: 0;
    padding: 0 var(--space-sm);
    white-space: nowrap;
  }

  .carte-sidebar__link {
    display: inline-block;
    padding: 14px 16px;
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-text-light);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
  }

  .carte-sidebar__link:hover {
    color: var(--color-primary);
  }

  .carte-sidebar__link.is-active {
    color: var(--color-primary);
    font-weight: 600;
    border-bottom-color: var(--color-secondary);
  }

  /* Cacher la scrollbar mais garder le scroll */
  .carte-sidebar::-webkit-scrollbar {
    display: none;
  }
  .carte-sidebar {
    scrollbar-width: none;
  }
}

