/* Café des Pins — fictional Enseigne demo (PDWDN)
   Scoped palette: NOT agency menthe/gold/ink. Do not load styles.css. */

@font-face {
  font-family: Overpass;
  src: url("../fonts/overpass-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Overpass;
  src: url("../fonts/overpass-900.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

:root {
  --espresso: #2A1810;
  --roast: #6B4226;
  --foam: #FBF6EF;
  --oat: #EDE3D4;
  --clay: #C75B39;
  --clay-deep: #A34628;
  --cream: #FFFCF7;
  --blanc: #FFFFFF;
  --muted: rgba(42, 24, 16, 0.68);
  --line: rgba(42, 24, 16, 0.12);
  --shadow: 0 12px 40px rgba(42, 24, 16, 0.12);
  --radius: 4px;
  --max: 70rem;
  --pad: 1.15rem;
  --header-h: 3.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--espresso);
  background: var(--foam);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .wordmark, .btn, .nav-principale a,
.eyebrow, .price, .footer-wordmark, .pdwdn-credit, .phone-link,
.item-name, .back-agency, .sticky-btn, .call {
  font-family: Overpass, "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
}
h1, h2, .wordmark, .footer-wordmark { font-weight: 900; }
img, picture { max-width: 100%; display: block; }
img { height: auto; object-fit: cover; }
a { color: inherit; }
:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 400;
  background: var(--espresso);
  color: var(--foam);
  padding: 0.55rem 0.95rem;
  font-weight: 800;
  text-decoration: none;
}
.skip:focus { top: 0.5rem; }

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--roast);
  font-weight: 900;
}





/* —— Demo watermark (behind UI chrome; over page at low opacity) —— */
.demo-watermark {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
}
.demo-watermark-inner {
  position: absolute;
  left: -35%;
  top: -35%;
  width: 170%;
  height: 170%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: space-evenly;
  justify-items: center;
  gap: 3.5rem 1.25rem;
  transform: rotate(-28deg);
  opacity: 0.11;
}
.demo-watermark-inner span {
  font-family: Overpass, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(0.78rem, 2.1vw, 1.2rem);
  letter-spacing: 0.14em;
  color: var(--espresso);
  white-space: nowrap;
  line-height: 1;
}
.site-header { z-index: 300; }
.sticky-call { z-index: 280; }
.demo-disclosure {
  font-size: 0.78rem;
  opacity: 0.85;
  max-width: 28rem;
}

@media (max-width: 639px) {
  .demo-watermark-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.75rem 0.75rem;
    opacity: 0.1;
  }
  .demo-watermark-inner span {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
}

/* —— Header / nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.wordmark {
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--espresso);
}
.wordmark:hover { color: var(--clay-deep); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--espresso);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-principale {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--foam);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.35s var(--ease), opacity 0.25s, visibility 0.25s;
}
.nav-principale.is-open {
  max-height: 20rem;
  opacity: 1;
  visibility: visible;
}
.nav-principale ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1rem;
}
.nav-principale a {
  display: block;
  padding: 0.85rem var(--pad);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.nav-principale a:hover { color: var(--clay-deep); background: var(--oat); }

@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .nav-principale {
    position: static;
    max-height: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .nav-principale ul {
    display: flex;
    gap: 0.15rem;
    padding: 0;
  }
  .nav-principale a {
    padding: 0.45rem 0.75rem;
    border: 0;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
  }
  .nav-principale a:hover { background: var(--oat); }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15rem;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.25rem;
  min-height: 3.1rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn small {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
}
.btn-clay {
  background: var(--clay);
  color: var(--blanc);
  border-color: var(--clay);
}
.btn-clay:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
.btn-ghost {
  background: rgba(251, 246, 239, 0.12);
  color: var(--foam);
  border-color: rgba(251, 246, 239, 0.45);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(251, 246, 239, 0.22); }
.btn-outline {
  background: transparent;
  color: var(--espresso);
  border-color: var(--espresso);
}
.btn-outline:hover { background: var(--espresso); color: var(--foam); }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(88vh, 42rem);
  display: grid;
  align-items: end;
  color: var(--foam);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(42, 24, 16, 0.25) 0%, rgba(42, 24, 16, 0.55) 45%, rgba(42, 24, 16, 0.88) 100%),
    linear-gradient(90deg, rgba(42, 24, 16, 0.45) 0%, transparent 55%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3.25rem;
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}
.hero-copy > * { max-width: 36rem; }
.hero-eyebrow { color: #E8C4A8; }
.hero h1 {
  margin: 0 0 0.65rem;
  font-weight: 900;
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.hero-lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  max-width: 32rem;
  color: var(--oat);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

  to { opacity: 1; transform: translateY(0); }
}

/* —— Intro strip —— */
.intro-strip {
  padding: 2.5rem 0 1rem;
  background: var(--foam);
}
.intro-grid {
  display: grid;
  gap: 1rem;
}
.intro-card {
  background: var(--blanc);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 0 var(--line);
  border: 1px solid var(--line);
  transition: box-shadow 0.15s ease;
}
.intro-card picture,
.intro-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.intro-card:first-child img { object-position: center 30%; }
.intro-card h2 {
  margin: 0;
  padding: 1rem 1rem 0.35rem;
  font-size: 1.2rem;
  font-weight: 900;
}
.intro-card p {
  margin: 0;
  padding: 0 1rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (min-width: 720px) {
  .intro-grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}

/* —— Sections shared —— */
.section { padding: 2.75rem 0; }
.section-head { margin-bottom: 1.75rem; max-width: 40rem; }
.section-head h2 {
  margin: 0 0 0.5rem;
  font-weight: 900;
  font-size: clamp(1.55rem, 3.8vw, 2.15rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.section-lead { margin: 0; color: var(--muted); }

/* —— Menu —— */
.menu-section { background: var(--oat); }
.menu-layout {
  display: grid;
  gap: 1.75rem;
}
.menu-photo {
  display: grid;
  gap: 0.75rem;
}
.menu-photo img {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  object-fit: cover;
}
.menu-block {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem 1.25rem;
  margin-bottom: 0.85rem;
}
.menu-block h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--clay-deep);
  letter-spacing: 0.02em;
}
.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-items li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(42, 24, 16, 0.14);
  font-size: 0.98rem;
}
.menu-items li:last-child { border-bottom: 0; }
.item-name { flex: 0 1 auto; font-weight: 800; }
.dots {
  flex: 1 1 auto;
  border-bottom: 1px dotted rgba(42, 24, 16, 0.28);
  min-width: 1.5rem;
  transform: translateY(-0.25em);
}
.price {
  flex: 0 0 auto;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--espresso);
}
.menu-cta { margin-top: 1.5rem; }
.menu-cta .btn small { display: inline; margin-left: 0.35rem; text-transform: none; letter-spacing: 0; font-size: 0.78rem; opacity: 0.9; }
@media (min-width: 900px) {
  .menu-layout {
    grid-template-columns: 0.95fr 1.15fr;
    align-items: start;
    gap: 2rem;
  }
  .menu-photo img:first-child { aspect-ratio: 4 / 5; }
}

