/* ============================================================
   AM O VIA — Massage bien-être · v1.0
   Palette : fond clair · terracotta · beige · marron
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ivory:      #f7f1e8;   /* fond clair */
  --sand:       #efe3d3;   /* beige */
  --blush:      #e3c4ae;   /* rose-beige (trait du logo) */
  --terracotta: #ba6753;
  --terra-soft: #c4856a;   /* panneau central du flyer */
  --terra-dark: #9c5a3c;
  --terra-light: #d69276;  /* terracotta clair : rose + liserés des photos */
  --brown:      #4d3423;   /* marron du logo */
  --brown-deep: #38241a;
  --ink:        #3a2a20;
  --muted:      #7a695c;
  --white:      #fffdf9;
  --line:       #e4d5c3;
  --shadow:     0 22px 50px -26px rgba(74, 49, 34, .42);
  --shadow-lg:  0 40px 80px -34px rgba(74, 49, 34, .5);
  --radius:     18px;
  --maxw:       1180px;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --display:    'Cormorant Garamond', Georgia, serif;
  --sans:       'Jost', system-ui, -apple-system, sans-serif;
  --ease:       cubic-bezier(.22, 1, .36, 1);
}

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--terracotta); color: #fff; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* La rose du logo (PNG transparent fourni par la cliente) */
.logo-rose, .hero-rose, .manifesto-rose, .footer-rose { width: auto; }

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 999; background: var(--ivory);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-logo { width: min(260px, 60vw); height: auto; opacity: 0; transform: scale(.94);
  animation: logoIn 1.3s .1s var(--ease) forwards; }
@keyframes logoIn { to { opacity: 1; transform: none; } }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
  background: linear-gradient(90deg, var(--blush), var(--terracotta)); z-index: 200;
}

/* ============ TYPOGRAPHY HELPERS ============ */
.section-eyebrow {
  font-size: .74rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 400; margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: .8rem;
}
.section-eyebrow::before { content: ''; width: 30px; height: 1px; background: currentColor; display: inline-block; }
.section-eyebrow.light { color: var(--blush); }
.center .section-eyebrow::after { content: ''; width: 30px; height: 1px; background: currentColor; display: inline-block; }
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; color: var(--brown); letter-spacing: -.01em;
}
.section-title em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.section-lead { color: var(--muted); font-size: 1.08rem; margin-top: 1.2rem; max-width: 50ch; }
.section-head.center { text-align: center; margin: 0 auto 3.6rem; max-width: 680px; }
.section-head.center .section-lead { margin-inline: auto; }

