/* Thème Chez Soli : traduction de maquette/maquette-v2.dc.html, mobile d'abord. */

/* Polices hébergées avec le thème (SIL Open Font License, fichiers Fontsource) : aucun appel à Google Fonts.
   Réduites aux graisses 400 à 700 et aux tailles optiques 12 à 72 px, les seules employées.
   Fraunces italique en deux fichiers : le « S » du logo (1,5 Ko, sur toutes les pages), le reste (70 Ko) seulement
   si une page en affiche d'autres lettres (titre de l'accueil). */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/fraunces-latin-opsz-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 700; font-display: swap; src: url('../fonts/fraunces-latin-opsz-italic-s.woff2') format('woff2-variations'); unicode-range: U+0053; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 700; font-display: swap; src: url('../fonts/fraunces-latin-opsz-italic.woff2') format('woff2-variations'); unicode-range: U+0000-0052, U+0054-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/dm-sans-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/caveat-latin-wght-normal.woff2') format('woff2-variations'); }

:root {
  --creme: #F8F0E7;
  --creme-clair: #FBF6F0;
  --papier: #FFFDF9;
  --chocolat: #3A1A10;
  --chocolat-moyen: #4A2318;
  --chocolat-fonce: #2E140B;
  --terracotta: #A8431C;
  --terracotta-fonce: #7E3114;
  --orange: #E07A3F;
  --rose: #F3DCD2;
  --rose-fonce: #E9C9B8;
  --sable: #F1E4D7;
  --texte-2: #5E3628;
  --texte-3: #6B4334;
  --peche: #F0B591;
  --sur-chocolat: #E3CFC2;
  --sur-chocolat-2: #D9C2B4;
  --ligne: #EADBCD;
  --ligne-sombre: #5C2E20;

  --f-titre: 'Fraunces', Georgia, serif;
  --f-texte: 'DM Sans', -apple-system, system-ui, sans-serif;
  --f-main: 'Caveat', cursive;

  --r-carte: 32px;
  --r-bloc: 28px;
  --r-petit: 20px;
  --ombre-polaroid: 0 18px 40px rgba(58, 26, 16, 0.16);

  --largeur: 1120px;
  --gouttiere: 16px;
  --section: 72px;
}

@media (min-width: 720px) {
  :root { --gouttiere: 24px; --section: 120px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--creme);
  color: var(--chocolat);
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Pied de page en bas de l'écran même quand la page est courte. */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }

img { max-width: 100%; display: block; }
a { color: var(--terracotta); }
a:hover { color: var(--terracotta-fonce); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--chocolat); color: var(--creme); padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { top: 12px; color: var(--creme); }

/* Comme la maquette : 1120 px de contenu, gouttières en plus. */
.wrap { max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }

/* Typo partagée */
.hand {
  font-family: var(--f-main); font-weight: 600; font-size: 26px; line-height: 1.2;
  color: var(--terracotta); display: inline-block;
}
@media (min-width: 720px) { .hand { font-size: 28px; } }
.h2 {
  margin: 0; font-family: var(--f-titre); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(36px, 8vw, 56px); line-height: 1.04;
}
.h3 { margin: 0; font-family: var(--f-titre); font-weight: 400; font-size: clamp(26px, 5vw, 30px); line-height: 1.15; }
.lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--texte-2); }
em { font-style: italic; }

