/* =========================================================
   CARRÉ VIP — Conciergerie de luxe · Marrakech
   DA : noir profond · doré champagne · crème chaud
   Mobile-first · élégance · transitions lentes
   ========================================================= */

:root {
  /* Fonds clairs (chaud, crème) */
  --cream-050: #FCFAF4;
  --cream-100: #F6EFE2;
  --sand-100: #EFE5D2;
  --sand-200: #E4D5B7;

  /* Noirs chauds */
  --noir: #0D0C0A;
  --noir-soft: #14120E;
  --noir-2: #1C1913;
  --noir-3: #262117;

  /* Doré */
  --gold: #C7A24C;
  --gold-deep: #9C7628;
  --gold-soft: #E3CB93;
  --gold-light: #EFDFB4;
  --champagne: #F0E4C6;

  /* Texte sur fond clair */
  --ink: #211D15;
  --text: #3A3428;
  --muted: #6C614E;
  --line: rgba(33, 29, 21, 0.12);
  --line-gold: rgba(199, 162, 76, 0.30);

  /* Typo */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Divers */
  --maxw: 1200px;
  --narrow: 780px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 34px 80px -44px rgba(13, 12, 10, 0.55);
  --shadow-gold: 0 30px 70px -40px rgba(156, 118, 40, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream-050);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- Typographie ---------- */
h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 400; line-height: 1.16; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 7.2vw, 4.4rem); font-weight: 300; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 5.6vw, 3.1rem); font-weight: 300; }
h3 { font-size: clamp(1.18rem, 3.4vw, 1.55rem); }
p { color: var(--muted); }
em { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--gold-deep);
  margin-bottom: 1.2rem;
}
.eyebrow.light { color: var(--gold-soft); }
.lead { font-size: clamp(1.02rem, 2.2vw, 1.16rem); color: var(--muted); }
.center { text-align: center; }
.center .lead, .section-head.center .lead { margin-left: auto; margin-right: auto; max-width: 640px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.4rem; }
.container.narrow { max-width: var(--narrow); }
.section { padding: 4.8rem 0; position: relative; }
.section-head { margin-bottom: 2.6rem; }
.section-head h2 { margin-top: 0.2rem; }
.section-head .lead { margin-top: 1.1rem; }
.section-head.center::before {
  content: ""; display: block; width: 56px; height: 1px; margin: 0 auto 1.6rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-head.center.on-dark::before { background: linear-gradient(90deg, transparent, var(--gold-soft), transparent); }
.num-count { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-deep); font-size: 1.12em; }

/* Ornement doré (losange central) */
.ornament { display: block; width: 78px; height: 1px; margin: 1.5rem auto 2.4rem; background: linear-gradient(to right, transparent, var(--gold), transparent); position: relative; }
.ornament::after { content: ""; position: absolute; left: 50%; top: -3px; width: 7px; height: 7px; transform: translateX(-50%) rotate(45deg); background: var(--gold); }
.ornament.light { background: linear-gradient(to right, transparent, var(--gold-soft), transparent); }
.ornament.light::after { background: var(--gold-soft); }

/* =========================================================
   IMAGE PLACEHOLDER (visuel élégant tant que la photo n'est pas ajoutée)
   ========================================================= */
.ph { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--noir-2), var(--noir-3)); }
.ph::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(199,162,76,.14), transparent 60%),
    repeating-linear-gradient(135deg, rgba(199,162,76,.05) 0 2px, transparent 2px 22px);
}
.ph::after {
  content: attr(data-label); position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.2rem;
  font-family: var(--serif); font-style: italic; font-size: 1.02rem; letter-spacing: .02em;
  color: var(--gold-soft); opacity: .72;
}
.ph img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; display: block; }

