/* ============================================================
   florencerenou.fr — Design system statique (multi-pages)
   Remplace styles/pages/animations/rounded/polish/overrides.css
   Tokens de marque préservés : palette sauge/amande,
   Playfair Display · Raleway · Nunito · JetBrains Mono.
   Verrous : boutons = pilule · cartes = 22px · images = 26px.
   ============================================================ */

/* ===== 1. Tokens ===== */
:root {
  /* Charte */
  --amande: #DDE7DF;
  --sauge: #A9B8AD;
  --blanc: #F7F6F3;
  --taupe: #6B6F6A;
  --taupe-deep: #3F4540;
  --sauge-deep: #5C6B5E;
  --amande-light: #EAF0EB;
  --amande-dark: #C8D6CB;
  --rose: #C9A39A;

  /* Sémantique */
  --bg: var(--blanc);
  --surface: #FFFEFB;
  --surface-2: var(--amande-light);
  --ink: var(--taupe-deep);
  --ink-soft: var(--taupe);
  --accent: var(--sauge-deep);
  --accent-soft: var(--sauge);
  --line: rgba(63, 69, 64, 0.12);

  /* Typo */
  --serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --warm: 'Nunito', 'Raleway', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Rythme & formes (radius hérités du site d'origine : cartes rondes) */
  --section-y: clamp(72px, 9vw, 118px);
  --r-card: 22px;
  --r-card-lg: 28px;
  --r-img: 26px;
  --shadow-soft: 0 1px 2px rgba(63, 69, 64, 0.04), 0 12px 30px -18px rgba(63, 69, 64, 0.18);
  --shadow-hover: 0 1px 2px rgba(63, 69, 64, 0.04), 0 30px 50px -28px rgba(63, 69, 64, 0.28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ===== 2. Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  letter-spacing: -0.01em; margin: 0; text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
p strong { color: var(--ink); font-weight: 600; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.wrap-tight { max-width: 880px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap, .wrap-tight { padding: 0 22px; } }

/* Accessibilité */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: #2A2E2A; color: #fff; padding: 12px 18px; text-decoration: none;
  border-radius: 0 0 8px 0; font-family: system-ui, sans-serif; font-size: 14px;
}
.skip-link:focus { left: 0; outline: 2px solid var(--sauge); outline-offset: 2px; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--sauge-deep); outline-offset: 3px; border-radius: 4px; }
button:focus-visible, a:focus-visible { box-shadow: 0 0 0 4px rgba(92, 107, 94, 0.22); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== 3. Typo helpers ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.eyebrow::before { content: ''; flex: none; width: 22px; height: 1px; background: var(--accent); }
.t-roman { font-style: normal; }
.t-italic { font-style: italic; color: var(--sauge-deep); }
.lead { font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.lead strong { color: var(--ink); font-weight: 600; }

/* ===== 4. Boutons (verrou : pilule) ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--warm); font-size: 15px; font-weight: 600;
  border-radius: 999px; padding: 15px 30px; border: 1px solid transparent;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-primary { background: var(--taupe-deep); color: var(--blanc); box-shadow: 0 14px 30px -14px rgba(63, 69, 64, .45); }
.btn-primary:hover { background: #2E332F; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(63, 69, 64, .28); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--blanc); color: var(--taupe-deep); }
.btn-light:hover { background: #fff; }
.btn-arrow::after { content: '→'; transition: transform .25s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }
.btn-block { width: 100%; }

/* ===== 5. Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease,
              backdrop-filter .35s ease, box-shadow .35s ease;
}
.nav.scrolled {
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 15px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 36px; height: 40px; object-fit: contain; }
.brand-text { font-family: var(--serif); font-size: 20px; color: var(--ink); white-space: nowrap; }
.brand-text em { color: var(--sauge-deep); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  position: relative;
  font-family: var(--warm); font-size: 14.5px; font-weight: 500;
  text-decoration: none; color: var(--ink-soft); transition: color .2s ease;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent-soft); border-radius: 2px;
}
.nav-cta {
  font-family: var(--warm); font-size: 14px; font-weight: 600;
  padding: 11px 22px; border-radius: 999px; white-space: nowrap;
  background: var(--taupe-deep); color: var(--blanc); text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}
.nav-cta:hover { background: #2E332F; transform: translateY(-1px); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }
@media (max-width: 1120px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-inner { padding: 12px 22px; }
  .brand-text { font-size: 18px; }
}

/* Tiroir mobile */
.drawer {
  position: fixed; inset: 0; background: var(--bg); z-index: 50;
  transform: translateY(-110%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; padding: 84px 34px 40px;
}
.drawer.open { transform: translateY(0); }
.drawer nav { display: flex; flex-direction: column; gap: 4px; }
.drawer nav a {
  font-family: var(--serif); font-size: 30px; color: var(--ink);
  text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.drawer nav a[aria-current="page"] { color: var(--sauge-deep); font-style: italic; }
.drawer .drawer-cta { margin-top: 28px; }
.drawer-close {
  position: absolute; top: 20px; right: 22px;
  background: none; border: 0; padding: 10px; color: var(--ink);
}

/* ===== 6. Sections & en-têtes de page ===== */
.section { padding: var(--section-y) 0; }
.section-head { max-width: 720px; }
.section-head h2, .h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; }
.section-head .eyebrow + h2 { margin-top: 16px; }
.section-sub { margin-top: 18px; font-size: 17px; color: var(--ink-soft); line-height: 1.7; max-width: 62ch; }
.section-link { text-align: center; margin-top: 46px; }
.section-alt { background: var(--surface-2); }
.section-dark { background: var(--taupe-deep); color: var(--blanc); }
.section-dark h2, .section-dark h3 { color: var(--blanc); }
.section-dark .t-italic { color: var(--amande); }
.section-dark .eyebrow { color: var(--amande); }
.section-dark .eyebrow::before { background: var(--amande); }
.section-dark .section-sub { color: rgba(247, 246, 243, .75); }

/* Fil d'Ariane */
.breadcrumb { padding-top: 100px; }
.breadcrumb ol {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px;
  font-family: var(--sans); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 500; color: var(--ink-soft);
}
.breadcrumb a { text-decoration: none; opacity: .75; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb li + li::before { content: '→'; margin-right: 8px; opacity: .5; }

/* En-tête standard des pages intérieures */
.page-hero { padding: 44px 0 12px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.12; margin-top: 18px; }
.page-hero .lead { margin-top: 24px; max-width: 58ch; }
.page-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px; align-items: center;
}
.page-hero-visual img { border-radius: var(--r-img); box-shadow: var(--shadow-soft); display: block; }
.page-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Capsule d'identité (extractible — GEO) */
.capsule { margin-top: 46px; }
.capsule-box {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent-soft); border-radius: var(--r-card);
  padding: 26px 30px; box-shadow: var(--shadow-soft);
}
.capsule-box p { font-size: 16px; line-height: 1.7; }
.capsule-facts {
  margin: 14px 0 0; padding: 14px 0 0; list-style: none;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 6px 22px;
}
.capsule-facts li {
  position: relative; padding-left: 16px;
  font-family: var(--warm); font-size: 13.5px; font-weight: 600;
  color: var(--ink-soft); line-height: 1.6;
}
.capsule-facts li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft);
}

/* ===== 7. Hero d'accueil (photo pleine largeur) ===== */
.hero-home {
  position: relative; min-height: 92svh; display: flex; align-items: center;
  overflow: hidden; padding: 120px 0 90px;
}
.hero-bg-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  animation: heroBgIn 1.8s var(--ease-out) both,
             heroBgDrift 30s ease-in-out 1.8s infinite alternate;
  will-change: transform;
}
@keyframes heroBgIn {
  from { opacity: 0; transform: scale(1.12); }
  to { opacity: 1; transform: scale(1.02); }
}
@keyframes heroBgDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.5%, -1.5%, 0); }
}
.hero-bg-fade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(247, 246, 243, .96) 0%, rgba(247, 246, 243, .88) 34%, rgba(247, 246, 243, .42) 62%, rgba(247, 246, 243, .12) 100%);
}
.hero-home .wrap { position: relative; z-index: 2; width: 100%; }
.hero-home-text { max-width: 640px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink);
}
.hero-eyebrow .eyebrow-bar { width: 34px; height: 1px; background: var(--ink); opacity: .55; }
.hero-home h1 { font-size: clamp(42px, 6vw, 74px); line-height: 1.08; margin-top: 20px; }
.hero-home h1 .t-italic { display: block; }
.hero-sub-seo {
  font-family: var(--serif); font-size: 18px; font-weight: 400; font-style: italic;
  letter-spacing: .02em; opacity: .85; margin-top: 16px;
}
.hero-home .lead { margin-top: 18px; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-signature {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 40px;
  font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink);
}
.hero-signature .sep { opacity: .45; }
@media (max-width: 640px) {
  .hero-home { min-height: 86svh; padding: 108px 0 120px; }
  .hero-bg-fade { background: linear-gradient(180deg, rgba(247, 246, 243, .95) 0%, rgba(247, 246, 243, .82) 55%, rgba(247, 246, 243, .55) 100%); }
}

