/* =========================================================
   Praliné Studio · feuille de style
   Identité A « Maison » : Bodoni Moda + Jost
   Ivoire / Ganache / Gianduja / Poudre, accent aigu en signature
   Mobile d'abord : les styles de base visent le téléphone,
   les @media (min-width) enrichissent pour les grands écrans.
   Règles de la charte : angles nets, filets de 1 px,
   ni ombres, ni dégradés, ni coins arrondis.
   ========================================================= */

:root {
  --ivoire: #F3EEE6;
  --papier: #F8F5F0;
  --ganache: #1B1513;
  --encre: #3E342E;
  --taupe: #6E6259;
  --gianduja: #7A5A35;
  --gianduja-clair: #B8936A;
  --poudre: #E6D3CB;
  --filet: #D9CFC2;
  --filet-sombre: #4A3F39;

  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;

  --gutter: 20px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--ganache);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
em { font-style: italic; }

::selection { background: var(--poudre); color: var(--ganache); }

:focus-visible {
  outline: 2px solid var(--gianduja);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ganache);
  color: var(--ivoire);
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Typo commune ---------- */

.kicker {
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 16px;
}
.kicker-light { color: var(--gianduja-clair); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 8.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.section-title em { color: var(--gianduja); }

.section-lead {
  margin-top: 16px;
  color: var(--encre);
  max-width: 34em;
}

.section-head { margin-bottom: 40px; }

/* ---------- Accent aigu : la signature ---------- */

.e-aigu { position: relative; display: inline-block; }
.e-aigu::after {
  content: "";
  position: absolute;
  left: .2em;
  top: -.17em;
  width: .2em;
  height: .24em;
  background: var(--gianduja);
  clip-path: polygon(64% 0, 100% 0, 30% 100%, 14% 100%);
  animation: accent-drop .7s var(--ease) 1.1s both;
}
@keyframes accent-drop {
  0%   { transform: translate(.25em, -.7em) rotate(25deg); opacity: 0; }
  70%  { transform: translate(0, .03em) rotate(0); opacity: 1; }
  100% { transform: none; opacity: 1; }
}

/* ---------- Boutons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--ganache);
  background: var(--ganache);
  color: var(--ivoire);
  font: 500 12px/1 var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
/* Remplissage qui « nappe » le bouton au survol */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gianduja);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}
@media (hover: hover) {
  .btn:hover::before { transform: scaleY(1); }
  .btn:hover { border-color: var(--gianduja); }
}
.btn:active { transform: translateY(1px); }

.btn-line { background: transparent; color: var(--ganache); }
@media (hover: hover) { .btn-line:hover { color: var(--ivoire); } }

.btn-light { background: var(--ivoire); color: var(--ganache); border-color: var(--ivoire); }
@media (hover: hover) { .btn-light:hover { color: var(--ivoire); } }

.btn-block { width: 100%; }

.link-italic {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  text-decoration: underline;
  text-decoration-color: var(--gianduja);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  transition: text-underline-offset .3s var(--ease), color .3s;
}
.link-italic:hover { color: var(--gianduja); text-underline-offset: 4px; }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ivoire);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--filet); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  line-height: 1;
}
.brand-word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .14em;
  margin-right: -.14em;
}
.brand-studio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8.5px;
  letter-spacing: .62em;
  margin-right: -.62em;
  text-transform: uppercase;
}
.brand-studio::before,
.brand-studio::after {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--gianduja);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 4px 0 12px;
  border: 0;
  background: transparent;
  color: var(--ganache);
  font: 500 11px/1 var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle-bars { display: grid; gap: 6px; width: 24px; }
.menu-toggle-bars span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:first-child { transform: translateY(3.5px) rotate(20deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:last-child  { transform: translateY(-3.5px) rotate(-20deg); }

.nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--ivoire);
  border-bottom: 1px solid var(--ganache);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .45s var(--ease), visibility 0s linear .45s;
}
.nav.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .45s var(--ease), visibility 0s;
}
.nav ul { padding: 8px var(--gutter) 24px; }
.nav li + li { border-top: 1px solid var(--filet); }
.nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-family: var(--serif);
  font-size: 24px;
  text-decoration: none;
}
.nav a.nav-cta {
  margin-top: 12px;
  justify-content: center;
  background: var(--ganache);
  color: var(--ivoire);
  font: 500 12px/1 var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
}

/* ---------- Ouverture ---------- */

.hero { padding: 40px 0 56px; }

