:root {
  --brand-blue: #488fef;
  --brand-green: #7ed957;
  --brand-yellow: #ffde59;
  --brand-white: #f7f7f7;
  --brand-cyan: #11bfea;
  --text-primary: #101010;
  --font-body: "Barlow Condensed", "Arial Narrow", sans-serif;
  /* TODO: remplacer cette pile par Perandory quand le fichier licencié sera fourni. */
  --font-display: "Bodoni 72", Didot, "Times New Roman", serif;
  --radius-large: clamp(2rem, 6vw, 5.5rem);
  --radius-medium: clamp(1.5rem, 4vw, 3rem);
  --space-page: clamp(1rem, 4vw, 4rem);
  --section-space: clamp(5rem, 10vw, 10rem);
  --max-width: 92rem;
  --header-height: 4.75rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--brand-blue);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.5;
  overflow-x: hidden;
}

body, button, a { text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
figure, h1, h2, p, dl, dd { margin: 0; }
address { font-style: normal; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  background: var(--brand-white);
  border-radius: 999px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.section-pad {
  padding: var(--section-space) var(--space-page);
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow-light { color: var(--brand-white); }
.eyebrow-blue { color: var(--brand-blue); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(3.35rem, 10vw, 8.75rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .84;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.45rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  letter-spacing: -.02em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: transform .2s var(--ease), background-color .2s ease, color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-light { background: var(--brand-white); color: var(--text-primary); }
.button-yellow { background: var(--brand-yellow); color: var(--text-primary); }
.button-blue { background: var(--brand-blue); color: var(--brand-white); }
.button-outline { border-color: var(--brand-white); color: var(--brand-white); }
.button-wide { width: 100%; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding: .6rem var(--space-page);
  pointer-events: none;
  transform: translateY(calc(-100% - 1rem));
  transition: transform .45s var(--ease);
}

.site-header.is-visible {
  pointer-events: auto;
  transform: translateY(0);
}

.header-inner {
  display: flex;
  width: min(100%, var(--max-width));
  height: var(--header-height);
  align-items: center;
  gap: 1.5rem;
  margin: 0 auto;
  padding: .35rem .45rem .35rem .8rem;
  background: rgba(72, 143, 239, .94);
  border: 1px solid rgba(247, 247, 247, .22);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(20, 64, 124, .16);
  backdrop-filter: blur(14px);
}

.header-logo { width: clamp(6rem, 11vw, 9rem); margin-right: auto; }
.header-logo img { width: 100%; height: auto; }
.header-cta { min-height: 2.85rem; padding-inline: 1.1rem; font-size: clamp(.82rem, 1.1vw, 1rem); }

.desktop-nav {
  display: none;
  gap: 1.5rem;
  color: var(--brand-white);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: var(--brand-yellow); }

.hero {
  min-height: 100svh;
  padding: 1rem var(--space-page) 3.75rem;
  background: var(--brand-blue);
}

.hero-photo-wrap {
  position: relative;
  overflow: hidden;
  min-height: 65svh;
  border-radius: var(--radius-large);
}

.hero-photo {
  width: 100%;
  height: 65svh;
  object-fit: cover;
  object-position: 50% 55%;
  animation: hero-in 1.1s var(--ease) both;
}

.hero-cta {
  position: absolute;
  right: 50%;
  bottom: 1.5rem;
  width: max-content;
  transform: translateX(50%);
}

.hero-cta:hover { transform: translateX(50%) translateY(-2px); }

.hero-brand {
  position: relative;
  display: flex;
  min-height: 28svh;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 2rem;
}

.hero-kicker {
  align-self: flex-start;
  color: var(--brand-white);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-logo {
  width: min(86%, 29rem);
  height: auto;
  margin: auto 0 0;
  transform: rotate(-2.5deg);
  transform-origin: 75% 80%;
}

.hero-intro {
  margin-top: .5rem;
  color: var(--brand-white);
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: right;
}

.table-section {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.section-heading { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-heading h2 { color: var(--brand-yellow); }

.section-copy {
  max-width: 31rem;
  margin-top: 1.5rem;
  color: var(--brand-white);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.3;
}

.food-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.food-item { min-width: 0; }
.food-item:nth-child(1),
.food-item:nth-child(4) { grid-column: 1 / -1; }

.food-image-wrap {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #276ebf;
}

.food-item:nth-child(1) .food-image-wrap,
.food-item:nth-child(4) .food-image-wrap { aspect-ratio: 16 / 10; }

.food-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.food-item:hover img { transform: scale(1.025); }

.food-label {
  display: block;
  padding: .7rem .8rem .8rem;
  background: var(--brand-yellow);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 2.15rem);
  letter-spacing: -.035em;
  line-height: 1;
  text-transform: uppercase;
}

.patrice-section { padding-top: 2rem; }

.patrice-card {
  display: grid;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4.5rem);
  background: var(--brand-cyan);
  border-radius: var(--radius-large);
}

.patrice-copy {
  padding: clamp(.5rem, 2vw, 1.5rem);
  color: var(--brand-white);
}

.patrice-copy h2 {
  margin-bottom: 2rem;
  font-size: clamp(2.75rem, 7vw, 6.7rem);
}

.patrice-copy > p:not(.eyebrow) {
  max-width: 42rem;
  margin-top: 1.1rem;
  font-size: clamp(1.1rem, 1.75vw, 1.45rem);
  line-height: 1.42;
}

.text-link {
  display: inline-block;
  margin-top: 2rem;
  padding-bottom: .2rem;
  border-bottom: 2px solid currentColor;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.patrice-photo-wrap {
  overflow: hidden;
  margin-top: 2rem;
  border-radius: var(--radius-medium);
}

.patrice-photo-wrap img {
  width: 100%;
  height: 100%;
  max-height: 48rem;
  object-fit: cover;
  object-position: center 30%;
}

.location-section {
  background: var(--brand-white);
  border-radius: var(--radius-large) var(--radius-large) 0 0;
}

.location-layout {
  display: grid;
  width: min(100%, var(--max-width));
  align-items: center;
  gap: clamp(2.5rem, 8vw, 8rem);
  margin: 0 auto;
}

.map-wrap {
  position: relative;
  overflow: hidden;
  max-height: 44rem;
  border-radius: var(--radius-large);
}

.map-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.map-marker {
  position: absolute;
  top: 45.7%;
  left: 29.3%;
  color: var(--brand-yellow);
  font-family: Arial, sans-serif;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 2px 0 rgba(16, 16, 16, .28);
  transform: translate(-50%, -50%);
  animation: marker-pulse 1.8s ease-in-out infinite;
}

.location-copy h2 {
  margin-bottom: 2rem;
  color: var(--brand-blue);
  font-size: clamp(3.15rem, 8vw, 7.5rem);
}

.location-copy address {
  margin-bottom: 2rem;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.35;
}

.gallery-section { padding-top: var(--section-space); }
.gallery-heading { padding-top: 0; padding-bottom: 3rem; }
.gallery-heading h2 { color: var(--brand-green); }
.gallery-heading .eyebrow { color: var(--brand-white); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--brand-blue);
  gap: 3px;
}

.gallery-photo {
  overflow: hidden;
  min-height: 15rem;
}

.gallery-photo:nth-child(1),
.gallery-photo:nth-child(4) { grid-column: 1 / -1; }

.gallery-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-photo:nth-child(1) img,
.gallery-photo:nth-child(4) img { aspect-ratio: 16 / 9; }

.schedule-section { padding-bottom: 2rem; }

.hours-card {
  width: min(100%, 74rem);
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 6rem);
  background: var(--brand-cyan);
  border-radius: var(--radius-large);
}

.hours-card h2 {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  color: var(--brand-yellow);
  font-family: var(--font-body);
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .9;
}

.hours-list { color: var(--brand-white); }

.hours-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(247, 247, 247, .5);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 3rem);
  letter-spacing: -.04em;
  line-height: 1;
  text-transform: uppercase;
}

.hours-row dd { text-align: right; }
.hours-row.is-closed dd { opacity: .7; }

.hours-note {
  margin-top: 1.5rem;
  color: var(--brand-white);
  font-size: .95rem;
}

.events-section {
  margin-top: var(--section-space);
  padding-top: clamp(4.5rem, 8vw, 8rem);
  padding-bottom: clamp(4.5rem, 8vw, 8rem);
  background: var(--brand-white);
}

.events-layout {
  display: grid;
  width: min(100%, var(--max-width));
  gap: 3rem;
  margin: 0 auto;
}

.events-layout h2 { font-size: clamp(3.5rem, 9vw, 8.5rem); }

.events-copy {
  align-self: end;
  max-width: 35rem;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  line-height: 1.3;
}

.event-details {
  margin: 2rem 0;
  padding: 1.25rem;
  background: var(--brand-yellow);
}

.event-details strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.events-copy .button { margin-top: 2rem; }

.contact-section {
  color: var(--brand-white);
  background: var(--brand-green);
}

.contact-layout {
  display: grid;
  width: min(100%, var(--max-width));
  gap: 3rem;
  margin: 0 auto;
}

.contact-layout h2 { font-size: clamp(4rem, 10vw, 9rem); }

.contact-actions {
  width: min(100%, 32rem);
  align-self: end;
  justify-self: start;
}

.contact-actions address {
  margin-bottom: 2rem;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.3;
}

.contact-actions .button + .button { margin-top: .75rem; }

.contact-todo {
  margin-top: 1rem;
  padding: .75rem 1rem;
  border: 1px solid currentColor;
  font-size: .95rem;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 3rem var(--space-page);
  color: var(--brand-white);
  background: var(--brand-blue);
  text-align: center;
}

.site-footer img { width: 9rem; height: auto; }
.site-footer p { font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }

.reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-in {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes marker-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.18); }
}

@media (min-width: 48rem) {
  .hero { padding-top: 1.5rem; }
  .hero-photo-wrap, .hero-photo { min-height: 68svh; height: 68svh; }
  .food-collage { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .food-item:nth-child(1) { grid-column: 1 / span 7; }
  .food-item:nth-child(2) { grid-column: 8 / span 5; }
  .food-item:nth-child(3) { grid-column: 1 / span 5; }
  .food-item:nth-child(4) { grid-column: 6 / span 7; }
  .food-item:nth-child(2) .food-image-wrap,
  .food-item:nth-child(3) .food-image-wrap { aspect-ratio: 4 / 5; }
  .photo-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .gallery-photo:nth-child(1) { grid-column: 1 / span 7; grid-row: span 2; }
  .gallery-photo:nth-child(2) { grid-column: 8 / span 5; }
  .gallery-photo:nth-child(3) { grid-column: 8 / span 5; }
  .gallery-photo:nth-child(4) { grid-column: 1 / span 5; }
  .gallery-photo:nth-child(5) { grid-column: 6 / span 7; }
  .gallery-photo img,
  .gallery-photo:nth-child(1) img,
  .gallery-photo:nth-child(4) img { aspect-ratio: auto; }
  .events-layout,
  .contact-layout { grid-template-columns: minmax(0, 1.4fr) minmax(20rem, .6fr); }
}

@media (min-width: 64rem) {
  .eyebrow {
    font-size: 1.15rem;
    letter-spacing: .17em;
  }
  .desktop-nav { display: flex; }
  .hero {
    display: grid;
    min-height: 100svh;
    grid-template-columns: minmax(0, 1.6fr) minmax(38rem, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(2rem, 4vw, 4rem);
  }
  .hero-photo-wrap,
  .hero-photo { height: calc(100svh - clamp(4rem, 8vw, 8rem)); min-height: 38rem; }
  .hero-photo { object-position: center; }
  .hero-cta { right: 2.5rem; bottom: 2.5rem; transform: none; }
  .hero-cta:hover { transform: translateY(-2px); }
  .hero-brand { min-height: auto; align-items: flex-end; padding: 1rem 0; }
  .hero-kicker { align-self: flex-end; }
  .hero-logo { width: min(122%, 34rem); max-width: none; margin-top: auto; margin-right: -1rem; }
  .hero-kicker { font-size: clamp(1rem, 1.1vw, 1.25rem); }
  .hero-intro { margin-bottom: 1.5rem; }
  .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(20rem, .6fr);
    align-items: end;
    gap: 4rem;
  }
  .section-heading .eyebrow { grid-column: 1 / -1; }
  .section-copy { margin: 0 0 .75rem; }
  .patrice-card { grid-template-columns: minmax(0, 1fr) minmax(25rem, .85fr); gap: clamp(3rem, 7vw, 7rem); }
  .patrice-photo-wrap { margin-top: 0; }
  .location-layout { grid-template-columns: minmax(26rem, .9fr) minmax(25rem, 1.1fr); }
  .map-wrap { height: min(72vw, 52rem); }
  .contact-actions { justify-self: end; }
}

@media (min-width: 64rem) and (max-width: 79.99rem) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-photo-wrap,
  .hero-photo {
    height: 68svh;
    min-height: 38rem;
  }
}

@media (min-width: 90rem) {
  .hero-logo { width: 38rem; margin-right: -2rem; }
}

@media (max-width: 24rem) {
  .hero { padding-inline: .75rem; }
  .header-inner { padding-left: .6rem; }
  .header-logo { width: 5.5rem; }
  .header-cta { padding-inline: .8rem; font-size: .76rem; }
  .food-collage { gap: .75rem; }
  .food-label { font-size: 1rem; }
}

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