/* ==========================================================================
   Cunin Canin — feuille de styles
   Charte : voir charte.html
   ========================================================================== */

@font-face {
  font-family: "Caprasimo";
  src: url("../fonts/caprasimo-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Shrikhand";
  src: url("../fonts/shrikhand-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hankengrotesk-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs */
  --sapin: #1D3A31;
  --sapin-fonce: #13261F;
  --sapin-clair: #2C5546;
  --creme: #FBF3E6;
  --papier: #F3E6D0;
  --guimauve: #F5C9D3;
  --guimauve-pale: #FAE3E8;
  --framboise: #C93F6A;
  --framboise-fonce: #A92E55;
  --moutarde: #E7B13C;
  --savon: #CFE6EA;
  --encre: #1E2622;
  --encre-douce: #4A544F;

  /* Typo */
  --f-titre: "Caprasimo", "Cooper Black", Georgia, serif;
  --f-enseigne: "Shrikhand", "Caprasimo", Georgia, serif;
  --f-texte: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Espacements */
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 22px;
  --header-h: 84px;

  --shadow-sticker: 4px 4px 0 var(--sapin);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
/* grain de papier, très léger */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .15 0 0 0 0 .13 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--framboise-fonce); outline-offset: 3px; border-radius: 6px; }
/* sur fond sombre, l'anneau de focus passe en moutarde (contraste > 6:1) */
.ba-section :focus-visible, .contact__text :focus-visible, .footer :focus-visible, .nav.is-open :focus-visible { outline-color: var(--moutarde); }
::selection { background: var(--guimauve); color: var(--sapin); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--sapin); color: var(--creme); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: var(--section); }

/* ---------- Typo ---------- */
.h2 {
  font-family: var(--f-titre);
  color: var(--sapin);
  font-size: clamp(2.3rem, 1.6rem + 3.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  margin: 0 0 1.1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--framboise-fonce);
}
.eyebrow svg { width: 16px; height: 16px; flex: none; }
.eyebrow--moutarde { color: var(--moutarde); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--creme);
  --fg: var(--sapin);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 54px;
  padding: .85em 1.6em;
  border: 2px solid var(--sapin);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sticker);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--sapin); }
.btn--rose { --bg: var(--framboise); --fg: #fff; }
.btn--ghost { --bg: transparent; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sapin); }
  .btn--rose:hover { --bg: var(--framboise-fonce); }
  .btn--ghost:hover { --bg: var(--creme); }
}
.btn--small { min-height: 44px; padding: .55em 1.2em; font-size: .95rem; box-shadow: 3px 3px 0 var(--sapin); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  transition: box-shadow .25s ease;
}
/* le flou est porté par un pseudo-élément : un backdrop-filter sur .header
   ferait du header le bloc conteneur du menu mobile en position: fixed */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--creme) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header.is-scrolled { box-shadow: 0 1px 0 rgba(29, 58, 49, .14), 0 10px 30px -18px rgba(29, 58, 49, .35); }
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__logo { flex: none; display: block; }
.header__logo img { height: 50px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); }
.nav__list a {
  position: relative;
  display: block;
  padding: 6px 0;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--sapin);
  white-space: nowrap;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6'%3E%3Cpath d='M0 3 Q3 0 6 3 T12 3' fill='none' stroke='%23C93F6A' stroke-width='1.8'/%3E%3C/svg%3E") repeat-x left center / 12px 6px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__list a.is-current::after { transform: scaleX(1); }
@media (hover: hover) { .nav__list a:hover::after { transform: scaleX(1); } }
.nav__phone { display: none; }
.header__cta { flex: none; }
.burger { display: none; }