.hero-grid { display: grid; gap: 48px; }

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 12.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.hero-title em { color: var(--gianduja); }
.hero-title .m-br { display: block; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span {
  display: inline-block;
  animation: line-up 1s var(--ease) both;
}
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes line-up {
  from { transform: translateY(110%); }
  to   { transform: none; }
}

.hero-lead {
  margin-top: 24px;
  color: var(--encre);
  max-width: 30em;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}

/* --- Le bon de commande --- */

.hero-ticket {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 8px 0 0;
}

.ticket {
  position: relative;
  width: min(100%, 330px);
  transform: rotate(-2deg);
}

.ticket-paper {
  position: relative;
  padding: 26px 24px 84px;
  background: var(--papier);
  border: 1px solid var(--filet);
  border-bottom: 0;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  /* bord déchiré en dents de scie, en bas */
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 10px repeat-x;
          mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 10px repeat-x;
  /* impression ligne par ligne */
  animation: ticket-print 1.8s steps(16, end) .5s both;
}
@keyframes ticket-print {
  from { clip-path: inset(0 0 100% 0); transform: translateY(-24px); }
  to   { clip-path: inset(0 0 0 0);    transform: none; }
}

.ticket hr {
  margin: 14px 0;
  border: 0;
  border-top: 1px dashed var(--taupe);
}

.t-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--taupe);
}
.t-table { margin-top: 10px; text-transform: uppercase; letter-spacing: .14em; }
.t-table strong { font-weight: 600; }
.t-item { display: flex; gap: 12px; font-size: 15px; font-weight: 500; }
.t-item em { font-family: var(--serif); font-size: 17px; color: var(--gianduja); }
.t-sub { margin-top: 6px; padding-left: 30px; color: var(--encre); }
.t-row { display: flex; align-items: baseline; gap: 8px; text-transform: uppercase; letter-spacing: .14em; }
.t-row i { flex: 1; border-bottom: 1px dotted var(--taupe); transform: translateY(-3px); }
.t-total { margin-top: 6px; font-weight: 600; font-size: 15px; }
.t-total span:last-child { font-family: var(--serif); font-size: 22px; letter-spacing: 0; }
.t-foot {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--taupe);
}

/* Le tampon « Ça marche ! » */
.ticket-stamp {
  position: absolute;
  right: -12px;
  bottom: 22px;
  padding: 8px 14px;
  border: 2px solid var(--gianduja);
  color: var(--gianduja);
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1;
  white-space: nowrap;
  background: rgba(248, 245, 240, .55);
  transform: rotate(-12deg);
  animation: stamp-in .45s cubic-bezier(.3, 1.6, .5, 1) 2.5s both;
}
.ticket-stamp::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--gianduja);
}
@keyframes stamp-in {
  0%   { opacity: 0; transform: rotate(-4deg) scale(1.9); }
  100% { opacity: 1; transform: rotate(-12deg) scale(1); }
}

/* Le cachet tournant */
.stamp-ring {
  position: absolute;
  z-index: 2;
  left: max(0px, calc(50% - 190px));
  bottom: -34px;
  width: 104px;
  height: 104px;
  border-radius: 50%; /* cachet rond, comme une étiquette de boîte */
  background: var(--ivoire);
  border: 1px solid var(--ganache);
  color: var(--ganache);
  animation: fade-in .8s ease 2.8s both;
}
.stamp-ring svg {
  width: 100%;
  height: 100%;
  padding: 4px;
  animation: spin 28s linear infinite;
}
.stamp-ring text {
  font-family: var(--sans);
  font-size: 13.4px;
  letter-spacing: 3.2px;
  fill: currentColor;
}
.stamp-p {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 34px;
  line-height: 1;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Bandeau du fournil ---------- */

/* Un ruban cadré dans la largeur du contenu, entre deux doubles filets */
.marquee-band { padding: 0 0 40px; }
.marquee {
  position: relative;
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid var(--ganache);
  border-bottom: 1px solid var(--ganache);
  color: var(--ganache);
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gianduja);
  opacity: .45;
}
.marquee::before { top: 3px; }
.marquee::after  { bottom: 3px; }
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 46s linear infinite;
}
@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused; } }
.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.2;
  padding: 0 18px;
  white-space: nowrap;
}
.marquee i {
  width: 3px;
  height: 12px;
  background: var(--gianduja);
  clip-path: polygon(64% 0, 100% 0, 30% 100%, 0 100%);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Offre de lancement ---------- */

.launch {
  background: var(--poudre);
  padding: 48px 0;
}
.launch-inner { display: grid; gap: 18px; justify-items: start; }
.launch-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.launch-chalk {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  font-size: 18px;
  color: var(--gianduja);
}
.launch-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 8vw, 48px);
  line-height: 1.1;
}
.launch-text { color: var(--encre); max-width: 36em; }

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section-tight { padding: 24px 0 72px; }
.section-tint { background: var(--papier); border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }

/* Tout est compris */
.features { display: grid; border-top: 1px solid var(--ganache); }
.features li {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--filet);
}
.f-num {
  grid-row: span 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gianduja);
  padding-top: 2px;
}
.features h3 { font-weight: 500; font-size: 18px; line-height: 1.35; }
.features p { color: var(--encre); font-size: 15.5px; margin-top: 4px; }

/* Filet + accent */
.rule { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.rule span { flex: 1; height: 1px; background: var(--gianduja); }
.rule i { width: 2px; height: 14px; background: var(--gianduja); transform: rotate(40deg); }

/* ---------- La carte (formules) ---------- */

.plans { display: grid; gap: 20px; }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  background: var(--ivoire);
  border: 1px solid var(--ganache);
  transition: transform .45s var(--ease);
}
@media (hover: hover) { .plan:hover { transform: translateY(-6px); } }

.plan-ref {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--taupe);
  padding-bottom: 14px;
  border-bottom: 1px solid currentColor;
}
.plan-badge {
  padding: 5px 9px;
  background: var(--gianduja-clair);
  color: var(--ganache);
  letter-spacing: .2em;
  font-weight: 500;
}
.plan-name {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 36px;
  line-height: 1.05;
}
.plan-desc { margin-top: 8px; color: var(--encre); }

