/* Délicate Empreinte — feuille de style (voir DESIGN.md) */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("fonts/raleway.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
/* Polices de secours ajustées pour limiter le saut de mise en page */
@font-face { font-family: "Cormorant Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 86%; ascent-override: 98%; }
@font-face { font-family: "Raleway Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 104%; ascent-override: 92%; }

:root {
  --cream: #FBF5EE;
  --paper: #FFFCF8;
  --blush: #F5E4DA;
  --blush-deep: #EBC3B5;
  --sage-tint: #ECEEE3;
  --sage: #8C9A78;
  --sage-ink: #4F5C43;
  --ink: #3A2820;
  --ink-deep: #2E1F18;
  --muted: #6B5245;
  --terra: #8C4A2F;
  --terra-deep: #7A3F27;
  --gold: #B8894E;
  --gold-light: #D9B27C;
  --on-dark: #F3E6DA;
  --on-dark-muted: #D9C6B8;
  --line: rgba(58, 40, 32, .14);

  --serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --sans: "Raleway", "Raleway Fallback", "Segoe UI", system-ui, sans-serif;

  --radius: 24px;
  --shadow: 0 1px 0 rgba(58, 40, 32, .04), 0 24px 48px -32px rgba(122, 63, 39, .38);
  --shadow-lg: 0 30px 60px -30px rgba(122, 63, 39, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 72px;
}

*, *::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(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--terra); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--terra-deep); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
.bg-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); }
p { margin: 0 0 1em; max-width: 65ch; }
ul, ol { margin: 0; }
strong { font-weight: 600; }

.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: .75rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: var(--on-dark); }

.container { width: min(100% - 2.5rem, 1160px); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }
.center { text-align: center; }
.center p, .center .lead { margin-inline: auto; }