/* =========================================================
   BOUTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 400; font-size: 0.82rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 1.05rem 1.95rem; min-height: 48px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: background .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease);
}
.btn-lg { padding: 1.2rem 2.3rem; }
.btn:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #1a1509; box-shadow: 0 16px 34px -18px rgba(156,118,40,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -18px rgba(156,118,40,.85); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #1a1509; }

.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(240,228,198,.5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: var(--gold); border-color: var(--gold); color: #1a1509; }

.btn-header { display: none; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #1a1509; padding: 0.78rem 1.4rem; min-height: 42px; font-size: 0.7rem; }
.btn-header:hover { transform: translateY(-2px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: linear-gradient(to bottom, rgba(13,12,10,.55), rgba(13,12,10,0));
  transition: background .8s var(--ease), box-shadow .8s var(--ease);
}
.site-header.scrolled {
  background: rgba(13, 12, 10, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-gold);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0.8rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand-logo { height: 74px; width: auto; transition: height .5s var(--ease); filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.site-header.scrolled .brand-logo { height: 60px; }
.nav { display: none; gap: 1.7rem; }
.nav-link { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--champagne); position: relative; padding: 0.2rem 0; transition: color .6s var(--ease); }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--gold); transition: width .7s var(--ease); }
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

.menu-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 10px; z-index: 120; }
.menu-toggle span { width: 24px; height: 1.5px; background: var(--champagne); border-radius: 2px; transition: transform .5s var(--ease), opacity .4s var(--ease), background .5s; }
.menu-toggle.open span { background: var(--gold); }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(86vw, 350px);
  background: var(--noir); z-index: 110;
  display: flex; flex-direction: column; justify-content: center; gap: 1.2rem; padding: 3rem 2rem;
  transform: translateX(105%); transition: transform .8s var(--ease);
  box-shadow: -30px 0 60px -30px rgba(0,0,0,.6);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-link { font-family: var(--serif); font-size: 1.5rem; color: var(--champagne); border-bottom: 1px solid rgba(240,228,198,.14); padding-bottom: 0.7rem; }
.mobile-link:hover { color: var(--gold); }
.mobile-foot { margin-top: 1.4rem; }
.mobile-cta { margin-top: 1rem; }
.mobile-note { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: center; margin-top: 0.9rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--noir); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform-origin: 55% 45%; animation: heroPan 32s ease-in-out infinite; filter: brightness(0.38) saturate(1.05) contrast(1.02); }
@keyframes heroPan {
  0%   { transform: scale(1.08) translate3d(0, 0, 0); }
  33%  { transform: scale(1.17) translate3d(-2.4%, -1.4%, 0); }
  66%  { transform: scale(1.13) translate3d(1.8%, 1.2%, 0); }
  100% { transform: scale(1.08) translate3d(0, 0, 0); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(4,3,1,.94) 0%, rgba(7,5,2,.82) 55%, rgba(9,6,3,.74) 100%),
    rgba(6,4,2,.62);
}
/* Voile doré animé qui traverse doucement le hero */
.hero-sheen { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 30%, rgba(227,203,147,.14) 48%, rgba(240,228,198,.05) 55%, transparent 70%);
  background-size: 250% 250%; animation: sheen 12s ease-in-out infinite; }
@keyframes sheen { 0% { background-position: 120% 0; } 100% { background-position: -40% 0; } }

.hero-content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 8rem 1.4rem 4.5rem; }
.hero .eyebrow { color: var(--gold-soft); }
.hero-title { color: #fff; margin-bottom: 1.3rem; }
.hero-kicker { display: block; font-family: var(--sans); font-weight: 400; text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.68rem; color: var(--gold-soft); margin-bottom: 1.2rem; }
.hero-lead strong { color: #fff; font-weight: 400; }
.h1-main { display: block; }
.hero-title .gold { color: var(--gold-soft); font-style: italic; }
.hero-lead { color: rgba(255,255,255,.92); font-size: clamp(1.04rem, 2.7vw, 1.26rem); max-width: 52ch; margin-bottom: 1.6rem; }
.hero-lead em { font-family: var(--serif); font-style: italic; font-size: 1.14em; color: var(--gold-soft); }

.hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.1rem; }
.hero-chips li {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--champagne); padding: 0.5rem 0.95rem; border-radius: 999px;
  border: 1px solid rgba(227,203,147,.34); background: rgba(227,203,147,.06);
  backdrop-filter: blur(3px);
}
.hero-cta { display: flex; flex-direction: column; gap: 0.8rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 3;
  width: 24px; height: 38px; border: 1px solid rgba(227,203,147,.5); border-radius: 20px;
  display: flex; justify-content: center;
}
.scroll-cue span { width: 2px; height: 7px; background: var(--gold-soft); border-radius: 2px; margin-top: 6px; animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(11px); } 100% { opacity: 0; } }