/* Boutons pilule, cibles ≥ 44 px */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 28px; border-radius: 999px;
  font-size: 17px; font-weight: 500; text-decoration: none; border: 0; cursor: pointer;
  font-family: inherit;
}
.btn--terracotta { background: var(--terracotta); color: #FFF8F1; }
.btn--terracotta:hover { background: var(--terracotta-fonce); color: #FFF8F1; }
.btn--chocolat { background: var(--chocolat); color: var(--creme); }
.btn--chocolat:hover { background: var(--chocolat-fonce); color: var(--creme); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--rose { background: var(--rose); color: var(--chocolat); }
.btn--rose:hover { background: var(--rose-fonce); color: var(--chocolat); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; }

/* Polaroïd */
.polaroid {
  margin: 0; position: relative; background: var(--papier);
  padding: 10px 10px 40px; border-radius: 6px; box-shadow: var(--ombre-polaroid);
}
.polaroid img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: 6px; text-align: center;
  font-family: var(--f-main); font-weight: 600; font-size: clamp(18px, 4.6vw, 21px); color: var(--texte-2); line-height: 1.3;
}

/* ---------- Nav ---------- */
.site-header { background: var(--creme); border-bottom: 1px solid var(--ligne); }
.site-header .wrap {
  min-height: 60px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--chocolat); text-decoration: none; font-family: var(--f-titre); font-weight: 600; font-size: 20px;
}
.brand:hover { color: var(--chocolat); }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  font-style: italic; font-size: 20px; color: var(--chocolat);
}
.nav { display: flex; align-items: center; gap: 0 26px; font-size: 15px; }
.nav__links { display: none; gap: 0 26px; }
.nav__links a, .nav-mobile a {
  color: var(--texte-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center;
}
.nav__links a:hover, .nav-mobile a:hover { color: var(--terracotta); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
/* Sélecteur FR | EN (module « Langues ») : à côté du bouton sur ordinateur ; sur téléphone, au bout de la ligne de liens,
   pour que le logo et le bouton restent sur une seule ligne. */
.site-header .c-lang { color: var(--chocolat); font-size: 14px; }
.site-header .c-lang a:hover { color: var(--terracotta); opacity: 1; }
.nav-mobile .c-lang { margin-left: auto; }
/* Liste déroulante des langues ouverte : la ligne de liens défilante ne la coupe pas. */
.nav-mobile:has(.c-lang__menu[open]) { overflow: visible; }
@media (max-width: 819px) { .nav .c-lang--large { display: none; } }
/* Sur téléphone, les liens passent sur une ligne défilante sous le logo. */
.nav-mobile {
  width: 100%; display: flex; gap: 0 22px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gouttiere) * -1); padding: 0 var(--gouttiere); font-size: 15px;
}
.nav-mobile::-webkit-scrollbar { display: none; }
.nav-mobile a { white-space: nowrap; }
@media (min-width: 820px) {
  .nav__links { display: flex; }
  .nav-mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px;
  padding-top: 48px; padding-bottom: 72px;
}
@media (min-width: 720px) { .hero { padding-top: 88px; padding-bottom: 96px; } }
.hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__text .hand { font-size: clamp(26px, 6vw, 30px); transform: rotate(-2deg); transform-origin: left; }
.hero h1 {
  margin: 0; font-family: var(--f-titre); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(42px, 10.5vw, 68px); line-height: 1.04;
}
.hero h1 em { font-weight: 600; color: var(--terracotta); }
.hero__lead { max-width: 500px; font-size: clamp(17px, 4.4vw, 19px); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; }
.hero__address { font-size: 15px; color: var(--texte-3); }

/* Les polaroïds gardent les proportions de la maquette à toutes les largeurs : jamais coupés. */
.hero__photos { flex: 1 1 400px; min-width: 0; position: relative; aspect-ratio: 484 / 600; max-width: 484px; margin: 0 auto; width: 100%; }
.hero__photos .polaroid--big {
  position: absolute; right: 0; top: 0; width: 78%;
  padding: 14px 14px 52px; transform: rotate(2.5deg);
}
.hero__photos .polaroid--big img { aspect-ratio: 349 / 440; }
.hero__photos .polaroid--big figcaption { bottom: 12px; font-size: clamp(20px, 5vw, 24px); }
.hero__photos .polaroid--small {
  position: absolute; left: 0; bottom: 0; width: 46%;
  box-shadow: 0 14px 30px rgba(58, 26, 16, 0.18); transform: rotate(-5deg);
}
.hero__photos .polaroid--small img { aspect-ratio: 203 / 210; object-position: top; }

