/* =========================================================
   Cake by Zoé — feuille de style
   Palette issue du logo : rose aquarelle, vert sauge, noir
   ========================================================= */

:root {
  /* Le site reste en clair, même si l'appareil est en mode sombre */
  color-scheme: only light;

  /* Couleurs */
  --pink-50:  #FDF5F7;
  --pink-100: #FAE6EC;
  --pink-200: #F5D2DC;
  --pink-300: #EFBFCD;
  --pink-500: #DE93A8;
  --sage-100: #E7EDE4;
  --sage-300: #B8C7B2;
  --sage-500: #8FA48A;
  --sage-700: #4D5F4F;
  --ink:      #151515;
  --ink-soft: #4A4547;
  --cream:    #FFFBF9;
  --white:    #FFFFFF;
  --line:     rgba(21, 21, 21, .12);

  /* Typo */
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans:  "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Mise en page */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 22px;
  --shadow: 0 20px 50px -24px rgba(77, 40, 52, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
em { font-style: italic; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: 999px;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sage-700); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 20px; height: 20px; flex: none; }

/* ---------- Éléments communs ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--pink-500);
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--sage { color: var(--sage-700); }

.section { position: relative; padding: var(--section) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section__head--row {
  max-width: none; display: flex; flex-wrap: wrap; gap: 24px;
  align-items: flex-end; justify-content: space-between;
}
.section__title { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.01em; }
.section__title em { color: var(--sage-700); }
.section__lead { margin-top: 20px; color: var(--ink-soft); font-size: 1.05em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid var(--ink);
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--sage-700); border-color: var(--sage-700); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

.link { font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .2s; }
.link:hover { color: var(--sage-700); }

/* Taches aquarelle (rappel du logo) */
.blob {
  position: absolute; border-radius: 50%;
  filter: url(#watercolor) blur(2px);
  opacity: .85; pointer-events: none; z-index: 0;
}
.blob--pink { background: radial-gradient(circle at 40% 40%, var(--pink-200), var(--pink-300) 55%, rgba(239,191,205,0) 72%); }
.blob--sage { background: radial-gradient(circle at 50% 50%, var(--sage-300), rgba(184,199,178,0) 70%); opacity: .55; }

/* Illustrations en attendant les photos */
.placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: var(--ink);
}
.placeholder--pink  { background: linear-gradient(160deg, var(--pink-100), var(--pink-200)); }
.placeholder--sage  { background: linear-gradient(160deg, var(--sage-100), #d6e0d2); color: var(--sage-700); }
.placeholder--cream { background: linear-gradient(160deg, #fff, var(--pink-50)); }
.cake-art { width: 52%; max-width: 220px; opacity: .85; }
img.cover, .arch img, .tile img, .atelier__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.header.is-scrolled {
  background: rgba(255, 251, 249, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.header__mark {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none;
  background: var(--white); box-shadow: 0 6px 18px -8px rgba(77, 40, 52, .35);
}
.header__mark img { width: 100%; height: 100%; transform: scale(1.5); }
.header__brand {
  font-family: var(--serif); font-size: 15px; letter-spacing: .3em; text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 30px; }
.nav__list a {
  font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { min-height: 44px; padding: 0 22px; font-size: 12px; }

.burger {
  display: none; position: relative; z-index: 2;
  width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
}
.burger span {
  position: absolute; left: 12px; width: 24px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger span:first-child { top: 19px; }
.burger span:last-child  { top: 28px; }
.burger[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { top: 24px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  padding: calc(var(--header-h) + 48px) 0 80px;
  display: flex; align-items: center;
  background: linear-gradient(180deg, var(--pink-50), var(--cream));
}
.hero__blob-1 { width: 760px; height: 640px; right: -180px; top: 40px; }
.hero__blob-2 { width: 420px; height: 420px; left: -160px; bottom: -140px; }
.dots {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle, var(--sage-500) 0 4px, transparent 5px) 62% 22% / 100% 100% no-repeat,
    radial-gradient(circle, var(--sage-300) 0 7px, transparent 8px) 92% 30% / 100% 100% no-repeat,
    radial-gradient(circle, var(--sage-700) 0 3px, transparent 4px) 55% 82% / 100% 100% no-repeat,
    radial-gradient(circle, var(--sage-300) 0 5px, transparent 6px) 80% 88% / 100% 100% no-repeat,
    radial-gradient(circle, var(--pink-500) 0 3px, transparent 4px) 10% 30% / 100% 100% no-repeat;
  opacity: .8;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center;
}
.hero__title { font-size: clamp(42px, 5.6vw, 80px); letter-spacing: -.02em; line-height: 1.02; }
.hero__title em { display: block; color: var(--sage-700); }
.hero__lead { margin-top: 28px; max-width: 520px; font-size: 1.1em; color: var(--ink-soft); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__proof {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 20px 44px;
  font-size: 13px; letter-spacing: .06em; color: var(--ink-soft);
}
.hero__proof strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--ink); letter-spacing: 0; }

.hero__visual { position: relative; aspect-ratio: 4 / 5; max-width: 520px; width: 100%; justify-self: end; }
.arch { position: absolute; overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); box-shadow: var(--shadow); }
.arch--main { inset: 0 0 0 14%; }
.arch--small { width: 42%; aspect-ratio: 3 / 4; left: 0; bottom: -6%; border: 8px solid var(--cream); }
.arch--small .cake-art { width: 64%; }
.badge {
  position: absolute; top: 6%; left: 2%; width: 128px; height: 128px;
  display: grid; place-items: center;
  background: var(--cream); border-radius: 50%; box-shadow: var(--shadow);
}
.badge svg { position: absolute; inset: 4px; animation: spin 22s linear infinite; }
.badge text { font-family: var(--sans); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; fill: var(--ink); }
.badge span { font-family: var(--serif); font-size: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); color: var(--white); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 30px); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--pink-300); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cards .card { grid-column: span 2; }
.cards .card:nth-child(n+4) { grid-column: span 3; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 28px 32px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 84px; height: 84px; border-radius: 50%; margin-bottom: 28px;
  display: grid; place-items: center; background: var(--pink-100);
}
.card:nth-child(even) .card__icon { background: var(--sage-100); color: var(--sage-700); }
.card__icon svg { width: 56px; }
.card h3 { font-size: 26px; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: .95em; flex: 1; }
.card__link { margin-top: 24px; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-700); }
.card__link:hover { color: var(--ink); }

/* ---------- Galerie ---------- */
.gallery { background: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 42px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: 13px; letter-spacing: .06em;
  transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px; grid-auto-flow: dense; gap: 16px;
}
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile > .placeholder, .tile > img { transition: transform .8s var(--ease); }
.tile:hover > .placeholder, .tile:hover > img { transform: scale(1.05); }
.tile figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 14px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--serif); font-size: 17px; line-height: 1.3;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tile figcaption span { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--pink-500); }
.tile:hover figcaption, .tile:focus-within figcaption { opacity: 1; transform: none; }
.tile.is-hidden { display: none; }
.gallery__cta { margin-top: 48px; text-align: center; }

/* ---------- Process ---------- */
.process { overflow: hidden; }
.process__blob { width: 600px; height: 500px; left: 50%; top: 40%; transform: translateX(-50%); opacity: .5; }
.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  padding: 32px 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.9);
}
.step__num { display: block; font-family: var(--serif); font-style: italic; font-size: 52px; line-height: 1; color: var(--pink-500); margin-bottom: 18px; }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .95em; }