@media (max-width: 1100px) {
  .header__cta { margin-left: auto; }
  .burger {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border: 2px solid var(--sapin);
    border-radius: 50%;
    background: var(--creme);
    cursor: pointer;
    flex: none;
  }
  .burger__lines,
  .burger__lines::before,
  .burger__lines::after {
    display: block;
    width: 20px; height: 2.5px;
    border-radius: 2px;
    background: var(--sapin);
    transition: transform .25s ease, background-color .25s ease;
  }
  .burger__lines { position: relative; }
  .burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
  .burger__lines::before { top: -6.5px; }
  .burger__lines::after { top: 6.5px; }
  .burger[aria-expanded="true"] .burger__lines { background: transparent; }
  .burger[aria-expanded="true"] .burger__lines::before { transform: translateY(6.5px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-6.5px) rotate(-45deg); }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin: 0;
    padding: 32px var(--gutter) 40px;
    background: var(--sapin);
    color: var(--creme);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s ease, transform .25s ease, visibility 0s;
  }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav__list a {
    font-family: var(--f-titre);
    font-weight: 400;
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    color: var(--creme);
    padding: 4px 0;
  }
  .nav__list a::after { bottom: 2px; height: 8px; background-size: 16px 8px; }
  .nav__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--moutarde);
    text-decoration: none;
  }
  .nav__phone svg { width: 22px; height: 22px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 520px) {
  :root { --header-h: 72px; }
  .hero .eyebrow { letter-spacing: .12em; font-size: .72rem; }
  .header__inner { gap: 12px; }
  .header__logo img { height: 40px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 6vw, 80px) clamp(64px, 8vw, 110px); position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero__title {
  font-family: var(--f-titre);
  color: var(--sapin);
  font-size: clamp(2.5rem, 1.4rem + 5vw, 5.4rem);
  line-height: .98;
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
  text-wrap: balance;
}
.hero__title em {
  font-family: var(--f-enseigne);
  font-style: normal;
  color: var(--framboise);
  display: inline-block;
  transform: rotate(-3deg);
  padding-inline: .04em;
}
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); max-width: 34em; color: var(--encre-douce); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 2rem 0 2.2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 600; font-size: .95rem; color: var(--sapin); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 20px; height: 20px; color: var(--framboise); }

.hero__visual { position: relative; padding: 0 0 0 6%; }
.hero__arch {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  border: 3px solid var(--sapin);
  background: var(--moutarde);
  z-index: 1;
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__arch-bg {
  position: absolute;
  inset: 22px -18px -18px calc(6% + 22px);
  border-radius: 999px 999px 28px 28px;
  background: var(--guimauve);
  border: 3px solid var(--sapin);
}
.hero__badge {
  position: absolute;
  z-index: 2;
  left: -5%;
  top: 8%;
  width: clamp(104px, 12vw, 150px);
  height: auto;
  transform: rotate(-12deg);
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; width: 88%; margin: 12px auto 0; padding: 0; }
  .hero__arch-bg { inset: 18px -14px -14px 18px; }
  .hero__badge { left: -8%; top: 4%; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .hero__title { font-size: clamp(3rem, 1rem + 4vw, 4.2rem); }
}

/* ---------- Ruban défilant ---------- */
.ribbon-wrap { overflow: hidden; padding-block: 24px; margin-block: -24px; position: relative; z-index: 3; }
.ribbon {
  position: relative;
  z-index: 3;
  background: var(--sapin);
  color: var(--creme);
  transform: rotate(-1.4deg);
  margin-inline: -20px;
  padding-block: 16px;
  overflow: hidden;
  border-block: 3px solid var(--sapin-fonce);
}
.ribbon__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: defile 80s linear infinite;
}
/* marge plutôt que gap : la moitié de la piste correspond exactement à deux boucles */
.ribbon__track > * { margin-right: 28px; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__track span {
  font-family: var(--f-titre);
  font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem);
  white-space: nowrap;
}
.ribbon__track svg { width: 22px; height: 22px; color: var(--moutarde); flex: none; }
@keyframes defile { to { transform: translateX(-50%); } }  /* 4 copies : la moitié = 2 boucles, plus large que les plus grands écrans */

