:root {
  --cream: #fbf6ee;
  --cream-2: #f3e8d6;
  --band: var(--rose); /* fond d'une rubrique sur deux, page Menu (le rose de la boutique) */
  --rose: #fbeae3; /* fond des sections « Notre histoire » */
  /* Une seule couleur principale pour tout le site : le brun « chocolat au lait »
     (boutons, liens, icônes, petits titres, pied de page). Le rouge reste réservé au -50 % et au N°1. */
  --cocoa: #7a5a43;
  --cocoa-dark: #5f4533;
  --crust: var(--cocoa);
  --crust-dark: var(--cocoa-dark);
  --red: #c4202f;
  --brown: #3b2a1e;
  --text: #4a3a2e;
  --muted: #7d6b5d;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(59, 42, 30, 0.09);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); color: var(--brown); line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: .4rem; }
p + p { margin-top: .9rem; }

.center { text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--crust);
  margin-bottom: .6rem;
}
.eyebrow.light { color: #ffd9a8; }
.lead { font-size: 1.15rem; max-width: 36rem; }
.intro { max-width: 44rem; margin: 0 auto; color: var(--muted); }
.more { margin-top: 2.5rem; }
.text-link { color: var(--crust); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 999px;
  vertical-align: middle;
}

/* Boutons */
.btn {
  display: inline-block;
  background: var(--cocoa);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--cocoa);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--cocoa-dark); border-color: var(--cocoa-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--cocoa); }
.btn-ghost:hover { background: var(--cocoa); color: var(--white); }
.btn-light { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--brown); }
.btn-small { padding: .5rem 1.1rem; font-size: .95rem; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo img { height: 58px; width: auto; mix-blend-mode: multiply; } /* le fond blanc du logo se fond dans l'en-tête */
/* Ordinateur : petit bretzel rouge + « YouMe Bakery » ; téléphone : logo complet seul */
.logo .logo-full { display: none; }
.logo .logo-icon { height: 44px; }
.logo span { white-space: nowrap; font-family: var(--serif); font-size: 1.35rem; color: var(--brown); font-weight: 700; }
.logo b { color: #c20e0e; } /* même rouge que le bretzel du logo */
.header-inner:has(.nav) { width: min(1240px, 100% - 32px); } /* place pour le menu dans les langues plus longues et les drapeaux */
.header-inner:has(.nav) .logo { flex: none; }
.nav { display: flex; align-items: center; gap: .9rem; }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--crust); }
.nav .nav-login { font-size: .85rem; color: var(--muted); } /* accès discret à l'espace « Mes commandes » */

/* Choix de la langue : un drapeau qui déroule les autres langues (ajouté par js/i18n.js) */
.i18n-attente body { visibility: hidden; }
.langues { position: relative; margin-left: 1rem; flex: none; }
.langues svg { display: block; width: 1.35rem; height: .95rem; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.1); flex: none; }
.langues-bouton { display: flex; align-items: center; gap: .3rem; padding: .35rem .4rem; background: none; border: 0; border-radius: 6px; cursor: pointer; color: var(--muted); font: inherit; }
.langues-bouton:hover, .langues-bouton[aria-expanded="true"] { background: var(--cream-2); }
.langues-fleche { font-size: .75rem; line-height: 1; transition: transform .2s; }
.langues-bouton[aria-expanded="true"] .langues-fleche { transform: rotate(180deg); }
.langues-liste { position: absolute; top: calc(100% + .4rem); right: 0; z-index: 60; display: flex; flex-direction: column; min-width: 9rem; padding: .3rem; background: var(--white); border-radius: 10px; box-shadow: 0 10px 30px rgba(59, 42, 30, .16); }
.langues-liste[hidden] { display: none; }
.langues-liste a { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: 7px; text-decoration: none; font-size: .92rem; color: var(--brown); }
.langues-liste a:hover { background: var(--cream); }
.langues-liste a[aria-current] { font-weight: 600; background: var(--cream); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brown); margin: 5px 0; }

/* Hero (photo en fond) */
.hero {
  position: relative;
  min-height: min(82vh, 720px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(43, 30, 21, .85) 0%, rgba(43, 30, 21, .55) 55%, rgba(43, 30, 21, .15) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 4rem 0; }
.hero h1 { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-rating { margin-top: 1.5rem; color: #ffd9a8; font-size: .95rem; }
.hero-rating strong { color: var(--white); }

/* Horaires & contact */
.infos { margin-top: -3rem; position: relative; z-index: 2; }
.infos-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.2rem; align-items: start; }
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
}
.info-title { font-size: 1.3rem; margin-bottom: 1rem; }
address { font-style: normal; margin-bottom: 1rem; }
.contact-list { list-style: none; }
.contact-list li { margin-bottom: .4rem; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--crust); }
.socials { display: flex; gap: 1rem; margin-top: 1rem; }
.socials a { color: var(--crust); font-size: .95rem; font-weight: 600; }

.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: .35rem .5rem; }
.hours th { text-align: left; font-weight: 500; }
.hours td { text-align: right; }
.hours tr.is-today { background: #fdf0df; font-weight: 600; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--brown); }
.today { margin-top: .8rem; font-weight: 600; font-size: .95rem; }
.today.open { color: #3f7d3a; }
.today.closed { color: var(--red); }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--cream-2); }