/* =========================================================
   BANDES DÉFILANTES
   ========================================================= */
.marquee { overflow: hidden; white-space: nowrap; padding: 1.05rem 0; user-select: none; }
.marquee-gold { background: var(--noir); border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold); }
.marquee-light { background: var(--sand-100); border-top: 1px solid rgba(33,29,21,.07); border-bottom: 1px solid rgba(33,29,21,.07); }
.marquee-track { display: inline-flex; align-items: center; gap: 1.5rem; animation: marquee 62s linear infinite; will-change: transform; }
.marquee-track.reverse { animation-name: marqueeRev; }
.marquee span { font-family: var(--serif); font-size: clamp(1.05rem, 2.4vw, 1.5rem); letter-spacing: 0.02em; }
.marquee i { font-style: normal; font-size: 0.55rem; }
.marquee-gold span { color: var(--champagne); }
.marquee-gold i { color: var(--gold); }
.marquee-light span { color: var(--ink); }
.marquee-light i { color: var(--gold-deep); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* =========================================================
   CHIFFRES CLÉS
   ========================================================= */
.figures { background: var(--cream-100); padding: 3rem 0; border-bottom: 1px solid var(--line); }
.figures-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; text-align: center; perspective: 1000px; }
.fig { display: flex; flex-direction: column; gap: 0.3rem; transform-origin: 50% 100%; transition: opacity .9s var(--ease), transform 1s var(--ease); }
.fig-num { font-family: var(--serif); font-size: clamp(2.3rem, 8vw, 3.2rem); line-height: 1; color: var(--gold-deep); }
.fig-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
html.js-anim .fig { opacity: 0; transform: rotateX(-75deg) translateY(24px); }
html.js-anim .fig.flip { opacity: 1; transform: rotateX(0) translateY(0); }

/* =========================================================
   PROPRIÉTAIRES (bloc sombre principal)
   ========================================================= */
.owner { background: var(--cream-050); position: relative; overflow: hidden; }
.owner .watermark { position: absolute; top: 6%; right: -12%; width: min(70vw, 440px); opacity: .06; pointer-events: none; }
.owner-layout { display: grid; gap: 2.6rem; align-items: center; position: relative; z-index: 1; }
.owner-text p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1.02rem; }
.owner-text .drop::first-letter { font-family: var(--serif); font-size: 3.2rem; float: left; line-height: .82; padding: .1em .14em 0 0; color: var(--gold-deep); }
.owner-text .pull {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 4vw, 1.9rem);
  color: var(--ink); text-align: center; margin: 1.8rem 0; padding: 1.3rem 0;
  border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold);
}
.owner-media { position: relative; margin: 0; }
.owner-media .arch { position: relative; z-index: 1; overflow: hidden; border-radius: 999px 999px 12px 12px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.owner-media .arch .ph, .owner-media .arch img { width: 100%; height: 100%; }
.owner-media .arch-frame { position: absolute; z-index: 0; inset: 1.1rem -1.1rem 1.1rem 1.1rem; border: 1px solid var(--gold); border-radius: 999px 999px 12px 12px; pointer-events: none; }

/* =========================================================
   POURQUOI NOUS (6 atouts cochés)
   ========================================================= */
.why { background: var(--cream-050); }
.breadcrumb { font-size: 0.78rem; letter-spacing: 0.03em; color: var(--muted); margin-bottom: 1.4rem; text-align: center; }
.breadcrumb a { color: var(--gold-deep); border-bottom: 1px solid var(--line-gold); }
.breadcrumb span { margin: 0 .45rem; color: var(--gold); }
.why-grid { display: grid; gap: 1.1rem; }
.why-card {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.6rem 1.5rem;
  background: var(--cream-100); border: 1px solid var(--line); border-left: 2px solid var(--gold);
  border-radius: var(--radius); transition: transform .7s var(--ease), box-shadow .6s var(--ease), background .6s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--sand-100); }
