/* =================================================================
   Le Restaurant Du Coin — landing vitrine
   Direction artistique : chaleureuse, terracotta + crème + vert sapin,
   typographie Fraunces (serif moderne) + Inter.
   ================================================================= */

:root {
  --c-bg:        #f7f1e6;
  --c-bg-2:      #efe6d4;
  --c-ink:       #2a1d13;
  --c-ink-2:     #5b4a3a;
  --c-accent:    #c2562b;      /* terracotta */
  --c-accent-2:  #d98155;
  --c-forest:    #2f4a3a;      /* vert forêt */
  --c-forest-2: #3e5d48;
  --c-cream:     #fbf7ee;
  --c-line:      #e3d6bf;
  --radius:      14px;
  --radius-lg:   24px;
  --shadow-sm:   0 1px 0 rgba(42,29,19,.06), 0 4px 14px rgba(42,29,19,.05);
  --shadow-md:   0 2px 0 rgba(42,29,19,.08), 0 12px 30px rgba(42,29,19,.10);
  --max:         1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(1200px 500px at 80% -10%, #f2e4cb 0%, transparent 60%),
    radial-gradient(900px 600px at -10% 30%, #ecd9b8 0%, transparent 55%),
    var(--c-bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-accent); }

h1, h2, h3, h4 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin: 0;
}

em {
  font-style: italic;
  color: var(--c-accent);
  font-family: "Fraunces", serif;
}

p { margin: 0 0 0.6rem; color: var(--c-ink-2); }

/* ───────── Buttons ───────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #b24e25; color: #fff; }

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

.btn-outline {
  background: transparent;
  color: var(--c-forest);
  border-color: var(--c-forest);
}
.btn-outline:hover { background: var(--c-forest); color: var(--c-cream); }

/* ───────── Nav ───────── */

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.1;
}
.nav-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-cream);
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.nav-brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.nav-brand-logo-footer {
  filter: invert(1);
  width: 52px;
  height: 52px;
}
.nav-brand-name { font-size: 0.95rem; }

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 1.8rem;
  font-size: 0.95rem;
  color: var(--c-ink-2);
}
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--c-ink);
  color: var(--c-cream);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background .2s ease;
}
.nav-cta:hover { background: var(--c-accent); color: #fff; }

/* ───────── Hero (vidéo plein écran) ───────── */

.hero {
  position: relative;
  margin: 0;
  padding: 0;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 30% 30%, #3a2418, #140a04 85%);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,12,6,.25) 0%, rgba(20,12,6,.55) 55%, rgba(20,12,6,.85) 100%),
    linear-gradient(90deg, rgba(20,12,6,.55) 0%, rgba(20,12,6,0) 60%);
}
.hero-copy {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  color: var(--c-cream);
}
.hero .eyebrow { color: #ffcf9f; }

.eyebrow, .section-eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  color: var(--c-cream);
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-title em { color: #ffcf9f; }

.hero-lede {
  font-size: 1.08rem;
  max-width: 520px;
  color: #f2e7d4;
  margin-bottom: 1.8rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}

.hero-cta { display: flex; gap: 0.8rem; margin-bottom: 2rem; flex-wrap: wrap; }

.hero-meta {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  gap: 2rem;
  color: #d8c9ad;
  font-size: 0.9rem;
}
.hero-meta strong { color: var(--c-cream); font-weight: 600; }
.hero-meta span { margin-left: 0.25rem; }

.btn-ghost-light {
  background: transparent;
  color: var(--c-cream);
  border-color: var(--c-cream);
}
.btn-ghost-light:hover { background: var(--c-cream); color: var(--c-ink); }

/* Hero visual : une "assiette" stylisée */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
}
.hero-plate {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff 0%, #f3e6cc 60%, #dcc69c 100%);
  box-shadow:
    inset 0 0 0 2px #fff,
    inset 0 0 0 14px #f6ecd4,
    inset 0 0 0 16px #e4cfa5,
    var(--shadow-md);
}
.plate-inner {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #6a3a22, #3a1e10 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 10px 30px rgba(0,0,0,0.3);
}
.plate-emoji {
  font-size: clamp(4rem, 9vw, 7rem);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.3));
}