/* ============ BUTTONS ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1.05rem 2.1rem; border-radius: 100px; font-family: var(--sans);
  font-weight: 400; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
  overflow: hidden;
}
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: var(--shadow); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; background: var(--brown);
  transform: translateY(101%); transition: transform .45s var(--ease); z-index: 0;
}
.btn-primary:hover::after { transform: translateY(0); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn > * { position: relative; z-index: 1; }
.btn-outline { background: transparent; color: var(--brown); border-color: var(--terracotta); }
.btn-outline:hover { background: var(--terracotta); color: #fff; transform: translateY(-3px); }
.btn-outline .arrow { transition: transform .35s var(--ease); }
.btn-outline:hover .arrow { transform: translateX(4px); }
.btn-block { width: 100%; }
.section-cta { margin-top: 2.2rem; }
.section-cta-wrap { text-align: center; margin-top: 3.2rem; }

.link-arrow, .card-link { display: inline-block; margin-top: 1.6rem; color: var(--terracotta);
  font-weight: 400; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: .3rem; border-bottom: 1px solid var(--blush); transition: .3s var(--ease); }
.link-arrow:hover, .card-link:hover { color: var(--brown); border-color: var(--brown); letter-spacing: .18em; }

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 241, 232, 0);
  transition: background .4s var(--ease), box-shadow .4s;
  padding: .4rem 0;
}
.site-header.scrolled {
  background: rgba(247, 241, 232, .97);
  box-shadow: 0 6px 30px -20px rgba(74, 49, 34, .45);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 78px; transition: height .4s var(--ease); }
.site-header.scrolled .header-inner { height: 66px; }

.logo { display: flex; align-items: center; gap: .7rem; color: var(--brown); flex: 0 1 auto; min-width: 0; }
.logo-rose { height: 46px; transition: transform .8s var(--ease); }
.logo:hover .logo-rose { transform: rotate(-8deg) scale(1.06); }
.logo-word { height: 40px; width: auto; flex: none; }

.nav { display: flex; gap: 1.7rem; }
.nav-link { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; white-space: nowrap;
  color: var(--ink); position: relative; padding: .4rem 0; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--terracotta); transition: width .35s var(--ease); }
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1rem; flex: none; }
.contact-link { display: inline-flex; align-items: center; background: var(--terracotta); color: #fff;
  padding: .7rem 1.5rem; border-radius: 100px; font-weight: 400; font-size: .76rem; letter-spacing: .16em;
  text-transform: uppercase; transition: background-color .35s var(--ease), transform .35s var(--ease); white-space: nowrap; }
.contact-link:hover { background: var(--brown); transform: translateY(-2px); }

.burger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 8px 6px; z-index: 110; }
.burger span { width: 26px; height: 1.5px; background: var(--brown); border-radius: 2px; transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding: 120px 0 84px;
  background:
    radial-gradient(60% 55% at 88% 18%, rgba(227, 196, 174, .55), transparent 70%),
    radial-gradient(45% 50% at 0% 100%, rgba(239, 227, 211, .9), transparent 70%),
    var(--ivory);
}
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.hero-eyebrow { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 1.5rem; font-weight: 400; }
.hero-title { font-family: var(--serif); font-weight: 500; color: var(--brown);
  font-size: clamp(2.7rem, 6.2vw, 4.9rem); line-height: 1.03; margin-bottom: 1.6rem; letter-spacing: -.015em; }
.hero-title span { display: block; }
.hero-title em { font-style: italic; font-weight: 400; color: var(--terracotta); }
.hero-subtitle { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 46ch; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.2rem 2.6rem; margin-top: 3.2rem;
  padding-top: 1.9rem; border-top: 1px solid var(--line); }
.hero-badges li { display: flex; flex-direction: column; }
.hero-badges strong { font-family: var(--serif); font-style: italic; font-size: 1.45rem; font-weight: 500; color: var(--brown); line-height: 1.1; }
.hero-badges span { font-size: .84rem; color: var(--muted); margin-top: .3rem; }

.hero-visual { position: relative; max-width: 470px; width: 100%; justify-self: end; margin-right: 12px; }
.hero-arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5.3; background: var(--sand); position: relative; z-index: 1; }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-arch-line { position: absolute; inset: 0; transform: translate(16px, 16px);
  border: 1px solid var(--terra-light); border-radius: 999px 999px var(--radius) var(--radius); z-index: 0; }
.hero-inset { position: absolute; z-index: 2; left: -64px; bottom: -28px; width: 38%;
  border: 3px solid var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--terra-light), var(--shadow-lg);
  animation: floaty 7s ease-in-out infinite; }
.hero-inset img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.hero-rose { position: absolute; z-index: 2; right: -44px; top: -2%; width: 120px; opacity: 0; }
.loaded .hero-rose { animation: fadeIn 1.4s 1.1s var(--ease) forwards; }
@keyframes fadeIn { to { opacity: .9; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 4;
  color: var(--muted); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.hero-scroll span { width: 1px; height: 32px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll span::after { content: ''; position: absolute; top: -32px; left: 0; width: 100%; height: 32px;
  background: var(--terracotta); animation: scrolldown 2s var(--ease) infinite; }
@keyframes scrolldown { to { top: 32px; } }

/* ============ REVEAL ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-up { opacity: 0; transform: translateY(28px); }
.loaded .reveal-up { animation: riseUp 1s var(--ease) forwards; }
.loaded .reveal-up.d1 { animation-delay: .15s; }
.loaded .reveal-up.d2 { animation-delay: .3s; }
.loaded .reveal-up.d3 { animation-delay: .5s; }
.loaded .reveal-up.d4 { animation-delay: .7s; }
.loaded .reveal-up.d5 { animation-delay: .9s; }
@keyframes riseUp { to { opacity: 1; transform: none; } }

/* ============ MANIFESTE ============ */
.manifesto { position: relative; overflow: hidden; background: #b26a49; color: #fff;
  padding: clamp(5rem, 10vw, 8.5rem) 0; text-align: center; }