.why-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--noir); color: var(--gold-soft); border: 1px solid var(--gold); }
.why-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.why-card p { font-size: 0.93rem; }

/* =========================================================
   GESTION — étapes
   ========================================================= */
.gestion { background: var(--sand-100); }
.steps { display: grid; gap: 0; position: relative; }
.step { position: relative; padding: 0 0 2.2rem 3.4rem; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 18px; top: 42px; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--gold), rgba(199,162,76,0)); }
.step:last-child::before { display: none; }
.step-num { position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.05rem; color: #1a1509; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); }
.step h3 { font-size: 1.12rem; margin-bottom: 0.3rem; padding-top: 0.4rem; }
.step p { font-size: 0.94rem; }
.step { transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js-anim .step { opacity: 0; transform: translateY(38px); }
html.js-anim .steps.play .step { opacity: 1; transform: none; }
html.js-anim .steps.play .step:nth-child(1) { transition-delay: 0s; }
html.js-anim .steps.play .step:nth-child(2) { transition-delay: .18s; }
html.js-anim .steps.play .step:nth-child(3) { transition-delay: .36s; }
html.js-anim .steps.play .step:nth-child(4) { transition-delay: .54s; }
html.js-anim .steps.play .step:nth-child(5) { transition-delay: .72s; }
html.js-anim .steps.play .step:nth-child(6) { transition-delay: .90s; }

/* =========================================================
   COMMISSION (mise en avant 15 %)
   ========================================================= */
.commission { background: var(--cream-050); text-align: center; }
.commission .container { position: relative; z-index: 1; }
.comm-figure { font-family: var(--serif); font-size: clamp(4.5rem, 22vw, 9rem); line-height: 0.95; color: var(--gold-deep); margin: 0.6rem 0 0; letter-spacing: -0.02em; }
.comm-figure sup { font-size: 0.34em; vertical-align: super; color: var(--gold); }
.comm-cadre { display: inline-block; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; color: var(--gold-deep); border: 1px solid var(--gold); border-radius: 3px; padding: 0.6rem 1.5rem; margin-bottom: 1.4rem; }
.comm-htva { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin: 0.2rem 0 0.4rem; }
.commission p { color: var(--muted); max-width: 620px; margin: 0 auto 1.2rem; }
.comm-keep { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 3.6vw, 1.7rem); color: var(--ink) !important; margin-top: 1.4rem !important; }
.comm-keep strong { color: var(--gold-deep); font-style: normal; font-weight: 500; }
.opt { color: var(--muted); font-size: 0.82em; font-style: italic; letter-spacing: 0; }
.comm-points { display: grid; gap: 0.9rem; max-width: 560px; margin: 2rem auto 0; text-align: left; }
.comm-points li { position: relative; padding-left: 1.7rem; font-size: 0.98rem; color: var(--text); }
.comm-points li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-deep); font-weight: 600; }

/* =========================================================
   GAIN — courte durée vs longue durée (commercial)
   ========================================================= */