.plate-tag {
  position: absolute;
  background: var(--c-cream);
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-family: "Fraunces", serif;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.plate-tag-1 { top: 8%;    left: -6%;  transform: rotate(-6deg); }
.plate-tag-2 { top: 62%;   right: -8%; transform: rotate( 5deg); }
.plate-tag-3 { bottom: 2%; left:  10%; transform: rotate(-3deg); }

/* ───────── Strip ───────── */

.strip {
  background: var(--c-ink);
  color: var(--c-cream);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.4rem;
  font-family: "Fraunces", serif;
  font-size: 0.95rem;
}
.strip-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.strip-item span { font-size: 1.1rem; }

/* ───────── Sections génériques ───────── */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-head { text-align: center; margin-bottom: 3rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-lede {
  color: var(--c-ink-2);
  font-size: 1.05rem;
}

/* ───────── Menu ───────── */

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

.menu-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent-2);
}
.menu-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}
.menu-card-tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-2);
  font-weight: 600;
}
.menu-card-price {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  color: var(--c-accent);
  font-weight: 500;
}
.menu-card-title {
  font-size: 1.4rem;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.menu-card-desc { font-size: 0.95rem; margin: 0; }

.menu-card-star {
  background: var(--c-ink);
  color: var(--c-cream);
  border-color: var(--c-ink);
}
.menu-card-star .menu-card-title { color: var(--c-cream); }
.menu-card-star .menu-card-desc { color: #cfc0a5; }
.menu-card-star .menu-card-tag { color: var(--c-accent-2); }
.menu-card-star .menu-card-price { color: #ffcf9f; }

.menu-foot {
  text-align: center;
  margin-top: 2rem;
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--c-ink-2);
}

/* ───────── Histoire ───────── */

.section-story {
  background: var(--c-bg-2);
  max-width: none;
  padding-left: 0; padding-right: 0;
}
.story-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.story-copy p { font-size: 1.02rem; margin-bottom: 0.9rem; }
.story-copy .btn { margin-top: 1.2rem; }

.story-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
}
.story-polaroid {
  position: absolute;
  background: var(--c-cream);
  padding: 0.8rem 0.8rem 1.2rem;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-line);
  width: 48%;
}
.story-polaroid-1 { top: 0;    left: 0;   transform: rotate(-5deg); }
.story-polaroid-2 { top: 32%;  right: 0;  transform: rotate( 4deg); }
.story-polaroid-3 { bottom: 0; left: 18%; transform: rotate(-2deg); }

.polaroid-photo {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: #d9c9a8;
  margin-bottom: 0.6rem;
}
.polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.polaroid-legend {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 0.85rem;
  text-align: center;
  color: var(--c-ink-2);
}

/* ───────── Brunch ───────── */

.section-brunch {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.brunch-card {
  background: var(--c-forest);
  color: var(--c-cream);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  background-image:
    radial-gradient(800px 400px at 0% 0%, rgba(255,255,255,.06), transparent),
    radial-gradient(600px 300px at 100% 100%, rgba(194,86,43,.18), transparent);
}
.brunch-card .section-eyebrow { color: var(--c-accent-2); }
.brunch-title { color: var(--c-cream); font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.2rem; }
.brunch-title em { color: #ffcf9f; }
.brunch-lede {
  color: #dfd4bb;
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}
.brunch-lede strong { color: var(--c-cream); }
.brunch-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.brunch-hint {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: #cfc0a5;
  font-size: 0.9rem;
}

/* ───────── Visiter ───────── */

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.visit-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.visit-card h3 {
  font-size: 1.3rem;
  font-family: "Fraunces", serif;
  margin-bottom: 0.2rem;
}
.visit-link {
  margin-top: auto;
  color: var(--c-accent);
  font-weight: 500;
  font-size: 0.95rem;
}
.hours { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--c-line);
  font-size: 0.95rem;
}
.hours li:last-child { border-bottom: none; }
.hours-off { color: #b8a488; }

.visit-card-reserve {
  background: var(--c-ink);
  color: var(--c-cream);
  border-color: var(--c-ink);
}
.visit-card-reserve h3 { color: var(--c-cream); }
.visit-card-reserve p { color: #cfc0a5; }
.visit-phone {
  align-self: flex-start;
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
}
.visit-card-reserve .visit-link { color: var(--c-accent-2); }

/* ───────── Footer ───────── */

.footer {
  margin-top: 5rem;
  background: var(--c-ink);
  color: var(--c-cream);
  padding: 3rem 1.5rem 2rem;
}
.footer-top, .footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand strong { font-family: "Fraunces", serif; font-size: 1.1rem; }
.footer-brand p { margin: 0.2rem 0 0; color: #cfc0a5; font-size: 0.9rem; }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a { color: var(--c-cream); font-size: 0.9rem; }
.footer-social a:hover { color: var(--c-accent-2); }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #3e2f22;
  color: #b8a488;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--c-accent-2); }

/* ───────── Responsive ───────── */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 1rem; }
  .hero-visual { order: -1; width: min(78vw, 360px); max-width: 360px; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  /* Polaroids : collage absolu -> grille propre sur mobile */
  .story-visual {
    position: static;
    aspect-ratio: auto;
    max-width: 460px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .story-polaroid {
    position: static;
    width: 100%;
    transform: none;
  }
  .story-polaroid-1 { transform: rotate(-3deg); }
  .story-polaroid-2 { transform: rotate( 3deg); grid-column: 2; grid-row: 1; }
  .story-polaroid-3 {
    transform: rotate(-2deg);
    grid-column: 1 / span 2;
    max-width: 60%;
    justify-self: center;
  }
  .visit-grid { grid-template-columns: 1fr; }
  .brunch-card { padding: 3rem 1.6rem; }
  .section { padding: 3.5rem 1.5rem; }
  .strip { gap: 1.2rem; }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 540px) {
  .menu-grid { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; gap: 0.4rem; }
  .hero-visual { width: min(86vw, 320px); }
  .plate-tag { font-size: 0.72rem; padding: 0.3rem 0.65rem; }
  .plate-tag-1 { top: 4%;  left: -4%; }
  .plate-tag-2 { top: 58%; right: -4%; }
  .plate-tag-3 { bottom: 0; left: 14%; }
  .nav { padding: 1rem; gap: 1rem; }
  .nav-brand-name { display: none; }
  .hero { margin: 1rem auto 2rem; padding: 1rem 1.2rem 2rem; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .polaroid-photo { font-size: 2.6rem; }
}