.plan-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0;
  border-top: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
}
.plan-specs div { padding: 12px 0; }
.plan-specs div + div { padding-left: 12px; border-left: 1px solid var(--filet); }
.plan-specs dt { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.plan-specs dd { margin-top: 2px; font-weight: 500; font-size: 15px; }

.plan-list { display: grid; gap: 10px; }
.plan-list li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.45; }
.plan-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 3px;
  height: 11px;
  background: var(--gianduja);
  clip-path: polygon(64% 0, 100% 0, 30% 100%, 0 100%);
}

.plan-price {
  margin: 28px 0 18px;
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1;
  letter-spacing: -.02em;
}
.plan-price span { font-size: .5em; vertical-align: .55em; margin-left: 2px; }

.plan .btn { margin-top: auto; }

.plan-featured {
  background: var(--ganache);
  color: var(--ivoire);
}
.plan-featured .plan-ref { color: var(--gianduja-clair); }
.plan-featured .plan-desc,
.plan-featured .plan-specs dt { color: #CFC5BA; }
.plan-featured .plan-specs,
.plan-featured .plan-specs div + div { border-color: var(--filet-sombre); }
.plan-featured .plan-list li::before { background: var(--gianduja-clair); }

/* ---------- Le service (calendrier) ---------- */

.timeline { position: relative; display: grid; }

.step {
  position: relative;
  padding: 0 0 36px 44px;
}
/* le segment vertical qui relie les étapes, tracé à l'arrivée */
.step::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  bottom: -2px;
  width: 1px;
  background: var(--filet);
}
.step::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  bottom: -2px;
  width: 1px;
  background: var(--gianduja);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .9s var(--ease) .25s;
}
.step:last-child::before,
.step:last-child::after { display: none; }
.step.is-in::after { transform: scaleY(1); }

.step-dot {
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%; /* le point du calendrier, seul rond assumé (comme sur le flyer) */
  border: 1px solid var(--gianduja);
  background: var(--ivoire);
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.step.is-in .step-dot { background: var(--gianduja); transform: scale(1.1); }
.step-final .step-dot { border-color: var(--ganache); }
.step-final.is-in .step-dot { background: var(--ganache); }

.step-when {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gianduja);
  line-height: 1;
}
.step-final .step-when { color: var(--ganache); }
.step-title {
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
}
.step-text { margin-top: 8px; color: var(--encre); max-width: 26em; }

/* ---------- Entretien + parrainage ---------- */

.duo { display: grid; gap: 20px; }
.duo-card {
  padding: 32px 24px;
  border: 1px solid var(--ganache);
  background: var(--ivoire);
}
.duo-card > p:not(.kicker) { color: var(--encre); }
.duo-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 7.6vw, 42px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.duo-title .num { color: var(--gianduja); font-style: italic; }

.ticks { margin-top: 20px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; font-size: 15.5px; }
.ticks li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 1px;
  background: var(--gianduja);
  transform: translateY(-4px);
}

.duo-card-dark { background: var(--ganache); color: var(--ivoire); }
.duo-card-dark .duo-note { color: #CFC5BA; }
.referral {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 8px 0 20px;
  border-top: 1px solid var(--filet-sombre);
  border-bottom: 1px solid var(--filet-sombre);
}
.referral > div { padding: 18px 0; }
.referral > div + div { padding-left: 16px; border-left: 1px solid var(--filet-sombre); }
.referral-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(32px, 9vw, 46px);
  line-height: 1;
  color: var(--gianduja-clair);
}
.referral-who { margin-top: 8px; font-size: 14px; line-height: 1.45; color: #E4DCD2; }
.duo-note { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.45; }

/* ---------- Qui signe ---------- */

.section-about { padding-top: 32px; }
.about { max-width: 860px; text-align: center; }
.about .kicker { margin-bottom: 24px; }
.about-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 6.8vw, 42px);
  line-height: 1.25;
}
.about-name {
  margin-top: 28px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.about-text { margin: 14px auto 0; max-width: 34em; color: var(--encre); }

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

.section-contact { background: var(--papier); border-top: 1px solid var(--filet); }
.contact { display: grid; gap: 8px; }
.contact-direct { margin-top: 18px; font-size: 16px; }
.contact-direct a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  white-space: nowrap;
  text-decoration-color: var(--gianduja);
  text-underline-offset: 5px;
}

.form {
  display: grid;
  gap: 20px;
  padding: 24px 20px 28px;
  background: var(--ivoire);
  border: 1px solid var(--ganache);
}
.form-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--taupe);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--taupe);
}