.gain { background: var(--noir); color: var(--champagne); position: relative; overflow: hidden; }
.gain .eyebrow { color: var(--gold-soft); }
.gain h2 { color: #fff; }
.gain .section-head .lead { color: rgba(240,228,198,.8); }
.gain-hero { text-align: center; margin-bottom: 2.6rem; }
.gain-multi { font-family: var(--serif); font-weight: 300; line-height: .95; color: var(--gold-soft); font-size: clamp(3.4rem, 16vw, 7rem); letter-spacing: -0.02em; }
.gain-multi span { color: var(--gold); font-style: italic; }
.gain-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 3.4vw, 1.7rem); color: #fff; margin-top: .3rem; }
.compare { display: grid; gap: 1.4rem; max-width: 860px; margin: 0 auto; }
.cmp {
  position: relative; padding: 1.9rem 1.7rem; border-radius: var(--radius);
  border: 1px solid var(--line-gold); background: var(--noir-2);
}
.cmp-tag { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(240,228,198,.6); margin-bottom: .5rem; }
.cmp h3 { color: #fff; margin-bottom: .3rem; }
.cmp-val { font-family: var(--serif); font-size: clamp(1.7rem, 6vw, 2.4rem); color: var(--champagne); line-height: 1.1; }
.cmp-scale { display: flex; align-items: center; gap: 0.8rem; margin: 1rem 0 .7rem; }
.cmp-bar { flex: 1; height: 12px; border-radius: 999px; background: rgba(240,228,198,.12); overflow: hidden; }
.cmp-bar span { display: block; height: 100%; border-radius: 999px; width: 0; transition: width 5s var(--ease); }
.cmp-x { flex: 0 0 auto; font-family: var(--serif); font-size: 1.1rem; color: rgba(240,228,198,.7); white-space: nowrap; }
.cmp-low .cmp-bar span { background: rgba(240,228,198,.35); }
.cmp-high { border-color: var(--gold); background: linear-gradient(160deg, var(--noir-3), var(--noir-2)); box-shadow: var(--shadow-gold); }
.cmp-high .cmp-bar span { background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); }
.cmp-high .cmp-x { color: var(--gold-soft); font-style: italic; }
/* Les barres "poussent" quand la section apparaît */
.compare.grow .cmp-low .cmp-bar span { width: 33%; }
.compare.grow .cmp-high .cmp-bar span { width: 100%; }
.cmp-high .cmp-val { color: var(--gold-soft); }
.cmp-note { font-size: 0.86rem; color: rgba(240,228,198,.6); }
.cmp-badge { position: absolute; top: -0.7rem; right: 1.4rem; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #1a1509; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.35rem 0.85rem; border-radius: 999px; }
.gain-caption { text-align: center; max-width: 640px; margin: 2.2rem auto 0; font-size: 0.86rem; color: rgba(240,228,198,.55); font-style: italic; }

/* =========================================================
   ESTIMATION DES REVENUS
   ========================================================= */
.estimation { background: var(--sand-100); }
.est-card {
  max-width: 900px; margin: 0 auto; background: var(--noir);
  border: 1px solid var(--line-gold); border-radius: 10px; padding: 2.2rem 1.7rem;
  box-shadow: var(--shadow);
}
.est-form { display: grid; gap: 1.3rem; align-items: end; }
.est-field { display: grid; gap: 0.45rem; }
.est-field label { font-size: 0.85rem; color: var(--champagne); letter-spacing: 0.02em; }
.est-field input {
  font-family: var(--sans); font-size: 1.05rem; color: #fff;
  background: var(--noir-2); border: 1px solid var(--line-gold); border-radius: var(--radius);
  padding: 0.9rem 1rem; min-height: 50px; width: 100%;
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.est-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,162,76,.18); }
.est-hint { font-size: 0.76rem; color: rgba(240,228,198,.5); font-style: italic; }
.est-btn { width: 100%; }
.est-result { margin-top: 1.9rem; padding-top: 1.7rem; border-top: 1px solid var(--line-gold); text-align: center; }
.est-result-title { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.4rem; }
.est-outs { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 1.4rem 2.6rem; }
.est-out { text-align: center; }
.est-out-num { display: block; font-family: var(--serif); font-size: clamp(1.7rem, 6vw, 2.3rem); color: #fff; line-height: 1.05; }
.est-out-hero .est-out-num { font-size: clamp(2.6rem, 11vw, 4rem); color: var(--gold-soft); }
.est-out-label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(240,228,198,.62); margin-top: .3rem; display: block; }
.est-disclaimer { text-align: center; font-size: 0.82rem; color: rgba(240,228,198,.55); font-style: italic; margin-top: 1.6rem; }
.est-disclaimer a { color: var(--gold-soft); border-bottom: 1px solid var(--line-gold); font-style: normal; }

