/* ————————————————————————————————————
   Le 13 — styles
   ———————————————————————————————————— */

:root {
  --bleu-nuit: #0B1E3A;
  --bleu-profond: #14365C;
  --bleu-encre: #081429;
  --orange-neon: #FF6A1F;
  --orange-chaud: #E8A44C;
  --creme: #F4E9D8;
  --sable: #E8D9B8;
  --noir-encre: #1A1410;
  --blanc: #FFFBF3;

  --ff-display: "Abril Fatface", Georgia, serif;
  --ff-sign: "Bebas Neue", Impact, sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --radius: 6px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--noir-encre);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; }

/* ——— Nav ——— */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}

.nav.scrolled {
  background: rgba(11, 30, 58, .92);
  backdrop-filter: blur(10px);
  padding: 10px 32px;
  box-shadow: 0 2px 30px rgba(0,0,0,.2);
}

.nav__brand {
  font-family: var(--ff-sign);
  font-size: 26px;
  letter-spacing: .12em;
  color: var(--blanc);
  text-decoration: none;
}

.nav__brand-mark {
  color: var(--orange-neon);
  text-shadow: 0 0 10px rgba(255,106,31,.6);
}

.nav__menu {
  display: flex;
  gap: 32px;
}

.nav__menu a {
  font-family: var(--ff-sign);
  letter-spacing: .18em;
  font-size: 15px;
  color: var(--blanc);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}

.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--orange-neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav__menu a:hover { color: var(--orange-neon); }
.nav__menu a:hover::after { transform: scaleX(1); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blanc);
  transition: transform .3s var(--ease), opacity .2s;
}

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

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--blanc);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("./image/vue-exteiieur-hero.webp");
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(11,30,58,.45) 0%, rgba(8,20,41,.92) 100%),
    linear-gradient(180deg, rgba(8,20,41,.7) 0%, rgba(11,30,58,.55) 40%, rgba(8,20,41,.95) 100%);
  z-index: -1;
}

.hero__inner {
  padding: 32px 24px;
  max-width: 820px;
}

.hero__eyebrow {
  font-family: var(--ff-sign);
  letter-spacing: .4em;
  font-size: 14px;
  color: var(--orange-chaud);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(96px, 20vw, 220px);
  line-height: .9;
  margin: 0;
  letter-spacing: .02em;
  color: var(--orange-neon);
}

.neon {
  text-shadow:
    0 0 8px rgba(255,106,31,.9),
    0 0 20px rgba(255,106,31,.7),
    0 0 48px rgba(255,106,31,.5),
    0 0 90px rgba(255,106,31,.35);
  animation: flicker 6s infinite;
}

@keyframes flicker {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: .6; }
  94% { opacity: 1; }
  95% { opacity: .4; }
  96% { opacity: 1; }
}

.hero__tagline {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2.4vw, 26px);
  margin: 16px 0 24px;
  color: var(--creme);
  font-style: italic;
  opacity: .95;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(232,164,76,.45);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .04em;
  margin-bottom: 28px;
}

.hero__stars { color: var(--orange-chaud); letter-spacing: 2px; }

.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--ff-sign);
  letter-spacing: .2em;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--orange-neon);
  color: var(--bleu-encre);
  box-shadow: 0 6px 24px rgba(255,106,31,.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255,106,31,.5); }

.btn--ghost {
  border-color: rgba(255,251,243,.5);
  color: var(--blanc);
}
.btn--ghost:hover { background: var(--blanc); color: var(--bleu-nuit); }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,251,243,.6);
  border-radius: 14px;
  cursor: pointer;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 6px;
  background: var(--orange-neon);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 16px); opacity: 0; }
}

/* ——— Sections ——— */

.section {
  position: relative;
  padding: 110px 24px;
  overflow: hidden;
}

.section--creme { background: var(--creme); color: var(--noir-encre); }
.section--sable { background: var(--sable); color: var(--noir-encre); }
.section--nuit  { background: var(--bleu-nuit); color: var(--blanc); }

.section--creme::before,
.section--sable::before {
  /* SVG noise texture subtile */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .5;
  mix-blend-mode: multiply;
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section__sub {
  font-size: 18px;
  opacity: .8;
  margin-top: 8px;
}

.section__watermark {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  font-family: var(--ff-display);
  font-size: clamp(280px, 48vw, 560px);
  line-height: 1;
  color: var(--orange-chaud);
  opacity: .08;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.eyebrow {
  font-family: var(--ff-sign);
  letter-spacing: .4em;
  font-size: 13px;
  color: var(--orange-neon);
  text-transform: uppercase;
  margin: 0 0 12px;
}

h2 {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--bleu-nuit);
}

.section--nuit h2 { color: var(--blanc); }

/* filet doré au-dessus des titres de section */
.section__head::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--orange-chaud);
  margin: 0 auto 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.prose h2 { margin-bottom: 24px; }