/* —— Gallery —— */
.gallery-section { background: var(--foam); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.gal-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--oat);
}
.gal-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.gal-wide { grid-column: 1 / -1; }
.gal-wide img { aspect-ratio: 16 / 9; }
.gal-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--foam);
  background: linear-gradient(transparent, rgba(42, 24, 16, 0.75));
}
@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }
  .gal-wide { grid-column: span 2; }
  .gal-wide img { aspect-ratio: 16 / 10; min-height: 14rem; }
  .gal-item:not(.gal-wide) img { min-height: 14rem; aspect-ratio: 3 / 4; }
}

/* —— About —— */
.about-section { background: var(--cream); }
.about-layout {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-copy h2 {
  margin: 0 0 0.85rem;
  font-weight: 900;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.about-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 38rem;
}
.about-copy strong { color: var(--espresso); }
@media (min-width: 860px) {
  .about-layout { grid-template-columns: 1.05fr 1fr; gap: 2.5rem; }
}

/* —— Testimonials —— */
.testimonials {
  background: var(--espresso);
  color: var(--foam);
}
.testimonials .eyebrow { color: #E8C4A8; }
.testimonials .section-lead { color: var(--oat); }
.testimonials h2 { color: var(--foam); }
.testimonial-grid {
  display: grid;
  gap: 1rem;
}
.testimonial {
  margin: 0;
  background: rgba(251, 246, 239, 0.06);
  border: 1px solid rgba(251, 246, 239, 0.14);
  border-left: 4px solid var(--clay);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
}
.testimonial p {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.45;
}
.testimonial footer {
  font-size: 0.88rem;
  color: var(--oat);
}
@media (min-width: 800px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
}

/* —— Contact —— */
.contact-section { background: var(--oat); }
.contact-layout {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.contact-copy h2 {
  margin: 0 0 1rem;
  font-weight: 900;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  letter-spacing: -0.025em;
}
.address, .phone-block { margin: 0 0 1rem; }
.phone-link {
  font-size: 1.45rem;
  font-weight: 900;
  text-decoration: none;
  color: var(--clay-deep);
}
.phone-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.hours-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  max-width: 22rem;
  border-top: 1px solid var(--line);
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.contact-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (min-width: 860px) {
  .contact-layout { grid-template-columns: 1fr 1.05fr; gap: 2.5rem; }
}

/* —— Sticky mobile call —— */
.sticky-call {
  position: sticky;
  bottom: 0;
  z-index: 280;
  display: flex;
  justify-content: center;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(42, 24, 16, 0.94);
  backdrop-filter: blur(8px);
}
.sticky-btn {
  width: min(42rem, 100%);
  align-items: center;
  text-align: center;
}
@media (min-width: 820px) {
  .sticky-call { display: none; }
}

/* —— Footer —— */
.product-footer {
  background: var(--espresso);
  color: var(--oat);
  padding: 2.5rem 0 3rem;
  border-top: 3px solid var(--clay);
}
.footer-grid {
  display: grid;
  gap: 1.75rem;
}
.footer-wordmark {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--foam);
}
.footer-place {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--oat);
}
.pdwdn-credit {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  background: var(--clay);
  color: var(--blanc);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 900;
}
.footer-meta p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.45;
}
.footer-meta strong {
  color: var(--foam);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.credit {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--foam);
}
.legal {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(237, 227, 212, 0.82);
  max-width: 36rem;
}
.back-agency {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 900;
  color: #E8C4A8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.back-agency:hover { color: var(--foam); }

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1.1fr 1.2fr;
    gap: 2rem;
    align-items: start;
  }
}

/* Motion kept minimal — no scroll-reveal choreography */
