:root {
  --ink: #121816;
  --ink-soft: #3d4742;
  --paper: #f2f4f0;
  --paper-2: #e6ebe4;
  --basil: #0f5c3a;
  --basil-deep: #0a3f28;
  --tomato: #b91c1c;
  --line: rgba(18, 24, 22, 0.12);
  --font: "Karla", system-ui, sans-serif;
  --display: "Barlow Condensed", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: var(--basil);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--tomato);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
}

.skip:focus {
  top: 1rem;
}

.label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--basil);
}

.label--light {
  color: #9dceb8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border: 1.5px solid transparent;
  background: var(--basil);
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn:hover {
  background: var(--basil-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn--line {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn--line:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn--sm {
  min-height: 2.4rem;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
}

.text-link {
  font-weight: 700;
  color: var(--basil);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
}

.text-link:hover {
  color: var(--tomato);
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header);
  background: transparent;
  transition: background 0.3s var(--ease);
}

.header.is-solid {
  background: rgba(18, 24, 22, 0.94);
  backdrop-filter: blur(10px);
}

.header__row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__brand img {
  width: 118px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:not(.btn):hover {
  color: #b8e0cb;
}

.burger {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  padding: 0.65rem;
  cursor: pointer;
}

.burger span:not(.sr-only) {
  display: block;
  height: 2px;
  background: #fff;
}

.burger span + span:not(.sr-only) {
  margin-top: 0.45rem;
}

/* Hero — left-aligned composition */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.05);
  animation: ease-in 16s var(--ease) forwards;
}

@keyframes ease-in {
  to {
    transform: scale(1);
  }
}

.hero__shade {
  background:
    linear-gradient(105deg, rgba(18, 24, 22, 0.88) 0%, rgba(18, 24, 22, 0.45) 48%, rgba(18, 24, 22, 0.25) 100%),
    linear-gradient(180deg, rgba(18, 24, 22, 0.35) 0%, transparent 35%, rgba(18, 24, 22, 0.7) 100%);
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0 auto 0 0;
  padding: calc(var(--header) + 3rem) 0 4.5rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin-left: max(1.25rem, calc((100% - 1120px) / 2));
}

.hero__logo {
  width: min(220px, 55vw);
  margin-bottom: 1.5rem;
  animation: up 0.9s var(--ease) both;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 1rem;
  animation: up 0.9s var(--ease) 0.08s both;
}

.hero__copy > p {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 30rem;
  margin-bottom: 1.6rem;
  animation: up 0.9s var(--ease) 0.16s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  animation: up 0.9s var(--ease) 0.24s both;
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Story */
.story {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.story__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.story h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.1rem;
}

.story__text p {
  color: var(--ink-soft);
}

.checks {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.checks li {
  position: relative;
  padding-left: 1.35rem;
  font-weight: 600;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--basil);
}

.story__figure {
  margin: 0;
  position: relative;
}

.story__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story__figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: var(--basil);
  color: #fff;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Carte */
.carte {
  padding: 0 0 clamp(4rem, 8vw, 6.5rem);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-head p:last-child {
  color: var(--ink-soft);
  margin: 0;
}

.strips {
  display: grid;
  gap: 1rem;
}

.strip {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.55);
  border-left: 4px solid var(--basil);
}

.strip img {
  width: 140px;
  height: 140px;
  object-fit: cover;
}

.strip h3 {
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
}

.strip p {
  margin: 0;
  color: var(--ink-soft);
}

.carte__cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* Ambiance */
.ambiance {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 34rem;
  background: var(--ink);
  color: #fff;
}

.ambiance__media img {
  width: 100%;
  height: 100%;
  min-height: 34rem;
  object-fit: cover;
  object-position: center;
}

.ambiance__panel {
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ambiance__panel h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.ambiance__panel p {
  color: rgba(255, 255, 255, 0.82);
}

.chips {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chips li {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Infos */
.infos {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--paper-2);
}

.infos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.infos h2 {
  font-size: 1.85rem;
}

.infos p,
.infos a {
  color: var(--ink-soft);
}

.infos a:hover {
  color: var(--tomato);
}

.hours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.hours li span:first-child {
  font-weight: 700;
}

/* Contact */
.contact {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.contact__intro p {
  color: var(--ink-soft);
}

.contact__logo {
  margin: 1.5rem 0 1rem;
  width: 180px;
  filter: brightness(0.15);
}

.contact__mail a {
  font-weight: 700;
  text-decoration: none;
}

.contact__form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.85rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--basil);
  outline-offset: 1px;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form__alert {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  background: #fde8e8;
  color: #8a1212;
  font-weight: 600;
}

.form__success {
  text-align: center;
  padding: 2rem 1rem;
}

.form__success h3 {
  color: var(--basil);
  font-size: 1.8rem;
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2.25rem;
  text-align: center;
}

.footer__row img {
  width: 140px;
  margin: 0 auto 1rem;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin: 1rem 0 1.5rem;
}

.footer__links a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.footer__links a:hover {
  color: #9dceb8;
}

.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.55;
}

/* Responsive */
@media (max-width: 900px) {
  .story__grid,
  .ambiance,
  .contact__grid,
  .infos__grid {
    grid-template-columns: 1fr;
  }

  .ambiance__media img,
  .story__figure img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .ambiance__media img {
    min-height: 18rem;
  }
}

@media (max-width: 720px) {
  .burger {
    display: block;
  }

  .nav {
    display: none;
    position: fixed;
    inset: var(--header) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(18, 24, 22, 0.97);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav .btn {
    margin-top: 0.75rem;
    width: 100%;
  }

  .hero__copy {
    margin-left: 1.25rem;
    width: calc(100% - 2.5rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .strip {
    grid-template-columns: 96px 1fr;
    gap: 0.9rem;
  }

  .strip img {
    width: 96px;
    height: 96px;
  }

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

  .hours li {
    flex-direction: column;
    gap: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__media img,
  .hero__logo,
  .hero h1,
  .hero__copy > p,
  .hero__actions {
    animation: none !important;
  }
}
