/* ===== Les Pas Sages — design Claude Design « carte de menu espiègle » =====
   Papier crème, Cormorant/EB Garamond, annotations Caveat, tampons inclinés. */

:root {
  --papier: #f6efe0;
  --papier-clair: #fbf7ec;
  --encre: #29221b;
  --encre-douce: #5b5247;
  --mirabelle: #d6951f;
  --mirabelle-fonce: #b07410;
  --rouge-bistrot: #a8402f;
  --hairline: rgba(41, 34, 27, 0.25);
  --serif-display: "Cormorant Garamond", Georgia, serif;
  --serif-texte: "EB Garamond", Georgia, serif;
  --main: "Caveat", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--papier);
  color: var(--encre);
  font-family: var(--serif-texte);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(214, 149, 31, 0.05), transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(168, 64, 47, 0.04), transparent 45%);
}

a { color: inherit; }

img { display: block; max-width: 100%; height: auto; }

/* ============ Petites pièces typographiques ============ */

.surtitre {
  font-family: var(--serif-texte);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--encre-douce);
}

.barre {
  position: relative;
  white-space: nowrap;
}
.barre::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  top: 52%;
  height: 0.12em;
  min-height: 2px;
  background: var(--rouge-bistrot);
  border-radius: 999px;
  transform: rotate(-2.5deg);
}

.annotation {
  font-family: var(--main);
  font-size: 1.35em;
  line-height: 1.15;
  color: var(--mirabelle-fonce);
  font-weight: 600;
}

.stamp {
  display: inline-block;
  font-family: var(--serif-texte);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--rouge-bistrot);
  border: 2px solid currentColor;
  border-radius: 4px;
  padding: 7px 13px 6px;
  transform: rotate(-5deg);
  box-shadow: inset 0 0 0 1.5px var(--papier), inset 0 0 0 3px currentColor;
  mix-blend-mode: multiply;
  opacity: 0.92;
}
.stamp--amber { color: var(--mirabelle-fonce); }

/* ============ Header ============ */

header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--hairline);
}

.header-nom {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.header-nom em { color: var(--mirabelle-fonce); font-style: italic; }

.header-nav {
  display: none;
  gap: 28px;
}
.header-nav a {
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--encre-douce);
}
.header-nav a:hover { color: var(--encre); }

.header-tel {
  font-family: var(--serif-texte);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1.5px solid var(--mirabelle);
  padding-bottom: 1px;
}

/* ============ Hero ============ */

.hero {
  padding: 56px 22px 0;
  text-align: center;
  overflow: hidden;
}

.hero-lieu {
  margin-bottom: 26px;
}

.hero-titre {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(64px, 19vw, 210px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.hero-titre .ligne { display: block; }
.hero-titre .pas {
  font-style: italic;
  color: var(--mirabelle-fonce);
  position: relative;
  display: inline-block;
}
.hero-titre .pas svg {
  position: absolute;
  inset: -12% -9%;
  width: 118%;
  height: 124%;
  pointer-events: none;
}

.hero-devise {
  margin: 30px auto 0;
  max-width: 420px;
  font-size: 20px;
  font-style: italic;
  color: var(--encre-douce);
}
.hero-devise .annotation { font-style: normal; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  font-family: var(--serif-texte);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border: 1.5px solid var(--encre);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.btn--plein {
  background: var(--encre);
  color: var(--papier);
}
.btn--plein:hover { background: var(--mirabelle-fonce); border-color: var(--mirabelle-fonce); }
.btn--ligne:hover { background: var(--encre); color: var(--papier); }

.hero-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 38px;
}
.hero-badges .stamp { transform: rotate(-4deg); }
.hero-badges .note-google {
  font-family: var(--serif-display);
  font-size: 19px;
  font-weight: 600;
  transform: rotate(2deg);
}
.hero-badges .note-google .etoile { color: var(--mirabelle-fonce); }
.hero-badges .note-google small {
  display: block;
  font-family: var(--serif-texte);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--encre-douce);
}

/* Polaroids du hero */
.hero-photos {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4vw;
  margin-top: 52px;
  padding-bottom: 58px;
}
.polaroid {
  background: var(--papier-clair);
  padding: 9px 9px 30px;
  box-shadow: 0 14px 30px -14px rgba(41, 34, 27, 0.45);
  border: 1px solid rgba(41, 34, 27, 0.08);
  width: 36vw;
  max-width: 240px;
  flex-shrink: 0;
  position: relative;
}
.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  filter: saturate(1.02);
}
.polaroid figcaption {
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  text-align: center;
  font-family: var(--main);
  font-size: 17px;
  color: var(--encre-douce);
}
.polaroid--1 { transform: rotate(-3.5deg) translateY(8px); }
.polaroid--2 { transform: rotate(1.8deg) translateY(-10px); z-index: 2; }
.polaroid--3 { display: none; transform: rotate(4deg) translateY(12px); }