/* Bande de réassurance */
.trust-strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-list {
  list-style: none; margin: 0; padding: 18px 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 38px;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--warm); font-size: 14.5px; color: var(--ink-soft);
}
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft); }

/* ===== 8. Cartes & grilles ===== */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
a.card { text-decoration: none; display: block; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Situations (accueil + accompagnements) — recette du site d'origine :
   tilt 3D + spotlight qui suit le curseur (site.js pose --sx/--sy/--tilt-*),
   trait sauge en haut de carte, flèche qui glisse, icône en pastille. */
.situations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.section-head-center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }
.sit-card {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: left; padding: 32px 28px 54px;
  --tilt-x: 0deg; --tilt-y: 0deg;
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(0);
  transition: transform .5s var(--ease-out), box-shadow .45s ease,
              border-color .45s ease, background-color .35s ease;
  will-change: transform;
}
.sit-card:hover {
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: color-mix(in oklab, var(--accent-soft) 45%, transparent);
}
/* Trait sauge en haut de carte (tile-style « accent » du site d'origine) */
.sit-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--sauge-deep) 65%, transparent) 0%,
    color-mix(in oklab, var(--sauge-deep) 35%, transparent) 100%);
  opacity: .85; z-index: 2; pointer-events: none;
}
.sit-card:hover::before { opacity: 1; }
/* Spotlight qui suit le curseur */
.sit-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(320px circle at var(--sx, 50%) var(--sy, 50%),
    color-mix(in oklab, var(--sauge-deep) 13%, transparent) 0%,
    color-mix(in oklab, var(--sauge-deep) 5%, transparent) 40%,
    transparent 70%);
  opacity: 0; transition: opacity .55s ease; pointer-events: none; z-index: 0;
}
.sit-card.spotlit::after { opacity: 1; }
.sit-card > * { position: relative; z-index: 1; }
.sit-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: color-mix(in oklab, var(--sauge-deep) 14%, var(--surface));
  color: var(--sauge-deep); margin-bottom: 8px;
  transition: background .35s ease;
}
.sit-card:hover .sit-icon { background: color-mix(in oklab, var(--sauge-deep) 22%, var(--surface)); }
.sit-icon svg { width: 22px; height: 22px; display: block; }
.sit-title {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 23px; line-height: 1.25; margin: 16px 0 10px;
}
.sit-desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.sit-arrow {
  position: absolute; bottom: 22px; right: 26px;
  font-size: 16px; color: var(--accent); opacity: .75;
  transition: opacity .35s ease, transform .35s var(--ease-out);
}
.sit-card:hover .sit-arrow { opacity: 1; transform: translateX(6px); }
@media (max-width: 900px) { .situations-grid { grid-template-columns: 1fr; } }
@media (min-width: 641px) and (max-width: 900px) { .situations-grid { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .sit-card, .sit-card:hover { transform: none; }
  .sit-card::after { display: none; }
}

/* Publics (who) */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.who-card { padding: 32px 30px; }
.who-ico {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 12px; background: var(--amande-light); color: var(--sauge-deep);
}
.who-card h3 { font-size: 22px; margin-top: 18px; }
.who-card p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tag-list li {
  font-family: var(--warm); font-size: 12.5px; font-weight: 600; color: var(--sauge-deep);
  background: var(--amande-light); border: 1px solid var(--amande-dark);
  border-radius: 999px; padding: 5px 12px;
}
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; } }