/* =========================================================
   SERVICES PREMIUM (cartes avec photo)
   ========================================================= */
.premium { background: var(--cream-050); }
.premium-grid { display: grid; gap: 1.8rem; }
.pcard {
  display: flex; flex-direction: column; background: var(--cream-100);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.pcard-media .ph, .pcard-media img { width: 100%; height: 100%; }
.pcard-media img { transition: transform 1.1s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-ico { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 3; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(13,12,10,.72); color: var(--gold-soft); border: 1px solid var(--gold); backdrop-filter: blur(3px); }
.pcard-ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.pcard-body { padding: 1.6rem 1.5rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { margin-bottom: 0.55rem; }
.pcard-body p { font-size: 0.95rem; }
.premium-note { max-width: 720px; margin: 2.2rem auto 0; text-align: center; font-size: 0.96rem; color: var(--muted); }
.premium-note::before { content: "✦"; color: var(--gold-deep); margin-right: .4rem; }
.gain-sub strong { color: var(--gold-soft); font-weight: 500; }

/* =========================================================
   BANDES IMAGE PLEINE LARGEUR (accueil clés / villa)
   ========================================================= */
.band { position: relative; min-height: 78svh; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--noir); }
.band-media { position: absolute; inset: 0; z-index: 0; }
.band-media .ph, .band-media img { width: 100%; height: 100%; }
.band-media img { object-fit: cover; }
.band-overlay { position: absolute; inset: 0; z-index: 1; }
.band-left .band-overlay { background: linear-gradient(to right, rgba(9,8,6,.9) 0%, rgba(9,8,6,.6) 46%, rgba(9,8,6,.15) 100%); }
.band-right { justify-content: flex-end; text-align: right; }
.band-right .band-overlay { background: linear-gradient(to left, rgba(9,8,6,.9) 0%, rgba(9,8,6,.6) 46%, rgba(9,8,6,.15) 100%); }
.band-content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 4rem 1.4rem; }
.band-inner { max-width: 480px; }
.band-right .band-inner { margin-left: auto; }
.band .eyebrow { color: var(--gold-soft); }
.band h2 { color: #fff; margin-bottom: 1.1rem; }
.band p { color: rgba(255,255,255,.86); margin-bottom: 1rem; }
.band-list { display: grid; gap: 0.55rem; margin-top: 0.4rem; }
.band-list li { position: relative; padding-left: 1.4rem; font-size: 0.96rem; color: var(--champagne); }
.band-right .band-list li { padding-left: 0; padding-right: 1.4rem; }
.band-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: .7rem; top: .35rem; }
.band-right .band-list li::before { left: auto; right: 0; }

/* =========================================================
   JOURNÉE SUR MESURE (timeline)
   ========================================================= */
.journee { background: var(--sand-100); position: relative; overflow: hidden; }
.timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(to bottom, var(--gold), rgba(199,162,76,.2)); }
.tl-item { position: relative; padding: 0 0 2rem 0.4rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -2.2rem; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: var(--cream-050); border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(199,162,76,.14); }
.tl-time { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.2rem; }
.tl-item h3 { color: var(--ink); font-size: 1.18rem; }
.tl-item.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.journee-note { text-align: center; margin-top: 2.6rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 3vw, 1.4rem); color: var(--gold-deep); }

/* =========================================================
   INVITATION / CTA
   ========================================================= */