.photo-soon {
  background: linear-gradient(135deg, #e7c9a0, #b97a45);
  display: grid; place-items: center;
}
.photo-soon span {
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .8;
}

/* Best-sellers */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.5rem; }
.product {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s, border-radius .25s;
}
.product img, .product .photo-soon {
  aspect-ratio: 1; width: 100%; object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.product .tag { position: absolute; top: 1rem; left: 1rem; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.product h3 { padding: 1.1rem 1.3rem 1.2rem; font-size: 1.2rem; overflow-wrap: break-word; hyphens: auto; }
/* Description cachée, qui s'ouvre sous la carte au survol */
.product p {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 2;
  margin-top: -1px;
  padding: 0 1.3rem 1.4rem;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 18px 30px rgba(59, 42, 30, 0.14);
  color: var(--muted); font-size: .95rem;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.product:hover, .product:focus-within { transform: translateY(-6px); border-radius: var(--radius) var(--radius) 0 0; z-index: 3; }
.product:hover p, .product:focus-within p { opacity: 1; visibility: visible; transform: none; }
/* Écrans tactiles : pas de survol, le texte reste affiché */
@media (hover: none) {
  .product p { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin-top: -.6rem; }
  .product:hover, .product:focus-within { transform: none; border-radius: var(--radius); }
  /* Animation au défilement : la carte apparaît */
  .js .product { opacity: 0; transform: translateY(28px); transition: opacity .6s ease var(--delay, 0s), transform .6s ease var(--delay, 0s); }
  .js .product.is-visible { opacity: 1; transform: none; }

  /* Carte qui se retourne quand on la touche : photo devant, description derrière */
  .product.flip { display: flex; background: none; box-shadow: none; perspective: 1000px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .flip > p { display: none; }
  .flip-inner { flex: 1; display: flex; position: relative; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.4, .2, .2, 1); }
  .flip.is-flipped .flip-inner { transform: rotateY(180deg); }
  .flip-front, .flip-back {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
  }
  .flip-front { position: relative; flex: 1; }
  .flip .flip-front h3 { padding-right: 2.9rem; }
  .flip-back {
    position: absolute; inset: 0;
    transform: rotateY(180deg);
    display: flex; flex-direction: column; justify-content: center;
    padding: 1rem .95rem 1.6rem;
    background: var(--cream-2);
  }
  .flip .flip-back h3 { padding: 0 0 .45rem; font-size: 1rem; color: var(--cocoa-dark); }
  .flip .flip-back p { margin: 0; padding: 0; background: none; border-radius: 0; color: var(--text); font-size: .86rem; line-height: 1.45; }
  .flip-front .flip-hint {
    position: absolute; right: .7rem; bottom: .8rem;
    width: 2rem; height: 2rem; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--cream-2); color: var(--cocoa-dark);
    font-size: 1.05rem;
  }
  .flip-back .flip-hint { position: absolute; right: .8rem; bottom: .7rem; color: var(--cocoa); font-size: 1.05rem; }
  /* Petit signe d'invitation : la carte « hésite » une fois en arrivant à l'écran */
  .flip.is-visible:not(.was-flipped) .flip-inner { animation: flip-nudge 1.2s ease calc(var(--delay, 0s) + .7s) 1; }
  @keyframes flip-nudge { 0%, 100% { transform: none; } 40% { transform: rotateY(-18deg); } 70% { transform: rotateY(6deg); } }
}
@media (hover: none) and (prefers-reduced-motion: reduce) {
  .js .product, .flip-inner { transition: none; animation: none !important; }
}

/* Histoire */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: center; }
.split-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}
.story-teaser-inner { max-width: 760px; text-align: center; }
.story-teaser-inner .btn { margin-top: 1.8rem; }

.family-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: cover;
}
.family-photo figcaption {
  margin-top: .8rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
}
.story-text { font-size: 1.05rem; }
.story-text .hero-actions { margin-top: 2rem; }

