:root {
  --ink: #0c0a08;
  --ink-2: #14110d;
  --ink-3: #1c1813;
  --cream: #f3ead6;
  --cream-2: #e4d5b8;
  --wood: #c4a06a;
  --ember: #e85d04;
  --flame: #ff6a1a;
  --gold: #c9a227;
  --gold-2: #e6c65a;
  --rust: #b7410e;
  --racing: #c41e3a;
  --smoke: #9a9186;
  --line: rgba(201, 162, 39, 0.28);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1180px;
  --header: 80px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

section[id],
#univers {
  scroll-margin-top: var(--header);
}

#accueil {
  scroll-margin-top: 0;
}

#evenements {
  scroll-margin-top: calc(var(--header) + 8px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.04em;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(3.6rem, 9vw, 8.2rem);
}

h2 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
}

h3 {
  font-size: 1.85rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 14px;
  z-index: 10000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.lede {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--cream-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-fire {
  background: linear-gradient(180deg, var(--flame), var(--ember));
  color: #1a0900;
  box-shadow: 0 10px 30px rgba(232, 93, 4, 0.28);
}

.btn-fire:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(232, 93, 4, 0.4);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--cream);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(12, 10, 8, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  display: block;
  height: 58px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.14em;
}

.brand small {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-2);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold-2);
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--gold);
  color: var(--gold-2) !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  margin: 5px auto;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

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

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--header) + 28px) 20px 80px;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.18) translate3d(-2%, -1%, 0); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(12, 10, 8, 0.18), rgba(12, 10, 8, 0.78) 70%),
    linear-gradient(180deg, rgba(12, 10, 8, 0.35) 0%, rgba(12, 10, 8, 0.2) 40%, rgba(12, 10, 8, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-logo {
  display: block;
  width: min(340px, 56vw);
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.55));
}

.hero-lead {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--cream-2);
}

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

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--smoke);
}

.scroll-hint i {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 1.6s ease-in-out infinite;
}

@keyframes drip {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: slide 32s linear infinite;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.marquee-track span::before {
  content: "●";
  margin-right: 42px;
  color: var(--ember);
  font-size: 0.55rem;
  vertical-align: middle;
}

@keyframes slide {
  to { transform: translateX(-50%); }
}

.universe {
  padding: 110px 0 90px;
  background:
    linear-gradient(180deg, var(--ink) 0%, #16120d 100%);
}

.universe-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.universe-copy p {
  color: var(--cream-2);
}

.facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 32px 0 0;
}

.facts li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
}

.facts span {
  font-size: 0.78rem;
  color: var(--smoke);
  letter-spacing: 0.06em;
}

.universe-visuals {
  position: relative;
  min-height: 560px;
}

.frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-main {
  width: 78%;
  height: 460px;
  margin-left: auto;
}

.frame-side {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 46%;
  height: 250px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.frame-side figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  text-shadow: 0 2px 12px #000;
}

.stamp {
  position: absolute;
  top: 18px;
  left: 8px;
  width: 168px;
  height: 168px;
  padding: 14px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(12, 10, 8, 0.72);
  transform: rotate(-12deg);
}

