/* Cafés Debout — bandeau de devanture, ardoises, damier */
:root {
  --cream: #F3EDE2;
  --paper: #FBF8F2;
  --sage: #4D5A52;
  --sage-deep: #3E4943;
  --sage-soft: #959B97;
  --red: #B0252D;
  --red-dark: #8E1C23;
  --roast: #33241B;
  --muted: #6A5A4C;
  --slate: #1F1C1A;
  --chalk: #EDE6D6;
  --line: rgba(51, 36, 27, .18);

  --f-sign: "Josefin Sans", "Futura", "Century Gothic", sans-serif;
  --f-text: "Fraunces", "Georgia", serif;

  --wrap: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--roast);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.hero :focus-visible, .infos :focus-visible, .footer :focus-visible, .comptoir :focus-visible { outline-color: #F2C14E; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--red); color: #fff; padding: .75rem 1rem; font-family: var(--f-sign);
}
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }

.eyebrow {
  font-family: var(--f-sign); font-weight: 700; text-transform: uppercase;
  letter-spacing: .2em; font-size: .78rem; color: var(--red); margin-bottom: 1rem;
}
.eyebrow--light { color: #F0D9A8; }
.eyebrow--chalk { color: #F0D9A8; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .8rem 1.5rem;
  font-family: var(--f-sign); font-weight: 700; font-size: .9rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); border: 2px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  cursor: pointer;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { border-color: currentColor; color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--sage-deep); border-color: var(--paper); }
.btn:active { transform: translateY(1px); }

/* Header: awning + nav */
.top { position: sticky; top: 0; z-index: 50; }
.awning {
  display: flex; justify-content: center; gap: .6rem;
  background:
    repeating-linear-gradient(90deg, #E9E2D2 0 28px, #DED5C1 28px 56px);
  color: var(--roast);
  font-family: var(--f-sign); font-weight: 700; text-transform: uppercase;
  letter-spacing: .32em; font-size: .72rem; padding: .45rem 1rem .35rem;
  border-bottom: 1px solid var(--line);
}
.awning__dot { color: var(--red); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem max(var(--gap), calc((100% - var(--wrap)) / 2));
  background: rgba(251, 248, 242, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex; align-items: center; gap: .6rem; min-height: 44px;
  text-decoration: none; font-family: var(--f-sign); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .95rem;
}
.nav__links { display: none; list-style: none; margin: 0; padding: 0; gap: 1.75rem; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--f-sign); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: .8rem; text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) no-repeat left 75% / 0 2px;
  transition: background-size .25s var(--ease);
}
.nav__links a:hover { background-size: 100% 2px; }
.nav__cta { display: none; min-height: 44px; padding: .6rem 1.1rem; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
}

/* Hero */
.hero { display: grid; background: var(--sage); color: var(--paper); }
.hero__band {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5rem) var(--gap) clamp(2.5rem, 6vw, 4rem);
  display: flex; flex-direction: column; justify-content: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,.06), transparent 30%),
    var(--sage);
}
.hero__engraved {
  font-family: var(--f-sign); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.9rem, 8.4vw, 3.4rem); line-height: 1; letter-spacing: .08em;
  color: rgba(237, 230, 214, .3);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .35), 0 1px 0 rgba(255, 255, 255, .08);
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(237, 230, 214, .28);
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 5.6rem); font-weight: 500; letter-spacing: -.02em;
  margin-bottom: .25em; line-height: 1;
}
.hero__promise { font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 30ch; color: #F3EDE2; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.5rem; }
.hero__rating { font-size: .95rem; color: #E7E1D3; margin: 0; }
.stars { color: #F2C14E; letter-spacing: .1em; }
.hero__photo { position: relative; min-height: 70vw; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__photo figcaption {
  position: absolute; left: 0; bottom: 0;
  background: rgba(31, 28, 26, .78); color: var(--chalk);
  font-family: var(--f-sign); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .55rem .9rem;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 1fr; min-height: calc(100vh - 6.5rem); min-height: calc(100svh - 6.5rem); }
  .hero__band { padding-left: max(var(--gap), calc((100vw - var(--wrap)) / 2)); padding-right: clamp(2rem, 4vw, 4rem); }
  .hero__photo { min-height: 0; }
  .hero__engraved { font-size: clamp(2.4rem, 4vw, 4rem); }
}

/* Checkerboard floor strip */
.damier {
  height: 28px;
  background:
    conic-gradient(var(--roast) 25%, var(--cream) 0 50%, var(--roast) 0 75%, var(--cream) 0) 0 0 / 28px 28px;
  opacity: .9;
}

/* Maison */
.maison__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.3rem); }
.maison__text p:not(.eyebrow):not(.lead) { color: var(--roast); max-width: 60ch; }
.press { margin: 2rem 0 0; padding: 1.25rem 0 0 1.5rem; border-left: 3px solid var(--red); }
.press p { font-style: italic; font-size: 1.25rem; margin-bottom: .4rem; }
.press cite { font-family: var(--f-sign); font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--muted); }
.maison__photos { position: relative; display: grid; grid-template-columns: 1fr .62fr; gap: 1rem; align-items: end; }
.frame { overflow: hidden; border-radius: var(--radius); background: var(--sage-soft); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 3 / 4; }
.frame--small { aspect-ratio: 3 / 4; margin-bottom: 3rem; }
.stamp {
  position: absolute; top: -1.5rem; right: .75rem;
  width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--red); color: #fff; transform: rotate(-10deg);
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--red);
  font-family: var(--f-sign); text-transform: uppercase; letter-spacing: .16em; font-size: .62rem; line-height: 1.3;
}
.stamp strong { font-family: var(--f-text); font-size: 2rem; letter-spacing: 0; line-height: 1; font-weight: 600; }
@media (min-width: 900px) {
  .maison__grid { grid-template-columns: 1.05fr 1fr; }
  .stamp { right: auto; left: -2.5rem; top: -2rem; }
}