/* Étapes numérotées */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.steps-grid.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step-num { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--accent); }
.step-item h3 { font-size: 20px; margin-top: 12px; }
.step-item p { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.section-dark .step-num { color: var(--amande); }
.section-dark .step-item p { color: rgba(247, 246, 243, .72); }
@media (max-width: 900px) {
  .steps-grid, .steps-grid.steps-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps-grid, .steps-grid.steps-4 { grid-template-columns: 1fr; }
}

/* Split image + texte */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.split.split-flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split-visual img { border-radius: var(--r-img); box-shadow: var(--shadow-soft); display: block; }
@media (max-width: 900px) { .split, .split.split-flip { grid-template-columns: 1fr; gap: 30px; } }

/* Rideau sauge : un panneau glisse et révèle la photo (pattern du site d'origine) */
.split-visual.reveal, .page-hero-visual.reveal {
  position: relative; overflow: hidden;
  border-radius: var(--r-img); box-shadow: var(--shadow-soft);
}
.split-visual.reveal img, .page-hero-visual.reveal img { border-radius: 0; box-shadow: none; }
.split-visual.reveal::after, .page-hero-visual.reveal::after,
.fs-content.reveal .fs-visual::after,
.compare-card.reveal .compare-photo::after {
  content: ''; position: absolute; inset: 0; background: var(--sauge);
  transform-origin: right center; transform: scaleX(1);
  transition: transform 1.2s var(--ease-out) .1s;
  pointer-events: none; z-index: 2;
}
.split-visual.reveal.in::after, .page-hero-visual.reveal.in::after,
.fs-content.reveal.in .fs-visual::after,
.compare-card.reveal.in .compare-photo::after { transform: scaleX(0); }
.split-visual.reveal img, .page-hero-visual.reveal img,
.fs-content.reveal .fs-visual img {
  transform: scale(1.07);
  transition: transform 2s var(--ease-out) .1s;
}
.split-visual.reveal.in img, .page-hero-visual.reveal.in img,
.fs-content.reveal.in .fs-visual img { transform: scale(1); }
.compare-card.reveal .compare-photo img { transform: scale(1.09); }
.compare-card.reveal.in .compare-photo img { transform: scale(1); }
.compare-card.reveal.in:hover .compare-photo img { transform: scale(1.045); }
.no-js .split-visual.reveal::after, .no-js .page-hero-visual.reveal::after,
.no-js .fs-content.reveal .fs-visual::after, .no-js .compare-card.reveal .compare-photo::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .split-visual.reveal::after, .page-hero-visual.reveal::after,
  .fs-content.reveal .fs-visual::after, .compare-card.reveal .compare-photo::after { display: none; }
  .split-visual.reveal img, .page-hero-visual.reveal img,
  .fs-content.reveal .fs-visual img, .compare-card.reveal .compare-photo img { transform: none; }
}