/* ============ Bandeau défilant ============ */

.bandeau {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 13px 0;
  background: var(--papier-clair);
}
.bandeau-piste {
  display: flex;
  width: max-content;
  gap: 0;
  animation: defile 38s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .bandeau-piste { animation: none; }
}
.bandeau span {
  font-family: var(--serif-display);
  font-size: 17px;
  font-style: italic;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 0 18px;
  color: var(--encre-douce);
}
.bandeau .puce { color: var(--mirabelle); font-style: normal; }
@keyframes defile {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Sections communes ============ */

section { padding: 78px 22px; }

.section-tete {
  text-align: center;
  margin-bottom: 48px;
}
.section-titre {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(40px, 9vw, 72px);
  line-height: 1.04;
  margin-top: 14px;
}
.section-titre em { font-style: italic; color: var(--mirabelle-fonce); }

/* ============ Concept ============ */

.concept { max-width: 1100px; margin: 0 auto; }

.concept-grille {
  display: grid;
  gap: 0;
}
.concept-item {
  padding: 30px 4px;
  border-top: 1px solid var(--hairline);
}
.concept-item:last-child { border-bottom: 1px solid var(--hairline); }
.concept-num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 17px;
  color: var(--mirabelle-fonce);
  letter-spacing: 0.08em;
}
.concept-item h3 {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  margin: 8px 0 10px;
}
.concept-item p {
  color: var(--encre-douce);
  font-size: 17.5px;
  max-width: 46ch;
  text-wrap: pretty;
}

.concept-visuel {
  margin-top: 54px;
  display: grid;
  gap: 26px;
}
.concept-visuel .polaroid { width: 100%; max-width: none; }
.concept-visuel .polaroid--terrasse { transform: rotate(-1.6deg); }
.concept-visuel .polaroid--terrasse img { aspect-ratio: 4 / 4.6; }
.concept-visuel .polaroid--burrata { transform: rotate(1.8deg); }
.concept-visuel .polaroid--burrata img { aspect-ratio: 1 / 1; }

/* ============ La carte ============ */

.carte-section {
  background: var(--encre);
  color: var(--papier);
  background-image: radial-gradient(ellipse at 50% -10%, rgba(214, 149, 31, 0.13), transparent 55%);
}
.carte-section .surtitre { color: rgba(246, 239, 224, 0.6); }
.carte-section .section-titre em { color: var(--mirabelle); }

.menu-carte {
  max-width: 660px;
  margin: 0 auto;
  background: var(--papier-clair);
  color: var(--encre);
  border: 1px solid rgba(41, 34, 27, 0.35);
  outline: 1px solid rgba(41, 34, 27, 0.35);
  outline-offset: 5px;
  padding: 40px 26px 34px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
  position: relative;
}

.menu-carte::before {
  content: "✦";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--mirabelle-fonce);
  font-size: 13px;
}

.menu-entete {
  text-align: center;
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--hairline);
}
.menu-entete h3 {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: 0.02em;
}
.menu-entete p {
  font-style: italic;
  color: var(--encre-douce);
  font-size: 16px;
  margin-top: 4px;
}