/* ---------- Festons (bord de store) ---------- */
.festons {
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 18px;
  background: radial-gradient(circle at 50% 0, var(--c) 17px, transparent 18px) repeat-x 0 0 / 36px 18px;
  pointer-events: none;
}
.festons--creme { --c: var(--creme); }

/* ---------- Concept ---------- */
.concept { padding-top: calc(var(--section) + 20px); overflow-x: clip; }
.concept__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
  align-items: end;
}
.concept__intro { font-size: 1.1rem; color: var(--encre-douce); max-width: 32em; margin: 0; }
.concept__van {
  margin: clamp(40px, 6vw, 72px) auto 0;
  max-width: 820px;
  position: relative;
}
.concept__van img { position: relative; z-index: 1; width: 100%; animation: roule 3.2s ease-in-out 3; }
.concept__road {
  height: 4px;
  margin: -26px -8% 0;
  background: repeating-linear-gradient(90deg, var(--sapin) 0 34px, transparent 34px 60px);
  opacity: .25;
  border-radius: 2px;
}
@keyframes roule {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px clamp(24px, 4vw, 64px);
  margin-top: clamp(48px, 7vw, 88px);
  position: relative;
}
.step { position: relative; }
.step__num {
  display: block;
  font-family: var(--f-enseigne);
  font-size: clamp(4rem, 3rem + 3vw, 6rem);
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 2px var(--framboise);
  margin-bottom: 14px;
}
.step__title { font-family: var(--f-titre); color: var(--sapin); font-size: 1.6rem; line-height: 1.1; margin-bottom: .6rem; }
.step p { color: var(--encre-douce); margin: 0; }
.step + .step::before {
  content: "";
  position: absolute;
  top: 40px;
  left: calc(-1 * clamp(24px, 4vw, 64px) + 6px);
  width: calc(clamp(24px, 4vw, 64px) - 12px);
  border-top: 2px dashed rgba(29, 58, 49, .35);
}

.concept__plus {
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 2px solid rgba(29, 58, 49, .12);
  font-size: 1.1rem;
  max-width: 44em;
  color: var(--encre-douce);
}
.concept__plus strong { color: var(--sapin); }

@media (max-width: 820px) {
  .concept__head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; }
  .step__num { grid-row: span 2; font-size: 4rem; margin: 0; min-width: .7em; }
  .step + .step::before { display: none; }
}

/* ---------- Soins ---------- */
.soins { background: var(--papier); }
.soins__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.soins__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.soins__photo {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--sapin);
  max-height: calc(100svh - var(--header-h) - 48px);
  margin-inline: auto;
  width: 100%;
  background: var(--savon);
}
.soins__photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .45s ease, transform .9s ease;
}
.soins__photo img.is-active { opacity: 1; transform: none; }
.soins__sticker {
  position: absolute;
  right: 16px; bottom: 16px;
  padding: 10px 16px;
  background: var(--moutarde);
  border: 2px solid var(--sapin);
  border-radius: 14px;
  font-family: var(--f-enseigne);
  font-size: .95rem;
  line-height: 1.15;
  color: var(--sapin);
  transform: rotate(-4deg);
}
.soin {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 18px;
  padding: 26px 20px 26px 12px;
  border-top: 2px solid rgba(29, 58, 49, .14);
  border-radius: 4px;
  transition: background-color .25s ease;
}
.soin:last-child { border-bottom: 2px solid rgba(29, 58, 49, .14); }
.soin__num {
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  color: var(--framboise-fonce);
  padding-top: .55em;
}
.soin__title {
  font-family: var(--f-titre);
  color: var(--sapin);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  line-height: 1.1;
  margin-bottom: .4rem;
  transition: color .2s ease;
}
.soin p { margin: 0; color: var(--encre-douce); max-width: 34em; }
.soin__thumb { display: none; }
@media (min-width: 901px) {
  .soin { cursor: pointer; }
  .soin:focus-visible { outline-offset: -3px; }
  .soin.is-active { background: var(--guimauve-pale); }
  .soin.is-active .soin__title { color: var(--framboise-fonce); }
}
.soins__extras {
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 18px 24px;
  border: 2px dashed rgba(29, 58, 49, .35);
  border-radius: 16px;
  color: var(--sapin);
}
@media (max-width: 900px) {
  .soins__grid { grid-template-columns: 1fr; }
  .soins__photo { display: none; }
  .soin { grid-template-columns: 1fr 112px; padding: 22px 0; gap: 4px 18px; }
  .soin__num { grid-column: 1 / -1; padding: 0; }
  .soin__body { grid-column: 1; }
  .soin__thumb {
    display: block;
    grid-column: 2;
    grid-row: 2;
    width: 112px; height: 112px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid var(--sapin);
  }
}
@media (max-width: 420px) {
  .soin { grid-template-columns: 1fr 84px; }
  .soin__thumb { width: 84px; height: 84px; }
}