/* Listes à puces douces */
.dot-list { margin: 18px 0 0; padding: 0; list-style: none; }
.dot-list li { position: relative; padding: 5px 0 5px 20px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; }
.dot-list li::before { content: '·'; position: absolute; left: 4px; color: var(--sauge-deep); font-weight: 700; }
.dot-list strong { color: var(--ink); }
.dot-list a { color: var(--sauge-deep); }

/* Citation en exergue */
.pull-quote {
  border-left: 2px solid var(--accent-soft); padding: 6px 0 6px 22px; margin: 0;
  font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.6; color: var(--ink);
}
.pull-quote footer {
  margin-top: 12px; font-family: var(--mono); font-style: normal; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; opacity: .7;
}

/* ===== 9. Tuiles rendez-vous (contact / consultations) ===== */
.rdv-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 48px; }
.rdv-tile {
  position: relative; overflow: hidden; border-radius: var(--r-img);
  padding: 40px 38px; min-height: 380px; display: flex; flex-direction: column;
}
.rdv-tile-dark { background: var(--taupe-deep); color: var(--blanc); }
.rdv-tile-light { background: var(--amande); color: var(--ink); }
.rdv-tile-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; opacity: .75;
}
.rdv-tile-title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; margin-top: 16px; }
.rdv-tile-dark .rdv-tile-title { color: var(--blanc); }
.rdv-tile-title em { font-style: italic; }
.rdv-tile-dark .rdv-tile-title em { color: var(--amande); }
.rdv-tile-light .rdv-tile-title em { color: var(--sauge-deep); }
.rdv-tile-desc { margin-top: 14px; font-size: 15px; line-height: 1.65; max-width: 44ch; }
.rdv-tile-dark .rdv-tile-desc { color: rgba(247, 246, 243, .78); }
.rdv-tile-dark .rdv-tile-desc strong { color: var(--blanc); }
.rdv-tile-foot { margin-top: auto; padding-top: 26px; }
.rdv-tile-meta {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px;
  margin: 16px 0 0; padding: 0; font-family: var(--warm); font-size: 13px; opacity: .8;
}
.rdv-tile-deco { position: absolute; right: -10px; bottom: -10px; width: 44%; opacity: .8; pointer-events: none; }
.rdv-tile-dark .btn-light:hover { background: #fff; }
@media (max-width: 900px) { .rdv-tiles { grid-template-columns: 1fr; } .rdv-tile { min-height: 0; } }

/* Modale choix premier RDV / suivi */
.booking-overlay {
  position: fixed; inset: 0; z-index: 90; display: none;
  align-items: center; justify-content: center; padding: 22px;
  background: rgba(42, 46, 42, .5); backdrop-filter: blur(6px);
}
.booking-overlay.open { display: flex; }
.booking-card {
  position: relative; width: min(680px, 100%); max-height: 90svh; overflow: auto;
  background: var(--blanc); border-radius: var(--r-card-lg); padding: 44px 42px;
  box-shadow: 0 40px 90px -30px rgba(42, 46, 42, .5);
}
.booking-close {
  position: absolute; top: 18px; right: 18px; background: none; border: 0;
  padding: 10px; color: var(--ink);
}
.booking-title { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.booking-title em { color: var(--sauge-deep); }
.booking-sub { margin-top: 12px; color: var(--ink-soft); font-size: 15.5px; }
.booking-options { display: grid; gap: 14px; margin-top: 30px; }
.booking-opt {
  display: flex; align-items: center; gap: 20px; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 22px 24px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.booking-opt:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--accent-soft); }
.booking-opt-kicker {
  display: block; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.booking-opt-title { display: block; font-family: var(--serif); font-size: 21px; margin-top: 6px; }
.booking-opt-desc { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 6px; line-height: 1.55; }
.booking-opt-duration {
  margin-left: auto; flex: none; font-family: var(--mono); font-size: 12px;
  color: var(--sauge-deep); background: var(--amande-light);
  border-radius: 999px; padding: 6px 12px;
}
.booking-foot { margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
.booking-foot a, .booking-foot button {
  background: none; border: 0; padding: 0; font: inherit;
  color: var(--sauge-deep); text-decoration: underline; text-underline-offset: 3px;
}
@media (max-width: 560px) {
  .booking-card { padding: 34px 24px; }
  .booking-opt { flex-direction: column; align-items: flex-start; gap: 10px; }
  .booking-opt-duration { margin-left: 0; }
}

/* ===== 10. Tarifs ===== */
.ti-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.ti-card { padding: 34px 30px; display: flex; flex-direction: column; }
.ti-card-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
}
.ti-card-title { font-size: 23px; line-height: 1.25; margin-top: 14px; }
.ti-card-title em { color: var(--sauge-deep); }
.ti-card-meta { font-family: var(--warm); font-size: 13.5px; font-weight: 700; color: var(--ink-soft); margin-top: 8px; }
.ti-card-body { margin-top: 14px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; flex: 1; }
.ti-card-foot { margin-top: 24px; }
.ti-card-price { font-family: var(--serif); font-size: 34px; color: var(--ink); }
.ti-foot-note { margin-top: 30px; text-align: center; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 900px) { .ti-cards { grid-template-columns: 1fr; } }

/* ===== 11. FAQ ===== */
.faq-list { margin-top: 44px; }
.faq-group-title { font-size: 22px; margin: 42px 0 6px; }
.faq-group-title:first-child { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: none; text-align: left; padding: 22px 4px;
  font-family: var(--warm); font-size: 16.5px; font-weight: 600; color: var(--ink);
}
.faq-icon { flex: none; font-size: 20px; color: var(--sauge-deep); transition: transform .3s var(--ease); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 4px 24px; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); max-width: 70ch; }
.faq-a-inner strong { color: var(--ink); }
.faq-a-inner a { color: var(--sauge-deep); }
.no-js .faq-a { max-height: none; }

/* ===== 12. Citations (bande, rotation douce) ===== */
.citations { background: var(--amande); text-align: center; }
.citations blockquote { margin: 0; }
.citations-stage { position: relative; min-height: 170px; }
.citations-stage .cit {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transform: translateY(10px);
  transition: opacity .9s ease, transform .9s var(--ease-out);
  pointer-events: none;
}
.citations-stage .cit.active { opacity: 1; transform: none; pointer-events: auto; }
.no-js .citations-stage { min-height: 0; }
.no-js .citations-stage .cit { position: static; opacity: 1; transform: none; display: none; }
.no-js .citations-stage .cit:first-child { display: block; }
.cit-text {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(24px, 3.2vw, 36px); line-height: 1.4; color: var(--ink);
  max-width: 26ch; margin: 0 auto;
}
.cit-tag {
  display: block; margin-top: 18px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.citations-dots { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.citations-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(63, 69, 64, 0.25); transition: background .3s ease, transform .3s ease;
}
.citations-dots button.active { background: var(--accent); transform: scale(1.25); }
.no-js .citations-dots { display: none; }

/* ===== 12b. Sélecteur cabinet / visio (accueil) ===== */
.fs-toggle {
  position: relative; display: flex; width: fit-content;
  margin: 0 auto 48px; padding: 6px;
  background: var(--surface-2); border-radius: 999px; box-shadow: var(--shadow-soft);
}
.fs-toggle button {
  position: relative; z-index: 2; padding: 12px 28px; min-height: 48px;
  border: 0; background: transparent;
  font-family: var(--warm); font-size: 14px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-soft); cursor: pointer; transition: color .3s ease;
}
.fs-toggle button.active { color: var(--blanc); }
.fs-slider {
  position: absolute; z-index: 1; top: 6px; bottom: 6px; left: 6px;
  width: calc(50% - 6px); border-radius: 999px; background: var(--taupe-deep);
  transition: transform .35s var(--ease);
}
.fs-slider[data-mode="visio"] { transform: translateX(100%); }
.fs-content {
  display: grid; grid-template-columns: 1fr 1.05fr; align-items: stretch;
  border-radius: var(--r-card-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-soft);
  border: 1px solid color-mix(in oklab, var(--accent-soft) 25%, transparent);
  min-height: 480px;
  animation: fsfade .45s ease;
}
.fs-content[hidden] { display: none; }
@keyframes fsfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fs-visual { position: relative; overflow: hidden; min-height: 420px; }
.fs-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
  border-radius: 0; box-shadow: none;
}
.fs-text { padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; }
.fs-text h3 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); }
.fs-text h3 em { color: var(--sauge-deep); }
.fs-text > p { margin-top: 14px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; }
.fs-text .dot-list { margin-top: 16px; }
.fs-text .btn { align-self: flex-start; margin-top: 26px; }
.no-js .fs-toggle { display: none; }
.no-js .fs-content[hidden] { display: grid; margin-top: 22px; }
@media (max-width: 860px) {
  .fs-content { grid-template-columns: 1fr; min-height: 0; }
  .fs-visual { min-height: 0; aspect-ratio: 16 / 10; }
  .fs-text { padding: 34px 26px; }
}