.manifesto-rose { position: absolute; width: min(760px, 130vw); left: 50%; top: 50%;
  transform: translate(-50%, -50%); filter: brightness(0) invert(1); opacity: .09; pointer-events: none; }
.manifesto-inner { position: relative; max-width: 780px; }
.manifesto-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; }
.manifesto-text { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 1.3rem; }
.manifesto-text p { font-size: clamp(1.05rem, 1.7vw, 1.2rem); line-height: 1.95; color: rgba(255, 255, 255, .96); letter-spacing: .02em; font-weight: 400; }
.manifesto-lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.35; margin-top: 1rem; color: rgba(255, 255, 255, .95); }
.manifesto-sign { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.3; margin-top: 3rem; }

/* ============ RITUEL SUR-MESURE ============ */
.ritual { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.ritual-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.ritual-media { margin-top: 5.5rem; }
.ritual-media { position: relative; padding-bottom: 24%; padding-right: 6%; }
.ritual-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ritual-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 70% center; }
.ritual-image.small { position: absolute; right: 0; bottom: 0; width: 56%; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--terra-light), var(--shadow-lg); }
.ritual-image.small img { aspect-ratio: 16 / 10; object-position: center; }

.steps { margin-top: 2.2rem; }
.steps li { display: flex; gap: 1.4rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--terracotta); line-height: 1.2; flex: none; width: 2.2rem; }
.steps strong { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--brown); line-height: 1.2; }
.steps div span { display: block; color: var(--muted); font-size: .98rem; margin-top: .25rem; }

/* ============ SOINS SIGNATURE ============ */
.signatures { padding: clamp(5rem, 10vw, 8.5rem) 0; background: var(--sand); }
.sig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.sig { background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 14px 34px -26px rgba(74, 49, 34, .45); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column; }
.sig:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.sig-img { overflow: hidden; }
.sig-img img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; object-position: center 30%; transition: transform 1.2s var(--ease); }
.sig:hover .sig-img img { transform: scale(1.06); }
.sig-img--pending { aspect-ratio: 16 / 9.5; display: grid; place-items: center; background: var(--sand); }
.sig-img--pending img { width: 34%; aspect-ratio: auto; opacity: .35; }
.sig-body { padding: 2.2rem 2.3rem 2.5rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.sig-kicker { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--terracotta); font-weight: 400; }
.sig-body h3 { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 500; color: var(--brown); line-height: 1.1; margin-top: .5rem; }
.sig-key { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--terra-dark); margin-bottom: 1rem; }
.sig-body p:not(.sig-kicker):not(.sig-key) { color: var(--muted); flex: 1; }

/* ============ LA CARTE ============ */
.menu { padding: clamp(5rem, 10vw, 8.5rem) 0 0; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2.5rem, 6vw, 5.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.menu-item { padding: 1.7rem 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease); }
.menu-item:hover { padding-left: .8rem; }
.menu-item h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; color: var(--brown); line-height: 1.2;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .9rem; }
.menu-item h3 span { font-family: var(--sans); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); font-weight: 400; }
.menu-item p { color: var(--muted); margin-top: .45rem; font-size: .99rem; max-width: 52ch; }
.menu-signature { text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.35; color: var(--brown); margin: 0 auto clamp(4rem, 8vw, 6rem); }
.menu-signature strong { font-weight: 500; }

