/* La Table du Grand Lac — feuille de style */
:root {
  --ink: #1a2a57;        /* bleu outremer foncé : couleur principale */
  --ink-deep: #111c3d;
  --ink-soft: #4b5577;
  --cream: #f7f3ee;      /* blanc chaud */
  --paper: #ffffff;
  --gold: #b07845;       /* cognac / cuivre */
  --gold-light: #d8a877;
  --lake: #2d7a8f;
  --line: rgba(26, 42, 87, .14);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Great Vibes", "Snell Roundhand", cursive;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, .95rem + .2vw, 1.1rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 1.2rem;
}
.section--ink .eyebrow { color: var(--gold-light); }
.title { font-size: clamp(2.3rem, 1.6rem + 3vw, 4.2rem); }
.title em { font-family: var(--script); font-style: normal; font-weight: 400; color: var(--gold); font-size: 1.15em; }
.section--ink .title em, .cta .title em, .page-hero .title em { color: var(--gold-light); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 2.1em; border: 1px solid currentColor; border-radius: 0;
  font-family: var(--sans); font-size: .8rem; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  transition: background .3s, color .3s, border-color .3s;
  cursor: pointer; background: transparent;
}
.btn--primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--primary:hover { background: #fff; color: var(--ink); border-color: var(--gold); }
/* sur la vidéo ou une photo sombre, le bouton principal passe en blanc */
.hero .btn--primary { background: #fff; border-color: #fff; color: var(--ink); }
.hero .btn--primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; color: inherit; }
.logo__top { font-family: var(--sans); font-weight: 400; letter-spacing: .55em; margin-right: -.55em; font-size: .62rem; }
.logo__script {
  font-family: var(--script); font-size: 1.9rem; margin-top: .02em;
  background: linear-gradient(100deg, #93592c 0%, #deae7e 45%, #b07845 70%, #7d4a25 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* marge large : les boucles de la calligraphie débordent de la boîte du texte */
  display: inline-block; padding: .2em .5em .35em; margin: .08em -.5em -.35em;
}
.logo--hero .logo__top { font-size: clamp(.95rem, .6rem + 1.4vw, 1.6rem); }
.logo--hero .logo__script { font-size: clamp(4rem, 2rem + 8vw, 8.5rem); filter: drop-shadow(0 2px 14px rgba(0,0,0,.35)); }
.logo--hero { margin-bottom: 2.6rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem var(--pad); color: #fff;
  transition: background .4s, color .4s, box-shadow .4s, padding .4s;
}
.nav.is-solid, .nav--solid { background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) {
  text-decoration: none; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
  position: relative; padding: .3em 0;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .3s;
}
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links .btn { padding: .75em 1.5em; }
.nav:not(.is-solid):not(.nav--solid) .nav__links .btn--primary { background: transparent; border-color: #fff; }
.nav:not(.is-solid):not(.nav--solid) .nav__links .btn--primary:hover { background: #fff; color: var(--ink); }

.nav--home .logo { transition: opacity .4s; }
.nav--home:not(.is-solid):not(.is-open) .logo { opacity: 0; pointer-events: none; }
@media (max-width: 600px) { .hero__tagline { letter-spacing: .18em; max-width: 26ch; line-height: 1.9; } }

.nav__toggle { display: none; background: none; border: 0; color: inherit; padding: .5rem; cursor: pointer; }
.nav__toggle span { display: block; width: 26px; height: 1px; background: currentColor; margin: 7px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 900px) {
  .nav__toggle { display: block; position: relative; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 2rem;
    color: #fff; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav__links a:not(.btn) { font-size: 1rem; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open { color: #fff; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav.is-open .logo { position: relative; z-index: 2; }
  .nav__links { background: var(--ink-deep); }
  .nav__links .btn--primary { background: #fff !important; border-color: #fff !important; color: var(--ink) !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; background: var(--ink); }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 50%, rgba(12,22,42,.5) 0%, rgba(12,22,42,0) 100%),
    linear-gradient(180deg, rgba(12,22,42,.55) 0%, rgba(12,22,42,.2) 35%, rgba(12,22,42,.3) 65%, rgba(12,22,42,.75) 100%);
}
.hero__content {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0 var(--pad);
}
.hero__tagline { margin: 1.2rem 0 2.4rem; font-size: clamp(.8rem, .7rem + .4vw, 1rem); letter-spacing: .3em; text-transform: uppercase; font-weight: 400; }
.hero__tagline span { display: inline-block; white-space: nowrap; }
.hero__tagline span + span::before { content: "·"; color: var(--gold-light); margin: 0 .7em 0 .4em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero__scroll {
  position: absolute; z-index: 1; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 1px; height: 56px; background: rgba(255,255,255,.35); overflow: hidden;
}
.hero__scroll::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: scroll 2.2s ease-in-out infinite; }
@keyframes scroll { to { top: 100%; } }
.hero__sound {
  position: absolute; z-index: 1; right: var(--pad); bottom: 1.6rem;
  background: none; border: 1px solid rgba(255,255,255,.5); color: #fff; border-radius: 50%;
  width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer;
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 9rem) 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 6vw, 4.5rem); }
.section__head .title::after { content: ""; display: block; width: 56px; height: 1px; background: var(--gold); margin: 1.4rem auto 0; }
.section__head p { color: var(--ink-soft); margin-top: 1.2rem; }
.section--ink .section__head p { color: rgba(255,255,255,.75); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split__text p { color: var(--ink-soft); }
.split__text .title { margin-bottom: 1.8rem; }
@media (min-width: 821px) { .split--reverse .split__media { order: -1; } .split--reverse .split__media .inset { left: auto; right: -12%; } }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media .inset {
  position: absolute; width: 46%; aspect-ratio: 1; object-fit: cover; left: -12%; bottom: -10%;
  border: 8px solid var(--paper); outline: 1px solid var(--gold); outline-offset: -1px;
}
.signature { font-family: var(--script); font-size: 2rem; color: var(--gold); margin-top: 1.5rem; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; margin: 0 0 2rem 8%; }
  .split__media img { aspect-ratio: 4 / 3; }
}

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); padding-top: 2.5rem; }
.values h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.values h3::before { content: ""; display: block; width: 28px; height: 1px; background: var(--gold); margin-bottom: 1rem; }
.values p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }

/* bandeau pleine largeur */
.band { position: relative; height: clamp(360px, 75vh, 780px); overflow: hidden; }
.band img { width: 100%; height: 130%; object-fit: cover; position: absolute; top: -15%; left: 0; will-change: transform; }
.band__quote {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff;
  background: rgba(12, 22, 42, .3); padding: 0 var(--pad);
}
.band__quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 1rem + 3vw, 3.4rem); line-height: 1.2; max-width: 900px; margin: 0; }