.prose p { margin: 0 0 16px; font-size: 18px; }
.prose__sign {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--bleu-profond);
  margin-top: 24px !important;
  font-size: 20px !important;
}

.frame {
  position: relative;
  padding: 14px;
  background: var(--blanc);
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(11,30,58,.18);
  transform: rotate(.6deg);
}
.frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--orange-neon);
  pointer-events: none;
  border-radius: 2px;
}
.frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ——— Ambiance bandeau ——— */

.ambiance {
  background: var(--bleu-encre);
  padding: 0;
  overflow: hidden;
}

.ambiance__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.ambiance__tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ambiance__tile img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  transition: transform .6s var(--ease);
  will-change: transform;
}

.ambiance__tile:hover img { transform: scale(1.04); }

/* ——— Galerie cocktails ——— */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  background: var(--bleu-nuit);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease), filter .3s;
}

.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0 rgba(255,106,31,0);
  transition: box-shadow .3s var(--ease);
  pointer-events: none;
  border-radius: var(--radius);
}

.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { box-shadow: inset 0 0 0 3px rgba(255,106,31,.9); }

/* ——— Horaires ——— */

.hours {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  border-collapse: collapse;
  font-family: var(--ff-body);
  position: relative;
  z-index: 1;
}

.hours tr {
  border-bottom: 1px solid rgba(26,20,16,.12);
  transition: background .3s var(--ease);
}
.hours tr:last-child { border-bottom: none; }

.hours th, .hours td {
  padding: 18px 12px;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
}

.hours th {
  font-family: var(--ff-sign);
  letter-spacing: .15em;
  font-size: 17px;
  color: var(--bleu-nuit);
}

.hours td { text-align: right; color: var(--bleu-profond); font-variant-numeric: tabular-nums; }

.hours tr.is-today {
  background: linear-gradient(90deg, rgba(255,106,31,.12), rgba(255,106,31,0));
  position: relative;
}
.hours tr.is-today::before {
  content: "AUJOURD'HUI";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-108%, -50%);
  font-family: var(--ff-sign);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--orange-neon);
  white-space: nowrap;
}
.hours tr.is-today th { color: var(--orange-neon); }
.hours tr.is-today td { color: var(--noir-encre); font-weight: 600; }

.hours__note {
  text-align: center;
  margin-top: 28px;
  font-style: italic;
  color: var(--bleu-profond);
  position: relative;
  z-index: 1;
}

/* ——— Contact ——— */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 32px 28px;
  background: rgba(255,251,243,.04);
  border: 1px solid rgba(232,164,76,.25);
  border-radius: 8px;
  text-decoration: none;
  color: var(--blanc);
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--orange-neon);
  background: rgba(255,106,31,.08);
}

.card__icon {
  font-size: 28px;
  color: var(--orange-neon);
  line-height: 1;
}

.card__label {
  font-family: var(--ff-sign);
  letter-spacing: .2em;
  font-size: 14px;
  color: var(--orange-chaud);
}

.card__value {
  font-size: 17px;
  font-weight: 500;
}

.contact__address {
  text-align: center;
  font-family: var(--ff-display);
  font-size: 20px;
  color: var(--creme);
  opacity: .85;
  margin: 0;
}

/* ——— Footer ——— */

.footer {
  background: var(--bleu-encre);
  color: var(--creme);
  padding: 48px 24px;
  text-align: center;
}
.footer__mark {
  font-family: var(--ff-display);
  font-size: 36px;
  color: var(--orange-neon);
  margin: 0 0 8px;
  letter-spacing: .04em;
}
.footer__line { margin: 0 0 8px; opacity: .8; }
.footer__line a { color: var(--orange-chaud); text-decoration: none; }
.footer__line a:hover { text-decoration: underline; }
.footer__copy { margin: 0; font-size: 13px; opacity: .5; }

/* ——— Reveal ——— */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ——— Responsive ——— */

@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }
}

@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav.scrolled { padding: 10px 20px; }
  .nav__burger { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11,30,58,.98);
    backdrop-filter: blur(12px);
    padding: 16px 24px 24px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav__menu a { padding: 14px 0; border-bottom: 1px solid rgba(255,251,243,.08); }
  .nav.open .nav__menu {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .section { padding: 80px 20px; }

  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .frame { transform: none; max-width: 440px; margin: 0 auto; }

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

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 10px;
  }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 2; }

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

  .hours tr.is-today::before { display: none; }
  .hours tr.is-today th { padding-left: 12px; }
  .hours tr.is-today {
    background: linear-gradient(90deg, rgba(255,106,31,.18), rgba(255,106,31,0));
  }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .gallery { grid-auto-rows: 140px; gap: 8px; }
}

/* ——— Focus (accessibilité) ——— */

a:focus-visible, button:focus-visible, .card:focus-visible {
  outline: 2px solid var(--orange-neon);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ——— Reduced motion ——— */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .neon { animation: none; }
  .hero__scroll span { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