/* ---------- Avant / après ---------- */
.ba-section { background: var(--sapin); color: var(--creme); overflow: hidden; }
.ba-section .h2 { color: var(--creme); }
.ba-section__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.ba-section__text > p:not(.eyebrow) { color: rgba(251, 243, 230, .82); max-width: 30em; }
.ba-section__text .h2 { margin-bottom: 1.4rem; }
.ba-section__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--moutarde) !important;
}
.ba-section__hint svg { width: 22px; height: 22px; }
.ba-section__facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 18px clamp(20px, 4vw, 40px);
  margin: 2.2rem 0 0;
  padding-top: 1.6rem;
  border-top: 1.5px solid rgba(251, 243, 230, .2);
}
.ba-section__facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(251, 243, 230, .6); }
.ba-section__facts dd { margin: 4px 0 0; font-family: var(--f-titre); font-size: 1.5rem; color: var(--creme); }

.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  max-width: 540px;
  width: min(100%, 540px, calc((100svh - var(--header-h) - 48px) * .75));
  justify-self: center;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid var(--creme);
  box-shadow: 10px 10px 0 var(--moutarde);
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  cursor: ew-resize;
  background: var(--guimauve);
}
.ba__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--creme);
  box-shadow: 0 0 0 1px rgba(29, 58, 49, .25);
  pointer-events: none;
}
.ba__knob {
  position: absolute;
  top: 50%;
  left: clamp(34px, var(--pos), calc(100% - 34px));
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  display: grid;
  place-items: center;
  border: 3px solid var(--sapin);
  border-radius: 50%;
  background: var(--moutarde);
  color: var(--sapin);
  box-shadow: 3px 3px 0 var(--sapin);
  cursor: grab;
  touch-action: none;
  transition: transform .15s ease;
}
.ba__knob svg { width: 26px; height: 26px; }
.ba__knob:focus-visible { outline: 3px solid var(--sapin); outline-offset: 2px; box-shadow: 0 0 0 7px var(--creme), 3px 3px 0 var(--sapin); }
.ba.is-dragging .ba__knob { cursor: grabbing; transform: scale(1.08); }
.ba__label {
  position: absolute;
  bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 2px solid var(--sapin);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sapin);
  pointer-events: none;
  transition: opacity .2s ease;
}
.ba__label--before { left: 18px; background: #E9D9BF; }
.ba__label--after { right: 18px; background: var(--guimauve); }
.ba[data-hide="before"] .ba__label--before,
.ba[data-hide="after"] .ba__label--after { opacity: 0; }

@media (max-width: 900px) {
  .ba-section__grid { grid-template-columns: 1fr; }
  .ba { max-width: 480px; box-shadow: 7px 7px 0 var(--moutarde); }
}

/* ---------- Tarifs ---------- */
.tarifs__head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); }
.tarifs__head p:last-child { color: var(--encre-douce); margin: 1.2rem 0 0; }
.board {
  max-width: 940px;
  margin-inline: auto;
  position: relative;
}
.board__awning {
  position: relative;
  z-index: 2;
  height: 66px;
  margin: 0 -16px -28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='66' viewBox='0 0 80 66'%3E%3Cpath d='M1.25 0 V46 Q20.6 66 40 46 V0 Z' fill='%23C93F6A' stroke='%231D3A31' stroke-width='2.5'/%3E%3Cpath d='M40 0 V46 Q59.4 66 78.75 46 V0 Z' fill='%23FFFBF4' stroke='%231D3A31' stroke-width='2.5'/%3E%3C/svg%3E") round no-repeat 0 0 / 80px 66px;
  border-top: 3px solid var(--sapin);
  border-radius: 10px 10px 0 0;
}
.board__awning::before, .board__awning::after {
  content: "";
  position: absolute;
  top: -3px; bottom: 18px;
  width: 3px;
  background: var(--sapin);
}
.board__awning::before { left: 0; }
.board__awning::after { right: 0; }
.board__inner {
  position: relative;
  background: #FFFBF4;
  border: 3px solid var(--sapin);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 64px) clamp(28px, 4vw, 48px);
  box-shadow: 10px 10px 0 var(--sapin);
}
.board__inner::before {
  content: "";
  position: absolute;
  inset: 10px;
  top: 30px;
  border: 1.5px solid rgba(29, 58, 49, .25);
  border-radius: 0 0 14px 14px;
  pointer-events: none;
}
.board__table { width: 100%; border-collapse: collapse; position: relative; }
.board__table th, .board__table td { padding: 18px 12px; text-align: center; }
.board__table thead th {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--framboise);
  padding-top: 0;
}
.board__table tbody tr { border-top: 2px dotted rgba(29, 58, 49, .35); }
.board__table tbody th { text-align: left; }
.board__size { display: block; font-family: var(--f-titre); font-weight: 400; color: var(--sapin); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); line-height: 1.1; }
.board__kg { display: block; font-weight: 500; font-size: .9rem; color: var(--encre-douce); }
.board__table td { font-family: var(--f-titre); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.3rem); color: var(--sapin); white-space: nowrap; }
.board__extras { margin-top: clamp(32px, 4vw, 48px); position: relative; }
.board__subtitle {
  font-family: var(--f-enseigne);
  color: var(--framboise);
  font-size: 1.6rem;
  margin-bottom: .8rem;
}
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 48px; }
.leaders li { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; }
.leaders li::before {
  content: "";
  order: 1;
  flex: 1;
  border-bottom: 2px dotted rgba(29, 58, 49, .4);
  transform: translateY(-4px);
  min-width: 16px;
}
.leaders b { order: 2; color: var(--sapin); white-space: nowrap; }
.board__def { position: relative; margin: 1.4rem 0 0; font-size: .95rem; color: var(--encre-douce); }
.board__def b { color: var(--sapin); }
.board__note { position: relative; margin: 1.6rem 0 0; font-size: .9rem; color: var(--encre-douce); text-align: center; }