/* ---------- Titres ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.005em; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.55rem + 4.4vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.5vw, 3.3rem); }
h3 { font-size: clamp(1.45rem, 1.25rem + .8vw, 1.75rem); font-weight: 600; line-height: 1.15; }
h1 em, h2 em { font-style: italic; color: var(--terra); }
.bg-ink h2 em { color: var(--gold-light); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  margin: 0 0 1.1rem;
  font: 600 .78rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.bg-ink .eyebrow { color: var(--gold-light); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem); line-height: 1.65; color: var(--muted); max-width: 56ch; }
.bg-ink .lead { color: var(--on-dark-muted); }

/* Séparateur du logo : trait · cœur · trait */
.ornament { display: flex; align-items: center; gap: .7rem; color: var(--gold); margin: 1.25rem 0 1.75rem; }
.center .ornament { justify-content: center; }
.ornament::before, .ornament::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .8; }
.ornament svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.6rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 .95rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--terra); color: #FFF8F2; box-shadow: 0 12px 24px -14px rgba(122, 63, 39, .7); }
.btn-primary:hover { background: var(--terra-deep); color: #FFF8F2; transform: translateY(-1px); box-shadow: 0 16px 28px -14px rgba(122, 63, 39, .75); }
.btn-ghost { color: var(--terra); border-color: rgba(140, 74, 47, .45); background: transparent; }
.btn-ghost:hover { background: rgba(140, 74, 47, .07); border-color: var(--terra); color: var(--terra-deep); }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); transform: translateY(-1px); }
.btn-ghost-light { color: var(--on-dark); border-color: rgba(243, 230, 218, .5); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; background: rgba(243, 230, 218, .08); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: 2rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  font-weight: 600; text-decoration: none; color: var(--terra-deep);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s var(--ease); }
.link-arrow:hover span { background-size: 100% 1px; }
.link-arrow:hover .icon { transform: translateX(3px); }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 238, .9);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(58, 40, 32, .45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; flex: none; }
.brand-mark { width: 40px; }
.brand-word { width: 122px; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
/* Bouton « RDV » : le même sur téléphone et sur ordinateur (01/11/2026) */
.btn-rdv { min-height: 44px; padding: .55rem 1rem; font-size: .9rem; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.main-nav { display: none; }
.main-nav ul { list-style: none; padding: 0; }
.main-nav a { text-decoration: none; color: var(--ink); }
html:not(.js) .menu-toggle { display: none; }

/* Menu mobile ouvert */
.main-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 40px -30px rgba(58, 40, 32, .45);
  padding: .5rem 1.25rem 1.5rem;
}
.main-nav.is-open ul { display: grid; }
.main-nav.is-open a { display: flex; align-items: center; min-height: 52px; font-family: var(--serif); font-size: 1.45rem; border-bottom: 1px solid var(--line); }

@media (max-width: 359px) { .brand-mark { display: none; } }
/* Menu complet à partir de 1000 px : avec le bouton court « RDV », il tient sans retour à la ligne dès 940 px — 01/11/2026 */
@media (min-width: 1000px) {
  .menu-toggle { display: none !important; }
  .brand-mark { width: 46px; }
  .brand-word { width: 140px; }
  .main-nav { display: block; }
  .main-nav ul { display: flex; align-items: center; gap: .25rem; }
  .main-nav li a:not(.btn) {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem;
    font-weight: 500; font-size: .95rem; position: relative;
  }
  .main-nav li a:not(.btn)::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 8px; height: 1px;
    background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .main-nav li a:not(.btn):hover::after, .main-nav a[aria-current]::after, .main-nav a.is-active::after { transform: scaleX(1); }
  .main-nav a[aria-current], .main-nav a.is-active { color: var(--terra); }
  .main-nav { margin-left: auto; }
  .header-actions { margin-left: .5rem; }
  .main-nav li a { white-space: nowrap; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(4rem, 9vw, 7rem); overflow: clip; }
.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.bg-blush { background: var(--blush); }
.bg-sage { background: var(--sage-tint); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { max-width: 760px; margin-inline: auto; }

/* Taches aquarelle (rappel de la carte cadeau) */
.wash { position: relative; overflow: clip; }
.wash::before, .wash::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
  width: clamp(320px, 45vw, 620px); aspect-ratio: 1;
}
.wash::before { top: -18%; left: -14%; background: radial-gradient(closest-side, rgba(235, 195, 181, .55), rgba(235, 195, 181, 0)); }
.wash::after { bottom: -22%; right: -12%; background: radial-gradient(closest-side, rgba(140, 154, 120, .26), rgba(140, 154, 120, 0)); }
.wash-alt::before { background: radial-gradient(closest-side, rgba(140, 154, 120, .24), rgba(140, 154, 120, 0)); }
.wash-alt::after { background: radial-gradient(closest-side, rgba(235, 195, 181, .6), rgba(235, 195, 181, 0)); }
.wash > * { position: relative; z-index: 1; }

/* ---------- Arche photo ----------
   Le contour doré est toujours décalé vers le haut à gauche, y compris dans les blocs .split.reverse (photo à droite) :
   l'ancienne règle « miroir » restait bloquée derrière la photo (spécificité supérieure à .is-visible), corrigé le 01/11/2026. */
.arch-frame { position: relative; isolation: isolate; }
.arch-frame::before {
  content: ""; position: absolute; z-index: -1; inset: -14px 14px 14px -14px;
  border: 1px solid var(--gold); opacity: .75;
  border-radius: 50% 50% 2.2rem 2.2rem / 40% 40% 2.2rem 2.2rem;
}
.arch {
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 50% 50% 1.75rem 1.75rem / 40% 40% 1.75rem 1.75rem;
  box-shadow: var(--shadow-lg); background: var(--blush);
}
.arch img, .rounded img { width: 100%; height: 100%; object-fit: cover; }
.rounded { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--blush); }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-4-5 { aspect-ratio: 4 / 5; }

/* ---------- Héros de l'accueil ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(4rem, 8vw, 6.5rem); }
.hero-grid { display: grid; gap: clamp(3rem, 6vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .4em; }
/* « Un accompagnement » mesure 8,2 em : la taille du titre est plafonnée à 12 % de la largeur de sa colonne
   pour que ces deux mots restent toujours sur la même ligne (« Un » ne se retrouve plus seul) — 01/11/2026 */
.hero-text { container-type: inline-size; }
.hero h1 { font-size: min(clamp(2.6rem, 1.55rem + 4.4vw, 4.6rem), 12cqi); }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.hero-meta li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta .icon { width: 20px; height: 20px; color: var(--terra); }
.hero-media { position: relative; width: min(100%, 470px); margin-inline: auto; }
.seal {
  position: absolute; left: -10px; bottom: 34px; z-index: 2;
  width: 124px; height: 124px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); box-shadow: var(--shadow);
}
.seal img { width: 58px; position: relative; }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-ring text { font: 600 13px/1 var(--sans); fill: var(--terra-deep); letter-spacing: .5px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; }
  .hero-media { margin-right: 0; }
  .seal { left: -56px; width: 148px; height: 148px; }
  .seal img { width: 68px; }
}