/* ---- Marquee ---- */
.marquee { background: #b26a49; color: var(--ivory); padding: 1.2rem 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 44s linear infinite; will-change: transform; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: 1.6rem; }
.marquee-track i { font-style: normal; color: rgba(247, 241, 232, .7); margin: 0 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ À DOMICILE ============ */
.home { padding: clamp(5rem, 10vw, 8.5rem) 0; background: var(--brown); color: #fff; position: relative; overflow: hidden; }
.home::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 100% 0%, rgba(196, 133, 106, .22), transparent 70%); }
.home-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.home .section-title { color: #fff; }
.home .section-lead { color: rgba(255, 255, 255, .78); }
.home .section-lead + .section-lead { margin-top: .9rem; }
.kit { margin-top: 2.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.kit li { display: flex; gap: 1rem; align-items: baseline; padding: 1.15rem 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.kit-num { font-family: var(--serif); font-style: italic; color: var(--blush); font-size: 1.05rem; width: 1.6rem; flex: none; }
.kit strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: #fff; line-height: 1.2; }
.kit div span { font-size: .9rem; color: rgba(255, 255, 255, .62); }
.home-image { position: relative; z-index: 1; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); max-width: 440px; margin-left: auto; }
.home-arch-line { position: absolute; inset: 0; transform: translate(16px, 16px); z-index: 0; pointer-events: none;
  border: 1px solid var(--terra-light); border-radius: 999px 999px var(--radius) var(--radius); }
.home-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% top; }
.home-media { position: relative; max-width: 440px; margin-left: auto; width: 100%; }
.home-inset { position: absolute; z-index: 2; left: -70px; bottom: -34px; width: 50%;
  border: 3px solid var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--terra-light), var(--shadow-lg); }
.home-inset img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.home-rose { position: absolute; z-index: 2; right: -44px; top: -2%; width: 116px; opacity: .92; }

/* ============ CONTACT ============ */
.contact { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-host { display: flex; align-items: center; gap: 1.1rem; margin-top: 2.2rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.contact-portrait { width: 104px; height: 104px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 30%;
  border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--terra-light), var(--shadow); }
.contact-host p strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--brown); line-height: 1.1; }
.line-m { white-space: nowrap; }
.contact-host p > span { display: block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); margin-top: .35rem; }
.contact-details { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1.3rem; }
.contact-details li { display: flex; align-items: center; gap: 1.1rem; }
.ci { width: 50px; height: 50px; flex: none; display: grid; place-items: center; color: var(--terracotta);
  border: 1px solid var(--blush); border-radius: 50%; font-size: 1.15rem; }
.ci-label { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ci-value { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--brown); transition: color .25s; line-height: 1.3; }
a.ci-value:hover { color: var(--terracotta); }

.contact-form { background: var(--white); padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-title { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--brown); margin-bottom: 1.4rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; margin-bottom: .5rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--sans); font-size: 1rem; font-weight: 300; background: var(--ivory); color: var(--ink);
  transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(185, 113, 79, .14); }
