/* ==========================================================================
   Alison & Loïck — Boulangerie bio & artisanale, Touques
   Design system : éditorial artisan — Fraunces / Work Sans / Caveat
   ========================================================================== */

:root {
  /* Couleurs */
  --cream:      #FBF4EB;
  --cream-soft: #F6ECDF;
  --paper:      #FFFDF9;
  --ink:        #221711;
  --ink-soft:   #6E5A4C;
  --line:       rgba(34, 23, 17, 0.12);
  --berry:      #AB005E;
  --berry-deep: #83004A;
  --berry-tint: #FCE7F0;
  --gold:       #B98737;
  --gold-soft:  #F3E2C4;
  --choc:       #291A10;
  --choc-soft:  #3A2818;

  /* Typo */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, sans-serif;
  --font-hand: "Caveat", cursive;

  /* Échelle fluide */
  --text-hero:    clamp(2.6rem, 6.5vw, 5.5rem);
  --text-h2:      clamp(2rem, 4vw, 3.25rem);
  --text-h3:      clamp(1.25rem, 2vw, 1.5rem);
  --text-lead:    clamp(1.05rem, 1.4vw, 1.25rem);
  --text-body:    1rem;
  --text-small:   0.875rem;

  /* Rythme */
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container: 1240px;
  --radius: 20px;
  --radius-lg: 32px;

  --shadow-soft: 0 6px 30px rgba(34, 23, 17, 0.07);
  --shadow-lift: 0 18px 50px rgba(34, 23, 17, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--berry); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

/* --- Utilitaires -------------------------------------------------------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
}
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--light::before, .eyebrow--light::after { background: var(--gold-soft); }

.lead { font-size: var(--text-lead); color: var(--ink-soft); max-width: 38em; }

.hand { font-family: var(--font-hand); font-size: 1.75rem; color: var(--berry); }

/* --- Boutons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
  will-change: transform;
}
.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--berry { background: var(--berry); color: #fff; box-shadow: 0 10px 26px rgba(171, 0, 94, 0.32); }
.btn--berry:hover { background: var(--berry-deep); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(171, 0, 94, 0.4); }
.btn--ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--choc-soft); transform: translateY(-2px); }
.btn--line { border: 1.5px solid var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--berry); color: var(--berry); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--berry);
}
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, transform 0.45s var(--ease);
}
.site-header.is-solid {
  background: rgba(251, 244, 235, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 5.5rem;
}
.brand { display: inline-flex; align-items: center; }
.brand-mark {
  height: 66px;
  width: auto;
  display: block;
  transition: height 0.35s var(--ease), filter 0.4s;
}
.brand:hover .brand-mark { filter: drop-shadow(0 3px 12px rgba(171, 0, 94, 0.35)); }
/* Sur le héro sombre, une ombre douce détache le logo du fond */
.header-on-dark:not(.is-solid) .brand-mark {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}
.site-header.is-solid .brand-mark { height: 54px; }
@media (max-width: 860px) {
  .brand-mark { height: 52px; }
  .site-header.is-solid .brand-mark { height: 48px; }
}

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-block: 0.35rem;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--berry);
  transition: right 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--berry); font-weight: 600; }

.nav-cta { flex-shrink: 0; }
.nav-cta .btn { padding: 0.7rem 1.5rem; font-size: 0.88rem; }

/* Header sur héro sombre : texte blanc tant que non scrollé */
.header-on-dark:not(.is-solid) .nav-links a { color: #fff; }
.header-on-dark:not(.is-solid) .nav-toggle span { background: #fff; }

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 110;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s, background 0.4s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: var(--cream);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }
  .nav-links a { font-size: 1.5rem; font-family: var(--font-display); color: var(--ink) !important; }
  .nav-links.is-open { opacity: 1; pointer-events: auto; }
}