.checks { list-style: none; margin-top: 1.4rem; }
.checks li { padding-left: 1.8rem; position: relative; margin-bottom: .5rem; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* Anti-gaspi */
.antigaspi {
  --frost: #2f5577;
  position: relative;
  overflow: clip;
  background: var(--cream-2);
  color: var(--text);
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}
.antigaspi-inner { position: relative; z-index: 1; }

/* Flocons décoratifs : discrets, lents, désactivés si l'utilisateur limite les animations */
.flakes { position: absolute; inset: 0; pointer-events: none; }
.flakes span {
  position: absolute;
  top: -2rem;
  color: var(--frost);
  opacity: .3;
  scale: 1.4;
  animation: flake-fall linear infinite;
}
.flakes span:nth-child(1)  { left: 4%;  font-size: 1.1rem; animation-duration: 18s; animation-delay: -2s; }
.flakes span:nth-child(2)  { left: 14%; font-size: .8rem;  animation-duration: 22s; animation-delay: -11s; }
.flakes span:nth-child(3)  { left: 26%; font-size: 1.4rem; animation-duration: 20s; animation-delay: -6s; }
.flakes span:nth-child(4)  { left: 37%; font-size: .9rem;  animation-duration: 25s; animation-delay: -15s; }
.flakes span:nth-child(5)  { left: 48%; font-size: 1.2rem; animation-duration: 19s; animation-delay: -9s; }
.flakes span:nth-child(6)  { left: 59%; font-size: .75rem; animation-duration: 23s; animation-delay: -3s; }
.flakes span:nth-child(7)  { left: 70%; font-size: 1.3rem; animation-duration: 21s; animation-delay: -13s; }
.flakes span:nth-child(8)  { left: 80%; font-size: .9rem;  animation-duration: 24s; animation-delay: -7s; }
.flakes span:nth-child(9)  { left: 89%; font-size: 1.1rem; animation-duration: 17s; animation-delay: -16s; }
.flakes span:nth-child(10) { left: 96%; font-size: .8rem;  animation-duration: 26s; animation-delay: -20s; }
@keyframes flake-fall {
  from { top: -2rem; transform: translateX(0) rotate(0deg); }
  50%  { transform: translateX(18px) rotate(90deg); }
  to   { top: 100%; transform: translateX(-6px) rotate(180deg); }
}
@media (prefers-reduced-motion: reduce) {
  .flakes span { animation: none; top: auto; }
  .flakes span:nth-child(odd)  { top: 12%; }
  .flakes span:nth-child(even) { top: 70%; }
}
.antigaspi h2 { color: var(--brown); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.antigaspi h3 { font-family: var(--sans); font-size: 1.05rem; color: var(--brown); margin: 1.4rem 0 .6rem; }
.antigaspi strong { color: var(--red); }
.antigaspi-sub { font-family: var(--serif); color: var(--frost); font-size: 1.2rem; font-weight: 600; margin: .25rem 0 .75rem; }
.antigaspi-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.antigaspi-list li {
  position: relative;
  padding: .7rem 1rem .7rem 2.6rem;
  margin-bottom: .6rem;
  background: var(--cream);
  border-radius: 12px;
}
.antigaspi-list li::before { content: "❄"; position: absolute; left: 1rem; top: .7rem; color: var(--frost); }
.antigaspi-howto {
  margin-top: 1.6rem;
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border-left: 4px solid var(--crust);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.antigaspi-howto h3 { margin-top: 0; }
.antigaspi-howto ul { padding-left: 1.2rem; margin: .5rem 0; }
.antigaspi-howto li { margin-bottom: .2rem; }
.antigaspi-tip { color: var(--crust-dark); font-style: italic; }

/* « Pourquoi du pain congelé ? » : toujours ouvert sur ordinateur, dépliable sur téléphone */
.antigaspi-more summary { list-style: none; pointer-events: none; }
.antigaspi-more summary::-webkit-details-marker { display: none; }
.antigaspi-inner { display: grid; grid-template-columns: 1fr 1.15fr; align-items: start; gap: 3.5rem; }
.antigaspi-visual { position: sticky; top: 110px; margin-top: 24px; }
.antigaspi-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.antigaspi-visual .badge { position: absolute; top: -24px; right: -24px; }
.badge {
  flex: none;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  display: grid; place-items: center;
  transform: rotate(-8deg);
}

/* Tea room (bientôt) : même mise en page que le pain congelé, mais inversée */
.tearoom-inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 3.5rem; }
.tearoom h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .9rem; }
.tearoom-visual { position: relative; max-width: 420px; width: 100%; justify-self: center; }
.tearoom-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tearoom-visual .badge { position: absolute; top: -24px; right: -24px; }
.badge-soon { font-size: 1.15rem; line-height: 1.1; text-align: center; padding: .6rem; }
.tearoom-note { margin-top: .35rem; font-size: .9rem; color: var(--crust); font-weight: 600; }

/* Avis */
/* Bandeau défilant : la piste contient 2 copies identiques des avis et glisse de -50 % en boucle */
.reviews-marquee {
  margin-top: 2.5rem;
  padding: 1rem 0 2rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reviews { display: flex; width: max-content; }
.reviews.is-scrolling { animation: reviews-scroll var(--duration, 40s) linear infinite; }
.reviews-marquee:hover .reviews,
.reviews-marquee:focus-within .reviews { animation-play-state: paused; }
@keyframes reviews-scroll { to { transform: translateX(-50%); } }
.review {
  position: relative;
  flex: none;
  width: min(340px, 78vw);
  margin-right: 1.6rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem 1.9rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.review::after { /* grand guillemet décoratif */
  content: "\201C";
  position: absolute; right: 1.2rem; bottom: -2.2rem;
  font-family: var(--serif); font-size: 9rem; line-height: 1;
  color: var(--cream-2); pointer-events: none;
}
.review:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(59, 42, 30, 0.14); }
.review-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.review-avatar {
  position: relative; flex: none;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--crust), var(--crust-dark));
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--cream-2);
  overflow: hidden;
}
.review:nth-child(3n+2) .review-avatar { background: linear-gradient(135deg, #c4202f, #8e1621); }
.review:nth-child(3n+3) .review-avatar { background: linear-gradient(135deg, #b88a4a, #7a5a2c); }
.review-avatar::before {
  content: attr(data-initial);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--white);
}
.review-avatar img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.review-who { flex: 1; min-width: 0; }
.review cite { display: block; font-style: normal; font-weight: 600; color: var(--brown); line-height: 1.3; }
.review-stars { display: flex; gap: 1px; color: #e3a008; font-size: 1rem; }
.review-stars i { font-style: normal; display: inline-block; }
.review-google { width: 22px; height: 22px; flex: none; align-self: flex-start; }
.review blockquote { position: relative; z-index: 1; }
.review blockquote p { font-family: var(--serif); font-size: 1.15rem; color: var(--brown); }

/* Animation : les cartes apparaissent au défilement, puis les étoiles s'allument une à une */
.js .review { opacity: 0; transform: translateY(40px) scale(.97); }
.js .review.is-visible {
  opacity: 1; transform: none;
  transition: opacity .7s ease calc(var(--i) * .15s), transform .7s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * .15s), box-shadow .35s ease;
}
.js .review.is-visible:hover { transform: translateY(-6px); transition-delay: 0s; }
.js .review-avatar { transform: scale(.4) rotate(-20deg); opacity: 0; }
.js .review.is-visible .review-avatar { animation: avatar-pop .6s cubic-bezier(.3, 1.6, .5, 1) calc(var(--i) * .15s + .25s) forwards; }
.js .review-stars i { opacity: 0; transform: scale(0); }
.js .review.is-visible .review-stars i { animation: star-pop .4s cubic-bezier(.3, 1.8, .5, 1) forwards; }
.review.is-visible .review-stars i:nth-child(1) { animation-delay: calc(var(--i) * .15s + .45s); }
.review.is-visible .review-stars i:nth-child(2) { animation-delay: calc(var(--i) * .15s + .55s); }
.review.is-visible .review-stars i:nth-child(3) { animation-delay: calc(var(--i) * .15s + .65s); }
.review.is-visible .review-stars i:nth-child(4) { animation-delay: calc(var(--i) * .15s + .75s); }
.review.is-visible .review-stars i:nth-child(5) { animation-delay: calc(var(--i) * .15s + .85s); }
@keyframes avatar-pop { to { transform: none; opacity: 1; } }
@keyframes star-pop { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .review, .js .review-avatar, .js .review-stars i { opacity: 1; transform: none; animation: none !important; transition: none; }
  .reviews.is-scrolling { animation: none; }
  .reviews-marquee { overflow-x: auto; }
}

.reviews-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.8rem; margin-top: 1rem; }

/* Restons en contact : Instagram en haut, WhatsApp + Facebook à gauche, plan à droite */
/* Couleurs volontairement sobres, aux tons de la boulangerie : on reconnaît chaque réseau à son icône */
.connect {
  --wa: var(--crust);
  --fb: var(--crust);
  --ig: var(--crust);
}
.icon { width: 1.5rem; height: 1.5rem; flex: none; }

.insta {
  margin-top: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.insta-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .8rem 1.5rem;
  margin-bottom: 1.2rem;
}
.insta-handle {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--brown);
  text-decoration: none;
}
.insta-handle .icon { color: var(--ig); width: 1.9rem; height: 1.9rem; }
.insta-handle:hover span { text-decoration: underline; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.insta-grid a { display: block; overflow: hidden; border-radius: 10px; }
.insta-grid img {
  width: 100%; height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .35s, opacity .35s;
}
.insta-grid a:hover img { transform: scale(1.06); opacity: .9; }

.connect-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; margin-top: 1.5rem; align-items: stretch; }
.connect-cards { display: grid; gap: 1.2rem; }
.connect-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.4rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--accent);
  text-decoration: none;
  color: var(--text);
  transition: transform .2s;
}
.connect-card:hover { transform: translateY(-3px); }
.connect-card.wa { --accent: var(--wa); }
.connect-card.fb { --accent: var(--fb); }
.connect-icon {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
}
.connect-text { display: flex; flex-direction: column; gap: .3rem; }
.connect-text strong { font-family: var(--serif); font-size: 1.25rem; color: var(--brown); }
.connect-text span { font-size: .95rem; color: var(--muted); }
.connect-text .connect-cta { color: var(--accent); font-weight: 600; margin-top: .2rem; }

