:root {
  --red: #1a3137;
  --accent-light: #354a4f;
  --blue-grey: #cddce4;
  --beige: #e7dcc3;
  --cream: #faf8f4;
  --cream-light: #fcfbf8;
  --ink: #2b2b28;
  --font-title: "Carter One", cursive;
  --font-body: "Nunito", sans-serif;
  /* Provisoire en attendant le fichier de la police "TrashHand" */
  --font-hand: "Caveat", cursive;
  --diagonal: clamp(36px, 5vw, 70px);
  --gutter: 1.5rem;
  --grain: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyMDAnIGhlaWdodD0nMjAwJz4KICA8ZmlsdGVyIGlkPSduJz4KICAgIDxmZVR1cmJ1bGVuY2UgdHlwZT0nZnJhY3RhbE5vaXNlJyBiYXNlRnJlcXVlbmN5PScwLjcnIG51bU9jdGF2ZXM9JzMnIHN0aXRjaFRpbGVzPSdzdGl0Y2gnIHJlc3VsdD0ndCcvPgogICAgPGZlQ29sb3JNYXRyaXggaW49J3QnIHR5cGU9J21hdHJpeCcgdmFsdWVzPScwIDAgMCAwIDAgIDAgMCAwIDAgMCAgMCAwIDAgMCAwICAwIDAgMCAwLjA5IDAnLz4KICA8L2ZpbHRlcj4KICA8cmVjdCB3aWR0aD0nMjAwJyBoZWlnaHQ9JzIwMCcgZmlsdGVyPSd1cmwoI24pJy8+Cjwvc3ZnPgo=");
  --grain-light: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyMDAnIGhlaWdodD0nMjAwJz4KICA8ZmlsdGVyIGlkPSduJz4KICAgIDxmZVR1cmJ1bGVuY2UgdHlwZT0nZnJhY3RhbE5vaXNlJyBiYXNlRnJlcXVlbmN5PScwLjcnIG51bU9jdGF2ZXM9JzMnIHN0aXRjaFRpbGVzPSdzdGl0Y2gnIHJlc3VsdD0ndCcvPgogICAgPGZlQ29sb3JNYXRyaXggaW49J3QnIHR5cGU9J21hdHJpeCcgdmFsdWVzPScwIDAgMCAwIDAgIDAgMCAwIDAgMCAgMCAwIDAgMCAwICAwIDAgMCAwLjA1IDAnLz4KICA8L2ZpbHRlcj4KICA8cmVjdCB3aWR0aD0nMjAwJyBoZWlnaHQ9JzIwMCcgZmlsdGVyPSd1cmwoI24pJy8+Cjwvc3ZnPgo=");
  /* Rouge de la St-Nicolas (bannière et onglets), repris du flyer */
  --stnic: #a83a22;
  --stnic-soft: #f7e1d7;
  --stnic-line: #e2b19d;
  --vert: #3d6b2e;
  --sauge-soft: #e6eedb;
  --sauge-line: #b4c895;
  --sky-top: #dde7ec;
  --sky-bottom: #c5d7e0;
  --sky-gradient: linear-gradient(180deg, var(--sky-top) 0%, var(--blue-grey) 45%, var(--sky-bottom) 100%);
  --cloud-a: radial-gradient(ellipse 56% 17% at 16% 42%, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0) 70%);
  --cloud-b: radial-gradient(ellipse 38% 15% at 70% 20%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 70%);
  --cloud-c: radial-gradient(ellipse 34% 13% at 84% 60%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 70%);
}

* {
  box-sizing: border-box;
}

/* un élément masqué reste masqué, même s'il a un display à lui */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
}

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

/* ---------- Bannière St-Nicolas ---------- */

/* deux liens côte à côte (empilés sur téléphone), aux couleurs du flyer :
   le sachet en rouge, le concours en vert foncé, de même poids */
.bandeau {
  display: flex;
}

.bandeau__item {
  flex: 1 1 50%;
}