/* ---------- Bento ---------- */
.bento { padding-bottom: var(--section); }
.bento__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
/* Sous le grand bloc : les 2 cartes se partagent la largeur (pas de 3e colonne vide). */
@media (min-width: 720px) { .bento__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bento__card { border-radius: var(--r-carte); overflow: hidden; display: flex; flex-direction: column; }
.bento__card > img { width: 100%; height: 240px; object-fit: cover; }
@media (min-width: 720px) { .bento__card > img { height: 280px; } }
.bento__body { padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 720px) { .bento__body { padding: 36px 40px 40px; } }
.bento__body p { margin: 0; font-size: 17px; line-height: 1.6; }
.bento__card--rose { background: var(--rose); }
.bento__card--rose p { color: var(--texte-2); }
.bento__card--orange { background: var(--orange); }
.bento__card--orange .h3 { color: var(--chocolat-fonce); }
.bento__card--orange p { color: var(--chocolat); }

.bento__feature {
  grid-column: 1 / -1; background: var(--chocolat-moyen); color: var(--creme);
  border-radius: var(--r-carte); overflow: hidden; display: flex; flex-wrap: wrap;
}
.bento__feature-text {
  flex: 1 1 380px; min-width: 0; padding: 32px 24px; display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
@media (min-width: 720px) { .bento__feature-text { padding: 56px; } }
.bento__feature .hand { color: var(--peche); }
.bento__feature h2 {
  margin: 0; font-family: var(--f-titre); font-weight: 400; letter-spacing: -0.015em;
  font-size: clamp(32px, 7vw, 44px); line-height: 1.08;
}
.bento__feature p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--sur-chocolat); }
.bento__feature > img { flex: 1 1 380px; min-width: 0; height: 320px; object-fit: cover; }
@media (min-width: 720px) { .bento__feature > img { height: 460px; } }

/* ---------- Agenda ---------- */
.agenda { background: var(--sable); padding: var(--section) 0; }
.agenda .wrap { display: flex; flex-direction: column; gap: 40px; }
.agenda__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.agenda__title { display: flex; flex-direction: column; gap: 6px; }
.agenda__title .h2 { font-size: clamp(44px, 10vw, 60px); line-height: 1.02; }
.agenda__intro { margin: 0; max-width: 400px; font-size: 17px; line-height: 1.6; color: var(--texte-2); }
.agenda__intro a { font-weight: 500; }
.agenda__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
/* 1 atelier : une carte de largeur raisonnable ; 2 à 4 : la ligne est partagée ; au-delà, on passe à la ligne. */
.agenda__grid:has(> :only-child) { grid-template-columns: minmax(0, 560px); }
@media (min-width: 1120px) { .agenda__grid { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); } }
.agenda__empty { margin: 0; font-size: 18px; color: var(--texte-2); }

.event-card {
  background: var(--creme-clair); border-radius: 22px; padding: 24px; min-height: 200px;
  display: flex; flex-direction: column; gap: 10px;
}
@media (min-width: 720px) { .event-card { padding: 28px; } }
.event-card__date { font-size: 14px; font-weight: 700; color: var(--terracotta); }
.event-card h3 { margin: 0; font-family: var(--f-titre); font-weight: 600; font-size: 23px; line-height: 1.22; }
.event-card__seats { margin: 0; font-size: 14px; color: var(--texte-3); }
.event-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.event-card__price { font-size: 17px; color: var(--texte-2); white-space: nowrap; }
.event-card__price--todo { font-size: 15px; font-style: italic; color: var(--texte-3); }
.event-card--full .event-card__date { color: var(--texte-3); }

.tricot {
  background: var(--creme-clair); border-radius: var(--r-bloc); overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: stretch;
}
.tricot > img { flex: 1 1 320px; min-width: 0; height: 240px; object-fit: cover; }
@media (min-width: 720px) { .tricot > img { flex: 0 1 320px; height: 300px; } }
.tricot__text { flex: 1 1 360px; min-width: 0; padding: 28px 24px 32px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
@media (min-width: 720px) { .tricot__text { padding: 40px 44px; } }
.tricot__text .hand { font-size: 26px; }
.tricot__text h3 { margin: 0; font-family: var(--f-titre); font-weight: 400; font-size: 32px; line-height: 1.15; }
.tricot__text p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--texte-2); }