/* ---------- Atelier ---------- */
.atelier { background: var(--sage-100); overflow: hidden; }
.atelier__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.atelier__visual { position: relative; }
.atelier__blob { width: 130%; height: 110%; left: -15%; top: -5%; opacity: .7; }
.atelier__photo {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius); box-shadow: var(--shadow);
}
.atelier__sticker {
  position: absolute; z-index: 2; right: -12px; top: 12%;
  width: 124px; height: 124px; border-radius: 50%;
  background: var(--pink-300); display: grid; place-content: center; text-align: center;
  transform: rotate(-10deg); box-shadow: var(--shadow);
}
.atelier__sticker strong { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; }
.atelier__sticker span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

.checks { margin-top: 32px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sage-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.formats { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.format { padding: 20px; border-radius: 16px; background: var(--white); }
.format h3 { font-size: 20px; margin-bottom: 4px; }
.format p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.sessions { margin-top: 36px; }
.sessions__title { font-size: 24px; margin-bottom: 14px; }
.sessions__list { display: grid; gap: 10px; }
.sessions__empty { padding: 18px 20px; border-radius: 16px; border: 1px dashed rgba(77, 95, 79, .35); color: var(--ink-soft); font-size: 15px; }
.session { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 14px 16px 14px 14px; border-radius: 16px; background: var(--white); }
.session__date { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 14px; background: var(--pink-100); line-height: 1; }
.session__date strong { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.session__date span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-top: -6px; }
.session__info { min-width: 0; }
.session__info h4 { font-family: var(--sans); font-weight: 500; font-size: 16px; margin: 0; }
.session__info p { margin: 2px 0 0; font-size: 14px; color: var(--ink-soft); }
.session__cta { display: grid; justify-items: end; gap: 6px; }
.session__left { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-700); }
.session__left--low { color: #b2425c; }
.session .btn { min-height: 42px; padding: 0 20px; font-size: 12px; }
.session.is-full { background: rgba(255, 255, 255, .55); }
.session.is-full .session__date { background: var(--line); }
.session.is-full .session__left { color: var(--ink-soft); }
.atelier__actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

/* ---------- Avis ---------- */
@media (min-width: 1081px) {
  .reviews__slider { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; padding: 0; }
}
.reviews__slider {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 24px; scrollbar-width: thin; scrollbar-color: var(--pink-300) transparent;
}
.review {
  margin: 0; scroll-snap-align: start;
  padding: 36px 32px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
}
.stars { color: var(--pink-500); letter-spacing: .2em; font-size: 15px; }
.review p { font-family: var(--serif); font-size: 19px; line-height: 1.5; flex: 1; }
.review footer { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-700); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq .section__head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.faq .section__head .btn { margin-top: 32px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.3;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .35s var(--ease), background-color .35s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(45deg); background-color: var(--pink-100); }
.accordion details p { padding: 0 56px 28px 0; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { overflow: hidden; background: var(--pink-50); }
.contact__blob { width: 700px; height: 600px; left: -240px; top: -120px; opacity: .7; }
.contact__inner { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__list { margin-top: 40px; display: grid; gap: 18px; }
.contact__list li { display: flex; align-items: center; gap: 16px; font-size: 1.05em; }
.contact__list .i { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--white); color: var(--sage-700); }
.contact__list a:hover { color: var(--sage-700); }

.form {
  padding: clamp(24px, 4vw, 48px); border-radius: calc(var(--radius) + 6px);
  background: var(--white); box-shadow: var(--shadow);
  display: grid; gap: 22px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: end; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > legend {
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
  padding: 0; margin-bottom: 8px;
}
.field > span { margin-bottom: 0; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--cream);
  font-size: 16px; font-weight: 400; /* 16px évite le zoom auto sur iOS */
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; padding-right: 44px; cursor: pointer; color: inherit;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23151515' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 16px no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--sage-500); background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(143, 164, 138, .2);
}
.field .is-invalid { border-color: #c4566f; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--line); font-size: 14px;
  transition: all .2s var(--ease);
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--pink-200); border-color: var(--pink-500); }
.chip input:focus-visible + span { outline: 2px solid var(--sage-700); outline-offset: 2px; }
.form__error { color: #b2425c; font-size: 14px; }
.form__note { margin: 0; padding: 14px 18px; border-radius: 14px; background: var(--sage-100); font-size: 14.5px; color: var(--ink-soft); }
.atelier-fields { display: grid; gap: 22px; }
[hidden] { display: none !important; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 72px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; align-items: start; }
.footer__brand img { width: 110px; height: 110px; border-radius: 50%; margin-bottom: 18px; }
.footer__brand p { font-size: 14px; }
.footer__nav { display: grid; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.footer__nav a:hover { color: var(--pink-300); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center; transition: all .25s var(--ease);
}
.footer__social a:hover { background: var(--pink-300); border-color: var(--pink-300); color: var(--ink); }
.footer__bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px;
}
.footer__bottom a:hover { color: var(--pink-300); }

/* ---------- Bouton flottant (mobile) ---------- */
.fab { display: none; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .24s; }
.cards .reveal:nth-child(5) { transition-delay: .32s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards .card, .cards .card:nth-child(n+4) { grid-column: span 1; }
  .cards .card:last-child { grid-column: 1 / -1; }
  .nav__list { gap: 22px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  /* Menu mobile plein écran */
  .burger { display: block; }
  .header__mark { width: 46px; height: 46px; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 40px;
    background: var(--pink-50);
    padding: var(--header-h) var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: center; gap: 8px; }
  .nav__list a { font-family: var(--serif); font-size: 34px; letter-spacing: 0; text-transform: none; padding: 6px 0; }
  .nav__cta { min-height: 52px; padding: 0 32px; font-size: 13px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 32px); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 400px; margin: 12px 0 24px; }
  .dots { display: none; }
  .hero__blob-1 { width: 520px; height: 460px; right: -220px; top: 380px; }

  .atelier__inner, .faq__inner, .contact__inner { grid-template-columns: 1fr; }
  .atelier__visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .faq .section__head { position: static; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  /* Bouton devis toujours accessible au pouce */
  .fab {
    display: flex; align-items: center; justify-content: center;
    position: fixed; z-index: 90; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
    min-height: 54px; border-radius: 999px;
    background: var(--ink); color: var(--white); box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
    font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .fab.is-visible { transform: none; }
  .footer { padding-bottom: 100px; }
}

@media (max-width: 640px) {
  .header__brand { display: none; }
  .btn { white-space: normal; text-align: center; padding: 12px 24px; }
  .eyebrow { font-size: 11px; letter-spacing: .2em; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__proof { gap: 18px 28px; margin-top: 44px; }
  .hero__proof strong { font-size: 24px; }
  .badge { width: 100px; height: 100px; }
  .badge text { font-size: 9px; }
  .badge span { font-size: 24px; }

  .cards, .steps { grid-template-columns: 1fr; }
  .cards .card:last-child { grid-column: auto; }
  .card { padding: 28px 24px; }

  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; width: calc(100% + var(--gutter) * 2); }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; gap: 10px; }
  .tile--wide { grid-column: span 1; }
  .tile { border-radius: 16px; }
  .tile figcaption { opacity: 1; transform: none; left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; font-size: 14px; border-radius: 10px; }
  .tile figcaption span { font-size: 9.5px; }

  .formats { grid-template-columns: 1fr; }
  .session { grid-template-columns: auto 1fr; gap: 12px 14px; }
  .session__cta { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: start; }
  .format { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; }
  .format p { text-align: right; }
  .atelier__sticker { width: 100px; height: 100px; right: 0; }
  .atelier__sticker strong { font-size: 30px; }

  .reviews__slider { grid-auto-columns: 85%; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter); }

  .accordion details p { padding-right: 0; }

  .form__row { grid-template-columns: 1fr; }
  .form__actions .btn { flex: 1 1 100%; }

  .footer__inner { grid-template-columns: 1fr; }
}

/* Accessibilité : réduit les animations si demandé */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