.bandeau__item--vente {
  background: var(--stnic);
  color: #fff;
}

.bandeau__item--concours {
  background: var(--vert);
  color: #fff;
}

.bandeau__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.05rem;
  padding: 0.55rem 1.25rem;
  text-align: center;
  text-decoration: none;
  line-height: 1.35;
}

.bandeau__titre {
  font-family: var(--font-title);
  font-size: 1.05rem;
}

.bandeau__info {
  font-weight: 700;
  font-size: 0.9rem;
}

.bandeau__fleche {
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 0.15s ease;
}

.bandeau__item:hover .bandeau__info {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bandeau__item:hover .bandeau__fleche {
  transform: translateX(4px);
}

.bandeau__item:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -4px;
}

@media (max-width: 700px) {
  .bandeau {
    flex-direction: column;
  }

  .bandeau__item {
    flex-basis: auto;
    padding: 0.45rem 1rem;
  }
}

/* ---------- Header / hero ---------- */

.hero {
  position: relative;
  /* Flat tone matching the very top of the intro section's gradient below:
     only a thin sliver of this ever shows (in the diagonal cut), so it
     just needs to match that seam exactly rather than carry its own
     gradient, which would visibly mismatch at the join. */
  background-color: var(--sky-top);
  background-image: var(--grain);
  background-repeat: repeat;
  background-size: 180px 180px;
}

.hero__img {
  width: 100%;
  /* height matches the photo's own 16:9 ratio whenever the viewport allows it,
     so the full photo stays visible top-to-bottom; only very short/wide
     windows fall back to the 100vh cap and crop the sides instead */
  height: clamp(260px, calc(100vw * 9 / 16), 100vh);
  object-fit: cover;
  display: block;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--diagonal)), 0 100%);
}

.hero__logo {
  position: absolute;
  top: calc(1.25rem + 0.5cm);
  right: var(--gutter);
  width: clamp(290px, 40.5vw, 495px);
  height: auto;
}

/* ---------- Intro section ---------- */

.intro {
  position: relative;
  z-index: 0;
  padding: 2.5rem var(--gutter) 5rem;
  /* Shows through the sliver the diagonal clip-path below leaves uncovered
     at the bottom-left — must match .commandes' own background exactly so
     that seam reads as one continuous surface. */
  background-color: var(--cream-light);
  background-image: var(--grain-light);
  background-repeat: repeat;
  background-size: 180px 180px;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--blue-grey);
  /* Each layer below must have a matching entry in background-repeat/
     background-size at the same position — a custom property holding several
     comma-separated gradients still counts as several layers once expanded,
     so lengths must be counted after substitution, not before. */
  background-image: var(--grain), var(--cloud-a), var(--cloud-b), var(--cloud-c), var(--sky-gradient);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 180px 180px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--diagonal)));
}

.intro__title,
.commandes h2,
.faq h2 {
  margin: 0 0 1.75rem;
  font-family: var(--font-title);
  font-weight: normal;
  font-size: clamp(2rem, 5.5vw, 2.3rem);
  color: var(--accent-light);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

/* Mise en page « carnet de champ » : photo façon polaroid, carte en
   pastille avec étiquette manuscrite, texte sur une note scotchée. */

.intro__title {
  grid-area: title;
  margin: 0;
  text-align: left;
}

.intro__layout {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  grid-template-areas:
    "title title title title"
    ".     team  loc   ."
    "card  card  card  card";
  justify-items: center;
  align-items: center;
  row-gap: 2rem;
  column-gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* --- Carte : pastille ronde --- */

.locate {
  grid-area: loc;
  position: relative;
  z-index: 2;
}

.locate__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.locate__label {
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.33rem;
  line-height: 1.15;
  color: var(--accent-light);
  text-align: center;
  transition: transform 0.15s ease;
}

.locate__arrow {
  display: none;
  transition: transform 0.15s ease;
}

.locate__map {
  display: block;
  position: relative;
  width: 124px;
  height: 124px;
  margin: 0 auto;
  transition: transform 0.25s ease;
}

.locate__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--cream);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

/* anneau pointillé, comme un tampon autour de la pastille */
.locate__map::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px dashed var(--accent-light);
  opacity: 0.5;
  pointer-events: none;
}