.menu-groupe { margin-bottom: 30px; }
.menu-groupe-titre {
  text-align: center;
  font-family: var(--serif-texte);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mirabelle-fonce);
  margin-bottom: 18px;
}

.plat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
}
.plat-nom {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.25;
}
.plat-points {
  flex: 1;
  min-width: 34px;
  border-bottom: 2px dotted rgba(41, 34, 27, 0.4);
  transform: translateY(-4px);
}
.plat-fin {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 16px;
  color: var(--encre-douce);
  white-space: nowrap;
}

.menu-formule {
  border: 1.5px solid var(--mirabelle-fonce);
  border-radius: 3px;
  padding: 18px 20px 16px;
  text-align: center;
  margin: 34px 0 20px;
  position: relative;
  background: rgba(214, 149, 31, 0.07);
}
.menu-formule .formule-libelle {
  font-size: 12.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mirabelle-fonce);
}
.menu-formule .formule-prix {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 38px;
  line-height: 1.15;
}
.menu-formule .formule-note {
  font-style: italic;
  font-size: 15.5px;
  color: var(--encre-douce);
}
.menu-formule .stamp {
  position: absolute;
  top: -15px;
  right: -8px;
  font-size: 10.5px;
  padding: 5px 9px 4px;
  background: var(--papier-clair);
}

.menu-note {
  text-align: center;
  font-style: italic;
  font-size: 15.5px;
  color: var(--encre-douce);
}
.menu-note .annotation { font-size: 1.25em; }

.carte-apartee {
  text-align: center;
  margin: 36px auto 0;
  max-width: 540px;
  color: rgba(246, 239, 224, 0.75);
  font-style: italic;
  font-size: 17px;
}
.carte-apartee .annotation { color: var(--mirabelle); }

/* ============ Galerie filée ============ */

.galerie {
  padding: 0;
  border-bottom: 1px solid var(--hairline);
}
.galerie-piste {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72vw;
  gap: 14px;
  overflow-x: auto;
  padding: 26px 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.galerie-piste::-webkit-scrollbar { display: none; }
.galerie-piste figure {
  scroll-snap-align: center;
  position: relative;
}
.galerie-piste img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(41, 34, 27, 0.2);
  box-shadow: 0 10px 24px -14px rgba(41, 34, 27, 0.5);
}
.galerie-piste figcaption {
  margin-top: 9px;
  font-family: var(--main);
  font-size: 17px;
  color: var(--encre-douce);
  text-align: center;
}
.galerie-indice {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--encre-douce);
  padding-bottom: 20px;
}

/* ============ Reconnaissance ============ */

.reco { max-width: 980px; margin: 0 auto; text-align: center; }

.reco-cartes {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}
.reco-carte {
  border: 1px solid var(--hairline);
  background: var(--papier-clair);
  padding: 40px 28px 36px;
  position: relative;
}
.reco-carte .stamp {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  background: var(--papier-clair);
}
.reco-chiffre {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
}
.reco-chiffre .etoile { color: var(--mirabelle-fonce); font-size: 0.62em; vertical-align: 0.18em; }
.reco-carte h3 {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
}
.reco-carte p {
  margin-top: 10px;
  color: var(--encre-douce);
  font-size: 16.5px;
}
.reco-gm-annee {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 22px;
  color: var(--mirabelle-fonce);
}

/* ============ Infos pratiques ============ */

.infos { max-width: 1100px; margin: 0 auto; }

.infos-grille {
  display: grid;
  gap: 44px;
}

.infos-bloc h3 {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 27px;
  margin-bottom: 18px;
}

.horaires { position: relative; }
.horaires table {
  width: 100%;
  border-collapse: collapse;
}
.horaires td {
  padding: 9px 0;
  border-bottom: 1px dotted rgba(41, 34, 27, 0.3);
  vertical-align: baseline;
  font-size: 17.5px;
}
.horaires td:first-child {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 19px;
  padding-right: 16px;
  white-space: nowrap;
}
.horaires td:last-child { text-align: right; color: var(--encre-douce); }
.horaires .ferme td:last-child {
  font-style: italic;
  color: var(--rouge-bistrot);
}
.horaires .stamp {
  position: absolute;
  top: -26px;
  right: -4px;
  transform: rotate(4deg);
}