@media (max-width: 680px) {
  .board__awning { margin-inline: -8px; }
  .board__inner { box-shadow: 6px 6px 0 var(--sapin); }
  .board__inner::before { display: none; }
  .board__table thead { display: none; }
  .board__table, .board__table tbody, .board__table tr, .board__table th, .board__table td { display: block; }
  .board__table tbody tr { padding: 18px 0; }
  .board__table tbody tr:first-child { border-top: 0; padding-top: 0; }
  .board__table th, .board__table td { padding: 0; text-align: left; }
  .board__table tbody th { margin-bottom: 10px; }
  .board__table td {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 1.5rem;
    padding: 2px 0;
  }
  .board__table td::before {
    content: attr(data-label);
    font-family: var(--f-texte);
    font-size: .95rem;
    color: var(--encre);
  }
  .board__table td::after {
    content: "";
    order: 1;
    flex: 1;
    border-bottom: 2px dotted rgba(29, 58, 49, .4);
    transform: translateY(-5px);
  }
  .board__table td { justify-content: flex-start; }
  .board__table td > * { order: 2; }
  .leaders { grid-template-columns: 1fr; }
}

/* ---------- Camille ---------- */
.camille { background: var(--guimauve-pale); }
.camille__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.camille__photo { position: relative; margin: 0; }
.camille__photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 42% 50%;
  border-radius: var(--radius);
  border: 3px solid var(--sapin);

}
.camille__tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 120px;
  height: 34px;
  margin-left: -60px;
  background: color-mix(in srgb, var(--moutarde) 80%, transparent);
  transform: rotate(4deg);
  border-radius: 3px;
}
.camille__text .h2 { margin-bottom: 1.4rem; }
.camille__text p:not(.eyebrow) { color: var(--encre-douce); max-width: 32em; }
.camille__sign {
  font-family: var(--f-enseigne);
  font-size: 2.4rem;
  color: var(--framboise) !important;
  transform: rotate(-4deg);
  transform-origin: left;
  margin: .4rem 0 1.6rem;
}

