@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  /* Couleurs du logo */
  --paper: #f6f1e6;
  --tint: #ede5d4;
  --frame: #e2d8c3;
  --forest: #3d4a3e;
  --forest-2: #2d382e;
  --sage: #6b7764;
  --ochre: #b98a4e;
  --terracotta: #a8653d;
  --ink: #2c332c;
  --muted: #5d665a;
  --line: rgba(61, 74, 62, 0.22);

  --display: "Cormorant Garamond", Georgia, serif;
  --text: "EB Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--text);
  font-size: 19px;
  line-height: 1.65;
  background-color: var(--paper);
  /* léger grain de papier */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .24 0 0 0 0 .29 0 0 0 0 .24 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }

.container { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.narrow { max-width: 720px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--forest); margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(44px, 6.4vw, 72px); line-height: 1.05; }
h2 { font-size: clamp(34px, 4.2vw, 48px); line-height: 1.12; margin-bottom: 28px; }
h3 { font-size: 26px; line-height: 1.2; }
h1, h2, .saying p { text-wrap: balance; }

.kicker {
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: .12em;
  font-size: 18px;
  color: var(--terracotta);
  margin-bottom: 14px;
}

/* Liens et bouton */
.link {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: var(--ochre);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  font-style: italic;
}
.link:hover { color: var(--terracotta); }
.button {
  display: inline-block;
  font: inherit;
  font-size: 18px;
  color: var(--paper);
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 3px;
  padding: 12px 26px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}
.button:hover { background: var(--forest-2); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 241, 230, .95); border-bottom: 1px solid var(--line); }
.nav-wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.leaf-mark { height: 46px; width: auto; flex: none; }
.leaf-big { height: 84px; margin: 0 auto 28px; }
.brand-name { font-family: var(--display); font-size: 26px; line-height: 1; color: var(--forest); }
.brand-name small { display: block; font-family: var(--text); font-style: italic; font-size: 15px; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; color: var(--forest); }
.nav a:hover { color: var(--terracotta); }
.nav-book { font-style: italic; border-bottom: 1px solid var(--ochre); }
.menu-toggle { display: none; font: inherit; font-style: italic; border: 0; background: none; color: var(--forest); cursor: pointer; }