.infos-resa {
  margin-top: 22px;
  font-style: italic;
  color: var(--encre-douce);
  font-size: 16.5px;
}

.infos-tel-gros {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: clamp(30px, 7vw, 40px);
  text-decoration: none;
  border-bottom: 2px solid var(--mirabelle);
  line-height: 1.25;
}
.infos-tel-gros:hover { color: var(--mirabelle-fonce); }

.adresse-ligne {
  font-size: 18px;
  line-height: 1.55;
}
.adresse-ligne strong {
  font-family: var(--serif-display);
  font-size: 21px;
}
.adresse-note {
  font-family: var(--main);
  font-size: 19px;
  color: var(--mirabelle-fonce);
  margin-top: 6px;
}

.carte-map {
  margin-top: 20px;
  border: 1px solid rgba(41, 34, 27, 0.3);
  outline: 1px solid rgba(41, 34, 27, 0.3);
  outline-offset: 4px;
  position: relative;
  background: var(--papier-clair);
}
.carte-map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  filter: sepia(0.32) saturate(0.82) contrast(0.96);
}
.carte-map-lien {
  display: block;
  text-align: center;
  padding: 11px;
  font-size: 13.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-top: 1px solid rgba(41, 34, 27, 0.3);
  background: var(--papier-clair);
}
.carte-map-lien:hover { background: var(--encre); color: var(--papier); }

.infos-facade { margin-top: 30px; }
.infos-facade .polaroid { width: 100%; max-width: 420px; transform: rotate(-1.4deg); }
.infos-facade .polaroid img { aspect-ratio: 4 / 4.8; }

/* ============ Footer ============ */

footer {
  background: var(--encre);
  color: rgba(246, 239, 224, 0.82);
  text-align: center;
  padding: 58px 22px 42px;
}
.footer-nom {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(34px, 8vw, 52px);
  color: var(--papier);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.footer-nom em { font-style: italic; color: var(--mirabelle); }
.footer-coords {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.8;
}
.footer-coords a { text-decoration: none; border-bottom: 1px solid rgba(214, 149, 31, 0.6); }
.footer-coords a:hover { color: var(--papier); }
.footer-devise {
  margin-top: 26px;
  font-family: var(--main);
  font-size: 20px;
  color: var(--mirabelle);
}
.footer-filet {
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 239, 224, 0.18);
  max-width: 640px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 239, 224, 0.45);
}

/* ============ Révélation douce (opacité seule, pour ne pas
   écraser les rotations des polaroids/tampons) ============ */

.reveal {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.reveal.is-visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ Desktop ============ */

@media (min-width: 720px) {
  .header-nav { display: flex; }

  .hero { padding-top: 84px; }
  .hero-photos { gap: 34px; }
  .polaroid--3 { display: block; }

  .concept-grille {
    grid-template-columns: 1fr 1fr 1fr;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
  }
  .concept-item { border-top: none; padding: 38px 30px; }
  .concept-item:last-child { border-bottom: none; }
  .concept-item + .concept-item { border-left: 1px solid var(--hairline); }

  .concept-visuel {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
    gap: 44px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
  }
  .concept-visuel .polaroid--burrata { margin-top: 56px; }

  .menu-carte { padding: 56px 64px 46px; }

  .galerie-piste {
    grid-auto-columns: minmax(300px, 360px);
    padding: 34px 40px;
    justify-content: safe center;
  }

  .reco-cartes { grid-template-columns: 1fr 1fr; gap: 28px; }

  .infos-grille { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .infos-facade { margin-top: 36px; }
}

@media (min-width: 1100px) {
  section { padding: 110px 48px; }
  .hero { padding-top: 100px; }
}