.stamp span {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.stamp strong {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
}

.journey {
  padding: 90px 0 100px;
  background: var(--cream);
  color: var(--ink);
}

.journey .eyebrow {
  color: var(--rust);
}

.journey h2 {
  color: var(--ink);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 0;
  margin: 0;
  counter-reset: none;
}

.steps li {
  padding-top: 18px;
  border-top: 2px solid #c9a227;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ember);
  margin-bottom: 10px;
}

.steps h3 {
  margin-bottom: 10px;
}

.steps p {
  color: #4a433a;
  font-size: 0.95rem;
}

.offers {
  padding: 100px 0;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.offer {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.offer-lg {
  grid-row: span 3;
  min-height: 640px;
}

.offer > img:not(.offer-badge) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.offer:hover > img:not(.offer-badge) {
  transform: scale(1.06);
}

.offer-body {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 24px 22px;
  background: linear-gradient(transparent, rgba(8, 6, 4, 0.92));
}

.offer-body p {
  color: var(--cream-2);
  margin: 0;
  font-size: 0.95rem;
}

.offer-camion {
  grid-column: 1 / -1;
  min-height: 300px;
}

.offer-camion .offer-body {
  z-index: 1;
}

.camion-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
}

.camion-strip img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.offer-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
  border: 2px solid rgba(243, 234, 214, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.lemans {
  position: relative;
  padding: 0 0 100px;
  background: var(--ink-2);
}

.checker {
  height: 14px;
  background-image:
    linear-gradient(45deg, #111 25%, transparent 25%),
    linear-gradient(-45deg, #111 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #111 75%),
    linear-gradient(-45deg, transparent 75%, #111 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
  background-color: #f4ead6;
  margin-bottom: 72px;
}

.lemans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.pills li {
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.lemans-photo {
  margin: 0;
}

.lemans-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.lemans-photo figcaption {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--smoke);
}

.craft {
  padding: 40px 0 100px;
}

.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.craft-photos {
  display: grid;
  gap: 14px;
}

.craft-photos img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.craft-photos img:first-child {
  height: 360px;
}

blockquote {
  margin: 24px 0;
  padding: 8px 0 8px 18px;
  border-left: 2px solid var(--ember);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold-2);
}

.zone {
  color: var(--smoke);
  font-size: 0.95rem;
}

.plates {
  overflow: hidden;
  padding: 0 0 20px;
}

.plates-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.plates figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.plates img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: saturate(1.05);
  transition: transform 0.5s ease;
}

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

.plates figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  text-shadow: 0 2px 12px #000;
}

.gallery {
  padding: 90px 0 80px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 10px;
}

.g-item {
  padding: 0;
  border: 0;
  background: #000;
  overflow: hidden;
  cursor: zoom-in;
  width: 100%;
  height: 100%;
}

.g-item:nth-child(1),
.g-item:nth-child(6) {
  grid-column: span 2;
  grid-row: span 2;
}

.g-item:nth-child(9) {
  grid-column: span 2;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.g-item:hover img {
  transform: scale(1.05);
  opacity: 0.88;
}

.g-william img {
  object-position: 50% 35%;
}

.quote {
  padding: 40px 0 110px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232, 93, 4, 0.12), transparent 46%),
    var(--ink-2);
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-stack a,
.contact-stack p {
  display: block;
  margin: 0 0 8px;
}

.contact-stack a {
  color: var(--gold-2);
  font-weight: 600;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: rgba(12, 10, 8, 0.55);
  border: 1px solid var(--line);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quote-form label {
  display: grid;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  background: #0a0907;
  color: var(--cream);
  border: 1px solid #2a241c;
  padding: 12px 12px;
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

.quote-form .btn {
  justify-self: start;
  margin-top: 8px;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 1.2em;
  color: var(--gold-2);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 28px;
  background: #090807;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  color: var(--smoke);
  font-size: 0.92rem;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--cream);
}

.footer-brand img {
  display: block;
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 1.3rem;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: var(--gold-2);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  color: var(--cream);
  border-color: var(--gold-2);
  background: rgba(201, 162, 39, 0.12);
}

.footer-grid a:hover {
  color: var(--gold-2);
}

.copyright {
  text-align: center;
  color: #6c655c;
  font-size: 0.8rem;
  margin: 28px 0 0;
}

.legal {
  padding: calc(var(--header) + 48px) 0 80px;
  max-width: 760px;
}

.legal h1 {
  font-size: 3.4rem;
}

.legal h2 {
  font-size: 1.8rem;
  margin-top: 1.6em;
}

.legal p,
.legal li {
  color: var(--cream-2);
}

.lightbox {
  border: 0;
  padding: 0;
  background: rgba(8, 6, 4, 0.94);
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop {
  background: #000;
}

.lightbox img {
  max-width: min(94vw, 1400px);
  max-height: 86vh;
  width: auto;
  height: auto;
  margin: 0;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  border: 0;
  color: var(--cream);
  font-size: 2.4rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}

.universe-visuals.reveal,
.lemans-photo.reveal {
  animation-delay: 0.12s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
    z-index: 3;
  }

  .nav {
    position: fixed;
    inset: 0 0 auto auto;
    width: min(100%, 360px);
    height: 100vh;
    background: #100e0b;
    flex-direction: column;
    align-items: flex-start;
    padding: 92px 28px;
    transform: translateX(110%);
    visibility: hidden;
    pointer-events: none;
    border-left: 1px solid var(--line);
  }

  body.nav-open .nav,
  body.nav-animating .nav {
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-animating .nav {
    transition: transform 0.3s ease;
  }

  body.nav-open .nav {
    transform: none;
  }

  .hero-logo {
    width: min(280px, 62vw);
  }

  .universe-grid,
  .lemans-grid,
  .craft-grid,
  .quote-grid,
  .offer-grid,
  .steps,
  .footer-grid,
  .plates-row,
  .form-row,
  .facts {
    grid-template-columns: 1fr;
  }

  .offer-lg {
    grid-row: auto;
    min-height: 420px;
  }

  .universe-visuals {
    min-height: 420px;
  }

  .frame-main {
    height: 340px;
    width: 86%;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }

  .g-item:nth-child(1),
  .g-item:nth-child(6),
  .g-item:nth-child(9) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .plates-row {
    grid-template-columns: 1fr 1fr;
  }

  .lemans-photo img,
  .craft-photos img:first-child {
    height: 320px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-bottom: 90px;
  }

  .g-smoker img,
  .smoker-photo {
    object-position: 50% 72%;
  }

  .offer-camion,
  .camion-strip,
  .camion-strip img {
    min-height: 140px;
  }

  .hero-logo {
    width: min(220px, 70vw);
  }

  .hero-actions {
    margin-bottom: 0;
  }

  .scroll-hint {
    bottom: 24px;
  }

  .scroll-hint i {
    height: 28px;
  }

  .stamp {
    width: 128px;
    height: 128px;
    padding: 10px;
  }

  .plates-row {
    grid-template-columns: 1fr;
  }

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

  .quote-form {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img,
  .marquee-track,
  .scroll-hint i,
  .reveal {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