/* --- Héros -------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: hero-zoom 14s var(--ease) forwards;
}
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Sombre en haut (lisibilité de la nav) + sombre en bas (lisibilité du titre) */
  background: linear-gradient(to bottom,
    rgba(20, 10, 5, 0.55) 0%,
    rgba(20, 10, 5, 0.12) 16%,
    rgba(20, 10, 5, 0.28) 52%,
    rgba(20, 10, 5, 0.86) 100%);
}
.hero__inner { width: 100%; padding-block: clamp(5rem, 12vh, 8rem); }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
}
.hero__badge .medal { color: #FFD37A; }
.hero h1 {
  font-size: var(--text-hero);
  font-weight: 480;
  max-width: 14em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: #FFC7DE; }
.hero p { font-size: var(--text-lead); max-width: 34em; opacity: 0.92; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 3.5rem;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse { 50% { transform: scaleY(0.55); transform-origin: top; } }

/* Héro compact (pages intérieures) */
.hero--page { min-height: 72svh; }
.hero--soft {
  min-height: auto;
  color: var(--ink);
  align-items: center;
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(171, 0, 94, 0.07), transparent 60%),
    radial-gradient(45% 70% at 8% 90%, rgba(185, 135, 55, 0.1), transparent 60%),
    var(--cream);
  padding-top: 5rem;
}
.hero--soft::after { display: none; }
.hero--soft h1 { color: var(--ink); }
.hero--soft h1 em { color: var(--berry); }
.hero--soft p { color: var(--ink-soft); }

/* --- Bandeau défilant (marquee) ----------------------------------------- */
.marquee {
  overflow: hidden;
  background: var(--berry);
  color: #fff;
  padding-block: 0.9rem;
  white-space: nowrap;
  border-block: 1px solid rgba(255, 255, 255, 0.15);
}
.marquee--gold { background: var(--choc); color: var(--gold-soft); }
.marquee__track {
  display: inline-flex;
  gap: 3rem;
  padding-right: 3rem;
  animation: marquee 30s linear infinite;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.marquee .star { font-style: normal; opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .hero__media img { animation: none; }
}

/* --- Section intro (duo) ------------------------------------------------ */
.duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

.arch-photo { position: relative; }
.arch-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.arch-photo::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid var(--gold);
  border-radius: 999px 999px calc(var(--radius-lg) + 10px) calc(var(--radius-lg) + 10px);
  opacity: 0.45;
  pointer-events: none;
}
.arch-photo__tag {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 1.35rem;
  padding: 0.4rem 1.4rem;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

blockquote.pull {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 420;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  line-height: 1.4;
  color: var(--ink);
  margin-block: 1.5rem 2rem;
}
blockquote.pull strong { color: var(--berry); font-weight: 560; }

/* --- Piliers / engagements ---------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.pillar__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--berry-tint);
  color: var(--berry);
  margin-bottom: 1.25rem;
}
.pillar:nth-child(2n) .pillar__icon { background: var(--gold-soft); color: var(--gold); }
.pillar h3 { font-size: var(--text-h3); margin-bottom: 0.5rem; }
.pillar p { font-size: var(--text-small); color: var(--ink-soft); }

/* --- Chiffres ------------------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: left;
}
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { border-left: 2px solid var(--gold); padding-left: 1.4rem; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 560;
  line-height: 1;
  color: var(--gold-soft);
}
.stat__num sup { font-size: 0.45em; font-style: italic; }
.stat h3 { font-size: 1.05rem; margin-block: 0.6rem 0.3rem; color: #fff; }
.stat p { font-size: var(--text-small); color: rgba(255, 255, 255, 0.65); }

.band-dark {
  background:
    radial-gradient(80% 120% at 90% 0%, rgba(171, 0, 94, 0.25), transparent 55%),
    var(--choc);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

/* --- Créations (produits) ------------------------------------------------ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cards--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .cards--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards, .cards--four { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.card__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.card__body { padding: 1.5rem 1.6rem 1.7rem; }
.card__body h3 { font-size: var(--text-h3); margin-bottom: 0.4rem; }
.card__body p { font-size: var(--text-small); color: var(--ink-soft); }

/* Media placeholder gourmand (sans photo) */
.card__media--pattern {
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 100% at 20% 0%, rgba(171, 0, 94, 0.09), transparent 55%),
    radial-gradient(80% 90% at 90% 100%, rgba(185, 135, 55, 0.16), transparent 60%),
    var(--cream-soft);
}
.card__media--pattern .glyph {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--gold);
  opacity: 0.85;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media--pattern .glyph { transform: rotate(-6deg) scale(1.1); }

/* --- Où nous trouver ------------------------------------------------------ */
.find {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.find--swap { grid-template-columns: 1fr 1.2fr; }
@media (max-width: 960px) { .find, .find--swap { grid-template-columns: 1fr; } }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: saturate(0.85);
}

.spot-list { display: flex; flex-direction: column; gap: 1rem; }
.spot {
  flex: 1;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.spot:hover { transform: translateX(6px); box-shadow: var(--shadow-soft); }
.spot__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--berry-tint);
  color: var(--berry);
}
.spot h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.spot p { font-size: var(--text-small); color: var(--ink-soft); }
.spot p strong { color: var(--berry); font-weight: 600; }

/* --- Témoignages ----------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2.2rem 2rem 2rem;
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
}
.quote::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--berry);
  opacity: 0.25;
  display: block;
  margin-bottom: 1rem;
}
.quote p { font-size: 0.98rem; color: var(--ink-soft); flex: 1; }
.quote footer {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.quote cite { font-style: normal; font-weight: 600; font-size: 0.9rem; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 0.85rem; }

/* --- Mosaïque Instagram ----------------------------------------------------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1rem;
}
@media (max-width: 700px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
.mosaic a {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}
.mosaic a.tall { grid-row: span 2; }
.mosaic img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.mosaic a:hover img { transform: scale(1.07); }
.mosaic a::after {
  content: "→ Voir sur Instagram";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(34, 23, 17, 0.45);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.35s;
}
.mosaic a:hover::after { opacity: 1; }

/* --- CTA pro ------------------------------------------------------------------ */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--text-h2); max-width: 18em; margin-inline: auto; margin-bottom: 1rem; }
.cta-band h2 em { font-style: italic; color: #FFC7DE; }
.cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 36em; margin: 0 auto 2.25rem; }