@media (max-width: 860px) {
  .camille__grid { grid-template-columns: 1fr; }
  .camille__photo { max-width: 420px; width: 92%; margin-inline: auto; }
}

/* ---------- Tournée ---------- */
.tournee__head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.tournee__head > p { margin: 0; color: var(--encre-douce); max-width: 32em; }
@media (max-width: 820px) { .tournee__head { grid-template-columns: 1fr; } }
.tournee__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.tournee__text > p:not(.eyebrow) { color: var(--encre-douce); }
.days { margin: 0 0 1.8rem; border-top: 2px solid rgba(29, 58, 49, .12); }
.days li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 2px solid rgba(29, 58, 49, .12);
}
.days b { display: flex; align-items: center; gap: 10px; color: var(--sapin); }
.days b::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--day); box-shadow: 0 0 0 3px var(--creme), 0 0 0 4.5px var(--day); flex: none; }
.days span { color: var(--encre); }
.tournee__note { font-weight: 600; color: var(--sapin) !important; }
.tournee__map { margin: 0; }
.tournee__map img { width: 100%; border-radius: 28px; border: 3px solid var(--sapin); }

@media (max-width: 900px) {
  .tournee__grid { grid-template-columns: 1fr; }
  .tournee__map { order: -1; }
}
@media (max-width: 420px) {
  .days li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Avis ---------- */
.avis { background: var(--papier); }
.avis__head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.avis__head p { margin: 1rem 0 0; color: var(--encre-douce); }
.avis__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}
.avis__item {
  margin: 0;
  background: #FFFBF4;
  border: 2.5px solid var(--sapin);
  border-radius: var(--radius);
  padding: 0 22px 24px;
}
.avis__item:nth-child(4n+1) { --tone: var(--guimauve); }
.avis__item:nth-child(4n+2) { --tone: var(--savon); }
.avis__item:nth-child(4n+3) { --tone: #F6DFA6; }
.avis__item:nth-child(4n+4) { --tone: #CFE3CF; }
.avis__item img {
  width: 96px; height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--sapin);
  background: var(--tone);
  margin: -34px 0 16px;
  box-shadow: 0 0 0 6px var(--tone);
}
.avis__item blockquote { margin: 0 0 18px; }
.avis__item blockquote p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--encre); }
.avis__item figcaption b { display: block; font-family: var(--f-titre); font-weight: 400; color: var(--sapin); font-size: 1.15rem; }
.avis__item figcaption span { display: block; font-size: .85rem; line-height: 1.35; margin-top: 4px; color: var(--encre-douce); }
.avis__list { padding-top: 34px; }

