/* Soma Pliris — feuille de style du site vitrine */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-italic.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #16140f;
  --ink-2: #1d1a14;
  --ink-3: #2a261e;
  --ivory: #f6f1e8;
  --paper: #fbf8f3;
  --sand: #ece4d6;
  --line: #ddd2bf;
  --line-dark: rgba(226, 201, 143, 0.18);
  --gold: #c9a24e;
  --gold-soft: #e2c98f;
  --gold-deep: #7d5f1c;
  --text: #2b2720;
  --muted: #665d50;
  --on-dark: #efe9dd;
  --on-dark-muted: #b3aa99;

  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --max: 1180px;
  --narrow: 820px;
  --gutter: clamp(16px, 5vw, 48px);
  --radius: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
}

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(16px, 0.35vw + 15px, 18px);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: 18ch; }
h3 { font-size: clamp(1.45rem, 1.6vw, 1.7rem); line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--gold-deep); }
.dark h1 em, .dark h2 em, .hero h1 em { color: var(--gold-soft); }

.sr-only, .hp {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.2rem;
}
.dark .eyebrow, .hero .eyebrow { color: var(--gold); }

.lead { font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.25rem); line-height: 1.7; }

/* ——— Boutons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px;
  padding: 0 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font: 600 0.95rem/1 var(--sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover { background: var(--gold-soft); transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(201, 162, 78, 0.6); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-small { min-height: 40px; padding: 0 1.1em; font-size: 0.85rem; }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; text-decoration: none; letter-spacing: 0.02em;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ——— En-tête ——— */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-solid {
  background: rgba(22, 20, 15, 0.9);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-inner {
  height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { width: 44px; height: auto; color: var(--gold); }
.brand-word {
  font-family: var(--serif); font-size: 1.28rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap;
}
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav a {
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.06em; text-decoration: none;
  color: var(--on-dark-muted); padding: 6px 0; position: relative; transition: color 0.3s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--on-dark); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-decoration: none;
  color: var(--on-dark-muted); padding: 8px 10px; border-radius: 999px; transition: color 0.3s;
}
.lang:hover { color: var(--gold-soft); }

@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 520px) {
  .brand-word { font-size: 1.05rem; letter-spacing: 0.18em; }
  .brand-mark { width: 36px; }
  .header-actions .btn-small { display: none; }
}

/* ——— Héros ——— */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 110px;
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
}
.hero-glow {
  position: absolute; inset: -20%; z-index: -1;
  background:
    radial-gradient(40% 35% at 50% 32%, rgba(201, 162, 78, 0.20), transparent 70%),
    radial-gradient(35% 30% at 20% 80%, rgba(150, 110, 160, 0.10), transparent 70%),
    radial-gradient(30% 30% at 85% 70%, rgba(201, 162, 78, 0.08), transparent 70%);
  animation: breathe 10s ease-in-out infinite alternate;
}
@keyframes breathe {
  from { transform: scale(1); opacity: 0.85; }
  to { transform: scale(1.08); opacity: 1; }
}
.hero-inner { max-width: 860px; }
.hero-lotus {
  width: clamp(110px, 14vw, 150px); height: auto; margin: 0 auto 28px; color: var(--gold);
  filter: drop-shadow(0 0 24px rgba(201, 162, 78, 0.35));
  animation: rise 1.4s var(--ease) both;
}
.hero .eyebrow { animation: rise 1.4s 0.1s var(--ease) both; }
.hero h1 { margin-bottom: 0.6em; animation: rise 1.4s 0.2s var(--ease) both; }
.hero .kicker {
  display: block; margin-bottom: 1.1rem;
  font: 500 clamp(0.95rem, 1.2vw, 1.1rem)/1.4 var(--sans);
  letter-spacing: 0.04em; color: var(--on-dark-muted);
}
.hero-title { display: block; font-size: clamp(2.8rem, 7.4vw, 5.8rem); line-height: 1.02; }
.hero .lead { max-width: 640px; margin: 0 auto 2.4rem; color: var(--on-dark-muted); animation: rise 1.4s 0.3s var(--ease) both; }
.hero-signup { animation: rise 1.4s 0.4s var(--ease) both; scroll-margin-top: calc(var(--header-h) + 80px); }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none;
  color: var(--on-dark-muted);
}
.scroll-cue svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.5; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }
@media (max-height: 700px) { .scroll-cue { display: none; } }