.invitation { color: #fff; text-align: center; overflow: hidden; background: var(--noir); }
.invitation-bg { position: absolute; inset: 0; z-index: 0; }
.invitation-bg .ph, .invitation-bg img { width: 100%; height: 100%; }
.invitation-bg img { object-fit: cover; }
.invitation-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,8,6,.9), rgba(20,18,14,.92)); }
.invitation .container { position: relative; z-index: 1; }
.invitation-logo { height: 110px; width: auto; margin: 0 auto 1.4rem; display: block; }
.invitation h2 { color: #fff; margin-bottom: 1.4rem; }
.invitation p { color: rgba(240,228,198,.85); margin-bottom: 1.2rem; }
.invitation-final { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 3.4vw, 1.5rem); color: #fff !important; margin: 2rem 0 !important; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--cream-050); }
.faq-list { display: grid; gap: 0.8rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-100); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-family: var(--serif); font-size: 1.12rem; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold-deep); font-size: 1.5rem; line-height: 1; flex: 0 0 auto; transition: transform .4s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 1.3rem 1.3rem; color: var(--muted); font-size: 0.98rem; line-height: 1.7; }

/* =========================================================
   CONTACT — formulaire
   ========================================================= */
.contact { background: var(--cream-100); }
.contact-media { position: relative; margin: 0 auto 3rem; max-width: 480px; }
.contact-media .arch { position: relative; z-index: 1; overflow: hidden; border-radius: 999px 999px 12px 12px; box-shadow: var(--shadow); aspect-ratio: 3 / 4; }
.contact-media .arch .ph, .contact-media .arch img { width: 100%; height: 100%; }
.contact-media .arch-frame { position: absolute; z-index: 0; inset: 1.1rem -1.1rem 1.1rem 1.1rem; border: 1px solid var(--gold); border-radius: 999px 999px 12px 12px; pointer-events: none; }
.apply-form { display: grid; gap: 1.3rem; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.field { display: grid; gap: 0.45rem; }
.field-row { display: grid; gap: 1.3rem; }
.field label { font-size: 0.85rem; letter-spacing: 0.03em; color: var(--ink); }
.field label span { color: var(--gold-deep); margin-left: 2px; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--ink);
  background: var(--cream-050); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.9rem 1rem; min-height: 48px; width: 100%;
  transition: border-color .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
}
.field textarea { resize: vertical; line-height: 1.6; min-height: 160px; }
.field input::placeholder, .field textarea::placeholder { color: #9a8f78; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(199,162,76,.14);
}
.btn-submit { width: 100%; margin-top: 0.5rem; }
.form-legal { font-size: 0.78rem; color: var(--muted); text-align: center; font-style: italic; }
.contact-direct { text-align: center; margin-top: 2.2rem; }
.contact-direct a { color: var(--gold-deep); border-bottom: 1px solid var(--line-gold); }

.apply-success, .apply-error {
  text-align: center; padding: 3rem 1.6rem; background: var(--cream-050);
  border: 1px solid var(--line-gold); border-radius: var(--radius);
}
.success-mark { display: block; font-size: 2rem; color: var(--gold-deep); margin-bottom: 1rem; }
.apply-success h3 { margin-bottom: 0.9rem; }
.apply-success p { max-width: 46ch; margin: 0 auto; }
.apply-error a { color: var(--gold-deep); border-bottom: 1px solid var(--line-gold); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--noir); color: var(--champagne); padding-top: 4rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; padding-bottom: 2.6rem; }
.footer-logo { height: 120px; width: auto; margin-bottom: 0.4rem; }
.footer-tag { letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.72rem; color: var(--gold-soft); }
.footer-loc { color: rgba(240,228,198,.55); font-size: 0.88rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; margin: 0.6rem 0; }
.footer-nav a { color: rgba(240,228,198,.7); font-size: 0.9rem; transition: color .5s var(--ease); }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-cta { display: inline-block; font-family: var(--serif); font-size: 1.4rem; color: #fff; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.footer-cta:hover { color: var(--gold-soft); }
.footer-mail { display: block; color: rgba(240,228,198,.78); font-size: 0.9rem; margin-bottom: 0.3rem; word-break: break-word; }
.footer-mail:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid rgba(240,228,198,.12); padding: 1.4rem 0; text-align: center; }
.footer-bottom p { font-size: 0.78rem; color: rgba(240,228,198,.45); }
.footer-bottom a { color: rgba(240,228,198,.6); border-bottom: 1px solid rgba(240,228,198,.2); }

