/* Le Fenouil Rouge — démonstration (restaurant fictif). Direction artistique « bistrot imprimé » :
   papier crème, rouge betterave, vert fenouil, grand serif italique, la carte comme pièce maîtresse. */
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces-normal-400-700.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces-italic-400-700.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/HankenGrotesk-normal-400-700.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --cream: #F7F0E3; --cream-2: #EFE5D1; --ink: #231A17; --ink-2: #5A4A44;
  --beet: #7A1632; --beet-deep: #4B0D1E; --leaf: #DDE6C9; --leaf-ink: #33481F;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1); --gut: 20px; --bar: 44px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; padding-bottom: var(--bar); background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--beet); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--cream); }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), 1160px); margin-inline: auto; }
em { font-style: italic; color: var(--beet); }
.kicker { font: 600 .8125rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--beet); }

.top { position: sticky; top: 0; z-index: 50; background: rgba(247, 240, 227, .95); border-bottom: 1px solid rgba(35, 26, 23, .14); }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(247, 240, 227, .84); backdrop-filter: blur(10px); } }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { text-decoration: none; font: 500 1.35rem/1 var(--serif); }
.brand em { font-weight: 500; }
.nav { display: none; gap: 28px; font-size: .95rem; }
.nav a { text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--beet); }
@media (min-width: 820px) { .nav { display: flex; } }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 24px; background: var(--beet); color: var(--cream); text-decoration: none; font-weight: 600; border-radius: 999px; border: 2px solid var(--beet); transition: background .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--beet-deep); border-color: var(--beet-deep); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn--light { background: var(--cream); color: var(--beet-deep); border-color: var(--cream); }
.btn--light:hover { background: #fff; border-color: #fff; }
.tag { font: 600 .6875rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; padding: 3px 7px; border: 1px solid currentColor; border-radius: 999px; opacity: .9; }
.link { display: inline-block; padding: 12px 0; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--beet); }