.locate__row:hover .locate__map {
  transform: rotate(-8deg) scale(1.04);
}

.locate__row:hover .locate__label,
.locate__row:hover .locate__arrow {
  transform: translateY(-4px) scale(1.05);
}

.locate__row:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 6px;
  border-radius: 8px;
}

/* --- Équipe : photo façon polaroid --- */

.team {
  grid-area: team;
  width: 146px;
  margin: 0;
  padding: 7px 7px 0;
  background: var(--cream-light);
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.15);
  transform: rotate(-3deg);
}

.team__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--beige);
}

.team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 78%;
  transform: scale(1.1);
}

.team__label {
  margin: 0;
  padding: 0.45rem 0 0.5rem;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  text-align: center;
  color: var(--accent-light);
  white-space: nowrap;
}

/* --- Texte : note scotchée --- */

.card {
  grid-area: card;
  position: relative;
  width: 100%;
  max-width: 540px;
  padding: 1.9rem 1.6rem 1.6rem;
  background: var(--cream);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.12);
  transform: rotate(0.6deg);
}

/* bout de scotch */
.card::after {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 96px;
  height: 26px;
  margin-left: -48px;
  background: rgba(231, 220, 195, 0.9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transform: rotate(-3deg);
}

.card p {
  margin: 0 0 0.9rem;
  line-height: 1.5;
}

.card p:last-child {
  margin-bottom: 0;
}

.card .card__lead {
  font-size: 1.08rem;
}

.card .card__label {
  margin: 0 0 0.55rem;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--accent-light);
}

.card .card__insta {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(53, 74, 79, 0.35);
  font-size: 0.95rem;
}

.card__insta a {
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
  text-underline-offset: 3px;
}

/* les trois engagements, comme des tampons */
.engagements {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.6rem;
}

.engagements li {
  padding: 0.3rem 0.7rem;
  border: 2px solid var(--accent-light);
  border-radius: 4px;
  background: var(--cream-light);
  color: var(--accent-light);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card .card__note {
  margin: -0.35rem 0 1.1rem 0.15rem;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--accent-light);
  transform: rotate(-1deg);
  transform-origin: left center;
}

.engagements li:nth-child(1) { transform: rotate(-1.5deg); }
.engagements li:nth-child(2) { transform: rotate(1deg); }
.engagements li:nth-child(3) { transform: rotate(-0.5deg); }

@media (prefers-reduced-motion: reduce) {
  .locate__map,
  .locate__label,
  .locate__arrow {
    transition: none;
  }
}

/* ---------- Commandes section ---------- */

.commandes {
  padding: 3rem var(--gutter);
  text-align: center;
  background-color: var(--cream-light);
  background-image: var(--grain-light);
  background-repeat: repeat;
  background-size: 180px 180px;
}

.commandes h2 {
  text-align: center;
}

.produits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem 1rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
}

.produit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.produit img {
  width: clamp(128px, 36vw, 192px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto;
}

.produit h3 {
  font-family: var(--font-title);
  font-weight: normal;
  margin: 0.75rem 0 0.15rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.produit .detail {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.87rem;
  color: #777;
}

.produit .prix {
  margin: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 0.95rem;
}

.delivery-line {
  font-family: var(--font-title);
  font-weight: normal;
  font-size: 1.2rem;
  color: var(--ink);
}

/* ---------- Switch Particulier / Client pro ---------- */

.achat-switch {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--beige);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
}

.achat-switch__btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.6rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--accent-light);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.achat-switch__btn:hover {
  background: rgba(255, 255, 255, 0.45);
}