/* ——— Formulaire d’inscription ——— */
.signup { max-width: 560px; margin: 0 auto; text-align: center; }
.signup-row {
  display: flex; gap: 6px; padding: 6px;
  border: 1px solid rgba(226, 201, 143, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.signup-row:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 78, 0.15); }
.signup input[type='email'] {
  flex: 1; min-width: 0; min-height: 52px;
  padding: 0 20px;
  border: 0; outline: 0; background: transparent;
  color: var(--on-dark); font: 400 1rem var(--sans);
}
.signup input::placeholder { color: #8d8474; }
.signup-consent { margin: 14px auto 0; max-width: 460px; font-size: 0.78rem; line-height: 1.6; color: var(--on-dark-muted); }
.signup-consent a { color: var(--gold-soft); }
.signup-status { min-height: 1.6em; margin: 10px 0 0; font-size: 0.95rem; font-weight: 500; }
.signup-status.is-success { color: var(--gold-soft); }
.signup-status.is-error { color: #f0a58f; }
.signup.is-done .signup-row,
.signup.is-done .signup-consent,
.signup.is-done .signup-known,
.signup.is-known .signup-row,
.signup.is-known .signup-consent { display: none; }
.signup-known { display: none; }
.signup.is-known .signup-known {
  display: block; padding: 18px 22px 12px;
  border: 1px solid rgba(226, 201, 143, 0.35); border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}
.signup-known p { margin: 0 0 6px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; color: var(--gold-soft); }
.signup-other {
  padding: 6px 8px; border: 0; background: none; cursor: pointer;
  font: 500 0.85rem var(--sans); color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 3px;
}
.signup-other:hover { color: var(--gold-soft); }
.signup.is-done .signup-status {
  padding: 16px 20px; border: 1px solid rgba(226, 201, 143, 0.35); border-radius: 16px;
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.4;
}
@media (max-width: 560px) {
  .signup-row { flex-direction: column; border-radius: 22px; }
  .signup .btn { width: 100%; }
  .signup input[type='email'] { text-align: center; }
}

/* ——— Sections ——— */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.dark { background: var(--ink); color: var(--on-dark); }
.dark p { color: var(--on-dark-muted); }

.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(22px); }

/* Philosophie */
.philosophy { background: var(--ivory); }
.philosophy-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(24px, 4vw, 48px); align-items: start;
}
.pullquote {
  margin: 0; padding-left: clamp(20px, 2.4vw, 32px);
  border-left: 1px solid var(--gold);
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.3; color: var(--ink);
}
.pullquote p { margin: 0; }
.prose p { color: var(--muted); }
.prose p:first-child::first-letter {
  float: left; font-family: var(--serif); font-size: 3.6em; line-height: 0.82;
  padding: 0.06em 0.1em 0 0; color: var(--gold-deep);
}
@media (max-width: 800px) { .philosophy-grid { grid-template-columns: 1fr; } }

/* Engagements */
.pillars { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(32px, 5vw, 64px);
}
.pillar {
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ivory);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s, opacity 1s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(22, 20, 15, 0.35); border-color: #cdbd9f; }
.pillar-icon { display: inline-flex; width: 52px; height: 52px; margin-bottom: 22px; color: var(--gold-deep); }
.pillar-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.pillar p { margin: 0; color: var(--muted); font-size: 0.98em; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }

/* L’écrin */
.craft { background: var(--ivory); }
.craft-intro { max-width: 640px; }
.craft-intro > p:last-child { color: var(--muted); }
.craft-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(36px, 5vw, 64px);
}
.edition { margin: 0; }
.edition picture {
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  background: var(--sand);
}
.edition-dark picture { background: #0c0b09; }
.edition img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.edition:hover img { transform: scale(1.03); }
.edition figcaption { display: grid; gap: 2px; padding: 18px 4px 0; }
.edition-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); }
.edition-name { font-family: var(--serif); font-size: 1.9rem; line-height: 1.2; color: var(--ink); }
.edition-text { color: var(--muted); }
.edition-dark { transition-delay: 0.12s; }
.craft-note { margin: 28px 0 0; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 700px) { .craft-grid { grid-template-columns: 1fr; } }