/* ---------- Blocs texte + image ---------- */
.split { display: grid; gap: clamp(3rem, 6vw, 5.5rem); align-items: center; }
.split-media { width: min(100%, 460px); margin-inline: auto; }
@media (min-width: 880px) {
  .split { grid-template-columns: 5fr 6fr; }
  .split.reverse { grid-template-columns: 6fr 5fr; }
  .split.reverse .split-media { order: 2; }
  .split-media { margin-inline: 0; }
  .split.reverse .split-media { justify-self: end; }
}

.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.chips li {
  padding: .4rem .95rem; border-radius: 999px;
  background: rgba(255, 252, 248, .75); border: 1px solid var(--line);
  font-size: .9rem; line-height: 1.5; color: var(--ink);
}
.price-line { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.price { display: flex; align-items: baseline; gap: .55rem; margin: 0; }
.price-label { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.price-value { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--ink); font-weight: 500; }

/* Valeurs (À propos) */
.values { display: grid; gap: 1rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.values li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.values .icon-bubble { margin-top: .1rem; }
.values strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.values span { color: var(--muted); font-size: .98rem; }
.icon-bubble { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--terra); }
.bg-blush .icon-bubble { background: var(--paper); }
.card .icon-bubble, .bg-blush .card .icon-bubble { background: var(--blush); }
.icon-bubble .icon { width: 22px; height: 22px; }

/* Bientôt disponible */
.soon {
  display: grid; gap: 1.75rem; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 32px;
  padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow);
}
.soon-media { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; }
.soon-media img { width: 100%; height: 100%; object-fit: cover; }
.soon-body { padding: 0 .5rem .5rem; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .85rem; border-radius: 999px;
  background: var(--sage-tint); color: var(--sage-ink);
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
@media (min-width: 760px) {
  .soon { grid-template-columns: 300px 1fr; }
  .soon-media { aspect-ratio: 4 / 5; }
}

/* Carte cadeau */
.gift-visual { position: relative; }
.gift-visual img { border-radius: 18px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.gift-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.gift-list li { display: flex; gap: .7rem; align-items: flex-start; }
.gift-list .icon { width: 20px; height: 20px; color: var(--terra); margin-top: .25rem; }

/* Rendez-vous */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid rgba(243, 230, 218, .14); }
.contact-list .icon-bubble { background: rgba(243, 230, 218, .1); color: var(--gold-light); flex: none; }
.contact-list small { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.contact-list a, .contact-list .value { color: var(--on-dark); font-size: 1.05rem; text-decoration: none; }
.contact-list a { display: inline-block; min-height: 28px; }
.contact-list a:hover { color: #fff; text-decoration: underline; }
.contact-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-photo-caption { margin-top: .85rem; font-size: .9rem; color: var(--on-dark-muted); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-after { margin-top: clamp(3rem, 6vw, 4.5rem); }

.contact-after { align-items: start; }
.contact-after .contact-list { margin-top: 0; }
.contact-after .contact-photo { margin-top: 2rem; }
.on-dark-link { color: var(--on-dark); }
.on-dark-link:hover { color: #fff; }

/* Formulaire de contact */
.form-card { background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); scroll-margin-top: calc(var(--header-h) + 16px); }
.form-card h3 { font-size: clamp(1.8rem, 1.45rem + 1.2vw, 2.3rem); font-weight: 500; margin-bottom: .4rem; }
.form-card h3 em { color: var(--terra); }
.form-intro { color: var(--muted); font-size: .97rem; margin-bottom: 1.5rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.15rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field .req { color: var(--terra); }
.field .opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.field-hint { margin: 0; font-size: .88rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem 1rem;
  border: 1px solid #8F7462; border-radius: 14px; background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem; line-height: 1.5;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C4A2F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 18px 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--terra); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--terra); outline-offset: 1px; border-color: var(--terra); }
.field [aria-invalid="true"] { border-color: #A3341F; background-color: #FFF6F3; }
.field-error { margin: 0; color: #A3341F; font-size: .9rem; font-weight: 500; }
.form-errors { margin-bottom: 1.25rem; padding: 1rem 1.2rem; border: 1px solid #A3341F; border-radius: 14px; background: #FFF1EC; color: #7A2414; }
.form-errors:focus { outline: 2px solid #A3341F; outline-offset: 2px; }
.form-errors p { margin: 0 0 .4rem; font-weight: 600; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form-errors a { color: #7A2414; }
.honeypot { display: none !important; }
.form-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .5rem; }
.form-status { margin: 0; font-weight: 500; }
.form-status.is-error { color: #A3341F; }
.form-note { margin: 1.25rem 0 0; font-size: .88rem; color: var(--muted); }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }

/* Planning de réservation (Cal.com) */
.booking-frame {
  position: relative; min-height: 420px;
  background: var(--paper); color: var(--ink);
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.booking-frame.is-loaded { min-height: 560px; }
.booking-placeholder {
  min-height: 420px; display: grid; place-content: center; justify-items: center; gap: .25rem;
  text-align: center; padding: 3rem 1.5rem;
  background:
    radial-gradient(closest-side, rgba(235, 195, 181, .45), rgba(235, 195, 181, 0)) -10% -30% / 420px 420px no-repeat,
    radial-gradient(closest-side, rgba(140, 154, 120, .22), rgba(140, 154, 120, 0)) 110% 130% / 420px 420px no-repeat,
    var(--paper);
}
.booking-placeholder h3 { margin: 1rem 0 .25rem; }
.booking-placeholder p { color: var(--muted); margin: 0 auto 1.25rem; max-width: 42ch; }
.booking-placeholder .booking-fallback { margin: 1rem 0 0; font-size: .92rem; }
.booking-loading { min-height: 420px; display: grid; place-items: center; color: var(--muted); }
.booking-loading::before {
  content: ""; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--blush-deep); border-top-color: var(--terra);
  animation: tourne 1s linear infinite; margin-bottom: .75rem;
}
@keyframes tourne { to { transform: rotate(360deg); } }
.cal-inline { width: 100%; padding: clamp(.5rem, 2vw, 1.25rem); }
.booking-note { margin: 1rem 0 0; font-size: .88rem; color: var(--on-dark-muted); max-width: none; }
.booking-note a { color: var(--on-dark); }
.booking-note a:hover { color: #fff; }


/* ---------- Pages intérieures ---------- */
.breadcrumb { padding-top: 1.5rem; font-size: .88rem; color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: var(--gold); }
.breadcrumb a { color: var(--muted); display: inline-block; padding-block: .35rem; }
.page-hero { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3.5rem, 7vw, 5.5rem); }
.page-hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1fr 1fr; } }

.cards { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .cards-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--paper); border: 1px solid rgba(58, 40, 32, .07); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card h3 { margin: 1.1rem 0 .6rem; }
.card p:last-child { margin-bottom: 0; }
.card .card-note { margin-top: auto; padding-top: 1.1rem; color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; }

.dot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.dot-list li { position: relative; padding-left: 1.3rem; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.dot-list.two-cols { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); column-gap: 1.5rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; counter-reset: etape; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.steps li::before {
  counter-increment: etape; content: counter(etape);
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); background: var(--paper);
  font-family: var(--serif); font-size: 1.6rem; color: var(--terra); line-height: 1;
}
.steps h3 { margin: .55rem 0 .35rem; font-size: 1.35rem; }
.steps p { margin: 0; color: var(--muted); }

.facts { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.fact { flex: 1 1 180px; background: var(--paper); border-radius: 20px; padding: 1.1rem 1.4rem; border: 1px solid rgba(58, 40, 32, .07); }
.fact small { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fact span { font-family: var(--serif); font-size: 1.75rem; line-height: 1.25; }

.callout {
  background: var(--paper); border: 1px solid rgba(140, 74, 47, .22); border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: var(--shadow);
}
.callout-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.callout-head h2 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem); margin: 0; }
.callout .icon-bubble { background: #F8E7DF; }
.disclaimer {
  display: flex; gap: .9rem; align-items: flex-start;
  margin-top: 1.5rem; padding: 1.1rem 1.3rem; border-radius: 16px;
  background: var(--sage-tint); color: var(--sage-ink); font-size: .97rem;
}
.disclaimer .icon { width: 22px; height: 22px; margin-top: .1rem; }
.disclaimer p { margin: 0; }

.cta-band { text-align: center; }
.cta-band .actions { justify-content: center; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink-deep); color: var(--on-dark-muted); padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; font-size: .96rem; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand img { width: 200px; }
.footer-brand .tagline { margin-top: 1rem; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--on-dark); margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .1rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-note { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(243, 230, 218, .12); display: grid; gap: .75rem; font-size: .88rem; }
.footer-note p { max-width: none; margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: space-between; }
.footer-bottom a { min-height: 32px; text-decoration: underline; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ---------- Page 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.notfound img { margin: 0 auto 1.5rem; width: 120px; }

/* ---------- Textes longs (mentions légales) ---------- */
.prose h2 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.2rem); margin-top: 2.5rem; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 1.2rem; margin-bottom: 1em; }

/* ---------- Champs à compléter (maquette) ---------- */
.todo { background: #FFF1B8; color: #4D3600; outline: 1px dashed #A07A2A; border-radius: 4px; padding: 0 .25em; font-style: normal; }
.bg-ink .todo, .site-footer .todo { background: #5A4630; color: #FFE9B0; outline-color: #D9B27C; }
.bg-ink .booking-frame .todo, .bg-ink .form-card .todo { background: #FFF1B8; color: #4D3600; outline-color: #A07A2A; }

/* ================================================================
   MOUVEMENT
   - décor seulement (taches, poussière dorée, anneau, lignes, parallaxe) ;
   - aucune animation si le visiteur réduit les animations dans son système ;
   - bouton « Mettre les animations en pause » (classe html.calme, gardée en stockage local).
   ================================================================ */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }

/* Survols (actions de la visiteuse) */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 248, 242, .3) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn:hover .icon { animation: frisson .5s var(--ease-out); }
.card { transition: translate .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.card:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); }
.card .icon-bubble { transition: background-color .3s, color .3s; }
.card:hover .icon-bubble { background: var(--terra); color: #FFF8F2; }
.gift-visual img { transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); will-change: transform; }
.brand-mark { transition: transform .6s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }

/* Apparitions au défilement */
.js:not(.calme) .reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js:not(.calme) .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay { transition-delay: .12s; }
/* Photos en arche : dévoilement de bas en haut, image qui se pose, cadre doré qui se décale */
.js:not(.calme) .split-media.reveal { opacity: 1; transform: none; }
.js:not(.calme) .split-media.reveal .arch { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-out); }
.js:not(.calme) .split-media.reveal.is-visible .arch { clip-path: inset(0 0 0 0); }
.js:not(.calme) .split-media.reveal .arch img { scale: 1.28; transition: scale 1.8s var(--ease-out); }
.js:not(.calme) .split-media.reveal.is-visible .arch img { scale: 1.1; }
.js:not(.calme) .split-media.reveal .arch-frame::before { opacity: 0; transform: translate(14px, 14px); transition: opacity 1s var(--ease-out) .55s, transform 1.2s var(--ease-out) .55s; }
.js:not(.calme) .split-media.reveal.is-visible .arch-frame::before { opacity: .75; transform: none; }
/* Marge pour la parallaxe des photos */
.arch img { scale: 1.1; }
.rounded img { scale: 1.08; }
/* Cascades */
.js:not(.calme) .reveal .stagger > *, .js:not(.calme) .reveal.stagger > * { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms + .2s); }
.js:not(.calme) .reveal.is-visible .stagger > *, .js:not(.calme) .reveal.stagger.is-visible > * { opacity: 1; transform: none; }
/* Frise des étapes qui se dessine */
.steps { position: relative; }
.steps li { position: relative; z-index: 1; }
.steps::before { content: ""; position: absolute; left: 25.5px; top: 30px; bottom: 30px; width: 1px; background: var(--gold); opacity: .6; transform-origin: top; }
.js:not(.calme) .reveal .steps::before { transform: scaleY(0); transition: transform 1.4s var(--ease-out) .3s; }
.js:not(.calme) .reveal.is-visible .steps::before { transform: none; }
/* Lignes dorées (rappel de la carte cadeau) */
.flow-line { position: absolute; z-index: 0; width: clamp(220px, 34vw, 420px); height: auto; pointer-events: none; fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .55; }
.flow-line path { stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.flow-a { top: 0; right: 0; }
.flow-b { bottom: 0; left: 0; }
.js:not(.calme) .flow-line.reveal { opacity: .55; transform: none; }
.js:not(.calme) .flow-line.reveal path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease-out) .2s; }
.js:not(.calme) .flow-line.reveal.is-visible path { stroke-dashoffset: 0; }
/* Taches aquarelle : parallaxe (variable --py posée par le script) */
.wash::before { translate: 0 calc(var(--py, 0) * 1px); }
.wash::after { translate: 0 calc(var(--py, 0) * -.6px); }
.dust { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.dust span { position: absolute; left: var(--x); top: var(--y); width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: 0; box-shadow: 0 0 10px rgba(217, 178, 124, .8); }
.dust span:nth-child(2n) { width: 4px; height: 4px; }
.dust span:nth-child(3n) { width: 8px; height: 8px; background: var(--blush-deep); }

/* Animations d'ambiance et d'arrivée : seulement si le visiteur n'a rien demandé et n'a pas mis en pause */
@media (prefers-reduced-motion: no-preference) {
  html:not(.calme) .hero .eyebrow { animation: monte .8s var(--ease-out) .05s both; }
  html:not(.calme) .hero .lead { animation: monte .9s var(--ease-out) .2s both; }
  html:not(.calme) .hero .actions { animation: monte .9s var(--ease-out) .35s both; }
  html:not(.calme) .hero-meta { animation: monte .9s var(--ease-out) .5s both; }
  html:not(.calme) .hero .arch img { animation: pose 2.2s var(--ease-out) both; }
  html:not(.calme) .hero .arch-frame::before { animation: cadre 1.4s var(--ease-out) .5s both; }
  html:not(.calme) .seal { animation: sceau 1.1s var(--ease-out) .8s both; }
  html:not(.calme) .seal-ring { animation: tourne-lent 60s linear infinite; }
  html:not(.calme) .trace { background: linear-gradient(var(--gold), var(--gold)) 0 92% / 0 1.5px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: trace 1.4s var(--ease-out) .7s forwards; }
  html:not(.calme) .dust span { animation: poussiere var(--t) linear var(--d) infinite; }
  html:not(.calme) .wash::before { animation: derive 26s ease-in-out infinite alternate; }
  html:not(.calme) .wash::after { animation: derive 32s ease-in-out -9s infinite alternate-reverse; }
  html:not(.calme) .reveal.is-visible .ornament svg { animation: battement 1.5s var(--ease-out) .5s 2; }
  html:not(.calme) .booking-placeholder .icon-bubble { animation: flotte 5s ease-in-out infinite; }

  /* Transition douce entre les pages */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: 260ms ease both fondu-sortie; }
  ::view-transition-new(root) { animation: 420ms var(--ease-out) both fondu-entree; }
  .site-header { view-transition-name: entete; }
}

@keyframes monte { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pose { from { scale: 1.2; } to { scale: 1.1; } }
@keyframes cadre { from { opacity: 0; transform: translate(14px, 14px); } to { opacity: .75; transform: none; } }
@keyframes sceau { from { opacity: 0; transform: scale(.6) rotate(-25deg); } to { opacity: 1; transform: none; } }
@keyframes tourne-lent { to { transform: rotate(360deg); } }
@keyframes trace { to { background-size: 100% 1.5px; } }
@keyframes poussiere {
  0% { transform: translate3d(0, 0, 0) scale(.5); opacity: 0; }
  15% { opacity: .9; }
  80% { opacity: .55; }
  100% { transform: translate3d(var(--dx, 10px), -150px, 0) scale(1); opacity: 0; }
}
@keyframes derive {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(26px, -20px, 0) scale(1.07); }
  100% { transform: translate3d(-14px, 16px, 0) scale(.96); }
}
@keyframes battement { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.4); } 55% { transform: scale(.94); } }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes frisson { 0% { transform: rotate(0); } 30% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 100% { transform: rotate(0); } }
@keyframes fondu-sortie { to { opacity: 0; } }
@keyframes fondu-entree { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Composants adaptés de 21st.dev ---------- */

/* Text Reveal : les mots des titres montent en sortant d'un léger flou */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .14em; margin: 0 -.08em -.14em; }
[data-split] .wi { display: inline-block; }
.js:not(.calme) .reveal [data-split] .wi { opacity: 0; transform: translateY(105%); filter: blur(8px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); transition-delay: calc(var(--d, 0ms) + .12s); }
.js:not(.calme) .reveal.is-visible [data-split] .wi { opacity: 1; transform: none; filter: none; }

/* Marquee : bandeau de mots qui défile doucement (décoratif) */
.marquee {
  overflow: hidden; padding-block: 1.1rem; background: var(--cream);
  border-block: 1px solid rgba(184, 137, 78, .35);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; flex-shrink: 0; }
.marquee-item { display: inline-flex; align-items: center; gap: 1.75rem; padding-right: 1.75rem; font: italic 500 clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem)/1.2 var(--serif); color: var(--terra); white-space: nowrap; }
.marquee-item:nth-child(even) { color: var(--sage-ink); }
.marquee-item svg { width: 12px; height: 12px; fill: var(--gold); }

/* Gallery Animation : les photos s'élargissent au survol, s'ouvrent en grand au clic */
.gallery { display: flex; gap: .75rem; list-style: none; padding: 0 0 .5rem; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.gallery-item { flex: 0 0 72%; scroll-snap-align: center; }
@media (max-width: 899px), (hover: none) { .gallery { margin-inline: -1.25rem; padding-inline: 1.25rem; scroll-padding-inline: 1.25rem; } }
.gallery-item a { position: relative; display: block; height: clamp(340px, 62vh, 460px); border-radius: 22px; overflow: hidden; background: var(--blush); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery-item a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(46, 31, 24, .65), rgba(46, 31, 24, 0) 45%); transition: opacity .5s var(--ease-out); }
.gallery-caption { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 1; font: italic 500 1.35rem/1.2 var(--serif); color: #FFF8F2; transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.gallery-item a:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
@media (min-width: 900px) and (hover: hover) {
  .gallery { overflow: visible; height: 460px; }
  .gallery-item { flex: 1 1 0; min-width: 0; transition: flex-grow .7s var(--ease-out); }
  .gallery-item a { height: 100%; }
  .gallery:hover .gallery-item, .gallery:focus-within .gallery-item { flex-grow: .62; }
  .gallery .gallery-item:hover, .gallery .gallery-item:focus-within { flex-grow: 2.6; }
  .gallery-item a::after { background: rgba(58, 40, 32, .28); }
  .gallery-item:hover a::after, .gallery-item:focus-within a::after { opacity: 0; }
  .gallery-caption { opacity: 0; transform: translateY(10px); text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
  .gallery-item:hover .gallery-caption, .gallery-item:focus-within .gallery-caption { opacity: 1; transform: none; }
  .gallery-item:hover img { transform: scale(1.04); }
}
.js:not(.calme) .gallery.reveal .gallery-item { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), flex-grow .7s var(--ease-out); }
.js:not(.calme) .gallery.reveal.is-visible .gallery-item { opacity: 1; transform: none; }
.js:not(.calme) .gallery.reveal .gallery-item:nth-child(2) { transition-delay: .08s, .08s, 0s; }
.js:not(.calme) .gallery.reveal .gallery-item:nth-child(3) { transition-delay: .16s, .16s, 0s; }
.js:not(.calme) .gallery.reveal .gallery-item:nth-child(4) { transition-delay: .24s, .24s, 0s; }
.js:not(.calme) .gallery.reveal .gallery-item:nth-child(5) { transition-delay: .32s, .32s, 0s; }
.js:not(.calme) .gallery.reveal .gallery-item:nth-child(6) { transition-delay: .40s, .40s, 0s; }
.js:not(.calme) .gallery.reveal { opacity: 1; transform: none; }

/* Grande vue (dialog) */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(36, 24, 18, .94); color: var(--on-dark); overflow: hidden; }
.lightbox::backdrop { background: rgba(36, 24, 18, .6); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox-figure { margin: 0; display: grid; justify-items: center; gap: .85rem; padding: 4.5rem 1rem 3.5rem; max-height: 100vh; }
.lightbox-img { max-width: min(92vw, 1100px); max-height: calc(100vh - 10rem); width: auto; height: auto; object-fit: contain; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.lightbox-caption { font: italic 500 1.35rem/1.3 var(--serif); color: var(--on-dark); text-align: center; }
.lightbox-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(243, 230, 218, .35); background: rgba(46, 31, 24, .55); color: var(--on-dark); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease-out); }
.lightbox-btn:hover { background: var(--terra); border-color: var(--terra); }
.lightbox-btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox-prev .icon { transform: rotate(180deg); }
.lightbox-next { right: 1rem; top: 50%; translate: 0 -50%; }
.lightbox-count { position: absolute; top: 1.35rem; left: 50%; translate: -50% 0; margin: 0; font-size: .9rem; letter-spacing: .14em; color: var(--on-dark-muted); }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; translate: none; } }
@media (prefers-reduced-motion: no-preference) {
  html:not(.calme) .lightbox[open] .lightbox-img { animation: zoom-doux .45s var(--ease-out); }
  html:not(.calme) .marquee-track { animation: defile 55s linear infinite; }
  html:not(.calme) .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes zoom-doux { from { opacity: 0; transform: scale(.94); } }
@keyframes defile { to { transform: translateX(-50%); } }

/* Scroll animated timeline : la ligne des étapes se remplit au défilement */
.js .steps::after { content: ""; position: absolute; left: 25.5px; top: 30px; bottom: 30px; width: 2px; margin-left: -.5px; background: var(--terra); transform-origin: top; transform: scaleY(var(--p, 0)); z-index: 0; }
.steps li::before { transition: background-color .5s var(--ease-out), color .5s var(--ease-out), border-color .5s var(--ease-out), transform .5s var(--ease-out); }
.steps li.is-on::before { background: var(--terra); border-color: var(--terra); color: #FFF8F2; transform: scale(1.06); }
.steps li h3 { transition: color .5s var(--ease-out); }
.steps li.is-on h3 { color: var(--terra-deep); }

/* ---------- Fond texturé et animé ----------
   Couche fixe placée AU-DESSUS des fonds de section mais SOUS les contenus (textes, photos) :
   - grain de papier aquarelle (inspiré de « Paper Texture », 21st.dev) : texture fixe, sans animation ;
   - ombres de feuillage qui ondulent dans un rayon de soleil (inspiré de « Dusk Leaf Shadow », 21st.dev) :
     un petit shader WebGL dessiné à basse résolution, lancé après le chargement de la page.
   Les ombres ne foncent jamais le fond de plus de 8 % : contrastes du texte ≥ 4,5:1 conservés. */
main .container, main .narrow, .site-footer .container, .marquee-track { position: relative; z-index: 1; }
.ambiance { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.ambiance::before, .ambiance::after { content: ""; position: absolute; inset: 0; }
.ambiance::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520'%3E%3Cfilter id='m' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .36 0 0 0 0 .24 0 0 0 -2.2 1.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E"); background-size: 520px 520px; opacity: .14; }
.ambiance::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .29 0 0 0 0 .18 0 0 0 0 .12 0 0 0 -1.6 1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); background-size: 180px 180px; opacity: .1; }
.ambiance canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 2.4s ease; }
.ambiance canvas.is-on { opacity: 1; }

/* Bouton pause (pied de page) */
.motion-toggle {
  background: none; border: 0; padding: 0; min-height: 32px; cursor: pointer;
  color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .18em;
}
.motion-toggle:hover { color: #fff; }

/* Animations réduites dans le système, ou mises en pause : tout est immobile et visible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal, .js .reveal .stagger > *, .js .reveal.stagger > *, .js .reveal [data-split] .wi, .js .gallery.reveal .gallery-item { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .split-media.reveal .arch { clip-path: none !important; }
  .js .flow-line path { stroke-dashoffset: 0 !important; }
  .js .reveal .steps::before { transform: none !important; }
  .js .split-media.reveal .arch-frame::before { opacity: .75 !important; transform: none !important; }
  .gift-visual img { transform: none !important; }
  .dust, .motion-toggle { display: none !important; }
}
.calme { scroll-behavior: auto; }
.calme .dust { display: none; }
.calme .booking-loading::before { animation: tourne 1s linear infinite; }