.achat-switch__btn.active {
  background: var(--accent-light);
  color: #fff;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

.achat-switch__btn:focus-visible,
.faq-tab:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.achat-panel {
  margin-top: 2.25rem;
}

.achat-panel__intro {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ---------- Stand en self-service (particuliers) ---------- */

.stand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.stand__photo {
  width: min(260px, 62vw);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 6px solid var(--cream);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
  transform: rotate(-1.5deg);
}

.stand__infos {
  min-width: 0;
  max-width: 440px;
}

.stand__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-title);
  font-weight: normal;
  font-size: 1.45rem;
  color: var(--ink);
}

.stand__adresse {
  margin: 0 0 1.1rem;
  line-height: 1.35;
}

.stand__adresse a {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.stand__repere {
  display: block;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--accent-light);
}

.js-wa-num {
  white-space: nowrap;
}

.stand__liste {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  line-height: 1.5;
}

@media (min-width: 700px) {
  .stand {
    flex-direction: row;
    justify-content: center;
    gap: 2.75rem;
  }

  .stand__photo {
    flex: 0 0 auto;
  }
}

/* Étiquette posée sur la photo des cacahuètes */
.produit__img {
  position: relative;
}

.produit__badge {
  position: absolute;
  z-index: 1;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  margin: 0;
  padding: 0.25rem 0.75rem 0.3rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.05;
  white-space: nowrap;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.18);
}

/* ---------- Grille des prix (pros) ---------- */

.grille {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 520px;
  margin: 2.5rem auto 0;
  padding: 1.6rem 1.5rem 1.75rem;
  background-color: var(--blue-grey);
  background-image: var(--grain);
  background-repeat: repeat;
  background-size: 180px 180px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.12);
}

.grille__titre {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--ink);
}

.grille__texte {
  margin: 0;
  line-height: 1.5;
}

.btn--grand {
  margin-top: 0.6rem;
  padding: 0.8rem 1.8rem;
  font-size: 1.05rem;
  background: var(--red);
}

/* ---------- Onglets St-Nicolas (vente + coloriage) ---------- */

.achat-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem 1.1rem;
}

/* sous-onglets des particuliers : petites pastilles, rouges pour la St-Nicolas */
.sous-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.6rem;
  margin: 0 auto 2.25rem;
}

.sous-nav__btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.42rem 1.05rem;
  border: 2px solid var(--accent-light);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-light);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.sous-nav__btn:hover {
  transform: translateY(-2px);
}

.sous-nav__btn.active {
  background: var(--accent-light);
  color: #fff;
}

/* St-Nicolas et Coloriage dans une même capsule, comme le switch
   Particulier / Client pro mais en plus petit. Chaque événement garde sa
   couleur (vente en rouge, coloriage en vert) : la pastille ouverte prend
   sa couleur, le fond de la capsule la teinte claire de l'autre. */
.sous-nav__groupe {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--beige);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.sous-nav__groupe[data-actif="stnicolas"] {
  background: var(--sauge-soft);
  border-color: var(--sauge-line);
}

.sous-nav__groupe[data-actif="coloriage"] {
  background: var(--stnic-soft);
  border-color: var(--stnic-line);
}

.sous-nav__groupe .sous-nav__btn {
  border: 0;
  padding: 0.3rem 0.95rem;
}

.sous-nav__groupe .sous-nav__btn:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.55);
}

.sous-nav__groupe .sous-nav__btn--vente {
  color: var(--stnic);
}

.sous-nav__groupe .sous-nav__btn--concours {
  color: var(--vert);
}

.sous-nav__groupe .sous-nav__btn--vente.active {
  background: var(--stnic);
  color: #fff;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.15);
}

.sous-nav__groupe .sous-nav__btn--concours.active {
  background: var(--vert);
  color: #fff;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.15);
}

.sous-nav__groupe .sous-nav__btn:focus-visible {
  outline-offset: 1px;
}

.sous-nav__btn:focus-visible {
  outline-offset: 1px;
}