.visit-map { display: flex; flex-direction: column; gap: .8rem; }
.map-frame { position: relative; flex: 1; display: flex; }
/* La carte entière mène à l'itinéraire ; le bas reste libre pour les mentions de Google */
.map-overlay { position: absolute; inset: 0 0 28px; border-radius: var(--radius) var(--radius) 0 0; }
.visit-map iframe {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 260px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.map-btn { align-self: flex-start; }

@media (max-width: 820px) {
  .connect-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .visit-map iframe { min-height: 240px; }
}
@media (max-width: 600px) {
  .insta { padding: 1rem; }
  .insta-head { flex-direction: column; align-items: stretch; text-align: center; }
  .insta-handle { justify-content: center; }
  .btn-insta, .map-btn { align-self: stretch; text-align: center; }
  .connect-card { padding: 1.2rem; }
}

/* Pied de page */
.site-footer { background: var(--cocoa); color: #f3e8d6; padding: 2.5rem 0 1.2rem; font-size: .92rem; }

/* Haut : logo + liens vers les pages */
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem 2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.footer-nav a { font-weight: 600; font-size: .98rem; }

/* 3 colonnes : Nous trouver · Contact · Suivez-nous */
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-top: 1.8rem; }
.footer-title {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ffd9a8;
  margin-bottom: .9rem;
}
.footer-list { list-style: none; display: grid; gap: .7rem; }
.footer-list li { display: flex; align-items: flex-start; gap: .65rem; line-height: 1.45; }
.footer-icon { width: 1.15rem; height: 1.15rem; flex: none; margin-top: .1rem; opacity: .85; }

@media (max-width: 700px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-cols { grid-template-columns: 1fr; gap: 1.6rem; }
}
/* Logo sur une étiquette crème (le logo a un fond blanc et des lettres foncées, illisibles sur le brun) */
.footer-logo {
  display: inline-block;
  background: var(--cream);
  border-radius: 14px;
  padding: .5rem .9rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.footer-logo img { display: block; width: 150px; height: auto; mix-blend-mode: multiply; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.copyright { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .85rem; }

/* Page Menu */
.page-head {
  background: linear-gradient(rgba(43, 30, 21, .8), rgba(43, 30, 21, .8)),
    url("../images/panorama.jpg") center / cover;
  color: var(--white);
  padding: 4rem 0 2.5rem;
}
.page-head h1 { color: var(--white); }
.menu-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.menu-tabs a {
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .92rem;
}
.menu-tabs a:hover { background: var(--white); color: var(--brown); }
/* « Comment commander » : pas une rubrique, donc un bouton plein qui se distingue */
.menu-tabs .tab-order { background: var(--white); color: var(--cocoa); border-color: var(--white); font-weight: 600; }
.menu-tabs .tab-order:hover { background: var(--cream-2); border-color: var(--cream-2); }

.menu-body { max-width: 820px; padding: 3rem 0 4rem; }
.menu-cat { margin-bottom: 3rem; }
/* Une rubrique sur deux sur un fond un peu plus foncé, sur toute la largeur de l'écran */
.menu-cat:nth-of-type(even) {
  background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
  padding: 2.5rem 0;
  margin: -2.5rem 0 3rem;
}
.menu-cat:nth-of-type(even) + .menu-cat { margin-top: 3rem; }
.menu-cat:nth-of-type(even) .menu-thumb { background: #f4d8cd; }
.menu-cat:nth-of-type(even) .avail { background: var(--white); }
.menu-cat h2 { font-size: 1.8rem; border-bottom: 2px solid var(--crust); padding-bottom: .5rem; }
/* Petit drapeau suisse à côté du titre */
.flag-ch { width: .75em; height: .75em; vertical-align: -.05em; margin: 0 .15em; }
.menu-cat-intro { color: var(--muted); margin-bottom: .5rem; }
.menu-list { list-style: none; }
.menu-item {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed #d9c7ae;
}
.menu-item > div { flex: 1; }
/* Petite photo devant le nom (case beige tant qu'il n'y a pas de photo) */
.menu-thumb {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--cream-2);
}
/* Produit détouré : posé directement sur le fond de la page, avec une ombre très légère */
.menu-cat .menu-thumb.detoure {
  background: none;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgba(59, 42, 30, .28));
  /* Sans cadre, le produit peut être plus grand que les cases photo, et plus large que haut
     (la plupart des pains sont allongés : tresse, baguette…) */
  width: 104px; height: 84px;
  margin: -.5rem -.4rem;
}
@media (max-width: 600px) {
  .menu-cat .menu-thumb.detoure { width: 92px; height: 76px; margin: -.4rem -.5rem; }
}
.menu-item h3 { font-size: 1.15rem; margin: 0; }
.menu-item p { color: var(--muted); font-size: .93rem; }
/* Info « vendu congelé » sous certains produits */
.menu-item .menu-day { color: var(--crust); font-size: .82rem; font-weight: 600; margin-top: .15rem; }
.menu-item .menu-frozen { color: var(--crust); font-size: .85rem; font-weight: 600; margin-top: .2rem; }
.price { font-weight: 600; color: var(--crust); white-space: nowrap; }
.price:empty { display: none; }
/* Deux formats (grand / petit) : un prix par ligne */
.price > span { text-align: right; font-weight: 400; color: var(--muted); font-size: .9rem; }
.price > span b { font-weight: 600; color: var(--crust); font-size: 1rem; }
/* Spécialités de saison : un bouton qui s'ouvre sous les spécialités suisses */
.seasonal { margin-top: 1.2rem; }
.seasonal summary {
  display: inline-flex; align-items: center; gap: .5rem;
  list-style: none; cursor: pointer;
  padding: .45rem 1.1rem;
  border: 1.5px solid var(--cocoa); border-radius: 999px;
  background: var(--white); color: var(--cocoa);
  font-weight: 600; font-size: .95rem;
}
.seasonal summary::-webkit-details-marker { display: none; }
.seasonal summary::after { content: "▾"; transition: transform .2s; }
.seasonal[open] summary::after { transform: rotate(180deg); }
.seasonal-intro { color: var(--muted); font-size: .93rem; margin: .8rem 0 .2rem; }
.menu-item.hors-saison h3, .menu-item.hors-saison > div > p:first-of-type { opacity: .75; }
.menu-note {
  background: var(--cream-2);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}
.menu-note h2 { font-size: 1.4rem; margin-bottom: .4rem; }

/* Disponibilité d'une rubrique (« Tous les jours », « Sur commande »…) */
.avail {
  display: inline-block;
  margin: .2rem 0 .4rem;
  padding: .2rem .8rem;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--crust);
  font-size: .85rem;
  font-weight: 600;
}

/* Le pain du jour */
.week { margin-bottom: 3rem; }
.week h2 { font-size: 1.8rem; margin-bottom: .3rem; }
.week-intro { color: var(--muted); margin-bottom: 1rem; }
.week-days { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; }
.week-days li {
  background: var(--white);
  border: 1px solid #ecdcc4;
  border-radius: 14px;
  padding: .8rem .9rem;
  line-height: 1.3;
}
.week-days span { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.week-days b { font-family: var(--serif); color: var(--brown); font-size: 1rem; }
.week-days small { display: block; color: var(--muted); font-size: .82rem; margin-top: .2rem; }
.week-days .flag-ch-wrap { display: inline; text-transform: none; letter-spacing: 0; margin: 0; }
.week-days li.is-today { border: 2px solid var(--crust); background: #fdf0df; }
.week-days li.is-today span::after { content: " · aujourd'hui"; color: var(--crust); }
html:lang(en) .week-days li.is-today span::after { content: " · today"; }
html:lang(de) .week-days li.is-today span::after { content: " · heute"; }
html:lang(ru) .week-days li.is-today span::after { content: " · сегодня"; }

/* Comment commander */
.order-info { background: var(--white); border: 1px solid #ecdcc4; border-radius: var(--radius); padding: 1.6rem 1.8rem; margin-bottom: 1.5rem; }
.order-info h2 { font-size: 1.6rem; margin-bottom: .8rem; }
.order-steps { padding-left: 1.3rem; }
.order-steps li + li { margin-top: .5rem; }
.order-steps li::marker { color: var(--crust); font-weight: 700; }
.order-tip { margin-top: 1rem; color: var(--crust); font-weight: 600; font-size: .95rem; }

/* Petite flèche « retour en haut », en bas à droite, visible après avoir fait défiler */
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid #e4d2b8; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--cocoa);
  font-size: 1.2rem; line-height: 1;
  box-shadow: 0 4px 14px rgba(59, 42, 30, .15);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s, bottom .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--white); color: var(--cocoa-dark); }
/* Au-dessus de la barre du panier quand elle est affichée */
body:has(.cart-bar:not([hidden])) .to-top { bottom: 84px; }
.add-demo { display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--cocoa); color: var(--white); font-weight: 700; line-height: 1; }

/* Bouton « + » à côté de chaque prix */
.price.has-add { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.price.has-add:not(:has(> span)) { flex-direction: row; align-items: center; gap: .6rem; }
.price > span { display: flex; align-items: center; justify-content: flex-end; gap: .4rem; }
.add {
  flex: none;
  width: 30px; height: 30px;
  border: 0; border-radius: 50%;
  background: var(--cocoa); color: var(--white);
  font-size: 1.2rem; font-weight: 700; line-height: 1;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.add:hover { background: var(--cocoa-dark); transform: scale(1.08); }
.add.added { background: #4f7a43; }

/* Barre du panier, en bas de l'écran */
.cart-bar {
  position: fixed; left: 50%; bottom: 16px; z-index: 50;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 1rem;
  width: min(560px, 100% - 32px);
  padding: .8rem 1.2rem;
  border: 0; border-radius: 999px;
  background: var(--cocoa); color: var(--white);
  font: 600 1rem var(--sans);
  box-shadow: 0 10px 30px rgba(59, 42, 30, .3);
  cursor: pointer;
}
.cart-bar[hidden] { display: none; }
.cart-bar-cta { margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }
body:has(.cart-bar:not([hidden])) .site-footer { padding-bottom: 6rem; }

/* Fenêtre du panier */
.cart {
  width: min(520px, 100% - 32px);
  max-height: calc(100% - 32px);
  margin: auto;
  border: 0; border-radius: var(--radius);
  background: var(--cream); color: var(--text);
  box-shadow: var(--shadow);
}
.cart::backdrop { background: rgba(43, 30, 21, .55); }
.cart-inner { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: .9rem; }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { font-size: 1.6rem; margin: 0; }
.cart-close { border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; }
.cart-list { list-style: none; }
.cart-list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .8rem; padding: .6rem 0; border-bottom: 1px dashed #d9c7ae; }
.cart-name { font-weight: 600; color: var(--brown); }
.cart-qty { display: flex; align-items: center; gap: .5rem; }
.cart-qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--cocoa); background: var(--white); color: var(--cocoa); font-size: 1rem; cursor: pointer; }
.cart-price { min-width: 4.5rem; text-align: right; color: var(--crust); font-weight: 600; font-size: .92rem; }
.cart-total { font-weight: 700; color: var(--brown); text-align: right; }
.cart-sum { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cart-sum .cart-total { margin: 0; margin-left: auto; }
.cart-more { border: 1px solid var(--cocoa); border-radius: 999px; background: var(--white); color: var(--cocoa); font: inherit; font-size: .9rem; font-weight: 600; padding: .4rem .9rem; cursor: pointer; }
.cart-more:hover { background: var(--cocoa); color: var(--white); }
.cart label { display: grid; gap: .3rem; font-weight: 600; color: var(--brown); font-size: .95rem; }
.cart input:not([type="radio"]), .cart textarea {
  font: inherit; font-weight: 400; color: var(--text);
  padding: .55rem .7rem;
  border: 1px solid #d9c7ae; border-radius: 10px;
  background: var(--white);
}
.cart fieldset { border: 0; display: grid; gap: .3rem; }
.cart legend { font-weight: 600; color: var(--brown); font-size: .95rem; margin-bottom: .3rem; }
.cart label.radio { display: flex; align-items: center; gap: .5rem; font-weight: 400; color: var(--text); }
.cart .optional { font-weight: 400; color: var(--muted); }
.cart-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.cart-row input { min-width: 0; }
.cart-hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.cart-hint.cart-warn { color: var(--red); font-weight: 600; }
.cart-warn { color: var(--red); font-size: .9rem; font-weight: 600; }
.cart-notes { list-style: none; display: grid; gap: .5rem; }
.cart-notes li { border-radius: 12px; padding: .7rem .9rem; font-size: .9rem; line-height: 1.45; }
.cart-notes .info { background: #eef3fa; color: #2f4a6b; }
.cart-notes .warn { background: #fbe9e7; color: #8f1d22; font-weight: 600; }
.cart-notes .cut { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; margin-top: .5rem; }
.cart-notes .cut.a-choisir { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 8px; } /* choix oublié */
.cart-notes .cut label { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; padding: .4rem .3rem; background: var(--white); border: 1px solid #c9d4e3; border-radius: 8px; font-weight: 500; font-size: .8rem; line-height: 1.2; color: inherit; cursor: pointer; }
.cart-notes .cut input { position: absolute; opacity: 0; }
.cart-notes .cut label:has(input:checked) { background: var(--cocoa); border-color: var(--cocoa); color: var(--white); font-weight: 600; }
.cart-notes .cut label:has(input:focus-visible) { outline: 2px solid var(--cocoa); outline-offset: 2px; }
.cart-notes .cut button { grid-column: 1 / -1; justify-self: end; margin: .1rem 0 0; padding: 0; background: none; border: 0; font-size: .78rem; font-weight: 400; text-decoration: underline; color: inherit; opacity: .75; cursor: pointer; }
.cart-notes button {
  margin-top: .4rem; padding: .3rem .8rem;
  border: 1px solid currentColor; border-radius: 999px;
  background: var(--white); color: inherit;
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
}
.cart-info { background: var(--cream-2); border-radius: 12px; padding: .8rem 1rem; font-size: .9rem; }
.cart-info-title { font-weight: 700; color: var(--brown); font-size: .95rem; margin-bottom: .4rem; }
.cart-info ol { padding-left: 1.2rem; display: grid; gap: .25rem; }
.cart-info li::marker { color: var(--crust); font-weight: 700; }
.cart-send { width: 100%; text-align: center; }
.note-confidentialite { font-size: .8rem; color: var(--muted, #7d6b5d); text-align: center; }
.note-confidentialite a { color: inherit; text-decoration: underline; }
.pro-form .note-confidentialite { text-align: left; }
.cart-inner[hidden] { display: none; }
.cart-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* champ piège anti-robots */
.cart-send:disabled { opacity: .7; cursor: wait; transform: none; }
.cart-error a { color: inherit; }
.cart-done-num { font-weight: 700; color: var(--brown); font-size: 1.1rem; }
.cart-clear { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; justify-self: center; }

@media (max-width: 700px) {
  .week-days { grid-template-columns: 1fr; gap: .4rem; }
  .week-days li { display: grid; grid-template-columns: 6.5rem 1fr; align-items: baseline; padding: .6rem .9rem; }
  html:lang(ru) .week-days li { grid-template-columns: 8.5rem 1fr; }
  .week-days span { margin: 0; }
  .week-days small { grid-column: 2; margin: 0; }
  html .week-days li.is-today span::after { content: ""; }
  .cart-bar { gap: .6rem; padding: .75rem 1rem; font-size: .95rem; }
}

/* Téléphone : les prix passent sous la description pour laisser de la place au nom */
@media (max-width: 600px) {
  .menu-item { flex-wrap: wrap; row-gap: .5rem; }
  .menu-item > div { flex: 1 1 0; min-width: 0; }
  .menu-item > .price, .price.has-add:not(:has(> span)) {
    display: flex;
    flex: 1 0 100%;
    flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center;
    gap: .4rem 1.2rem;
  }
  .cart-list li { grid-template-columns: 1fr auto; row-gap: .3rem; }
  .cart-name { grid-column: 1 / -1; }
  .cart-qty { justify-self: start; }
}

/* ---------- FAQ (questions qui s'ouvrent au clic) ---------- */
.faq-list { max-width: 820px; margin: 2rem auto 0; }
.faq-item { border-bottom: 1px dashed #d9c6ad; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 600;
  color: var(--brown);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--crust);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--crust); }
.faq-item p { color: var(--muted); padding: 0 2rem 1.2rem 0; }

/* Tablette */
@media (max-width: 960px) {
  .infos-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
/* Menu burger dès que les liens ne tiennent plus sur une ligne */
@media (max-width: 1190px) {
  .nav-toggle { display: block; order: 2; margin-left: .3rem; }
  .langues { order: 1; margin-left: auto; }
  .nav {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-2);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav.open { max-height: 480px; }
  .nav a { padding: .9rem; width: 100%; text-align: center; }
  .nav .btn { width: auto; margin: .5rem 0 1rem; }
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split-visual img { max-height: 420px; }
  .antigaspi-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .antigaspi-visual { position: relative; top: 0; max-width: 420px; margin: 24px auto 0; }
  .antigaspi-visual .badge { right: -8px; }
  .tearoom-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .tearoom-visual { max-width: 360px; margin-top: 24px; }
  .tearoom-visual .badge { right: -8px; }
}

@media (max-width: 600px) {
  .logo span { display: none; }
  .logo .logo-full { display: block; }
  .logo .logo-icon { display: none; }
  .hero::after { background: rgba(43, 30, 21, .7); }
  .infos { margin-top: -2rem; }
  .infos-grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .product h3 { font-size: 1.05rem; padding: .9rem 1rem 1rem; }
  .product .tag { top: .7rem; left: .7rem; }
  .product p { font-size: .88rem; padding: 0 1rem 1.1rem; }

  /* Pain congelé : section raccourcie sur téléphone */
  .antigaspi-inner { gap: 1.5rem; }
  .antigaspi-visual { max-width: 240px; }
  .tearoom-inner { gap: 1.5rem; }
  .tearoom-visual { max-width: 260px; }
  .tearoom-visual .badge { width: 80px; height: 80px; font-size: .9rem; top: -16px; right: -16px; }
  .antigaspi-visual .badge { width: 80px; height: 80px; font-size: 1.4rem; top: -16px; right: -16px; }
  .antigaspi-more {
    margin-top: 1rem;
    background: var(--cream);
    border-radius: 12px;
  }
  .antigaspi-more summary {
    pointer-events: auto;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    padding: .8rem 1rem;
  }
  .antigaspi-more summary::after { content: "+"; font-size: 1.3rem; color: var(--crust); }
  .antigaspi-more[open] summary::after { content: "−"; }
  .antigaspi-more .antigaspi-why { margin: 0; }
  .antigaspi-more .antigaspi-list { padding: 0 .6rem .6rem; }
}

/* Notre histoire : version courte (accueil) */
.story { background: var(--rose); }
.story-teaser-inner { max-width: 44rem; text-align: center; }
.story-teaser .btn { margin-top: 2rem; }
/* Photo ronde à cheval entre le beige des best-sellers et le rose */
.story-teaser { padding-top: 0; }
#best-sellers { padding-bottom: calc(clamp(3.5rem, 8vw, 6rem) + 60px); }
.story-portrait {
  position: relative;
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
  margin: -80px auto 1.6rem;
}

/* Notre histoire : page complète */
.family-photo {
  background: var(--white);
  padding: .8rem .8rem 1rem;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  max-width: 380px;
  justify-self: center;
}
.family-photo img { border-radius: 3px; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: center 35%; }
.family-photo figcaption {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  text-align: center;
  margin-top: .7rem;
}
.story-text { font-size: 1.08rem; }

/* Formulaire « Demander nos tarifs » (page Professionnels) */
.pro-form { display: grid; gap: .9rem; margin-top: 1rem; }
.pro-form label { display: grid; gap: .3rem; align-content: start; font-weight: 600; color: var(--brown); font-size: .95rem; }
.pro-form input:not([type="checkbox"]), .pro-form select, .pro-form textarea {
  font: inherit; font-weight: 400; color: var(--text); min-width: 0;
  padding: .55rem .7rem;
  border: 1px solid #d9c7ae; border-radius: 10px;
  background: var(--white);
}
.pro-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.pro-form fieldset { border: 0; }
.pro-form legend { font-weight: 600; color: var(--brown); font-size: .95rem; margin-bottom: .4rem; }
.pro-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .35rem 1rem; }
.pro-form label.check { display: flex; align-items: center; gap: .5rem; font-weight: 400; color: var(--text); }
.pro-form .optional { font-weight: 400; color: var(--muted); }
.pro-hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.pro-hint.cart-warn { color: var(--red); font-weight: 600; }
.pro-date { max-width: calc(50% - .45rem); }
.pro-send { justify-self: start; }
.pro-send:disabled { opacity: .7; cursor: wait; transform: none; }
.pro-error a { color: inherit; }
.pro-done { background: var(--cream-2); border-radius: 12px; padding: 1rem 1.2rem; margin-top: 1rem; }
.pro-done-title { font-weight: 700; color: var(--brown); font-size: 1.1rem; margin-bottom: .3rem; }
@media (max-width: 600px) {
  .pro-row { grid-template-columns: 1fr; }
  .pro-date { max-width: none; }
  .pro-send { justify-self: stretch; text-align: center; }
}

/* Formulaire de commande des clients pro (pro/?c=…) */
.pro-commande { padding: 2rem 0 4rem; max-width: 760px; }
.pro-commande h1 { font-size: 2rem; margin-bottom: .3rem; }
.pro-client { font-weight: 600; color: var(--crust); margin-bottom: .6rem; }
.pro-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.pro-table th, .pro-table td { padding: .55rem .5rem; border-bottom: 1px dashed #d9c7ae; text-align: right; vertical-align: middle; }
.pro-table th:first-child, .pro-table td:first-child { text-align: left; }
.pro-table thead th { color: var(--brown); font-size: .85rem; }
.pro-table td:first-child { font-weight: 600; color: var(--brown); }
.pro-table small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.pro-table input { width: 5.5rem; text-align: right; }
.pro-table .montant { font-weight: 600; color: var(--crust); white-space: nowrap; }
.pro-table .prix { white-space: nowrap; }
.pro-table tr.a-corriger input { border-color: var(--red); outline: 2px solid var(--red); }
.pro-table tfoot th { text-align: right; color: var(--brown); }
.pro-table .pro-total { font-weight: 700; font-size: 1.1rem; color: var(--brown); white-space: nowrap; }
.pro-acompte th, .pro-acompte td { font-weight: 400 !important; color: var(--muted) !important; border-bottom: 0; white-space: nowrap; }
.pro-commande .pro-date { max-width: none; }
.pro-commande .pro-date input { max-width: 14rem; }
@media (max-width: 600px) {
  .pro-table thead th:nth-child(3), .pro-table td.prix { display: none; }
  .pro-table tfoot th { text-align: left; }
  .pro-table tfoot th[colspan] { font-size: .9rem; }
  .pro-table input { width: 3.8rem; padding: .45rem .4rem !important; }
  .pro-table th, .pro-table td { padding: .5rem .25rem; }
  .pro-table { font-size: .9rem; }
  .pro-commande .order-info { padding: 1.2rem 1rem; }
  .pro-commande h1 { font-size: 1.7rem; }
}

/* Page Confidentialité */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: .7rem; }
.legal ul { padding-left: 1.2rem; display: grid; gap: .3rem; margin-bottom: .7rem; }
.legal-date { margin-top: 2rem; font-size: .85rem; opacity: .75; }
.page-head h1 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 600px) {
  .hero .hero-actions .btn { flex: 1 1 100%; text-align: center; }
}