/* Réseaux sociaux (icônes seules, sans lien pour l'instant) */
.socials { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.social {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(240,228,198,.22); color: var(--champagne);
  transition: background .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease), transform .6s var(--ease);
}
.social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.social svg .dot, .social svg .fill { fill: currentColor; stroke: none; }
.social:hover { background: var(--gold); border-color: var(--gold); color: #1a1509; transform: translateY(-3px); }

/* =========================================================
   BOUTON WHATSAPP FLOTTANT
   ========================================================= */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.55);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; fill: currentColor; position: relative; z-index: 1; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 16px 36px -8px rgba(0,0,0,.6); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; z-index: 0; animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(1.7); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 700px) { .wa-float { right: 28px; bottom: 28px; width: 62px; height: 62px; } }

/* =========================================================
   REVEAL (apparitions douces)
   ========================================================= */
.reveal { transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
html.js-anim .reveal { opacity: 0; transform: translateY(24px); }
html.js-anim .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   PAGE LÉGALE
   ========================================================= */
.legal-header { background: var(--noir); }
.legal-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.legal-logo { height: 56px; width: auto; }
.legal-back { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--gold-soft); }
.legal-back:hover { color: #fff; }
.legal-main { background: var(--cream-050); padding: 3.5rem 0 4.5rem; }
.legal-main .container { max-width: 820px; }
.legal-main h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal-updated { color: var(--muted); font-size: 0.85rem; margin: 0.4rem 0 2.6rem; }
.legal-main h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin: 2.4rem 0 0.7rem; color: var(--ink); }
.legal-main p { color: var(--text); font-size: 0.98rem; line-height: 1.8; margin-bottom: 0.9rem; }
.legal-main ul { margin: 0.4rem 0 1rem 1.3rem; list-style: disc; display: grid; gap: 0.45rem; }
.legal-main li { color: var(--text); font-size: 0.98rem; line-height: 1.7; }
.legal-main a { color: var(--gold-deep); border-bottom: 1px solid var(--line-gold); }

/* =========================================================
   TABLETTE
   ========================================================= */
@media (min-width: 700px) {
  .container { padding: 0 2.2rem; }
  .section { padding: 6.5rem 0; }
  .header-inner { padding: 0.9rem 2.2rem; }
  .hero-content { padding: 8rem 2.2rem 5.5rem; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .figures-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .premium-grid { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr 1fr; }
  .est-form { grid-template-columns: 1fr 1fr; }
  .est-result { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .owner-layout { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
  .band-content { padding: 5rem 2.2rem; }
  .btn { width: auto; }
}

/* =========================================================
   ORDINATEUR
   ========================================================= */
@media (min-width: 1000px) {
  .section { padding: 8rem 0; }
  .nav { display: flex; }
  .btn-header { display: inline-flex; }
  .menu-toggle { display: none; }
  .section-head { margin-bottom: 3.5rem; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .premium-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(6, 1fr); gap: 1.4rem; }
  .step { padding: 3.6rem 0.5rem 0; text-align: center; }
  .step::before { left: calc(50% + 22px); right: auto; top: 18px; bottom: auto; width: calc(100% - 44px); height: 1px; background: var(--gold); }
  .step-num { left: 50%; margin-left: -19px; }
  .step h3 { padding-top: 0; }
}

/* =========================================================
   MOUVEMENT RÉDUIT
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal, .fig, .step { opacity: 1 !important; transform: none !important; }
  .hero-img, .hero-sheen { animation: none; }
  .marquee-track { animation: none !important; transform: none !important; }
}