.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; gap: 20px; }
.field label,
.field legend {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.field label span[aria-hidden] { color: var(--gianduja); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--filet);
  border-bottom-color: var(--ganache);
  border-radius: 0;
  background: var(--papier);
  color: var(--ganache);
  font: 400 16px/1.4 var(--sans); /* 16 px : pas de zoom forcé sur iPhone */
  transition: border-color .25s, background .25s;
  -webkit-appearance: none;
          appearance: none;
}
.field select {
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ganache) 50%), linear-gradient(135deg, var(--ganache) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gianduja);
  background: #FFFDF9;
}
.field input::placeholder,
.field textarea::placeholder { color: #8C8078; }
.field [aria-invalid="true"] { border-color: #9A3B2E; }

.field-error { font-size: 14px; color: #9A3B2E; }

.choices { margin: 0; padding: 0; border: 0; gap: 10px; }
.choices legend { margin-bottom: 10px; padding: 0; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--filet);
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  transition: background .25s, color .25s, border-color .25s;
}
.choice span b { font-family: var(--serif); font-weight: 500; font-size: 17px; }
.choice input:checked + span { background: var(--ganache); color: var(--ivoire); border-color: var(--ganache); }
.choice input:focus-visible + span { outline: 2px solid var(--gianduja); outline-offset: 2px; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--encre);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--ganache);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.5em; font-size: 15px; }
.form-status.is-ok { color: var(--gianduja); font-family: var(--serif); font-style: italic; font-size: 19px; }

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--ganache);
  color: var(--ivoire);
  padding: 48px 0 24px;
  font-size: 15px;
}
.footer-inner { display: grid; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-name { font-family: var(--serif); font-size: 22px; }
.footer-tagline { font-family: var(--serif); font-style: italic; color: var(--gianduja-clair); }
.footer-col p + p { margin-top: 4px; }
.footer-col a { text-decoration: none; border-bottom: 1px solid var(--filet-sombre); }
.footer-col a:hover { border-color: var(--gianduja-clair); }
.footer-zone { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #CFC5BA; }
.footer-legal {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--filet-sombre);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: #CFC5BA;
}
.footer-legal a { color: inherit; text-underline-offset: 4px; }

/* Cachet carré (pied de page) */
.seal {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border: 1px solid var(--gianduja-clair);
  outline: 1px solid var(--gianduja-clair);
  outline-offset: -6px;
}
.seal-p {
  position: relative;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
}
.seal-p::after {
  content: "";
  position: absolute;
  left: .5em;
  top: -.12em;
  width: .2em;
  height: .24em;
  background: var(--gianduja-clair);
  clip-path: polygon(64% 0, 100% 0, 30% 100%, 14% 100%);
}

/* ---------- Apparitions au défilement ---------- */
/* .js est posé par main.js : sans JavaScript, tout reste visible. */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .features .reveal:nth-child(2n).is-in { transition-delay: .08s; }
.js .plans .reveal:nth-child(2).is-in { transition-delay: .1s; }
.js .plans .reveal:nth-child(3).is-in { transition-delay: .2s; }

/* Dans l'ouverture, les éléments apparaissent au chargement */
.hero .reveal { transition-delay: .35s; }
.hero .hero-actions.reveal { transition-delay: .5s; }

/* =========================================================
   Grands écrans
   ========================================================= */

@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .form { padding: 32px 32px 36px; }
  .features { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .duo-card { padding: 40px 36px; }
}

@media (min-width: 960px) {
  :root { --gutter: 48px; --header-h: 80px; }
  body { font-size: 18px; }

  .brand-word { font-size: 26px; }
  .brand-studio { font-size: 9.5px; }

  .menu-toggle { display: none; }
  .nav {
    position: static;
    clip-path: none;
    visibility: visible;
    background: none;
    border: 0;
    transition: none;
  }
  .nav ul { display: flex; align-items: center; gap: 34px; padding: 0; }
  .nav li + li { border: 0; }
  .nav a {
    position: relative;
    min-height: 44px;
    font: 400 12px/1 var(--sans);
    letter-spacing: .26em;
    text-transform: uppercase;
  }
  .nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 1px;
    background: var(--gianduja);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
  }
  .nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
  .nav a.nav-cta { margin: 0; padding: 0 22px; }
  .nav a.nav-cta:hover { background: var(--gianduja); }

  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 56px; }
  .hero-title { font-size: clamp(48px, 5vw, 76px); } /* tient dans la colonne sans être coupé */
  .hero-title .line > span { white-space: nowrap; }
  .hero-title .m-br { display: none; }
  .stamp-ring { left: -40px; bottom: -40px; width: 124px; height: 124px; }
  .ticket { width: 340px; }

  .marquee span { font-size: 22px; padding: 0 26px; }
  .marquee-band { padding-bottom: 32px; }
  /* l'ouverture + le ruban tiennent exactement dans le premier écran */
  .hero {
    min-height: calc(100vh - var(--header-h) - 92px);
    min-height: calc(100svh - var(--header-h) - 92px);
    display: flex;
    align-items: center;
    padding: 48px 0 56px;
  }
  .hero > .wrap { width: 100%; }

  .launch { padding: 56px 0; }
  .launch-inner { grid-template-columns: 1fr auto; align-items: end; column-gap: 48px; }
  .launch-label, .launch-title, .launch-text { grid-column: 1; }
  .launch-inner .btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; }

  .section { padding: 112px 0; }
  .section-tight { padding: 32px 0 112px; }
  .section-head { margin-bottom: 56px; }

  .features { grid-template-columns: repeat(3, 1fr); }

  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .plan { padding: 32px 30px 30px; }
  .plan-featured { transform: translateY(-14px); }
  @media (hover: hover) { .plan-featured:hover { transform: translateY(-20px); } }

  /* calendrier à l'horizontale */
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .step { padding: 40px 0 0; }
  .step::before,
  .step::after {
    left: 18px;
    right: -28px;
    top: 8px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .step::after { transform: scaleX(0); transform-origin: left; }
  .step.is-in::after { transform: scaleX(1); }
  .step-dot { top: 0; }

  .duo { grid-template-columns: 1fr 1fr; gap: 28px; }
  .duo-card { padding: 48px 44px; }

  .contact { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .contact .section-head { position: sticky; top: calc(var(--header-h) + 40px); }
  .form { padding: 36px 40px 40px; }

  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; align-items: center; }
}