/* ===== 12c. Comparatif cabinet / visio (page consultations) ===== */
.compare-grid { align-items: stretch; }
.compare-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.compare-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.compare-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; border-radius: 0; box-shadow: none;
  transition: transform 1.2s var(--ease-out);
}
.compare-card:hover .compare-photo img { transform: scale(1.045); }
.compare-badge {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(247, 246, 243, .92); color: var(--sauge-deep);
  border-radius: 999px; padding: 7px 14px;
}
.compare-body { padding: 30px 32px 34px; display: flex; flex-direction: column; flex: 1; }
.compare-body h2 { font-size: clamp(24px, 2.2vw, 30px); }
.compare-body h2 em { color: var(--sauge-deep); }
.compare-body > p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.compare-note {
  margin-top: 28px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-soft);
}

/* ===== 13. Formulaires ===== */
.form-card { padding: 38px 36px; }
.form-card h3 { font-size: 24px; }
.form-sub { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }
.field { margin-top: 20px; }
.field label {
  display: block; font-family: var(--warm); font-size: 13.5px; font-weight: 700;
  color: var(--ink); margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%; border: 1px solid rgba(63, 69, 64, .22); border-radius: 10px;
  background: #fff; padding: 13px 15px; font-family: var(--warm);
  font-size: 15px; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus {
  border-color: var(--sauge-deep); box-shadow: 0 0 0 3px rgba(92, 107, 94, .14); outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-error { margin-top: 6px; font-family: var(--warm); font-size: 13px; color: #A2543F; }
.form-status { margin-top: 16px; font-family: var(--warm); font-size: 14.5px; font-weight: 600; display: none; }
.form-status.error { display: block; color: #A2543F; }
.form-status.success { display: block; color: var(--sauge-deep); }
.form-trust {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 18px;
  font-size: 13px; color: var(--ink-soft); line-height: 1.55;
}
.form-trust svg { flex: none; margin-top: 2px; color: var(--sauge-deep); }
.form-trust a { color: var(--sauge-deep); }
.thanks-card { text-align: center; padding: 30px 10px; }
.thanks-card h3 { font-size: 26px; }
.thanks-card p { margin-top: 14px; color: var(--ink-soft); }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; gap: 0; } .form-card { padding: 30px 24px; } }

/* Coordonnées */
.coord-list { margin: 32px 0 0; padding: 0; list-style: none; }
.coord-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; }
.coord-ico {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  background: var(--amande-light); color: var(--sauge-deep); display: grid; place-items: center;
}
.coord-label {
  display: block; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.coord-val { font-family: var(--warm); font-size: 15.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
a.coord-val:hover { color: var(--sauge-deep); }
.coord-note { display: block; opacity: .75; font-size: .92em; font-weight: 400; margin-top: 3px; }
.coord-link { font-size: .92em; display: inline-block; margin-top: 5px; color: var(--sauge-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ===== 14. Formations (à propos / ateliers) ===== */
.formation-list { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.formation-item {
  display: flex; align-items: center; gap: 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 18px 22px;
}
.formation-logo { flex: none; width: 54px; height: 54px; display: grid; place-items: center; }
.formation-logo img { max-width: 54px; max-height: 54px; object-fit: contain; }
.formation-title { display: block; font-family: var(--warm); font-size: 15.5px; font-weight: 700; color: var(--ink); }
.formation-org { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.formation-org a { color: var(--sauge-deep); text-decoration: none; }
.formation-org a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Liste crédibilité avec coches */
.cred-list { margin: 28px 0 0; padding: 0; list-style: none; }
.cred-list li { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cred-list li:last-child { border-bottom: none; }
.cred-check {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--amande-light); color: var(--sauge-deep);
  display: grid; place-items: center; margin-top: 2px;
}
.cred-list strong { display: block; font-family: var(--warm); font-size: 15.5px; font-weight: 700; color: var(--ink); }
.cred-org { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 2px; }

/* ===== 15. Bande Ateliers (accueil) & thèmes ===== */
.band-card {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 48px; align-items: center;
  background: var(--taupe-deep); color: var(--blanc);
  border-radius: var(--r-card-lg); padding: 58px 62px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(63, 69, 64, 0.06), 0 36px 70px -30px rgba(63, 69, 64, 0.4);
}
.band-card .eyebrow { color: var(--amande); }
.band-card .eyebrow::before { background: var(--amande); }
.band-title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.18; margin-top: 18px; color: var(--blanc); }
.band-title .t-italic { color: var(--amande); }
.band-sub { margin-top: 20px; font-size: 16px; line-height: 1.7; color: rgba(247, 246, 243, 0.78); max-width: 62ch; }
.band-sub strong { color: var(--blanc); }
.band-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.band-tags li {
  font-family: var(--warm); font-size: 13px; font-weight: 600; color: var(--amande);
  border: 1px solid rgba(221, 231, 223, 0.35); border-radius: 999px; padding: 6px 14px;
}
.band-ctas { margin-top: 32px; }
.band-visual { display: grid; place-items: center; color: var(--amande); }
.band-visual svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  .band-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 8px; }
  .band-visual { display: none; }
}

/* Cartes thématiques (ateliers) */
.theme-card { padding: 34px 30px; display: flex; flex-direction: column; }
.theme-num { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--accent); }
.theme-card h3 { font-size: 24px; margin-top: 14px; line-height: 1.25; }
.theme-card p { margin-top: 14px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; flex: 1; }
.theme-card .tag-list { margin-top: 22px; }

/* Cartes atelier (exemples) */
.atelier-card { padding: 28px 26px; }
.atelier-card h3 { font-size: 20px; line-height: 1.3; }
.atelier-card h3 em { color: var(--sauge-deep); }
.atelier-card p { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.atelier-card-custom { background: var(--taupe-deep); border-color: var(--taupe-deep); }
.atelier-card-custom h3 { color: var(--blanc); }
.atelier-card-custom h3 em { color: var(--amande); }
.atelier-card-custom p { color: rgba(247, 246, 243, 0.78); }
.atelier-card-custom a {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  color: var(--amande); font-family: var(--warm); font-weight: 600;
  font-size: 14.5px; text-decoration: none;
}
.atelier-card-custom a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Formats (définitions en colonnes) */
.formats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.format-item { border-top: 1px solid var(--line); padding-top: 18px; }
.format-item h3 { font-size: 18px; font-style: italic; color: var(--sauge-deep); }
.format-item p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 900px) { .formats-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .formats-grid { grid-template-columns: 1fr; } }

/* Micro-étiquette de carte (mono, registre du site d'origine) */
.card-kicker {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-soft); opacity: .8;
}

/* ===== 16. CTA final ===== */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(30px, 4vw, 48px); }
.final-cta .section-sub { margin-left: auto; margin-right: auto; }
.final-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }

/* ===== 17. Footer ===== */
.footer { background: var(--amande-light); border-top: 1px solid var(--line); padding: 60px 0 40px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px 32px; justify-content: space-between; align-items: flex-start; }
.footer-id { max-width: 400px; }
.footer-id .brand-text { font-size: 22px; }
.footer-id p { margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 9px; min-width: 150px; }
.footer-links h5 {
  margin: 0 0 6px; font-family: var(--serif); font-size: 18px;
  letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 400;
}
.footer-links a { font-family: var(--warm); font-size: 14.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-cta { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--ink-soft); line-height: 1.8;
}
.footer-social { display: flex; gap: 18px; }
.footer-social a {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--warm); font-size: 13.5px; font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
}
.footer-social a:hover { color: var(--ink); }
.footer-legal-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(63, 69, 64, .3); }
.footer-legal-links a:hover { color: var(--ink); }

/* ===== 18. Sticky CTA mobile & retour haut ===== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 246, 243, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--warm); font-size: 14.5px; font-weight: 700;
  border-radius: 999px; padding: 13px 10px; text-decoration: none; white-space: nowrap;
}
.sticky-cta .sc-call { border: 1px solid rgba(63, 69, 64, .3); color: var(--ink); flex: 0 0 auto; padding: 13px 18px; }
.sticky-cta .sc-main { background: var(--taupe-deep); color: var(--blanc); }
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  /* Tarteaucitron au-dessus de la barre CTA */
  #tarteaucitronRoot #tarteaucitronIcon { bottom: calc(74px + env(safe-area-inset-bottom)) !important; }
  #tarteaucitronRoot #tarteaucitronAlertBig { bottom: calc(70px + env(safe-area-inset-bottom)) !important; }
}