/* ---------- Bar à perles ---------- */
.perles { background: var(--chocolat); color: var(--creme); padding: var(--section) 0; }
.perles .wrap { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.perles__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.perles .hand { color: var(--peche); font-size: clamp(26px, 6vw, 30px); }
.perles p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--sur-chocolat-2); }
.perles .polaroid { margin-top: 16px; align-self: flex-start; width: 240px; transform: rotate(-3deg); box-shadow: none; }
@media (min-width: 720px) { .perles .polaroid { width: 260px; } }
.perles .polaroid img { height: 220px; }
.perles__list { flex: 1 1 420px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.perles__list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--ligne-sombre); font-size: 18px; line-height: 1.3;
}
.perles__price { font-family: var(--f-titre); font-size: 20px; font-weight: 600; white-space: nowrap; }

/* ---------- Fidélité ---------- */
.fidelite { padding: var(--section) 0; }
.fidelite .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.fidelite__photo { flex: 1 1 320px; min-width: 0; height: 420px; object-fit: cover; border-radius: var(--r-bloc); }
@media (min-width: 720px) { .fidelite__photo { flex: 0 1 400px; height: 520px; } }
.fidelite__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.fidelite__text .h2 { font-size: clamp(34px, 7.5vw, 50px); line-height: 1.06; letter-spacing: -0.015em; }
.stamps {
  display: flex; align-items: center; gap: 16px; margin-top: 12px;
  background: var(--orange); border-radius: var(--r-petit); padding: 18px 18px;
}
@media (min-width: 720px) { .stamps { gap: 20px; padding: 22px 24px; } }
.stamps__grid { flex: 1 1 auto; display: grid; grid-template-columns: repeat(var(--n, 10), minmax(0, 1fr)); gap: 6px; }
.stamps__grid span { aspect-ratio: 1; border-radius: 999px; border: 1.5px solid var(--chocolat); }
.stamps__grid span.on { background: var(--chocolat); }
.stamps__count { font-family: var(--f-titre); font-size: 22px; font-weight: 600; color: var(--chocolat-fonce); white-space: nowrap; }
.fidelite .btn { align-self: flex-start; margin-top: 8px; }
.fidelite__soon { margin: 8px 0 0; font-size: 15px; color: var(--texte-3); }