.field input.invalid { border-color: #b3412f; }
.field textarea { resize: vertical; }
.form-hint { margin-top: .9rem; font-size: .84rem; color: var(--muted); text-align: center; }
.form-note { margin-top: 1rem; padding: .9rem 1rem; background: var(--sand); color: var(--brown);
  border-radius: 10px; font-size: .94rem; text-align: center; }

/* ============ FOOTER ============ */
.site-footer { background: var(--brown-deep); color: rgba(255, 255, 255, .72); padding: 4rem 0 2.6rem; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.footer-rose { width: 88px; }
.footer-word { width: 230px; height: auto; margin-top: .6rem; }
.footer-tag { font-size: .92rem; margin-top: 1.2rem; }
.footer-phone { font-family: var(--serif); font-size: 1.6rem; color: #fff; margin: .2rem 0; transition: color .25s; }
.footer-phone:hover { color: var(--blush); }
.footer-legal { font-size: .8rem; color: rgba(255, 255, 255, .5); margin-top: 1.4rem; max-width: 52ch; }
.footer-copy { font-size: .78rem; color: rgba(255, 255, 255, .4); }
.footer-credit { font-size: .74rem; color: rgba(255, 255, 255, .4); margin-top: .2rem; }
.footer-credit a { color: rgba(255, 255, 255, .62); border-bottom: 1px solid rgba(255, 255, 255, .25); transition: color .25s, border-color .25s; }
.footer-credit a:hover { color: #fff; border-color: #fff; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1240px) {
  .nav { gap: 1.2rem; }
  .nav-link { font-size: .7rem; letter-spacing: .08em; }
}

@media (max-width: 1000px) {
  .hero { padding-top: 110px; }
  .hero-inner, .ritual-inner, .home-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 400px; margin: 1rem 0 0; }
  .hero-inset { left: -34px; }
  .hero-rose { right: -18px; }
  .hero-scroll { display: none; }
  .ritual-media { max-width: 560px; margin: 0 auto; width: 100%; }
  .home-media { margin-inline: auto; }
  .sig-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .home-media { margin-top: 1rem; }
}

@media (max-width: 1100px) {
  .nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(82vw, 330px);
    flex-direction: column; justify-content: center; gap: .2rem;
    background: var(--ivory); padding: 5rem 0 2rem; transform: translateX(105%);
    transition: transform .5s var(--ease); box-shadow: var(--shadow-lg); z-index: 105;
    overflow-y: auto; }
  .nav.open { transform: translateX(0); }
  .nav-overlay { position: fixed; inset: 0; background: rgba(56, 36, 26, .5); z-index: 95;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
  .nav-overlay.show { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  .nav-link { padding: 1.05rem 2.2rem; width: 100%; font-family: var(--serif); font-size: 1.5rem;
    letter-spacing: 0; text-transform: none; color: var(--brown); }
  .nav-link::after { display: none; }
  .burger { display: flex; }
}

@media (max-width: 760px) {
  .line-m { display: block; }
  .contact-link { padding: .6rem 1.1rem; font-size: .7rem; letter-spacing: .12em; }
  .home-inset { left: -14px; bottom: -24px; width: 46%; }
  .home-arch-line { transform: translate(10px, 10px); }
  .home-rose { width: 84px; right: -8px; }
  .menu-grid { grid-template-columns: 1fr; }
  .kit { grid-template-columns: 1fr; }
  .marquee-track span { font-size: 1.25rem; }
  .sig-body { padding: 1.7rem 1.5rem 2rem; }
  .logo-rose { height: 36px; }
  .logo-word { height: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .header-inner { gap: .6rem; }
  .logo { gap: .5rem; }
  .menu-item h3 { font-size: clamp(1.3rem, 6.2vw, 1.5rem); flex-wrap: nowrap; gap: .6rem; }
  .menu-item h3 span { font-size: clamp(.5rem, 2.55vw, .62rem); letter-spacing: .13em; white-space: nowrap; }
  .logo-rose { height: 30px; }
  .logo-word { height: 27px; }
  .header-actions { gap: .55rem; }
  .contact-link { padding: .55rem .9rem; font-size: .66rem; letter-spacing: .1em; }
  .burger { padding: 8px 2px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-visual { max-width: 300px; }
  .hero-inset { left: -14px; bottom: -18px; }
  .hero-rose { width: 90px; right: -10px; }
  .hero-arch-line { transform: translate(10px, 10px); }
  .hero-badges { gap: 1.1rem 2rem; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-up { opacity: 1 !important; transform: none !important; }
  .hero-rose, .preloader-logo { opacity: 1 !important; transform: none !important; }
}

/* ============ PAGE CGV (temporaire) ============ */
.legal-page .site-header { position: sticky; }
.legal { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.legal-inner { max-width: 820px; }
.legal-banner { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 2.6rem; padding: 1.1rem 1.4rem;
  background: var(--terracotta); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.legal-banner strong { font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; }
.legal-banner span { font-size: .95rem; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.legal-banner mark.todo { background: rgba(255, 255, 255, .22); color: #fff; }
.legal-date { color: var(--muted); margin-top: .8rem; font-size: .95rem; }
.legal-toc { margin: 2.2rem 0 1rem; padding: 1.4rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-toc ol { list-style: decimal; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.legal-toc li { padding: .2rem 0; color: var(--terracotta); break-inside: avoid; }
.legal-toc a { color: var(--brown); border-bottom: 1px solid transparent; transition: border-color .25s; }
.legal-toc a:hover { border-color: var(--terracotta); }
.legal section { padding-top: 2.4rem; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3vw, 1.9rem); color: var(--brown); margin-bottom: .9rem; }
.legal p, .legal li { color: var(--ink); font-size: 1.02rem; }
.legal p + p { margin-top: .8rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .4rem; }
.legal strong { font-weight: 500; }
.legal sup { line-height: 0; font-size: .7em; }
.legal h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.45rem; color: var(--terra-dark); margin: 1.8rem 0 .4rem; }
.legal h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--brown); margin: 1.3rem 0 .5rem; }
.legal a:not(.link-arrow) { color: var(--terra-dark); border-bottom: 1px solid var(--blush); }
.legal a:not(.link-arrow):hover { color: var(--brown); border-color: var(--brown); }
.legal-note { font-size: .88rem !important; font-style: italic; color: var(--terra-dark) !important; margin-bottom: .6rem; }
mark.todo { background: #f3dfd3; color: var(--terra-dark); padding: 0 .3em; border-radius: 4px; }
.legal-back { margin-top: 3rem; }
.legal-back .link-arrow { margin-top: 0; }
.footer-legal a { color: rgba(255, 255, 255, .72); border-bottom: 1px solid rgba(255, 255, 255, .3); }
.footer-legal a:hover { color: #fff; }
@media (max-width: 760px) {
  .legal-toc ol { columns: 1; } }

@media (max-width: 360px) {
  .logo-rose { height: 26px; }
  .logo-word { height: 23px; }
  .contact-link { padding: .5rem .75rem; font-size: .62rem; letter-spacing: .08em; }
}

/* ============ « UN TEMPS POUR VOUS » : variantes de fond (testeur ?couleurs) ============ */
.home[data-tone] { transition: background-color .5s var(--ease), color .5s var(--ease); }
.home[data-tone="terracotta"] { background: #b26a49; }
.home[data-tone="terracotta"]::before { display: none; }
/* fonds clairs : textes sombres */
.home[data-tone="ivoire"] { background:
    radial-gradient(60% 55% at 88% 18%, rgba(227, 196, 174, .55), transparent 70%),
    radial-gradient(45% 50% at 0% 100%, rgba(239, 227, 211, .9), transparent 70%), var(--ivory); }
.home[data-tone="sable"] { background: var(--sand); }
.home[data-tone="poudre"] { background: #ecd5c4; }
.home[data-tone="ivoire"]::before, .home[data-tone="sable"]::before, .home[data-tone="poudre"]::before { display: none; }
.home.is-light { color: var(--ink); }
.home.is-light .section-eyebrow.light { color: var(--terracotta); }
.home.is-light .section-title { color: var(--brown); }
.home.is-light .section-lead { color: var(--muted); }
.home.is-light .kit li { border-top-color: var(--line); }
.home.is-light .kit-num { color: var(--terracotta); }
.home.is-light .kit strong { color: var(--brown); }
.home.is-light .kit div span { color: var(--muted); }

/* panneau du testeur — visible seulement avec ?couleurs dans l'adresse */
.tone-panel { position: fixed; z-index: 150; left: 16px; bottom: 16px; max-width: calc(100vw - 32px);
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: .9rem 1rem 1rem; font-size: .78rem; color: var(--ink); }
.tone-panel p { letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); margin-bottom: .6rem; font-size: .66rem; }
.tone-panel div { display: flex; flex-wrap: wrap; gap: .5rem; }
.tone-panel button { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .7rem .4rem .45rem; border-radius: 100px;
  border: 1px solid var(--line); background: var(--ivory); font: inherit; color: var(--ink); cursor: pointer; }
.tone-panel button[aria-pressed="true"] { border-color: var(--terracotta); box-shadow: 0 0 0 1px var(--terracotta); }
.tone-panel i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); display: inline-block; }