@media (max-width: 1060px) {
  .avis__list { grid-template-columns: repeat(2, 1fr); row-gap: 64px; }
}
@media (max-width: 620px) {
  .avis__list { grid-template-columns: 1fr; row-gap: 52px; }
}

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__picto { width: 150px; margin-top: 2rem; transform: rotate(-6deg); }
.qa { border-top: 2px solid rgba(29, 58, 49, .14); }
.qa:last-child { border-bottom: 2px solid rgba(29, 58, 49, .14); }
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  color: var(--sapin);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg {
  width: 36px; height: 36px; flex: none;
  padding: 7px;
  border: 2px solid var(--sapin);
  border-radius: 50%;
  transition: transform .25s ease, background-color .25s ease;
}
@media (hover: hover) { .qa summary:hover svg { background: var(--guimauve); } }
.qa[open] summary svg { transform: rotate(45deg); background: var(--moutarde); }
.qa__body { padding: 0 56px 22px 0; color: var(--encre-douce); }
.qa__body p { margin: 0; }

@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .faq__head .h2 { max-width: 14em; }
  .faq__picto { display: none; }
  .qa__body { padding-right: 0; }
}

/* ---------- Contact ---------- */
.contact { background: var(--sapin); color: var(--creme); }
.contact .h2 { color: var(--creme); margin-bottom: 1.4rem; }
.contact__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact__text > p:not(.eyebrow) { color: rgba(251, 243, 230, .82); max-width: 30em; }
.contact__phone {
  display: inline-block;
  margin: 1rem 0 2rem;
  font-family: var(--f-titre);
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  line-height: 1;
  color: var(--moutarde);
  text-decoration: none;
  white-space: nowrap;
}
@media (hover: hover) { .contact__phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; } }
.contact__infos li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; }
.contact__infos svg { width: 22px; height: 22px; flex: none; color: var(--moutarde); margin-top: 2px; }
.contact__infos a { color: var(--creme); text-underline-offset: 4px; }

.form {
  background: var(--creme);
  color: var(--encre);
  border-radius: var(--radius);
  border: 3px solid var(--sapin-fonce);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 10px 10px 0 var(--moutarde);
}
.form__title { font-family: var(--f-titre); color: var(--sapin); font-size: 1.7rem; margin-bottom: .4rem; }
.form__hint { font-size: .85rem; color: var(--encre-douce); margin: 0 0 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--sapin); margin-bottom: 6px; }
.field__opt { font-weight: 500; color: var(--encre-douce); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 2px solid rgba(29, 58, 49, .65);
  border-radius: 12px;
  background: #FFFDF8;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background: #FFFDF8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231D3A31' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sapin);
  box-shadow: 0 0 0 4px var(--guimauve);
}
.field.is-invalid input { border-color: var(--framboise-fonce); }
.field__error { display: block; margin-top: 6px; font-size: .85rem; font-weight: 600; color: var(--framboise-fonce); }
.form__submit { width: 100%; margin-top: 6px; }
.form__status { margin: 14px 0 0; font-weight: 600; color: var(--sapin); min-height: 1.5em; }
.form__status:empty { margin: 0; min-height: 0; }
.form__legal { margin: 12px 0 0; font-size: .82rem; color: var(--encre-douce); }

@media (min-width: 901px) and (max-width: 1240px) {
  .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .form { box-shadow: 6px 6px 0 var(--moutarde); }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .form__title { font-size: 1.4rem; }
}

/* ---------- Footer ---------- */
.footer { background: var(--sapin-fonce); color: rgba(251, 243, 230, .78); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .95rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand img { width: 232px; margin-bottom: 16px; }
.footer__brand p { max-width: 22em; }
.footer__title { font-family: var(--f-texte); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--moutarde); margin-bottom: 12px; }
.footer a { color: var(--creme); text-decoration: none; }
@media (hover: hover) { .footer a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 48px;
  padding-top: 24px;
  position: relative;
  font-size: .85rem;
}
.footer__bottom::before {
  content: "";
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  border-top: 1px solid rgba(251, 243, 230, .14);
}
.footer__bottom p { margin: 0; }
.credits summary { cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.credits p { max-width: 640px; margin-top: 10px; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Apparition au scroll ---------- */
.reveal-on [data-reveal] { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1); }
.reveal-on [data-reveal].is-visible { opacity: 1; translate: 0 0; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal-on [data-reveal] { opacity: 1; translate: none; }
}
