/* =============================================================
   Page « La carte »
   Reprend le langage visuel de la refonte : noir de la maison, Archivo pour
   les titres, Raleway pour le texte, l'or (#cfa66f) pour les prix.
   Feuille autonome : cette page n'embarque pas le CSS Webflow du site.
   ============================================================= */

:root {
  /* Hauteur de l'en-tete : la barre de rubriques se cale dessous et les
     ancres compensent les deux. */
  --carte-topbar: 68px;
  --carte-noir: #07090b;
  --carte-or: #cfa66f;
  --carte-texte: rgba(255, 255, 255, .78);
}

.carte-page {
  min-height: 100vh;
  background-color: var(--carte-noir);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.carte-page *,
.carte-page *::before,
.carte-page *::after { box-sizing: border-box; }

/* ------------------------------------------------------------- Barre haute */

.carte-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 2vh, 20px) clamp(16px, 4vw, 56px);
  background-color: rgba(7, 9, 11, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
@supports (backdrop-filter: blur(10px)) {
  .carte-topbar { background-color: rgba(7, 9, 11, .74); backdrop-filter: saturate(150%) blur(14px); }
}
.carte-topbar__brand img { display: block; width: clamp(78px, 8vw, 110px); height: auto; }
.carte-topbar__nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.carte-topbar__nav a {
  color: rgba(255, 255, 255, .9);
  font-size: clamp(.82rem, 1vw, .95rem);
  font-weight: 500;
  text-decoration: none;
  transition: color .25s ease;
}
.carte-topbar__nav a:hover { color: #fff; }
.carte-topbar__cta {
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 2px;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.carte-topbar__cta:hover { background-color: #fff; border-color: #fff; color: #12100e !important; }

/* ------------------------------------------------------------------- Titre */

.carte-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 58vh, 620px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 12vh, 140px) clamp(16px, 4vw, 56px) clamp(48px, 7vh, 84px);
}

/* Visuel de fond : l'image reste lisible au centre grace au degrade, et le
   noir du bas fait la jonction avec la premiere categorie. */
.carte-hero__fond { position: absolute; inset: 0; }
.carte-hero__fond img { width: 100%; height: 100%; object-fit: cover; }
.carte-hero__fond::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Deux voiles : un vertical pour la jonction avec la page, un horizontal
     qui assombrit la gauche, ou se posent le titre et l'accroche. Les photos
     du shooting sont lumineuses (assiettes blanches, bois clair). */
  background:
    linear-gradient(90deg, rgba(7, 9, 11, .66) 0%, rgba(7, 9, 11, .3) 58%, rgba(7, 9, 11, 0) 100%),
    linear-gradient(
      to bottom,
      rgba(7, 9, 11, .58) 0%,
      rgba(7, 9, 11, .30) 42%,
      rgba(7, 9, 11, .72) 84%,
      var(--carte-noir) 100%
    );
}
/* Sur mobile, le titre occupe toute la largeur : voile uniforme plus dense. */
@media (max-width: 640px) {
  .carte-hero__fond::after {
    background: linear-gradient(
      to bottom,
      rgba(7, 9, 11, .62) 0%,
      rgba(7, 9, 11, .56) 50%,
      rgba(7, 9, 11, .8) 84%,
      var(--carte-noir) 100%
    );
  }
}

.carte-hero__contenu { position: relative; z-index: 1; width: 100%; max-width: 1120px; margin: 0 auto; }
.carte-hero__title {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: 'Archivo', 'Raleway', sans-serif;
  font-weight: 700;
  font-stretch: 112%;
  font-size: clamp(2.1rem, 7vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.022em;
  text-transform: uppercase;
}
/* Deuxième ligne décalée à droite, comme le titre de la page d'accueil. */
.carte-hero__line { display: block; white-space: nowrap; }
.carte-hero__line--end { align-self: flex-end; text-align: right; }

.carte-hero__lead {
  max-width: 54ch;
  margin: clamp(20px, 3vh, 32px) 0 0;
  font-size: clamp(.95rem, 1.15vw, 1.1rem);
  line-height: 1.6;
  color: var(--carte-texte);
}

/* ------------------------------------------------- Barre des rubriques */

/* Collante juste sous l'en-tete : on change de rubrique sans remonter. */
.carte-barre {
  position: sticky;
  top: var(--carte-topbar);
  z-index: 15;
  background-color: rgba(7, 9, 11, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
@supports (backdrop-filter: blur(10px)) {
  .carte-barre { background-color: rgba(7, 9, 11, .8); backdrop-filter: saturate(150%) blur(14px); }
}
.carte-barre__piste {
  display: flex;
  gap: 4px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px clamp(16px, 4vw, 56px);
  /* Les intitules du Sheet peuvent etre longs : on defile plutot que de plier. */
  overflow-x: auto;
  scrollbar-width: none;
}
.carte-barre__piste::-webkit-scrollbar { display: none; }
.carte-barre__piste a {
  position: relative;
  flex: 0 0 auto;
  padding: 10px 16px;
  color: rgba(255, 255, 255, .62);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .07em;
  white-space: nowrap;
  text-decoration: none;
  transition: color .25s ease;
}
.carte-barre__piste a:hover { color: #fff; }
/* Soulignement dore de la rubrique en cours, anime depuis le centre. */
.carte-barre__piste a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background-color: var(--carte-or);
  transform: scaleX(0);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.carte-barre__piste a.est-active { color: #fff; }
.carte-barre__piste a.est-active::after { transform: scaleX(1); }

/* ------------------------------------------------------------- Catégories */

.carte-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(44px, 7vh, 88px) clamp(16px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  /* Compense l'en-tete ET la barre des rubriques lors d'un saut d'ancre. */
  scroll-margin-top: calc(var(--carte-topbar) + 58px);
}

/* Visuel et intitule a gauche, plats a droite. La colonne de gauche reste
   affichee pendant qu'on parcourt une rubrique de onze plats. */
.carte-section__grille {
  display: grid;
  grid-template-columns: minmax(230px, 30%) 1fr;
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}
.carte-section__aside { position: sticky; top: calc(var(--carte-topbar) + 76px); }
.carte-section__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: clamp(14px, 2vh, 20px);
}
.carte-section__title {
  margin: 0;
  font-family: 'Archivo', 'Raleway', sans-serif;
  font-weight: 700;
  font-stretch: 108%;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  letter-spacing: -.01em;
  color: #fff;
}
.carte-section__count {
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
}
.carte-section__media {
  margin: 0;
  overflow: hidden;
  background-color: #14120f;
}
.carte-section__media img { transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.carte-section__grille:hover .carte-section__media img { transform: scale(1.04); }
.carte-section__media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

/* ------------------------------------------------------------------ Plats */

.carte-liste { margin: 0; padding: 0; list-style: none; }
.carte-ligne {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding: 15px 14px;
  margin: 0 -14px;
  font-size: clamp(.92rem, 1.08vw, 1.04rem);
  border-radius: 3px;
  transition: background-color .3s ease;
}
.carte-ligne:hover { background-color: rgba(255, 255, 255, .04); }
.carte-ligne + .carte-ligne::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background-color: rgba(255, 255, 255, .07);
}
.carte-ligne__nom {
  font-family: 'Archivo', 'Raleway', sans-serif;
  font-weight: 600;
  font-stretch: 104%;
  letter-spacing: .005em;
  color: #fff;
}
/* Pas de pointilles avant le prix (demande client) : il est simplement
   pousse a droite. */
.carte-ligne__prix {
  margin-left: auto;
  font-family: 'Archivo', 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.02em;
  color: var(--carte-or);
  white-space: nowrap;
}
.carte-ligne__desc {
  flex: 1 0 100%;
  margin-top: 4px;
  font-size: .86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .55);
}

/* ---------------------------------------------------------------- Bas de page */

.carte-fin {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(34px, 5vh, 62px) clamp(16px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.carte-fin__note {
  margin: 0 0 clamp(20px, 3vh, 30px);
  max-width: 60ch;
  font-size: .88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .5);
}
.carte-fin__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.carte-btn {
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 2px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.carte-btn:hover { background-color: rgba(255, 255, 255, .12); border-color: #fff; }
.carte-btn--plein { background-color: #fff; border-color: #fff; color: #101010; }
.carte-btn--plein:hover { background-color: var(--carte-or); border-color: var(--carte-or); color: #101010; }

.carte-pied {
  padding: clamp(30px, 4.5vh, 52px) clamp(16px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .86rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
  text-align: center;
}
.carte-pied p { margin: 0 0 6px; }
.carte-pied a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.carte-pied a:hover { color: #fff; text-decoration: underline; }
.carte-pied__legal { display: flex; justify-content: center; gap: 18px; margin-top: 14px; }

@media (max-width: 900px) {
  /* Sous cette largeur la colonne collante n'a plus de sens : on empile. */
  .carte-section__grille { grid-template-columns: 1fr; gap: clamp(18px, 3vh, 26px); }
  .carte-section__aside { position: static; }
  .carte-section__media img { aspect-ratio: 2 / 1; }
}

@media (max-width: 640px) {
  /* À cette largeur, « de L'ITALIEN » en nowrap déborderait. */
  .carte-hero__title { font-size: clamp(1.7rem, 9vw, 2.6rem); font-stretch: 100%; }
  .carte-hero__line--end { align-self: flex-start; text-align: left; }
  .carte-section__media { max-width: none; }
  .carte-topbar__nav { gap: 10px; }
}


/* =============================================================
   Animations — armees par carte-anim.js
   Les etats masques sont portes par `.js-anim`, classe posee par le script.
   Sans JS, sans IntersectionObserver ou en mouvement reduit, la page reste
   entierement visible : aucun contenu ne depend du JavaScript pour s'afficher.
   ============================================================= */

.js-anim .carte-hero__title,
.js-anim .carte-hero__lead,
.js-anim .carte-hero__lead + * {
  opacity: 0;
  transform: translateY(22px);
  animation: carteEntree .85s cubic-bezier(.22, 1, .36, 1) forwards;
}
.js-anim .carte-hero__title { animation-delay: .05s; }
.js-anim .carte-hero__lead { animation-delay: .2s; }
.js-anim .carte-hero__lead + * { animation-delay: .32s; }

/* Le visuel de fond se pose d'un leger zoom arriere. */
.js-anim .carte-hero__fond img {
  animation: carteZoom 1.6s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes carteEntree {
  to { opacity: 1; transform: none; }
}
@keyframes carteZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

/* En-tete de categorie : monte a l'entree dans l'ecran. */
.js-anim .carte-section__head,
.js-anim .carte-section__media {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1),
              transform .7s cubic-bezier(.22, 1, .36, 1);
}
.js-anim .carte-section.est-visible .carte-section__head,
.js-anim .carte-section.est-visible .carte-section__media {
  opacity: 1;
  transform: none;
}
.js-anim .carte-section__media { transition-delay: .1s; }

/* Lignes de plats : cascade courte, le decalage est pose par le script. */
.js-anim .carte-ligne {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22, 1, .36, 1);
}
.js-anim .carte-section.est-visible .carte-ligne {
  opacity: 1;
  transform: none;
}

/* Survol d'une ligne : le prix avance legerement. */
.carte-ligne__prix { transition: transform .25s ease; }
.carte-ligne:hover .carte-ligne__prix { transform: translateX(-3px); }

@media (prefers-reduced-motion: reduce) {
  .js-anim .carte-hero__title,
  .js-anim .carte-hero__lead,
  .js-anim .carte-section__head,
  .js-anim .carte-section__media,
  .js-anim .carte-ligne {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .js-anim .carte-hero__fond img { animation: none; }
  .carte-ligne:hover .carte-ligne__prix { transform: none; }
}


/* =============================================================
   Sous-rubriques (page des boissons)
   Le Sheet range les 40 vins par region et les 29 cocktails par famille :
   sans ces intertitres, la page redeviendrait une liste a plat.
   ============================================================= */

.carte-groupes { display: flex; flex-direction: column; gap: clamp(26px, 3.6vh, 44px); }

.carte-groupe__titre {
  margin: 0 0 clamp(10px, 1.4vh, 16px);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(207, 166, 111, .28);
  font-family: 'Archivo', 'Raleway', sans-serif;
  font-weight: 700;
  font-stretch: 104%;
  font-size: clamp(.82rem, 1vw, .94rem);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--carte-or);
}

/* Contenance et format viennent se ranger sous le nom, en retrait discret. */
.carte-ligne__desc { font-variant-numeric: tabular-nums; }


/* =============================================================
   Page Contact
   Reutilise la charpente des pages carte (topbar, hero, sections).
   ============================================================= */

.contact-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 3.4vw, 52px);
  max-width: 1180px;
  margin: 0 auto;
}

.contact-bloc__titre {
  margin: 0 0 clamp(12px, 1.6vh, 18px);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(207, 166, 111, .28);
  font-family: 'Archivo', 'Raleway', sans-serif;
  font-weight: 700;
  font-stretch: 104%;
  font-size: .82rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--carte-or);
}
.contact-bloc__texte {
  margin: 0 0 12px;
  font-size: clamp(.94rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  color: #fff;
}
.contact-bloc__note {
  margin: 0;
  font-size: .86rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .5);
}

/* Le numero est le premier reflexe sur mobile : il doit primer visuellement. */
.contact-tel {
  font-family: 'Archivo', 'Raleway', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -.01em;
  color: #fff;
  text-decoration: none;
}
.contact-tel:hover { color: var(--carte-or); }

.contact-lien {
  color: var(--carte-or);
  text-decoration: none;
  border-bottom: 1px solid rgba(207, 166, 111, .35);
  transition: border-color .25s ease, color .25s ease;
}
.contact-lien:hover { color: #fff; border-bottom-color: #fff; }
/* Flèche SVG (jamais de caractère Unicode : iOS l'afficherait en emoji). */
.contact-lien .seo-fleche { display: inline-block; width: 1em; height: 1em; margin-left: .35em; vertical-align: -.14em; }

.contact-horaires { margin: 0; padding: 0; list-style: none; }
.contact-horaires li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  font-size: clamp(.88rem, 1.02vw, .98rem);
}
.contact-horaires li + li { border-top: 1px solid rgba(255, 255, 255, .07); }
.contact-horaires__jours { color: rgba(255, 255, 255, .8); }
.contact-horaires__jours em { font-style: normal; color: rgba(255, 255, 255, .45); }
.contact-horaires__heures { color: #fff; font-weight: 600; white-space: nowrap; }

.contact-plan { max-width: 1180px; margin: 0 auto; }
.contact-plan__titre {
  margin: 0 0 clamp(16px, 2.4vh, 26px);
  font-family: 'Archivo', 'Raleway', sans-serif;
  font-weight: 700;
  font-stretch: 108%;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  letter-spacing: -.01em;
  color: #fff;
}
.contact-plan__cadre {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  background-color: #14120f;
  /* La carte Google s'affiche en clair : on l'attenue pour ne pas trouer la page. */
  filter: saturate(.85) brightness(.92);
}
.contact-plan__cadre iframe { display: block; border: 0; }

@media (max-width: 640px) {
  .contact-plan__cadre iframe { height: 380px; }
}