.sous-nav__btn:focus-visible {
  outline-offset: -4px;
  outline-color: #fff;
}

.sous-nav__btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .achat-switch__long {
    display: none;
  }

  .sous-nav {
    gap: 0.45rem;
  }

  .sous-nav__btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.86rem;
  }

  .sous-nav__groupe .sous-nav__btn {
    padding: 0.28rem 0.6rem;
  }
}

a.produit__badge {
  background: var(--stnic);
  color: #fff;
  text-decoration: none;
}

a.produit__badge:hover {
  transform: translateX(-50%) rotate(-4deg) scale(1.05);
}

/* même mise en page que le bloc du stand */
.event {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.event__photos {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.event__photo {
  width: min(140px, 38vw);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 5px solid var(--cream);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
  transform: rotate(-2deg);
}

.event__photo--d {
  transform: rotate(2deg);
}

.event__plus {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--accent-light);
}

.event__infos {
  min-width: 0;
  max-width: 440px;
}

.event__title {
  margin: 0 0 0.3rem;
  font-family: var(--font-title);
  font-weight: normal;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
}

/* titre de la vente : sur toute la largeur, au-dessus des photos */
.event__title--large {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-size: clamp(1.5rem, 5vw, 1.9rem);
  text-align: center;
  text-wrap: balance;
}

.event__gauche {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.event__prix {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  text-align: center;
}

.event__prix strong {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--red);
}

.event__prix-note {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent-light);
}

.event__repere {
  margin: 0 0 1rem;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--accent-light);
}

.event__liste {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  line-height: 1.5;
}

.event__pastille {
  display: inline-block;
  margin: 1.2rem 0 0;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  background: var(--accent-light);
  color: #fff;
  font-weight: 800;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

.achat-contact .event__petit {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: rgba(43, 43, 40, 0.7);
}

/* lien de la vente vers le concours */
.event__lien {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 460px;
  margin: 2.25rem auto 0;
  padding: 0.85rem 1.2rem;
  background-color: var(--blue-grey);
  background-image: var(--grain);
  background-repeat: repeat;
  background-size: 180px 180px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.12);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  line-height: 1.4;
  transition: transform 0.15s ease;
}

.event__lien:hover {
  transform: translateY(-2px);
}

.event__lien img {
  flex: 0 0 auto;
  width: 58px;
  padding: 3px;
  background: #fff;
  transform: rotate(-4deg);
}

.event__lien strong {
  font-family: var(--font-title);
  font-weight: normal;
  font-size: 1.1rem;
}

/* concours : le dessin sur sa feuille, légende manuscrite */
.event__dessin {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.event__dessin img {
  width: min(220px, 62vw);
  padding: 0.6rem;
  background: #fff;
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.15);
  transform: rotate(-1.5deg);
  transition: transform 0.2s ease;
}

.event__dessin a:hover img {
  transform: rotate(0deg) scale(1.03);
}

.event__dessin figcaption {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--accent-light);
}