/* Premier écran : médaillon rond */
.hero { padding-block: 36px 64px; overflow: clip; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-top: 14px; font: 400 clamp(3.4rem, 15vw, 8rem)/.92 var(--serif); letter-spacing: -.02em; font-variation-settings: "SOFT" 100; }
.hero h1 span { display: block; }
.hero h1 em { display: block; font-weight: 500; }
.lede { margin-top: 24px; max-width: 32rem; font-size: 1.1875rem; color: var(--ink-2); }
.cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.status { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-2); flex: none; }
.status[data-open="1"] .status__dot { background: #2F7A3B; box-shadow: 0 0 0 4px rgba(47, 122, 59, .2); }
.hero__fig { position: relative; width: min(86vw, 520px); justify-self: center; }
.medal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--cream-2); }
.stamp { position: absolute; left: -2%; bottom: 4%; width: 112px; height: 112px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--beet); color: var(--cream); font: italic 500 .95rem/1.2 var(--serif); transform: rotate(-8deg); }
.stamp b { font: 600 1.15rem/1.2 var(--serif); font-style: normal; }
@media (min-width: 900px) {
  .hero { padding-block: 64px 96px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero__fig { width: 100%; justify-self: end; margin-right: -4%; }
  .stamp { width: 132px; height: 132px; font-size: 1.05rem; }
}

.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec--leaf { background: var(--leaf); color: #1D2A12; }
.sec--leaf .kicker { color: var(--leaf-ink); }
.sec--leaf em { color: var(--beet-deep); }
.sec--beet { background: var(--beet-deep); color: var(--cream); }
.sec--beet .kicker { color: #F1B9C7; } .sec--beet .sec__sub { color: #E9D9DC; }
.sec__head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 44rem; }
.sec__head h2 { margin-top: 10px; font: 400 clamp(2.2rem, 6.4vw, 4rem)/1.02 var(--serif); letter-spacing: -.015em; }
.sec__sub { margin-top: 14px; color: var(--ink-2); }
.note { margin-top: 28px; font-size: .9rem; color: var(--ink-2); }

/* La carte */
.ardoise { display: grid; gap: 4px 24px; padding: 26px 28px; background: #2B2623; color: #F3EEE4; border-radius: 6px; border: 6px solid #5B4635; margin-bottom: 28px; }
.ardoise__label { font: 600 .8125rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #E7D9BF; }
.ardoise__plat { font: 500 1.5rem/1.25 var(--serif); }
.ardoise__plat span { display: block; font: 400 1rem/1.4 var(--sans); color: #D9D2C6; margin-top: 2px; }
.ardoise__prix { font: 500 2rem/1 var(--serif); }
@media (min-width: 760px) { .ardoise { grid-template-columns: 1fr auto; align-items: center; } .ardoise__label { grid-column: 1 / -1; } }
.formules { margin-bottom: clamp(40px, 6vw, 72px); padding: 22px 26px; border: 2px solid var(--ink); border-radius: 6px; }
.formules h3 { font: 500 1.4rem/1.2 var(--serif); }
.formules small { font: 400 .85rem var(--sans); color: var(--ink-2); margin-left: 8px; }
.formules ul { margin-top: 12px; display: grid; gap: 6px; }
.formules li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dotted rgba(35, 26, 23, .45); padding-bottom: 6px; }
.formules b { font: 600 1.1rem var(--serif); }
.carte { display: grid; gap: clamp(32px, 5vw, 56px) 64px; }
@media (min-width: 900px) { .carte { grid-template-columns: 1fr 1fr; } }
.cat h3 { font: italic 500 1.9rem/1.1 var(--serif); color: var(--beet); padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.cat li { display: flex; align-items: baseline; gap: 10px; padding-top: 16px; }
.dish { display: grid; max-width: 78%; }
.dish b { font-weight: 600; }
.dish i { font-style: normal; font-size: .95rem; color: var(--ink-2); }
.lead { flex: 1; min-width: 12px; border-bottom: 2px dotted rgba(35, 26, 23, .4); transform: translateY(-5px); }
.price { font: 500 1.15rem/1 var(--serif); white-space: nowrap; }

/* Horaires et réservation */
.two { display: grid; gap: 56px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.hours { width: 100%; border-collapse: collapse; border-top: 2px solid currentColor; }
.hours th, .hours td { padding: 14px 0; border-bottom: 1px solid rgba(29, 42, 18, .3); text-align: left; font-weight: 500; }
.hours td { text-align: right; }
.hours .off th, .hours .off td { font-weight: 400; opacity: .8; }
.notes { margin-top: 20px; display: grid; gap: 8px; }
.notes--plain { margin-top: 12px; }
.resa p { margin-top: 14px; max-width: 30rem; }
.resa__tel { margin-bottom: 22px; }
.resa .btn { margin-top: 8px; }

/* Galerie */
.gal { display: grid; gap: 24px; }
.gal figure img { width: 100%; object-fit: cover; border-radius: 6px; background: var(--cream-2); }
.gal__i--2 img, .gal__i--3 img { aspect-ratio: 4 / 5; } .gal__i--1 img, .gal__i--4 img, .gal__i--5 img { aspect-ratio: 3 / 2; }
.gal figcaption { margin-top: 8px; font: italic 400 1rem var(--serif); color: var(--ink-2); }
@media (min-width: 760px) {
  .gal { grid-template-columns: repeat(6, 1fr); gap: 28px 24px; align-items: start; }
  .gal__i--1 { grid-column: 1 / 5; } .gal__i--2 { grid-column: 5 / 7; } .gal__i--3 { grid-column: 1 / 3; grid-row: 2; }
  .gal__i--4 { grid-column: 3 / 7; grid-row: 2; } .gal__i--5 { grid-column: 2 / 6; grid-row: 3; }
}

/* Emplacement des avis (aucun avis, même fictif) */
.gblock { max-width: 46rem; padding: 1.6em 1.8em; border: 2px dashed currentColor; border-radius: 6px; text-align: center; }
.gblock b { display: block; font: italic 500 1.5rem/1.2 var(--serif); margin-bottom: .4em; }
.gblock span { display: block; color: #E9D9DC; }

.plan { width: 100%; height: auto; border: 2px solid var(--ink); border-radius: 6px; }
.prose { max-width: 44rem; display: grid; gap: 18px; }
.h1s { font: 400 clamp(2.4rem, 7vw, 4rem)/1.02 var(--serif); letter-spacing: -.015em; }
.prose a:not(.btn):not(.link) { text-decoration-color: var(--beet); text-underline-offset: 3px; }

.foot { background: var(--ink); color: var(--cream); padding-block: 48px 40px; }
.foot__in { display: grid; gap: 20px; }
.foot__brand { font: 500 1.6rem/1 var(--serif); }
.foot__brand em { color: #F1B9C7; }
.foot p { color: #E2D9CC; } .foot__brand { color: var(--cream) !important; }
.foot nav { display: flex; gap: 24px; } .foot nav a { padding: 8px 0; }
@media (min-width: 760px) { .foot__in { grid-template-columns: 1fr 1fr auto; align-items: center; } }
.demo-banner { position: fixed; inset: auto 0 0 0; z-index: 90; min-height: var(--bar); display: grid; place-items: center; padding: 8px 14px; text-align: center; background: var(--beet-deep); color: #fff; font: 600 .8125rem/1.3 var(--sans); letter-spacing: .03em; border-top: 3px solid #F1B9C7; }

.reveal.will { opacity: 0; transform: translateY(14px); }
.reveal.will.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.medal img { animation: bloom 1.1s var(--ease) both; }
.stamp { animation: stamp .9s .5s var(--ease) both; }
@keyframes bloom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: rotate(-24deg) scale(.7); } to { opacity: 1; transform: rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .medal img, .stamp { animation: none; }
  .reveal.will, .reveal.will.in { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