/* Parcours */
.journey { background: var(--sand); }
.timeline {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative;
}
.timeline::before {
  content: ''; position: absolute; top: 7px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, #c7b89c, var(--gold));
}
.step { position: relative; padding-top: 38px; }
.step::before {
  content: ''; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--sand); border: 1px solid var(--gold-deep);
}
.step-highlight::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(201, 162, 78, 0.2); }
.step-when { display: block; margin-bottom: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.step h3 { font-size: 1.5rem; margin-bottom: 0.35em; }
.step p { margin: 0; color: var(--muted); font-size: 0.96em; }
.step:nth-child(2) { transition-delay: 0.08s; }
.step:nth-child(3) { transition-delay: 0.16s; }
.step:nth-child(4) { transition-delay: 0.24s; }
.step:nth-child(5) { transition-delay: 0.32s; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 34px; padding-left: 34px; }
  .timeline::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, #c7b89c, var(--gold)); }
  .step { padding-top: 0; }
  .step::before { left: -34px; top: 4px; }
}

/* Rendez-vous : Salon Tentation */
.salon { background: var(--paper); border-top: 1px solid var(--line); }
.event {
  display: grid; grid-template-columns: minmax(220px, 0.8fr) 2fr;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--ivory); box-shadow: 0 30px 60px -40px rgba(22, 20, 15, 0.35);
}
.event-date {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  padding: 40px 24px; text-align: center; background: var(--ink); color: var(--on-dark);
}
.event-days { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: var(--gold-soft); }
.event-month { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.event-place { margin-top: 8px; max-width: 18ch; font-size: 0.85rem; color: var(--on-dark-muted); }
.event-body { padding: clamp(28px, 4vw, 52px); }
.event-body h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); max-width: 22ch; }
.event-body p { color: var(--muted); }
.event-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 26px; }
.event-actions .link-arrow { color: var(--gold-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--gold-deep); }
.btn-outline:hover { background: var(--sand); box-shadow: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (max-width: 760px) { .event { grid-template-columns: 1fr; } .event-date { padding: 28px 20px; } }

/* Vidéos */
.videos { overflow: hidden; }
.videos::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 80% 0%, rgba(201, 162, 78, 0.10), transparent 70%);
}
.video-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(32px, 5vw, 60px);
}
.video-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.video-featured .video-frame { grid-row: span 2; }
.video-featured .video-title { font-size: clamp(1.8rem, 2.6vw, 2.4rem); align-self: end; margin: 0; }
.video-featured .video-text { align-self: start; font-size: 1.05rem; }
.video-frame {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 16px; background: #000; color: var(--on-dark);
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: transform 1s var(--ease), opacity 0.5s; }
.video-frame:hover img { transform: scale(1.04); opacity: 1; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: rgba(22, 20, 15, 0.55); border: 1px solid rgba(226, 201, 143, 0.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform 0.4s var(--ease), background-color 0.4s;
}
.video-play svg { width: 26px; height: 26px; fill: var(--gold-soft); margin-left: 3px; }
.video-frame:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: rgba(201, 162, 78, 0.85); }
.video-frame:hover .video-play svg { fill: var(--ink); }
.video-duration {
  position: absolute; right: 12px; bottom: 12px; padding: 3px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.65); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
}
.video-title { margin: 18px 0 6px; font-size: 1.35rem; color: var(--on-dark); }
.video-text { margin: 0; font-size: 0.95rem; }
.videos-more { margin: clamp(36px, 4vw, 56px) 0 0; }
.videos-more a { color: var(--gold-soft); }
@media (max-width: 1100px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .video-featured { grid-template-columns: 1fr; }
  .video-featured .video-frame { grid-row: auto; }
  .video-featured .video-title { margin-top: 4px; }
}
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { background: var(--ivory); }
.faq-list { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: clamp(1.3rem, 1.8vw, 1.55rem); }
.faq-item summary::after {
  content: ''; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--gold-deep), var(--gold-deep)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--gold-deep), var(--gold-deep)) center / 1.5px 100% no-repeat;
  transition: transform 0.35s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 24px; max-width: 68ch; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--gold-deep); }

/* Appel final */
.final-cta { text-align: center; overflow: hidden; isolation: isolate; }
.final-cta h2 { margin-left: auto; margin-right: auto; }
.final-cta .lead { max-width: 560px; margin: 0 auto 2.2rem; }
.cta-lotus {
  position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(900px, 120vw); height: auto; color: var(--gold); opacity: 0.05;
}