.event__etapes {
  counter-reset: etape;
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event__etapes li {
  counter-increment: etape;
  position: relative;
  padding-left: 2.4rem;
  line-height: 1.5;
}

.event__etapes li::before {
  content: counter(etape);
  position: absolute;
  left: 0;
  top: -0.05rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent-light);
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event__etapes a,
.event__retour a {
  color: var(--red);
  font-weight: 700;
}

.event__retour {
  margin: 2rem 0 0;
}

@media (min-width: 700px) {
  .event {
    flex-direction: row;
    justify-content: center;
    gap: 2.75rem;
  }

  .event__gauche {
    flex: 0 0 auto;
  }

  .event__dessin {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bandeau__fleche,
  .event__lien,
  .event__dessin img {
    transition: none;
  }
}

/* ---------- Contact / livraison ---------- */

.achat-contact {
  max-width: 500px;
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.achat-contact p {
  margin: 0 0 0.4rem;
}

.achat-contact .cta {
  margin: 1.1rem 0 0;
  font-weight: 700;
}

.achat-contact .cta:first-child {
  margin-top: 0;
}

.faq-item a {
  color: var(--red);
  font-weight: 700;
}

.contact-boutons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: var(--accent-light);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ---------- FAQ section ---------- */

.faq {
  padding: 3rem var(--gutter);
  text-align: center;
  background-color: var(--beige);
  background-image: var(--grain-light);
  background-repeat: repeat;
  background-size: 180px 180px;
}

.faq h2 {
  text-align: center;
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.faq-tab {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 2px solid var(--accent-light);
  background: transparent;
  color: var(--accent-light);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.faq-tab:hover {
  transform: translateY(-2px);
}

.faq-tab.active {
  background: var(--accent-light);
  color: #fff;
}

.faq-panel {
  margin-top: 1.75rem;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--red);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0.85rem 0 0;
  line-height: 1.5;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 1.25rem var(--gutter);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

.footer p + p {
  margin-top: 0.4rem;
}

.footer__insta {
  color: #fff;
  font-weight: 700;
  text-underline-offset: 3px;
}

/* ---------- Responsive ---------- */

@media (min-width: 1024px) {
  :root {
    --gutter: 16.6667vw;
  }
}

@media (min-width: 900px) {
  /* Titre et carte sur la première ligne ; la pastille de la carte
     déborde sur le coin de la note en dessous. */
  .intro__layout {
    grid-template-columns: 210px minmax(0, 1fr) auto;
    grid-template-areas:
      "title title loc"
      "team  card  card";
    justify-items: stretch;
    align-items: start;
    column-gap: 3rem;
    row-gap: 0;
  }

  .intro__title {
    align-self: end;
    white-space: nowrap;
    padding-bottom: 1.25rem;
  }

  .locate {
    justify-self: end;
    margin-right: 1.75rem;
    margin-bottom: -96px;
  }

  .locate__row {
    position: relative;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .locate__label {
    flex-shrink: 0;
    width: 8rem;
    padding-right: 0.7rem;
    text-align: right;
    /* grossit depuis le centre de la pastille, là où pointe la flèche */
    transform-origin: 198px 70px;
  }

  .locate__arrow {
    display: block;
    position: absolute;
    z-index: 2;
    width: 110px;
    height: auto;
    transform-origin: 102px 38px;
    left: 96px;
    top: 32px;
  }

  .locate__map {
    width: 140px;
    height: 140px;
    margin: 0;
  }

  .team {
    width: 210px;
    margin-top: 2rem;
    padding: 9px 9px 0;
    transform: rotate(-3.5deg);
  }

  .team__label {
    font-size: 1.3rem;
    padding: 0.6rem 0 0.7rem;
  }

  .card {
    max-width: none;
    margin-top: 2.75rem;
    padding: 2.2rem 2.25rem 2rem;
  }

  .card::after {
    left: 3rem;
    margin-left: 0;
  }

  /* laisse la place à la pastille qui mord sur le coin de la note */
  .card::before {
    content: "";
    float: right;
    width: 170px;
    height: 22px;
  }
}

@media (max-width: 640px) {
  .produits {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 0.75rem;
  }

  /* Trois produits : le dernier se centre seul sur sa ligne */
  .produits--trois .produit:last-child {
    grid-column: 1 / -1;
  }

  .achat-switch__btn {
    padding: 0.55rem 1.15rem;
  }
}

/* Below ~1000px the logo's foot creeps down past the tree line on the right
   side of the photo (the horizon there sits lower than under the big tree
   on the left) instead of staying in the sky. Shrinking it roughly in half
   here (and nudging it toward the top-right corner) keeps it clear of the
   horizon all the way down to small phones. */
@media (max-width: 690px) {
  .hero__logo {
    width: clamp(180px, 27vw, 250px);
    top: 1.25rem;
    right: 1.25rem;
  }
}