.back-to-top {
  position: fixed; right: 20px; bottom: 22px; z-index: 44;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-soft);
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }
@media (max-width: 760px) { .back-to-top { bottom: calc(78px + env(safe-area-inset-bottom)); } }

/* ===== 18b. Repère d'aperçu — affiché hors production uniquement =====
   Évite qu'un visiteur (Florence, un partenaire) confonde la preview
   avec le site en ligne. site.js ne l'active que si le nom de domaine
   n'est pas celui de la production. */
.preview-flag {
  position: fixed; top: 78px; right: 16px; z-index: 46;
  display: none; align-items: center; gap: 12px;
  background: var(--taupe-deep); color: var(--blanc);
  border-radius: 999px; padding: 9px 12px 9px 18px;
  font-family: var(--warm); font-size: 12.5px; font-weight: 600; line-height: 1.35;
  box-shadow: var(--shadow-soft); max-width: min(92vw, 430px);
}
.preview-flag.show { display: inline-flex; }
.preview-flag b { color: var(--amande); font-weight: 700; }
.preview-flag button {
  flex: none; background: none; border: 0; color: inherit;
  opacity: .65; padding: 4px; display: grid; place-items: center;
  transition: opacity .2s ease;
}
.preview-flag button:hover { opacity: 1; }
@media (max-width: 760px) {
  .preview-flag { top: 70px; left: 14px; right: 14px; justify-content: space-between; font-size: 12px; }
}
@media print { .preview-flag { display: none !important; } }