/* ——— Pied de page ——— */
.site-footer { background: var(--ink-2); color: var(--on-dark-muted); padding: 72px 0 32px; font-size: 0.92rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: var(--on-dark); }
.footer-tagline { margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--on-dark-muted); max-width: 26ch; }
.footer-title { font: 600 0.75rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 6px 0 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; transition: color 0.3s; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-trust { margin-top: 44px; }
.footer-trust p {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  padding: 12px 18px; border: 1px solid var(--line-dark); border-radius: 14px;
  font-size: 0.85rem; color: var(--on-dark-muted);
}
.footer-trust svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.footer-trust a { color: var(--gold-soft); white-space: nowrap; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.8rem;
}
.footer-bottom p { margin: 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ——— Pages simples (confidentialité, 404) ——— */
.page-simple .site-header { position: sticky; }
.legal { padding-top: clamp(56px, 8vw, 96px); }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.legal h2 { font-size: 1.7rem; max-width: none; margin-top: 1.6em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.6em; }
.legal a { color: var(--gold-deep); }
.legal-updated { font-size: 0.85rem; }
.legal .back { margin-top: 2em; color: var(--gold-deep); }
.hero-404 { min-height: calc(100svh - var(--header-h)); padding-top: 60px; }
.hero-404 .btn { margin: 6px; }

/* ——— Assistant (clavardage) ——— */
.chat-launcher {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 20px 0 14px;
  border: 1px solid rgba(226, 201, 143, 0.45); border-radius: 999px;
  background: rgba(22, 20, 15, 0.92); color: var(--on-dark);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font: 600 0.9rem var(--sans); cursor: pointer;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s var(--ease), opacity 0.35s, border-color 0.3s;
  animation: rise 0.8s 1.2s var(--ease) both;
}
.chat-launcher svg { width: 30px; height: auto; color: var(--gold); }
.chat-launcher:hover { transform: translateY(-2px); border-color: var(--gold); }
.chat-open .chat-launcher { opacity: 0; pointer-events: none; transform: translateY(10px); }

.chat-panel {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 61;
  display: flex; flex-direction: column;
  width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100svh - 32px));
  border-radius: 22px; overflow: hidden;
  background: var(--paper); color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(22, 20, 15, 0.08);
  transform-origin: bottom right;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.chat-panel[hidden] { display: flex; opacity: 0; transform: scale(0.92) translateY(10px); pointer-events: none; visibility: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: var(--ink); color: var(--on-dark); }
.chat-head svg.chat-avatar { width: 38px; height: auto; color: var(--gold); flex: none; }
.chat-head-text { flex: 1; min-width: 0; }
.chat-head-title { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.chat-head-sub { margin: 0; font-size: 0.74rem; color: var(--on-dark-muted); letter-spacing: 0.04em; }
.chat-close {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: transparent; color: var(--on-dark-muted); cursor: pointer; font-size: 1.4rem; line-height: 1;
}
.chat-close:hover { background: rgba(255, 255, 255, 0.08); color: var(--on-dark); }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.chat-msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: 0.93rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg a { color: var(--gold-deep); }
.chat-msg-bot { align-self: flex-start; background: var(--sand); border-bottom-left-radius: 6px; }
.chat-msg-user { align-self: flex-end; background: var(--ink); color: var(--on-dark); border-bottom-right-radius: 6px; }
.chat-msg-error { background: #f7e1d9; }
.chat-typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 14px 16px; background: var(--sand); border-radius: 18px; border-bottom-left-radius: 6px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-deep); animation: blink 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-form textarea {
  flex: 1; min-height: 46px; max-height: 120px; resize: none;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; color: var(--text); font: 400 0.95rem/1.4 var(--sans);
}
.chat-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 78, 0.18); }
.chat-form .btn { min-height: 46px; padding: 0 16px; }
.chat-note { margin: 0; padding: 0 14px 12px; font-size: 0.7rem; color: var(--muted); text-align: center; background: var(--paper); }
@media (max-width: 520px) {
  .chat-panel { right: 0; bottom: 0; width: 100vw; height: 100svh; border-radius: 0; }
  .chat-launcher span { display: none; }
  .chat-launcher { padding: 0 11px; }
}

/* ——— Mouvement réduit ——— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal:not(.is-visible) { opacity: 1; transform: none; }
}

/* ——— Impression ——— */
@media print {
  .site-header, .chat-launcher, .chat-panel, .scroll-cue, .signup, .video-play { display: none !important; }
  .hero, .dark { background: #fff; color: #000; }
}