/* =========================================================
   Mouvement réduit : on coupe toutes les animations
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .marquee-track { animation: none !important; }
  .stamp-ring svg { animation: none !important; }
}

/* =========================================================
   Pages métier
   ========================================================= */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--taupe);
}
.crumbs a { color: var(--ganache); text-underline-offset: 4px; text-decoration-color: var(--gianduja); }

.hero-title-m { font-size: clamp(40px, 11vw, 76px); }
.hero-title-m .line > span { white-space: normal !important; }

.hero-visual { display: flex; justify-content: center; }

/* Carte « métier » commune */
.mv {
  position: relative;
  width: min(100%, 360px);
  padding: 24px 22px 26px;
  background: var(--papier);
  border: 1px solid var(--ganache);
  outline: 1px solid var(--filet);
  outline-offset: 5px;
  animation: mv-in .9s var(--ease) .3s both;
}
@keyframes mv-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.mv-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.mv-head span:first-child { font-family: var(--serif); font-style: italic; font-size: 22px; letter-spacing: 0; text-transform: none; }
.mv-head span:last-child { color: var(--taupe); }

/* Boulangerie : les fournées s'allument une à une */
.fournees li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--filet);
  opacity: .35;
  animation: fournee .5s var(--ease) both;
}
.fournees li:nth-child(1) { animation-delay: .9s; }
.fournees li:nth-child(2) { animation-delay: 1.25s; }
.fournees li:nth-child(3) { animation-delay: 1.6s; }
.fournees li:nth-child(4) { animation-delay: 1.95s; }
.fournees li:nth-child(5) { animation-delay: 2.3s; }
@keyframes fournee { to { opacity: 1; } }
.f-h { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gianduja); font-variant-numeric: tabular-nums; }
.f-n { font-size: 15.5px; }
.mv-foot { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--encre); }
.hot-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gianduja);
  animation: pulse 1.8s ease-in-out 2.8s infinite;
}
@keyframes pulse { 50% { transform: scale(1.6); opacity: .4; } }