/* --- Étapes (page pros) ------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  counter-increment: step;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  position: relative;
}
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  color: var(--berry);
  opacity: 0.18;
  position: absolute;
  top: 1rem; right: 1.4rem;
  line-height: 1;
}
.step h3 { font-size: var(--text-h3); margin-bottom: 0.5rem; }
.step p { font-size: var(--text-small); color: var(--ink-soft); }

.check-list { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.75rem; }
.check-list li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--ink-soft); }
.check-list .tick {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--berry-tint);
  color: var(--berry);
  font-size: 0.7rem;
  font-weight: 700;
}

/* --- Formulaires ------------------------------------------------------------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--berry);
  box-shadow: 0 0 0 4px rgba(171, 0, 94, 0.12);
}
.field ::placeholder { color: #B5A395; }

/* --- Horaires ------------------------------------------------------------------ */
.hours { width: 100%; border-collapse: collapse; }
.hours tr { border-bottom: 1px dashed var(--line); }
.hours tr:last-child { border-bottom: none; }
.hours td { padding: 0.7rem 0; font-size: 0.95rem; }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours .closed td { color: var(--ink-soft); }
.hours .closed td:last-child { color: var(--berry); font-style: italic; font-weight: 500; }
.hours .today td { color: var(--berry); }

/* --- Timeline (histoire) --------------------------------------------------------- */
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 4.6;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
}
.split-media .float-note {
  position: absolute;
  bottom: -1.25rem;
  right: -0.5rem;
  transform: rotate(2deg);
  background: var(--gold-soft);
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 1.3rem;
  line-height: 1.25;
  padding: 0.9rem 1.4rem;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  max-width: 240px;
}

/* --- Footer ---------------------------------------------------------------------- */
.site-footer {
  background: var(--choc);
  color: rgba(255, 255, 255, 0.78);
  margin-top: var(--section);
  overflow: hidden;
}
.footer-word {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 480;
  font-size: clamp(3.5rem, 11vw, 9rem);
  line-height: 1.05;
  text-align: center;
  color: rgba(255, 255, 255, 0.08);
  padding-top: clamp(2rem, 5vw, 4rem);
  white-space: nowrap;
  user-select: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.2rem;
}
.footer-grid a { transition: color 0.25s; }
.footer-grid a:hover { color: #fff; }
.footer-grid li { margin-bottom: 0.65rem; font-size: 0.93rem; }
.footer-brand p { font-size: 0.93rem; max-width: 26em; margin-top: 1.25rem; }
.footer-brand .brand-mark { height: 84px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* --- Révélation au scroll (activée seulement si JS présent : html.js) ---------------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Divers -------------------------------------------------------------------------- */
.section-head { max-width: 44em; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--text-h2); margin-bottom: 1rem; text-wrap: balance; }
.section-head h2 em { font-style: italic; color: var(--berry); }
.section-head p { color: var(--ink-soft); font-size: var(--text-lead); }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.chip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.bg-paper { background: var(--paper); }
.bg-soft { background: var(--cream-soft); }