/* ---------- Carte ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem); }
.menu-col h3 {
  font-family: var(--sans); font-size: .8rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink); padding-bottom: 1rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--gold);
}
.dish { margin-bottom: 1.6rem; }
.dish__row { display: flex; align-items: baseline; gap: .6rem; }
.dish__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.dish__dots { flex: 1; border-bottom: 1px dotted rgba(20,33,43,.3); transform: translateY(-.3em); min-width: 1rem; }
.dish__price { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.dish__desc { font-size: .95rem; color: var(--ink-soft); margin: .15rem 0 0; }
.veg { display: inline-block; font-size: .65rem; letter-spacing: .1em; border: 1px solid var(--ink-soft); color: var(--ink-soft); border-radius: 2em; padding: .05em .6em; margin-left: .4rem; vertical-align: middle; font-family: var(--sans); font-weight: 400; }
.menu-note { text-align: center; color: var(--ink-soft); font-size: .9rem; margin-top: 3rem; }
.menu-note p { margin: .2rem 0; }
@media (max-width: 960px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .menu-grid { grid-template-columns: 1fr; } }

/* ---------- Menus ---------- */
.formulas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.formula {
  position: relative; border: 1px solid rgba(255,255,255,.18); padding: clamp(2rem, 3.5vw, 3rem);
  display: flex; flex-direction: column; text-align: center; transition: border-color .3s, transform .3s;
}
.formula:hover { border-color: var(--gold); transform: translateY(-4px); }
.formula::before { content: ""; position: absolute; top: -1px; left: 50%; width: 48px; height: 2px; background: var(--gold); transform: translateX(-50%); }
.formula__when { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }
.formula h3 { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); margin-bottom: 1rem; }
.formula p { color: rgba(255,255,255,.72); font-size: .95rem; }
.formula__price { margin-top: auto; padding-top: 1.5rem; font-family: var(--serif); font-size: 2.6rem; color: #fff; line-height: 1.1; }
.formula__price small { display: block; font-family: var(--sans); font-size: .8rem; color: rgba(255,255,255,.6); letter-spacing: .05em; }
@media (max-width: 900px) { .formulas { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.kids { text-align: center; margin-top: 2.5rem; color: rgba(255,255,255,.7); font-size: .95rem; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(140px, 18vw, 260px); gap: .6rem; padding: 0 .6rem; }
.gallery figure { margin: 0; overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.05); }
.g1 { grid-column: span 7; grid-row: span 2; }
.g2 { grid-column: span 5; }
.g3 { grid-column: span 5; }
.g4 { grid-column: span 4; grid-row: span 2; }
.g5 { grid-column: span 4; }
.g6 { grid-column: span 4; grid-row: span 2; }
.g7 { grid-column: span 4; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery .g1 { grid-column: span 2 !important; grid-row: span 1 !important; }
}

/* ---------- Infos ---------- */
.infos { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.infos dl { margin: 2rem 0 2.5rem; }
.infos dt { font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-top: 1.6rem; }
.infos dd { margin: .3rem 0 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; }
.infos dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.infos dd a:hover { border-color: var(--gold); }
.hours { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 1rem; }
.hours td { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.hours td { vertical-align: top; }
.hours td:last-child { text-align: right; color: var(--ink-soft); line-height: 1.5; }
.hours small { font-size: .8rem; color: var(--gold); }
.map { min-height: 420px; border: 0; width: 100%; height: 100%; filter: grayscale(.35) contrast(1.05); }
@media (max-width: 860px) { .infos { grid-template-columns: 1fr; } .map { min-height: 340px; } }

/* ---------- CTA + footer ---------- */
.cta { position: relative; color: #fff; text-align: center; padding: clamp(6rem, 14vw, 11rem) var(--pad); overflow: hidden; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(12,22,42,.6); z-index: 1; }
.cta > *:not(img) { position: relative; z-index: 2; }
.cta .title { margin-bottom: 2.2rem; }

.footer { background: var(--ink-deep); color: rgba(255,255,255,.75); padding: 4rem 0 2rem; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.footer .logo { color: #fff; align-items: flex-start; }
.footer .logo__top { margin-right: 0; }
.footer h4 { font-family: var(--sans); font-weight: 400; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 1rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .4rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; color: rgba(255,255,255,.5); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* bouton réserver flottant (mobile) */
.fab {
  position: fixed; z-index: 40; left: 1rem; right: 1rem; bottom: 1rem; display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); transform: translateY(150%); transition: transform .4s;
}
.fab.is-visible { transform: none; }
@media (max-width: 900px) { .fab { display: flex; } }

/* ---------- Page Réserver ---------- */
.page-hero { position: relative; height: clamp(320px, 52vh, 520px); color: #fff; overflow: hidden; background: var(--ink); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.page-hero__content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 0 var(--pad) clamp(2.5rem, 6vw, 4rem); }
.booking { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.booking__widget { background: #fff; border: 1px solid var(--line); min-height: 640px; }
.booking__widget { min-height: 0; }
.booking__frame { display: block; width: 100%; height: 760px; border: 0; background: #fff; }
.booking__phone { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; padding: 1.1rem 1.4rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.booking__phone a { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); }
@media (max-width: 600px) { .booking__frame { height: 680px; } }
.booking__fallback { padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.booking__fallback .phone { display: block; font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); color: var(--ink); text-decoration: none; margin: 1rem 0 1.5rem; }
.booking aside h3 { font-size: 1.6rem; margin: 2rem 0 .6rem; }
.booking aside h3:first-child { margin-top: 0; }
.booking aside p { color: var(--ink-soft); }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }

.legal { max-width: 820px; }
.legal h2 { font-size: 1.8rem; margin: 2.5rem 0 .8rem; }
.legal p { color: var(--ink-soft); }
.todo { background: #fff3cd; padding: 0 .3em; }

/* ---------- Apparitions ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll::after { animation: none; }
}

/* petites capitales en or : plus spécifique que .split__text p et .section__head p */
.split__text .eyebrow, .section__head .eyebrow { color: var(--gold); }
.section--ink .section__head .eyebrow { color: var(--gold-light); }
@media (max-width: 600px) {
  .hero__tagline span { display: block; }
  .hero__tagline span + span::before { content: none; }
}