/* ===== 19. Pages légales ===== */
.legal-prose { max-width: 760px; }
.legal-prose h2 { font-size: 24px; margin-top: 44px; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { margin-top: 12px; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }
.legal-prose a { color: var(--sauge-deep); }
.legal-updated { margin-top: 18px; font-family: var(--sans); font-style: italic; font-size: 14px; color: var(--ink-soft); }

/* ===== 20. Révélations au scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Révélation des grands titres, mot à mot (masked rise).
   site.js enveloppe chaque mot : <span class="rw"><span style="--reveal-i:N">mot</span></span>
   puis pose .rw-in sur le titre quand il entre dans le viewport. */
.rw {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding-bottom: .1em; margin-bottom: -.1em;
}
.rw > span {
  display: inline-block; transform: translateY(112%); opacity: 0;
  transition: transform 1s var(--ease-out), opacity .75s ease;
  transition-delay: calc(140ms + var(--reveal-i, 0) * 80ms);
  will-change: transform;
}
.rw-in .rw > span, .no-js .rw > span { transform: none; opacity: 1; }

/* Soulignement dessiné sous la partie italique des titres de section */
h2 .t-italic { position: relative; display: inline-block; padding-bottom: .12em; }
h2 .t-italic::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--sauge-deep); opacity: .5;
  transform-origin: left center; transform: scaleX(0);
  transition: transform 1.4s var(--ease-out) .3s;
}
h2.reveal.in .t-italic::after, .no-js h2 .t-italic::after { transform: scaleX(1); }

/* Barre de progression de lecture (scroll-driven, zéro JS) */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 100;
  pointer-events: none; transform-origin: left center; transform: scaleX(0);
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--accent) 80%, transparent),
    var(--accent),
    color-mix(in oklab, var(--rose) 70%, var(--accent)));
}
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: sp-grow linear both; animation-timeline: scroll(root); }
  @keyframes sp-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  /* Parallax discret du hero d'accueil (sur le wrapper, l'image garde son entrée) */
  .hero-home .hero-bg-wrap {
    animation: hero-par linear both; animation-timeline: scroll(root);
    animation-range: 0vh 120vh;
  }
  @keyframes hero-par {
    from { transform: translateY(0); }
    to { transform: translateY(9%); }
  }
}

/* Boutons magnétiques (léger suivi du curseur, desktop) */
.magnetic { transition: transform .35s var(--ease-out); will-change: transform; }

/* Pictogramme cercle de parole — respiration des halos, feuilles flottantes */
.picto-halo { transform-box: fill-box; transform-origin: center; animation: halo-breathe 8s ease-in-out infinite; }
@keyframes halo-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.035); opacity: .75; }
}
.picto-leaf { transform-box: fill-box; transform-origin: center; animation: leaf-float 9s ease-in-out infinite; }
.picto-leaf.b { animation-delay: -3s; animation-duration: 11s; }
.picto-leaf.c { animation-delay: -6s; animation-duration: 10s; }
@keyframes leaf-float {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -7px; rotate: 6deg; }
}
.picto-sprout { transform-box: fill-box; transform-origin: bottom center; animation: sprout-sway 7s ease-in-out infinite; }
@keyframes sprout-sway {
  0%, 100% { rotate: 0deg; }
  50% { rotate: 2.2deg; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