/* Accueil */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - 76px); display: flex; align-items: center;
  padding: 80px 0; text-align: center;
  background: var(--forest-2) url("assets/hero-poster.jpg") center / cover no-repeat;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* voile vert pour que le texte reste lisible sur l'image */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(35,45,36,.6) 0%, rgba(35,45,36,.58) 50%, rgba(35,45,36,.75) 100%);
}
.hero-copy { position: relative; text-shadow: 0 1px 12px rgba(20,28,21,.45); }
.hero h1 { color: #fbf8f2; }
.hero .kicker { color: #e9cf9f; }
.hero-text { color: rgba(251,248,242,.9) !important; }
.button-light { background: var(--paper); color: var(--forest); border-color: var(--paper); }
.button-light:hover { background: #fff; }
.link-light { color: #fbf8f2; text-decoration-color: #e9cf9f; }
.link-light:hover { color: #e9cf9f; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-text { font-size: 21px; color: var(--muted); margin: 26px auto 34px; max-width: 600px; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero-facts {
  list-style: none; margin: 52px auto 0; padding: 22px 0 0;
  display: flex; justify-content: center;
  border-top: 1px solid rgba(251,248,242,.35); max-width: 620px;
}
.hero-facts li { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 0 12px; }
.hero-facts li + li { border-left: 1px solid rgba(251,248,242,.35); }
.hero-facts strong { font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 1.1; color: #fbf8f2; }
.hero-facts span { font-style: italic; font-size: 17px; color: rgba(251,248,242,.85); }

/* Cadres photo : affichent un libellé tant que l'image n'existe pas */
.photo { position: relative; margin: 0; background: var(--frame); overflow: hidden; }
.photo::before {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; text-align: center;
  font-style: italic; color: var(--sage); font-size: 17px;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--paper); padding: 6px 14px;
  font-style: italic; font-size: 16px; color: var(--forest);
}
.photo-side { aspect-ratio: 4 / 3; margin-top: 36px; }

/* Sections */
.section { padding: 110px 0; }
.section-tint { background-color: var(--tint); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.prose { color: var(--ink); }
.lead { font-family: var(--display); font-size: 27px; line-height: 1.35; color: var(--forest); }
.facts { font-style: italic; color: var(--forest); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; }
.intro-side { color: var(--muted); max-width: 440px; }

.gallery {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-auto-rows: 260px;
  gap: 14px;
}
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* Sur place : une liste façon carte */
.menu-list { margin: 0; }
.menu-list > div { padding: 22px 0; border-bottom: 1px dotted var(--sage); }
.menu-list > div:first-child { padding-top: 6px; }
.menu-list dt { font-family: var(--display); font-size: 27px; color: var(--forest); }
.menu-list dd { margin: 4px 0 0; color: var(--muted); }

/* Phrase */
.saying { padding: 100px 0; text-align: center; }
.saying p { font-family: var(--display); font-style: italic; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.3; color: var(--forest); margin: 0; }

/* Alentours */
.places article { padding: 24px 0; border-bottom: 1px solid var(--line); }
.places article:first-child { padding-top: 6px; }
.places h3 { margin-bottom: 6px; }
.places p { color: var(--muted); margin: 0; }
.address { margin-top: 30px !important; color: var(--forest) !important; }

/* Réservation */
.contact { margin-top: 30px; }
.contact a { display: block; font-family: var(--display); font-size: 28px; color: var(--forest); text-decoration: none; line-height: 1.4; }
.contact a + a { font-size: 21px; color: var(--muted); }
.contact a:hover { color: var(--terracotta); }

.booking-form { background: var(--paper); padding: 40px; border: 1px solid var(--line); }
.booking-form label { display: block; font-style: italic; color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
input, select, textarea {
  display: block; width: 100%; margin-top: 4px;
  font: inherit; font-style: normal; font-size: 18px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--sage); border-radius: 0;
  padding: 6px 0; outline: none;
}
input:focus, select:focus, textarea:focus { border-bottom-color: var(--terracotta); }
textarea { resize: vertical; border: 1px solid var(--line); padding: 10px; margin-top: 8px; }
textarea:focus { border-color: var(--terracotta); }
.booking-form .button { width: 100%; margin-top: 6px; }
.form-hint { text-align: center; font-style: italic; font-size: 15px; color: var(--muted); margin: 12px 0 0; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 40px; }
.footer-brand img { height: 64px; width: auto; }
.footer-brand .footer-name { font-style: normal; font-family: var(--display); font-size: 30px; color: var(--forest); margin: 14px 0 0 !important; }
.footer-brand p { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--forest); margin-top: 4px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--terracotta); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); }

/* Écrans moyens */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .g-tall { grid-row: span 1; grid-column: span 2; }
}

/* Téléphones */
@media (max-width: 640px) {
  body { font-size: 18px; }
  .container { width: calc(100% - 32px); }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 76px;
    display: none; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; text-align: center; }
  .nav-book { border-bottom: 0; }
  .hero { padding: 56px 0; min-height: 0; }
  .hero-text { font-size: 19px; }
  .hero-facts { flex-wrap: wrap; row-gap: 18px; }
  .hero-facts li { flex: 0 0 50%; }
  .hero-facts li:nth-child(3) { border-left: 0; }
  .hero-facts strong { font-size: 32px; }
  .section { padding: 72px 0; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-tall, .g-wide { grid-column: auto; }
  .form-row, .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { gap: 24px; }
  .booking-form { padding: 24px 18px; }
  .saying { padding: 72px 0; }
}