/* Comptoir: slate boards */
.comptoir { background: var(--sage-deep); color: var(--chalk); }
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__intro { font-size: 1.15rem; color: #E1DACB; }
.boards { display: grid; gap: var(--gap); }
.board {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.05), transparent 60%),
    var(--slate);
  border: 10px solid #6B4A33;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 14px 30px rgba(0,0,0,.25);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 3px;
}
.board__title {
  font-family: var(--f-sign); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: #F0D9A8;
  padding-bottom: .9rem; margin-bottom: 1.1rem; border-bottom: 1px dashed rgba(237,230,214,.35);
}
.board__list { list-style: none; margin: 0; padding: 0; }
.board__list li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .15rem 1rem;
  padding: .7rem 0; border-bottom: 1px dotted rgba(237,230,214,.2);
}
.board__item { font-size: 1.25rem; font-weight: 500; }
.board__note { font-style: italic; color: #CFC6B4; font-size: .98rem; }
.board__foot { margin: 1.2rem 0 0; font-family: var(--f-sign); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #CFC6B4; }
.comptoir__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.comptoir__strip .frame { aspect-ratio: 4 / 5; }
@media (min-width: 800px) { .boards { grid-template-columns: 1fr 1fr; } }

/* Galerie */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.g { overflow: hidden; border-radius: var(--radius); background: var(--sage-soft); aspect-ratio: 3 / 4; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g:hover img { transform: scale(1.03); }
@media (min-width: 800px) {
  .gallery { grid-template-columns: 1.1fr .9fr .9fr 1.1fr; align-items: start; }
  .g--b, .g--d { margin-top: 3rem; }
}

/* Avis */
.avis { background: var(--paper); border-top: 1px solid var(--line); }
.section__head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; max-width: none; }
.score { display: flex; align-items: center; gap: .9rem; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.score strong { font-size: 3.4rem; font-weight: 500; color: var(--roast); line-height: 1; }
.score .stars { color: #A9741A; }
.quotes { display: grid; gap: var(--gap); }
.quote { margin: 0; padding: 1.5rem 0 0; border-top: 2px solid var(--roast); }
.quote p { font-size: 1.12rem; margin-bottom: .75rem; }
.quote cite { font-family: var(--f-sign); font-weight: 700; font-style: normal; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--red); }
.quote--big p { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; font-style: italic; }
@media (min-width: 800px) {
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .quote--big { grid-column: 1 / -1; max-width: 900px; }
}

/* Infos */
.infos { background: var(--sage); color: var(--paper); }
.infos__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.infos__list { margin: 0 0 2rem; display: grid; gap: 1.1rem; }
.infos__list dt, .hours h3 {
  font-family: var(--f-sign); font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; font-size: .78rem; color: #F0D9A8; margin-bottom: .2rem;
}
.infos__list dd { margin: 0; font-size: 1.1rem; }
.infos__list a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.3rem; text-underline-offset: 4px; }
.hours { padding: 1.25rem 0; border-top: 1px solid rgba(237,230,214,.3); border-bottom: 1px solid rgba(237,230,214,.3); }
.hours table { width: 100%; border-collapse: collapse; font-size: 1.08rem; }
.hours th { text-align: left; font-weight: 400; padding: .45rem 0; }
.hours td { text-align: right; padding: .45rem 0; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.hours tr.is-today th::after {
  content: "aujourd'hui"; margin-left: .6rem; padding: .1rem .45rem; border-radius: 2px;
  background: var(--red); color: #fff; font-family: var(--f-sign); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; vertical-align: .15em;
}
.hours__note { font-size: .92rem; color: #E1DACB; font-style: italic; margin: .75rem 0 0; }
.hours__tbc { margin-left: .5rem; padding: .05rem .4rem; border: 1px solid #F0D9A8; border-radius: 2px; color: #F0D9A8; font-family: var(--f-sign); font-weight: 700; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; vertical-align: .15em; }
.infos__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.infos__map { display: flex; flex-direction: column; gap: .5rem; }
.infos__map iframe { width: 100%; height: clamp(300px, 50vw, 480px); border: 0; border-radius: var(--radius); filter: saturate(.75) sepia(.12); background: var(--sage-deep); }
.map-link { display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; font-family: var(--f-sign); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; text-underline-offset: 4px; }
@media (min-width: 900px) { .infos__grid { grid-template-columns: .9fr 1.1fr; align-items: center; } }

/* Footer */
.footer { background: var(--slate); color: var(--chalk); padding: 3rem 0 6.5rem; font-size: .95rem; }
.footer__inner { display: grid; gap: 1.5rem; }
.footer__brand { font-family: var(--f-sign); font-weight: 700; text-transform: uppercase; letter-spacing: .2em; font-size: 1.1rem; margin-bottom: .2rem; }
.footer__sub { color: #CFC6B4; font-style: italic; margin: 0; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__credit { color: #BDB4A2; font-size: .85rem; margin: 0; }
@media (min-width: 800px) {
  .footer { padding-bottom: 3rem; }
  .footer__inner { grid-template-columns: 1fr 1fr 1.2fr; align-items: start; }
}

/* Sticky mobile action bar */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--slate); border-top: 3px solid var(--red);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  min-height: 60px; color: var(--chalk); text-decoration: none;
  font-family: var(--f-sign); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
}
.actionbar a:first-child { background: var(--red); color: #fff; }
.actionbar a + a { border-left: 1px solid rgba(237,230,214,.15); }
@media (min-width: 800px) { .actionbar { display: none; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
