/* Casa Ferri : vert bouteille, crème et rouge tomate */
:root {
  --green: #0E2A20;
  --green-2: #143629;
  --cream: #F3EBDD;
  --cream-2: rgb(243 235 221 / .72);
  --tomato: #E0492C;
  --tomato-deep: #C23A20;
  --line: rgb(243 235 221 / .16);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Work Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
body { background: var(--green); color: var(--cream); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
::selection { background: var(--tomato); color: var(--cream); }
i { font-style: italic; }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 1.3rem + 3.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; }
.h2 i { color: var(--tomato); font-weight: 500; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--tomato); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 30px; border-radius: 4px;
  background: var(--tomato); color: var(--cream); font-weight: 600; letter-spacing: .02em;
  transition: background-color .3s, transform .5s var(--ease);
}
.btn:hover { background: var(--tomato-deep); transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; }
.btn--cream { background: var(--cream); color: var(--green); }
.btn--cream:hover { background: #fff; }
.ghost { font-weight: 600; padding: 16px 4px; border-bottom: 1px solid var(--cream-2); transition: color .3s, border-color .3s; }
.ghost:hover { color: var(--tomato); border-color: var(--tomato); }

/* En-tête */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s; }
.top.scrolled { background: rgb(14 42 32 / .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top__in { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; letter-spacing: -.01em; }
.brand i { color: var(--tomato); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.nav a:not(.btn):hover { color: var(--tomato); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--cream); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero plein écran */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: zoom 18s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 30 22 / .94) 0%, rgb(10 30 22 / .78) 42%, rgb(10 30 22 / .25) 72%, rgb(10 30 22 / .05) 100%), linear-gradient(0deg, rgb(10 30 22 / .7), transparent 45%); }
@keyframes zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__in { position: relative; z-index: 1; padding-bottom: clamp(56px, 10vh, 110px); }
.hero__title { margin: 18px 0 22px; font-family: var(--serif); font-weight: 700; font-size: clamp(3.6rem, 1.4rem + 7vw, 8.4rem); line-height: .95; letter-spacing: -.035em; }
.hero__title i { font-weight: 500; color: var(--tomato); }
.hero__lead { max-width: 33em; font-size: 1.15rem; color: var(--cream-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; margin-top: 36px; }

/* Manifeste */
.manifesto { padding: clamp(90px, 12vw, 170px) 0; text-align: center; }
.manifesto__txt { max-width: 22em; margin-inline: auto; font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 1rem + 2.2vw, 2.9rem); line-height: 1.3; }
.manifesto__txt i { color: var(--tomato); }
.manifesto__sign { margin-top: 30px; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-2); }

/* Carte */
.carta { padding-bottom: clamp(90px, 12vw, 160px); }
.carta__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.carta__img { position: sticky; top: 110px; }
.carta__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 6px 6px; }
.carta__note { margin: 16px 0 34px; color: var(--cream-2); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tabs button { padding: 10px 18px; border-radius: 999px; font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--cream-2); transition: background-color .3s, color .3s; }
.tabs button:hover { color: var(--cream); }
.tabs button[aria-selected="true"] { background: var(--cream); color: var(--green); }
.dishes li { display: flex; justify-content: space-between; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--line); animation: rise .6s var(--ease) both; }
.dishes li:nth-child(2) { animation-delay: .05s; } .dishes li:nth-child(3) { animation-delay: .1s; } .dishes li:nth-child(4) { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.dishes h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.2; }
.dishes p { margin-top: 4px; color: var(--cream-2); font-size: 15.5px; }
.dishes b { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--tomato); }
.dishes b::after { content: " €"; font-size: .7em; }

/* La casa */
.casa { background: var(--green-2); padding: clamp(90px, 12vw, 160px) 0; }
.casa__grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 40px clamp(32px, 5vw, 72px); align-items: start; }
.casa__room { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; }
.casa__room img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; border-radius: 6px; }
.casa__txt p { margin-top: 20px; color: var(--cream-2); max-width: 34ch; }
.casa__chef img { width: 78%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; margin-left: auto; }

/* Réservation */
.book { padding: clamp(90px, 12vw, 160px) 0; }
.book__card { background: var(--tomato); border-radius: 10px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px 72px; align-items: center; }
.book__card .h2 i { color: var(--green); }
.book__card > div p { margin-top: 18px; max-width: 32ch; }
.book__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.book__form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.book__form label:first-child { grid-column: 1 / -1; }
.book__form input, .book__form select { width: 100%; padding: 14px 14px; border: 0; border-radius: 4px; background: rgb(14 42 32 / .22); color: var(--cream); font: 500 16px var(--sans); letter-spacing: 0; text-transform: none; color-scheme: dark; }
.book__form input:focus, .book__form select:focus { outline: 2px solid var(--cream); }
.book__form .btn { grid-column: 1 / -1; }
.book__out { grid-column: 1 / -1; padding: 14px; border-radius: 4px; background: var(--green); font-weight: 500; }

/* Pied */
.foot { padding: 72px 0 96px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; align-items: start; }
.foot__brand { font-family: var(--serif); font-weight: 700; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; }
.foot__brand i { color: var(--tomato); font-weight: 500; }
.foot h3 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--tomato); margin-bottom: 10px; }
.foot p { color: var(--cream-2); }
.foot__meta { grid-column: 1 / -1; font-size: 14px; margin-top: 24px; }

@media (max-width: 960px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 24px; background: var(--green); font-family: var(--serif); font-size: 2rem; letter-spacing: 0; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav .btn { font-family: var(--sans); font-size: 1rem; }
  .burger { display: block; }
  .carta__grid, .casa__grid, .book__card, .foot__grid { grid-template-columns: 1fr; }
  .carta__img { position: static; }
  .carta__img img { aspect-ratio: 4 / 3; border-radius: 6px; }
  .casa__room { grid-row: auto; }
  .casa__chef img { width: 60%; }
  .hero::after { background: linear-gradient(0deg, rgb(10 30 22 / .97) 15%, rgb(10 30 22 / .78) 55%, rgb(10 30 22 / .5) 100%); }
}
@media (max-width: 520px) { .book__form { grid-template-columns: 1fr; } }