/* Pâtisserie : la plaque s'écrit à la poche */
.cmd div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--filet); font-size: 15px; }
.cmd dt { color: var(--taupe); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; padding-top: 3px; }
.cmd dd { text-align: right; font-weight: 500; }
.cmd-plaque-label { margin-top: 16px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.cmd-plaque {
  margin-top: 8px;
  padding: 14px 12px;
  background: var(--ganache);
  color: var(--ivoire);
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.2;
}
.typed {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  border-right: 1px solid var(--gianduja-clair);
  animation: typing 2s steps(23, end) 1.2s both, caret .8s step-end 3.2s 4 both;
}
@keyframes typing { from { max-width: 0; } to { max-width: 100%; } }
@keyframes caret { 50% { border-color: transparent; } }
.cmd-stamp {
  position: absolute;
  right: -10px;
  bottom: -18px;
  padding: 7px 12px;
  border: 2px solid var(--gianduja);
  outline: 1px solid var(--gianduja);
  outline-offset: -6px;
  background: rgba(248, 245, 240, .85);
  color: var(--gianduja);
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  white-space: nowrap;
  transform: rotate(-9deg);
  animation: stamp-in .45s cubic-bezier(.3, 1.6, .5, 1) 3.6s both;
}

/* Restaurant : l'ardoise s'écrit à la craie */
.mv-ardoise { background: var(--ganache); color: var(--ivoire); border-color: var(--ganache); outline-color: var(--gianduja); }
.mv-ardoise .mv-head span:last-child { color: #BDB2A6; }
.ardoise li { padding: 12px 0; border-bottom: 1px solid var(--filet-sombre); }
.a-k { display: block; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gianduja-clair); }
.a-v {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.25;
  animation: chalk 1s var(--ease) both;
}
.ardoise li:nth-child(1) .a-v { animation-delay: .9s; }
.ardoise li:nth-child(2) .a-v { animation-delay: 1.5s; }
.ardoise li:nth-child(3) .a-v { animation-delay: 2.1s; }
@keyframes chalk {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
.a-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 0 18px;
  background: var(--ivoire);
  color: var(--ganache);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  animation: fade-in .6s ease 2.9s both;
}

/* Formule conseillée */
.reco { display: grid; gap: 32px; }
.reco-alt { margin-top: 18px; color: var(--encre); }
.reco-alt .link-italic { display: inline-block; margin-left: 6px; font-size: 18px; }
.reco-card {
  padding: 28px 24px;
  background: var(--ganache);
  color: var(--ivoire);
  display: flex;
  flex-direction: column;
}
.reco-card .plan-ref { color: var(--gianduja-clair); }
.reco-card .plan-desc { color: #CFC5BA; }
.reco-card .btn { width: 100%; }
.reco-note { margin-top: 14px; font-size: 13px; color: #CFC5BA; text-align: center; }

/* FAQ */
.faq-list { border-top: 1px solid var(--ganache); }
.faq-item { border-bottom: 1px solid var(--filet); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--gianduja);
  transition: transform .35s var(--ease);
}
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-item p { padding: 0 0 22px; color: var(--encre); max-width: 40em; }
.faq-item[open] p { animation: fade-in .4s ease both; }

/* Bandeau d'appel */
.cta-band { background: var(--ganache); color: var(--ivoire); padding: 64px 0; }
.cta-inner { display: grid; gap: 16px; justify-items: start; }
.cta-title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 8.6vw, 54px); line-height: 1.1; }
.cta-title em { color: var(--gianduja-clair); }
.cta-text { color: #CFC5BA; }
.cta-text a { color: var(--ivoire); white-space: nowrap; text-underline-offset: 4px; }
.cta-inner .btn { margin-top: 8px; }

/* Autres métiers (et section « Pour quel métier ? » de l'accueil) */
.others-wrap { padding-top: 56px; }
.others, .metiers { display: grid; gap: 14px; }
.other, .metier {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 22px 56px 22px 22px;
  border: 1px solid var(--ganache);
  text-decoration: none;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.other .kicker, .metier .kicker { margin: 0; }
.other-name, .metier-name { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.metier-text { margin-top: 6px; font-size: 15px; color: var(--encre); transition: color .35s; }
.other::after, .metier::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--gianduja);
  transition: transform .35s var(--ease), width .35s var(--ease);
}
@media (hover: hover) {
  .other:hover, .metier:hover { background: var(--ganache); color: var(--ivoire); }
  .other:hover .kicker, .metier:hover .kicker, .metier:hover .metier-text { color: #CFC5BA; }
  .other:hover::after, .metier:hover::after { width: 28px; background: var(--gianduja-clair); }
}

.footer-metiers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 32px;
  font-size: 14px;
}
.footer-metiers a { color: #E4DCD2; text-underline-offset: 4px; text-decoration-color: var(--filet-sombre); }
.footer-metiers a:hover { text-decoration-color: var(--gianduja-clair); }

.nav a[aria-current] { color: var(--gianduja); }

@media (min-width: 960px) {
  .hero-metier { min-height: 0; padding: 56px 0 96px; }
  .hero-title-m { font-size: clamp(48px, 5vw, 72px); }
  .mv { padding: 28px 28px 30px; }
  .reco { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: center; }
  .reco-card { padding: 36px 34px; }
  .faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .faq .section-head { margin: 0; }
  .cta-band { padding: 88px 0; }
  .others, .metiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .typed { max-width: 100% !important; border: 0; }
  .fournees li { opacity: 1; }
}

/* =========================================================
   Offre de lancement
   ========================================================= */
.launch-title em { color: var(--gianduja); }
.launch-title s, .t-total s {
  color: var(--taupe);
  font-size: .55em;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}
.t-total s { font-size: .7em; margin-right: 4px; }
.t-promo { color: var(--gianduja); }

.places { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; }
.places-marks { display: inline-flex; gap: 7px; }
.places-marks i {
  width: 5px;
  height: 16px;
  background: var(--gianduja);
  clip-path: polygon(64% 0, 100% 0, 30% 100%, 0 100%);
  transform-origin: bottom;
}
/* les dix accents tombent un à un quand l'offre apparaît */
.js .launch-inner .places-marks i { opacity: 0; transform: translateY(-10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.js .launch-inner.is-in .places-marks i { opacity: 1; transform: none; }
.js .launch-inner.is-in .places-marks i:nth-child(2)  { transition-delay: .45s; }
.js .launch-inner.is-in .places-marks i:nth-child(3)  { transition-delay: .5s; }
.js .launch-inner.is-in .places-marks i:nth-child(4)  { transition-delay: .55s; }
.js .launch-inner.is-in .places-marks i:nth-child(5)  { transition-delay: .6s; }
.js .launch-inner.is-in .places-marks i:nth-child(6)  { transition-delay: .65s; }
.js .launch-inner.is-in .places-marks i:nth-child(7)  { transition-delay: .7s; }
.js .launch-inner.is-in .places-marks i:nth-child(8)  { transition-delay: .75s; }
.js .launch-inner.is-in .places-marks i:nth-child(9)  { transition-delay: .8s; }
.js .launch-inner.is-in .places-marks i:nth-child(10) { transition-delay: .85s; }
.js .launch-inner.is-in .places-marks i:nth-child(1)  { transition-delay: .4s; }
/* place prise : ajouter la classe « pris » sur l'accent → <i class="pris"></i> */
.places-marks i.pris { background: var(--taupe); opacity: .3 !important; }

.plan-launch { margin: -8px 0 18px; font-size: 14px; }
.plan-launch a { color: inherit; text-underline-offset: 4px; text-decoration-color: var(--gianduja-clair); }
.plan-featured .plan-launch, .reco-card .plan-launch { color: var(--gianduja-clair); }

.cta-launch { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--gianduja-clair); max-width: 32em; }

@media (min-width: 960px) {
  .launch-label, .launch-title, .launch-text, .places { grid-column: 1; }
  .launch-inner .btn { grid-row: 1 / span 4; }
}

/* Mentions légales */
.legal { margin-top: 40px; border-top: 1px solid var(--ganache); }
.legal h2 {
  margin: 36px 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gianduja);
}
.legal p { color: var(--encre); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal a { text-underline-offset: 4px; text-decoration-color: var(--gianduja); overflow-wrap: anywhere; }
.legal-date { margin-top: 40px !important; font-size: 14px !important; color: var(--taupe) !important; }

/* =========================================================
   Réalisations · Méthode
   ========================================================= */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-short { padding-bottom: 16px; }
.hero-short .hero-lead { max-width: 36em; }

.cases { display: grid; gap: 72px; }
.case { display: grid; gap: 32px; align-items: center; }
.case-visual { display: flex; justify-content: center; }
.case-tag { padding: 4px 8px; border: 1px solid currentColor; letter-spacing: .2em; }
.case-tag-dark { color: var(--gianduja-clair); }
.case-metier { margin: 20px 0 6px; }
.case-name { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(36px, 9vw, 54px); line-height: 1.05; }
.case-text { margin: 14px 0 20px; color: var(--encre); max-width: 32em; }
.case-plan { margin-top: 22px; font-size: 15px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.case-plan .link-italic { font-size: 18px; }

.case-next {
  padding: 32px 24px;
  background: var(--ganache);
  color: var(--ivoire);
  display: grid;
  gap: 14px;
  justify-items: start;
}
.case-next .plan-ref { color: var(--gianduja-clair); width: 100%; }
.case-next .case-text { color: #CFC5BA; margin: 0 0 6px; }

/* Le téléphone (objet dessiné, seul angle arrondi assumé) */
.phone {
  width: 248px;
  height: 504px;
  padding: 10px;
  background: var(--ganache);
  border-radius: 36px;
  flex: none;
}
.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 27px;
}
.phone-screen::before { /* encoche */
  content: "";
  position: absolute;
  z-index: 3;
  top: 7px;
  left: 50%;
  width: 64px;
  height: 17px;
  margin-left: -32px;
  border-radius: 10px;
  background: var(--ganache);
}
/* le mini-site défile tout seul, s'arrête au survol */
.ms {
  min-height: 100%;
  padding-top: 32px;
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.4;
  animation: ms-scroll 14s ease-in-out 1s infinite alternate;
}
@keyframes ms-scroll {
  0%, 12% { transform: translateY(0); }
  88%, 100% { transform: translateY(calc(-100% + 484px)); }
}
@media (hover: hover) { .phone:hover .ms { animation-play-state: paused; } }

.ms-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px 10px; }
.ms-logo { font-family: var(--serif); font-size: 15px; letter-spacing: .02em; }
.ms-burger { width: 16px; height: 7px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.ms-hero { padding: 14px 14px 22px; }
.ms-k { font-size: 8px; letter-spacing: .22em; text-transform: uppercase; opacity: .75; }
.ms-h { margin-top: 6px; font-family: var(--serif); font-size: 21px; line-height: 1.1; }
.ms-sec { padding: 16px 14px; border-top: 1px solid rgba(0,0,0,.12); }
.ms-t { font-size: 8px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 10px; opacity: .75; }
.ms-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dotted rgba(0,0,0,.2); }
.ms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ms-grid span { display: grid; gap: 5px; padding: 8px; font-size: 9.5px; }
.ms-btn { display: block; margin-top: 10px; padding: 9px; text-align: center; font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; }
.ms-badge { display: inline-block; margin-top: 12px; padding: 5px 8px; font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; }
.sh { display: block; height: 38px; position: relative; }

/* Fournil Bihotz : blé, rouge et vert basques */
.ms-bihotz { background: #F1E6D0; color: #3A2817; }
.ms-bihotz .ms-logo b { color: #B0281F; font-weight: 500; }
.ms-bihotz .ms-badge { background: #B0281F; color: #F1E6D0; }
.ms-bihotz .ms-grid span { background: #E6D6B8; }
.ms-bihotz .ms-btn { background: #3A2817; color: #F1E6D0; }
.ms-bihotz .ms-btn-2 { background: transparent; border: 1px solid #3A2817; color: #3A2817; }
.ms-loaf { position: relative; height: 70px; margin: 16px 10px 0; background: #C98A45; border-radius: 50% / 60% 60% 40% 40%; }
.ms-loaf i { position: absolute; top: 24px; width: 28px; height: 4px; background: #E9C38D; border-radius: 4px; transform: rotate(-24deg); }
.ms-loaf i:nth-child(1) { left: 28%; } .ms-loaf i:nth-child(2) { left: 46%; } .ms-loaf i:nth-child(3) { left: 64%; }
.sh-baguette::after { content: ""; position: absolute; left: 4px; right: 4px; top: 14px; height: 10px; background: #C98A45; border-radius: 8px; transform: rotate(-12deg); }
.sh-boule::after { content: ""; position: absolute; left: 50%; top: 4px; width: 34px; height: 30px; margin-left: -17px; background: #A86F35; border-radius: 50%; }
.sh-croissant::after { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 26px; margin-left: -20px; border-radius: 50% 50% 0 0; border: 9px solid #D29B52; border-bottom: 0; box-sizing: border-box; }
.sh-gateau::after { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 24px; margin-left: -20px; background: #CF9A55; border-radius: 4px; border-top: 5px solid #B0281F; }

/* Mila : rose poudré et pistache */
.ms-mila { background: #F6E7EA; color: #4A2131; }
.ms-mila .ms-logo { font-style: italic; font-size: 18px; }
.ms-mila .ms-grid span { background: #fff8f9; }
.ms-mila .ms-btn { background: #7E9A5C; color: #fff; }
.ms-cake { position: relative; height: 92px; margin-top: 14px; }
.ms-cake i { position: absolute; left: 50%; }
.ms-cake .c1 { bottom: 0; width: 120px; height: 34px; margin-left: -60px; background: #E9B8C3; border-radius: 4px; }
.ms-cake .c2 { bottom: 34px; width: 92px; height: 28px; margin-left: -46px; background: #F3D3DA; border-radius: 4px; }
.ms-cake .c3 { bottom: 62px; width: 92px; height: 6px; margin-left: -46px; background: #A9C08A; border-radius: 3px; }
.ms-cake .cherry { bottom: 68px; width: 14px; height: 14px; margin-left: -7px; background: #B4243F; border-radius: 50%; }
.sh-tarte::after { content: ""; position: absolute; left: 50%; top: 10px; width: 44px; height: 20px; margin-left: -22px; background: #D9A066; border-radius: 0 0 20px 20px; border-top: 7px solid #D8344F; }
.sh-entremets::after { content: ""; position: absolute; left: 50%; top: 6px; width: 34px; height: 28px; margin-left: -17px; background: #5A2E22; border-radius: 3px; border-top: 6px solid #E9B8C3; }
.sh-chou::after { content: ""; position: absolute; left: 50%; top: 8px; width: 30px; height: 24px; margin-left: -15px; background: #DDAA6C; border-radius: 50% 50% 40% 40%; box-shadow: none; }
.sh-macaron::after { content: ""; position: absolute; left: 50%; top: 9px; width: 30px; height: 22px; margin-left: -15px; background: #A9C08A; border-radius: 12px; border-top: 4px solid #A9C08A; outline: 3px solid #fff8f9; outline-offset: -12px; }

/* Marée Haute : bleu nuit et ambre */
.ms-maree { background: #13263A; color: #F1EADC; }
.ms-maree .ms-logo b { color: #E3A55A; font-weight: 400; font-style: italic; }
.ms-maree .ms-sec { border-color: rgba(255,255,255,.14); }
.ms-maree .ms-row { border-color: rgba(255,255,255,.22); }
.ms-maree .ms-btn { background: #E3A55A; color: #13263A; }
.ms-plate { position: relative; width: 110px; height: 110px; margin: 16px auto 4px; border-radius: 50%; background: #F1EADC; }
.ms-plate i { position: absolute; inset: 22px; border-radius: 50%; background: #E3A55A; outline: 6px solid #2D5170; outline-offset: -26px; }

/* Méthode : trois principes */
.principles { display: grid; border-top: 1px solid var(--ganache); }
.principles li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--filet); }
.principles h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.principles p { grid-column: 2; margin-top: 6px; color: var(--encre); }

@media (min-width: 960px) {
  .cases { gap: 112px; }
  .case { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
  .case-rev .case-visual { order: 2; }
  .phone { width: 280px; height: 570px; }
  @keyframes ms-scroll {
    0%, 12% { transform: translateY(0); }
    88%, 100% { transform: translateY(calc(-100% + 550px)); }
  }
  .case-next { padding: 56px 56px; grid-template-columns: 1fr auto; align-items: end; }
  .case-next > * { grid-column: 1; }
  .case-next .btn { grid-column: 2; grid-row: 2 / span 2; }
  .principles { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
}
@media (prefers-reduced-motion: reduce) { .ms { animation: none !important; } }

/* Parrainage : lisibilité renforcée */
.duo-card-dark > p.duo-note {
  color: var(--ivoire);
  font-size: 19px;
  line-height: 1.5;
}
.duo-card-dark .referral-who { font-size: 15.5px; line-height: 1.5; color: var(--ivoire); }
.duo-card-dark .referral-num { color: var(--gianduja-clair); }
.duo-card-dark .kicker-light { color: var(--gianduja-clair); }
.duo-card-dark .referral { border-color: #5C4F47; }
.duo-card-dark .referral > div + div { border-color: #5C4F47; }

/* ---------- Retour en haut ----------
   Carré ganache, filet d'1 px qui se trace autour au fil de la lecture,
   flèche fine et accent aigu en signature. Pas d'ombre, pas d'arrondi. */
.to-top {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 80;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: var(--ganache);
  color: var(--ivoire);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease), background .3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover, .to-top:focus-visible { background: var(--gianduja); }
.to-top:focus-visible { outline: 1px solid var(--ganache); outline-offset: 3px; }
.to-top-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.to-top-frame rect { fill: none; stroke: var(--gianduja-clair); stroke-width: 1; stroke-dasharray: 200; stroke-dashoffset: 200; }
.to-top-arrow { width: 18px; height: 22px; transition: transform .45s var(--ease); }
.to-top:hover .to-top-arrow { transform: translateY(-4px); }
.to-top-label {
  position: absolute;
  right: calc(100% + 10px);
  font-family: var(--serif);
  font-style: italic;
  font-size: .9rem;
  color: var(--ganache);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.to-top:hover .to-top-label { opacity: 1; transform: none; }
@media (min-width: 900px) { .to-top { right: 28px; bottom: 28px; } }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top-arrow, .to-top-frame rect { transition: none; } }