/* ---------- Infos ---------- */
.infos { background: var(--rose); padding: var(--section) 0; }
.infos .wrap { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.infos__text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.infos__text .h2 { font-size: clamp(38px, 8vw, 52px); }
.infos__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.info-card { background: var(--creme-clair); border-radius: var(--r-petit); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.info-card--wide { grid-column: 1 / -1; }
.info-card__label { font-size: 14px; font-weight: 700; color: var(--terracotta); }
.info-card__value { font-size: 18px; line-height: 1.45; color: var(--chocolat); white-space: pre-line; }
/* Horaires d'ouverture : jours regroupés, aujourd'hui en gras. */
.hours { margin: 4px 0 0; display: grid; gap: 4px; font-size: 17px; line-height: 1.45; color: var(--chocolat); }
.hours__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; }
.hours__row dt { font-weight: 500; }
.hours__row dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours__row.is-closed dd { color: var(--texte-3); }
.hours__row.is-today { font-weight: 700; }
.hours__status { align-self: flex-start; display: inline-block; margin-top: 2px; padding: 3px 12px; border-radius: 999px; background: var(--sable); color: var(--texte-2); font-size: 14px; font-weight: 600; }
.hours__status.is-open { background: #DCEFE3; color: #1E5A3F; }
.hours__closure { display: block; padding: 8px 12px; border-radius: 12px; background: #FBEBC8; color: #6B4A0B; font-size: 15px; font-weight: 600; }
.hours__note { display: block; margin-top: 6px; font-size: 15px; color: var(--texte-3); white-space: pre-line; }
.ardoise { padding-bottom: var(--section); }
.ardoise__title { display: block; margin: 0 0 14px; }
.ardoise__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
/* Un seul plat : une carte de taille normale, sous le titre (sinon sa photo prendrait toute la largeur). */
.ardoise__list:has(> :only-child) { max-width: 420px; }
.ardoise__photo { align-self: stretch; width: auto; max-width: none; height: auto; flex: none; margin: -24px -24px 8px; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--r-petit) var(--r-petit) 0 0; }
.presse { padding-bottom: var(--section); }
.presse__title { display: block; margin: 0 0 14px; }
.presse__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.presse__phrase { font-size: 17px; line-height: 1.45; color: var(--chocolat); }
.presse__thumb { display: block; align-self: stretch; aspect-ratio: 1.91 / 1; overflow: hidden; border-radius: calc(var(--r-bloc) / 2); background: var(--creme); margin-bottom: 4px; }
.presse__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.presse__media { display: flex; align-items: center; gap: 10px; }
.presse__logo { height: 32px; width: auto; max-width: 96px; object-fit: contain; border-radius: 6px; flex: none; }
/* Un ou deux articles : les cartes se partagent la largeur, image à gauche (au-delà, colonnes ordinaires). */
@media (min-width: 761px) {
  .presse__list:is(:has(> li:only-child), :has(> li:nth-child(2):last-child)) { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
  .presse__list:has(> li:only-child) { grid-template-columns: minmax(0, 820px); }
  .presse__list:is(:has(> li:only-child), :has(> li:nth-child(2):last-child)) > li:has(> .presse__thumb) { display: grid; grid-template-columns: 44% 1fr; grid-template-rows: auto auto 1fr; column-gap: 24px; row-gap: 4px; align-content: start; }
  .presse__list:is(:has(> li:only-child), :has(> li:nth-child(2):last-child)) > li > :not(.presse__thumb) { grid-column: 2; }
  .presse__list:is(:has(> li:only-child), :has(> li:nth-child(2):last-child)) > li > .presse__thumb { grid-column: 1; grid-row: 1 / -1; aspect-ratio: auto; min-height: 200px; margin: 0; height: 100%; }
}
.presse__link { margin-top: auto; min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; color: var(--terracotta); }
.amenities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.amenities li { padding: 6px 12px; border-radius: 999px; background: var(--creme); color: var(--chocolat); font-size: 16px; line-height: 1.3; }
.info-card__value--todo { font-size: 16px; font-style: italic; color: var(--texte-3); }
.infos__social { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 17px; font-weight: 500; }
.infos__social a { min-height: 44px; display: inline-flex; align-items: center; }
.infos__map {
  flex: 1 1 440px; min-width: 0; min-height: 360px; border-radius: var(--r-bloc); overflow: hidden;
  background: var(--rose-fonce); position: relative;
}
@media (min-width: 720px) { .infos__map { min-height: 420px; } }
.infos__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.infos__map-link {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  background: rgba(248, 240, 231, 0.94); color: var(--chocolat); text-decoration: none;
  padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center;
  border-radius: 999px; font-size: 14px; font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--chocolat); color: var(--sur-chocolat-2); }
.site-footer .wrap {
  padding-top: 26px; padding-bottom: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 8px 20px; font-size: 14px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer a { color: var(--sur-chocolat-2); min-height: 44px; display: inline-flex; align-items: center; }
.site-footer a:hover { color: var(--creme); }

/* ---------- Pages du cœur (réservation, légal) ---------- */
.c-page { max-width: 720px; margin: 0 auto; padding: 40px var(--gouttiere) 88px; }
.c-card { background: var(--papier); border-radius: var(--r-bloc); padding: 28px 22px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 720px) { .c-card { padding: 44px 48px; } }
.c-title { margin: 0; font-family: var(--f-titre); font-weight: 400; font-size: clamp(32px, 7vw, 44px); line-height: 1.08; letter-spacing: -0.015em; }
.c-hand { font-family: var(--f-main); font-weight: 600; font-size: 28px; color: var(--terracotta); transform: rotate(-2deg); transform-origin: left; display: inline-block; }
.c-recap { display: flex; flex-direction: column; gap: 8px; }
.c-recap__date { font-size: 14px; font-weight: 700; color: var(--terracotta); }
.c-recap__price { margin: 0; font-family: var(--f-titre); font-size: 22px; font-weight: 600; }
.c-muted { margin: 0; color: var(--texte-3); font-size: 15px; }
.c-card p { margin: 0; }
.c-alert { background: var(--sable); border-radius: 14px; padding: 14px 18px; font-size: 16px; }
.c-form { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.c-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.c-field { display: flex; flex-direction: column; gap: 6px; }
.c-field label { font-size: 15px; font-weight: 500; }
.c-field input, .c-field select {
  min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--ligne);
  background: var(--creme-clair); color: var(--chocolat); font: inherit; font-size: 17px;
}
.c-field input:focus, .c-field select:focus { border-color: var(--terracotta); outline: none; box-shadow: 0 0 0 3px rgba(224, 122, 63, .35); }
.c-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--texte-2); }
.c-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--terracotta); flex: none; }
.c-error { margin: 0; color: #9B1C1C; font-size: 14px; font-weight: 500; }
.c-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c-btn {
  align-self: flex-start; min-height: 50px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--terracotta); color: #FFF8F1; font: inherit; font-size: 17px; font-weight: 500; cursor: pointer;
  /* Aussi pour un lien : centré, sans soulignement. */
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.c-btn:hover { background: var(--terracotta-fonce); color: #FFF8F1; }
.c-btn--ghost { background: transparent; color: var(--terracotta); border: 1.5px solid var(--terracotta); }
.c-btn--ghost:hover { background: var(--rose); color: var(--terracotta); }
.c-back { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; text-decoration: none; margin-bottom: 8px; }
.c-prose h2 { font-family: var(--f-titre); font-weight: 600; font-size: 22px; margin: 32px 0 8px; }
.c-prose p { margin: 0 0 12px; color: var(--texte-2); }
.c-todo { font-style: italic; color: var(--texte-3); }

.c-alert--test { background: #FEF3C7; color: #78350F; }

/* Atelier permanent : choix du jour puis du créneau */
.c-subtitle { margin: 8px 0 0; padding: 0; font-family: var(--f-titre); font-weight: 600; font-size: 20px; }
.c-recap__photo { width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--r-petit); }
.c-days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x proximity; }
.c-day {
  flex: none; scroll-snap-align: start; min-width: 64px; min-height: 56px; padding: 8px 10px; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--sable); color: var(--chocolat); text-decoration: none; font-weight: 700; font-size: 15px;
}
.c-day small { font-weight: 400; font-size: 12px; color: var(--texte-3); }
.c-day.is-current { background: var(--terracotta); color: #FFF8F1; }
.c-day.is-current small { color: #FFF8F1; }
.c-day.is-full { opacity: .55; }
.c-slots { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 10px; }
.c-slots legend { margin-bottom: 10px; }
.c-slot {
  min-height: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 14px;
  border: 1.5px solid var(--ligne); border-radius: 14px; background: var(--papier); cursor: pointer;
}
.c-slot input { width: 20px; height: 20px; margin: 0; accent-color: var(--terracotta); }
.c-slot__time { font-weight: 700; }
.c-slot__left { flex-basis: 100%; font-size: 14px; color: var(--texte-3); }
.c-slot:has(input:checked) { border-color: var(--terracotta); background: var(--rose); }
.c-slot.is-full { opacity: .55; cursor: default; }
/* Heure d'arrivée au choix : des heures plus serrées, toutes les 30 min */
.c-slots.is-timed { grid-template-columns: repeat(auto-fill, minmax(min(124px, 100%), 1fr)); }
.c-slots__hint { grid-column: 1 / -1; margin-top: -4px !important; }

/* Atelier relié à une carte : ce qu'on fabrique, en quantités */
.c-articles { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.c-articles legend { margin-bottom: 4px; }
.c-articles__hint { font-family: var(--f-texte); font-weight: 400; font-size: 15px; color: var(--texte-3); }
.c-articles__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.c-article { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ligne); }
.c-article__photo { width: 56px; height: 56px; flex: none; object-fit: cover; border-radius: 12px; }
.c-article__name { flex: 1; min-width: 0; font-weight: 500; cursor: pointer; }
.c-article__name small { display: block; font-weight: 400; font-size: 14px; color: var(--texte-3); }
.c-article__price { font-family: var(--f-titre); font-weight: 600; white-space: nowrap; }
.c-qty { display: flex; align-items: center; gap: 4px; flex: none; }
.c-qty input {
  width: 56px; min-height: 44px; padding: 0 6px; text-align: center; border-radius: 12px; border: 1.5px solid var(--ligne);
  background: var(--creme-clair); color: var(--chocolat); font: inherit; font-size: 17px; font-weight: 600;
}
.c-qty input:focus { border-color: var(--terracotta); outline: none; box-shadow: 0 0 0 3px rgba(224, 122, 63, .35); }
.c-qty__btn {
  width: 40px; height: 44px; border: 0; border-radius: 12px; background: var(--sable); color: var(--chocolat);
  font: inherit; font-size: 20px; font-weight: 600; cursor: pointer;
}
.c-qty__btn:hover { background: var(--rose); }
/* Avec les boutons − / + (affichés par le script), pas de petites flèches en plus dans le champ. */
.c-qty:has(.c-qty__btn:not([hidden])) input { -moz-appearance: textfield; }
.c-qty:has(.c-qty__btn:not([hidden])) input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.c-article.is-picked .c-article__name { color: var(--terracotta); font-weight: 700; }
.c-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 17px; font-weight: 600; }
.c-total output { font-family: var(--f-titre); font-size: 22px; }
.c-total__time { flex-basis: 100%; font-size: 15px; font-weight: 500; color: var(--texte-2); }
.c-articles__done ul { margin: 6px 0 0; padding-left: 20px; color: var(--texte-2); }
@media (max-width: 420px) {
  .c-article { flex-wrap: wrap; }
  .c-article__name { flex-basis: calc(100% - 68px); }
  .c-article__price { margin-left: auto; }
  .c-qty { margin-left: auto; }
}

/* ---------- Carte en ligne (page du cœur) ---------- */
.c-menu__section { margin-top: 32px; }
.c-menu__title { margin: 0 0 6px; font-family: var(--f-titre); font-weight: 600; font-size: 24px; color: var(--chocolat); }
.c-menu__cols { display: flex; justify-content: flex-end; gap: 16px; font-size: 12px; font-weight: 700; color: var(--texte-3); text-transform: uppercase; letter-spacing: .06em; }
.c-menu__cols span { min-width: 64px; text-align: right; }
.c-menu__items { list-style: none; margin: 0; padding: 0; }
.c-menu__item { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.c-menu__name { font-weight: 700; }
.c-menu__tag { display: inline-block; margin-left: 6px; padding: 0 5px; border: 1px solid var(--terracotta); border-radius: 4px; font-size: 11px; font-weight: 700; color: var(--terracotta); text-decoration: none; }
.c-menu__desc, .c-menu__supp { margin: 2px 0 0; font-size: 15px; color: var(--texte-2); }
.c-menu__prices { display: flex; gap: 16px; font-family: var(--f-titre); font-weight: 600; white-space: nowrap; }
.c-menu__prices span { min-width: 64px; text-align: right; }
.c-menu__note { font-family: var(--f-texte); font-weight: 400; font-style: italic; color: var(--texte-3); }
.c-menu__quote { margin: 16px 0 0; text-align: center; font-family: var(--f-main); font-size: 24px; color: var(--terracotta); }
.c-menu__legend { margin-top: 24px; }
.c-menu__allerg { margin-left: 8px; font-size: 12px; color: var(--texte-3); font-variant-numeric: tabular-nums; }
/* Page allergènes */
.c-allergens__filter fieldset { border: 0; margin: 0; padding: 0; }
.c-allergens__filter legend { margin-bottom: 10px; }
.c-allergens__checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 4px 16px; }
.c-allergens__checks .c-check { min-height: 44px; align-items: center; }
.c-menu__item.is-blocked { opacity: .55; }
/* Vignette d'un plat (admin > Cartes > photo) devant son nom. */
.c-menu__item--photo { justify-content: flex-start; align-items: center; }
.c-menu__item--photo > div:first-of-type { flex: 1 1 auto; min-width: 0; }
.c-menu__photo { flex: none; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: rgba(0,0,0,.04); }
.c-allergens__flag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #F8D7D3; color: #8A1C12; font-size: 12px; font-weight: 700; }
.c-allergens__flag.is-traces { background: #FBEBC8; color: #6B4A0B; }
.c-menu__ticon { display: inline-block; height: 18px; width: auto; margin-left: 6px; vertical-align: -3px; }
.c-menu__note-section { margin: 12px 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hours--next { opacity: .85; font-size: 15px; }
