/* ============================================================================
   JIBNEA GROUP — Design System "Héritage Premium"
   Promotion immobilière · Toumodi, Côte d'Ivoire
   Palette dérivée du logo : aubergine + or + olive sur crème.
   Signature : l'arche / le toit (rappel du toit familial du logo).
   Mobile-first. Une seule feuille de style.
   ========================================================================== */

/* ---------- 1. Tokens ----------------------------------------------------- */
:root {
  /* Brand */
  --aubergine:       #4B1A40;
  --aubergine-deep:  #34122D;
  --aubergine-soft:  #6E3A62;
  --gold:            #C49A3A;
  --gold-deep:       #9A6E1E;
  --olive:           #5E6E2E;
  --olive-soft:      #7C8B45;

  /* Neutrals (warm) */
  --cream:           #FAF6EF;
  --cream-2:         #F3EBDD;
  --surface:         #FFFFFF;
  --ink:             #2A2024;
  --ink-soft:        #6B5F66;
  --line:            #E7DECF;
  --line-strong:     #D8CCB6;

  /* Feedback */
  --success:         #2E7D54;
  --danger:          #C0392B;

  /* Typography */
  --font-display: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Type scale (mobile) */
  --fs-700: clamp(2.1rem, 7vw, 4rem);     /* hero */
  --fs-600: clamp(1.7rem, 5.2vw, 2.9rem); /* section titles */
  --fs-500: clamp(1.3rem, 3.6vw, 1.8rem); /* sub titles */
  --fs-400: 1.125rem;
  --fs-300: 1rem;
  --fs-200: 0.9rem;
  --fs-100: 0.78rem;

  /* Spacing (8pt rhythm) */
  --sp-1: 0.5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-5: 3rem;    --sp-6: 4rem;   --sp-7: 6rem;

  /* Radius */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-xl: 32px;
  --r-arch: 180px 180px 22px 22px; /* signature : sommet en arche */

  /* Shadows (soft, layered) */
  --sh-1: 0 1px 2px rgba(42,32,36,.06), 0 2px 6px rgba(42,32,36,.05);
  --sh-2: 0 6px 16px rgba(52,18,45,.08), 0 12px 32px rgba(52,18,45,.07);
  --sh-3: 0 18px 50px rgba(52,18,45,.16);
  --ring: 0 0 0 3px rgba(196,154,58,.45);

  --container: 1200px;
  --header-h: 76px;

  /* z-index scale */
  --z-header: 100; --z-drawer: 200; --z-float: 150; --z-modal: 300;
}

/* ---------- 2. Reset & base ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-300);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul[class] { list-style: none; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---------- 3. Typography ------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12;
  letter-spacing: -0.01em; color: var(--aubergine); }
h1 { font-size: var(--fs-700); }
h2 { font-size: var(--fs-600); }
h3 { font-size: var(--fs-500); }
p  { max-width: 65ch; }
.text-muted { color: var(--ink-soft); }
.lede { font-size: var(--fs-400); color: var(--ink-soft); line-height: 1.7; }
strong { font-weight: 700; }

/* ---------- 4. Layout ----------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3.25rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(2.25rem, 6vw, 4rem); }
.section--cream { background: var(--cream); }
.section--paper { background: var(--surface); }
.section--olive { background:
  linear-gradient(180deg, #f7f4ea 0%, #f1efe2 100%); }
.section--aubergine { background:
  radial-gradient(120% 120% at 80% -10%, var(--aubergine-soft) 0%, var(--aubergine) 45%, var(--aubergine-deep) 100%);
  color: #f3e7ef; }
.section--aubergine h1,.section--aubergine h2,.section--aubergine h3 { color: #fff; }
.grid { display: grid; gap: var(--sp-3); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--sp-2); }

/* ---------- 5. Eyebrow + section heads (signature: roof peak) ------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: var(--fs-100);
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before {
  content: ""; width: 22px; height: 12px; flex: none;
  background: var(--gold);
  -webkit-mask: var(--roof) center/contain no-repeat; mask: var(--roof) center/contain no-repeat;
  --roof: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M1 12 11 1l10 11' fill='none' stroke='%23000' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
}
.section-head { max-width: 720px; margin-bottom: var(--sp-4); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: .6rem; }
.section-head p { margin-top: .9rem; }

/* ---------- 6. Buttons ---------------------------------------------------- */
.btn {
  --btn-bg: var(--aubergine); --btn-fg: #fff; --btn-bd: var(--aubergine);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .85rem 1.6rem;
  font-family: var(--font-body); font-weight: 700; font-size: var(--fs-300);
  line-height: 1; text-align: center; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd); border-radius: 100px;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: #2a1c06; --btn-bd: var(--gold);
  box-shadow: 0 6px 18px rgba(196,154,58,.35); }
.btn--gold:hover { --btn-bg: #d4ab4a; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--aubergine); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--aubergine); }
.btn--on-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn--on-dark:hover { --btn-bg: #fff; --btn-fg: var(--aubergine); }
.btn--block { width: 100%; }
.btn--lg { min-height: 58px; padding-inline: 2rem; font-size: var(--fs-400); }
.btn .ico { width: 20px; height: 20px; }

.linkly { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700;
  color: var(--gold-deep); }
.linkly::after { content: "→"; transition: transform .2s ease; }
.linkly:hover::after { transform: translateX(4px); }

/* ---------- 7. Header / Nav ---------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(250,246,239,.82); backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.is-stuck { box-shadow: var(--sh-1); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-2); min-height: var(--header-h); }
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: none; }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__phone { display: none; }
.nav__toggle {
  display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
  width: 48px; height: 48px; padding: 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.nav__toggle span { height: 2px; width: 100%; background: var(--aubergine); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  display: grid; grid-template-rows: auto 1fr; gap: 0;
  background: var(--cream); transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1); visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); padding-inline: clamp(1.1rem,4vw,2rem); border-bottom: 1px solid var(--line); }
.drawer__close { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--aubergine); }
.drawer__body { padding: var(--sp-3) clamp(1.1rem,4vw,2rem) var(--sp-5); overflow-y: auto; }
.drawer__links { display: grid; gap: .25rem; }
.drawer__links a { display: flex; align-items: center; justify-content: space-between;
  padding: 1rem .25rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--aubergine); border-bottom: 1px solid var(--line); }
.drawer__links a[aria-current="page"] { color: var(--aubergine); font-weight: 700;
  border-left: 4px solid var(--gold); padding-left: .9rem;
  background: linear-gradient(90deg, rgba(196,154,58,.14), transparent 70%); border-radius: 0 10px 10px 0; }
.drawer__links a[aria-current="page"] .ico { color: var(--gold-deep); }
.drawer__meta { margin-top: var(--sp-4); display: grid; gap: .75rem; color: var(--ink-soft); }
.drawer__meta a { color: var(--aubergine); font-weight: 600; }
.body-lock { overflow: hidden; }

/* ---------- 8. Hero (lead capture) --------------------------------------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(120% 90% at 100% 0%, #fff 0%, var(--cream) 55%); }
.hero__inner { display: grid; gap: var(--sp-4); padding-block: clamp(2.5rem,7vw,4.5rem); }
.hero__eyebrow { margin-bottom: 1rem; }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent { color: var(--gold-deep); font-style: italic; }
.hero__lede { max-width: 52ch; margin-bottom: 1.6rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-bottom: 1.8rem; padding: 0; }
.hero__points li { display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: var(--fs-200); color: var(--ink); }
.hero__points .ico { width: 18px; height: 18px; color: var(--olive); flex: none; }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-arch); box-shadow: var(--sh-3);
  border: 6px solid #fff; aspect-ratio: 4/5; }
.hero__badge { position: absolute; left: -8px; bottom: 22px; background: var(--surface);
  border-radius: var(--r-md); box-shadow: var(--sh-2); padding: .9rem 1.1rem; display: flex;
  align-items: center; gap: .7rem; border: 1px solid var(--line); }
.hero__badge b { font-family: var(--font-display); color: var(--aubergine); font-size: 1.3rem; display: block; }
.hero__badge span { font-size: var(--fs-100); color: var(--ink-soft); }

/* Lead form card */
.lead-card { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: clamp(1.3rem,4vw,2rem); }
.lead-card__title { font-family: var(--font-display); font-size: 1.4rem; color: var(--aubergine); }
.lead-card__sub { color: var(--ink-soft); font-size: var(--fs-200); margin-top: .25rem; margin-bottom: 1.2rem; }

/* ---------- 9. Forms (beautiful, accessible) ----------------------------- */
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field > label { font-weight: 600; font-size: var(--fs-200); color: var(--aubergine); }
.field .req { color: var(--gold-deep); }
.field .hint { font-size: var(--fs-100); color: var(--ink-soft); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: .85rem 1rem;
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r-md);
  color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: #a99ea4; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold);
  background: #fff; box-shadow: var(--ring); }
.input:user-invalid, .textarea:user-invalid { border-color: var(--danger); }
.field--icon { position: relative; }
.field--icon .input { padding-left: 2.9rem; }
.field--icon .ico { position: absolute; left: 1rem; bottom: 15px; width: 20px; height: 20px;
  color: var(--olive); pointer-events: none; }
.form-row { display: grid; gap: 0; }
.form-note { font-size: var(--fs-100); color: var(--ink-soft); margin-top: .4rem; }
.form-note a { color: var(--gold-deep); font-weight: 600; }
.field-error { color: var(--danger); font-size: var(--fs-100); font-weight: 600; }

/* ---------- 10. Property cards (signature arch top) ---------------------- */
.cards { display: grid; gap: var(--sp-3); }
.pcard { position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.pcard__media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__tag { position: absolute; top: 1rem; left: 1rem; background: var(--gold); color: #2a1c06;
  font-weight: 700; font-size: var(--fs-100); letter-spacing: .04em; padding: .35rem .8rem;
  border-radius: 100px; box-shadow: var(--sh-1); }
.pcard__body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.pcard__loc { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--fs-100);
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--olive); }
.pcard__loc .ico { width: 14px; height: 14px; }
.pcard__title { font-family: var(--font-display); font-size: 1.4rem; color: var(--aubergine);
  margin: .35rem 0 .75rem; }
.pcard__specs { display: flex; flex-wrap: wrap; gap: .35rem 1rem; padding: 0; margin-bottom: 1rem;
  color: var(--ink-soft); font-size: var(--fs-200); }
.pcard__specs li { display: inline-flex; align-items: center; gap: .4rem; }
.pcard__specs .ico { width: 17px; height: 17px; color: var(--aubergine-soft); }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.pcard__price { font-family: var(--font-display); font-weight: 600; color: var(--aubergine); line-height: 1.1; }
.pcard__price span { display: block; font-family: var(--font-body); font-weight: 600;
  font-size: var(--fs-100); color: var(--ink-soft); letter-spacing: .02em; }
.pcard__price b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.pcard__cta { width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: var(--aubergine); color: #fff; transition: background .2s ease, transform .2s ease; }
.pcard__cta:hover { background: var(--gold); color: #2a1c06; transform: rotate(-8deg); }

/* ---------- 11. Trust strip --------------------------------------------- */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-2) var(--sp-3); }
.trust__item { text-align: center; }
.trust__num { font-family: var(--font-display); font-size: clamp(1.9rem,6vw,2.8rem);
  font-weight: 600; color: var(--aubergine); font-variant-numeric: tabular-nums; }
.trust__num .u { color: var(--gold); }
.trust__lbl { font-size: var(--fs-200); color: var(--ink-soft); font-weight: 600; }

/* ---------- 12. Feature / value cards ------------------------------------ */
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.6rem 1.5rem; box-shadow: var(--sh-1); height: 100%; }
.feature__ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(140deg, #fbf3df, #f3e7c4); color: var(--gold-deep); margin-bottom: 1rem; }
.feature__ico .ico { width: 26px; height: 26px; }
.feature h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.feature p { color: var(--ink-soft); font-size: var(--fs-200); }

/* media + content split */
.split { display: grid; gap: var(--sp-4); align-items: center; }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--sh-2); width: 100%;
  object-fit: cover; }
.checklist { display: grid; gap: .7rem; margin-top: 1.3rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; }
.checklist .ico { width: 22px; height: 22px; flex: none; color: var(--olive); margin-top: 1px; }

/* ---------- 13. FAQ accordion ------------------------------------------- */
.accordion { display: grid; gap: .75rem; max-width: 820px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.acc.is-open { box-shadow: var(--sh-2); border-color: var(--line-strong); }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; text-align: left; padding: 1.15rem 1.3rem; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--aubergine); }
.acc__btn .sign { width: 30px; height: 30px; flex: none; position: relative; border-radius: 50%;
  background: var(--cream-2); transition: background .2s ease; }
.acc.is-open .acc__btn .sign { background: var(--gold); }
.acc__btn .sign::before, .acc__btn .sign::after { content: ""; position: absolute; inset: 0;
  margin: auto; background: var(--aubergine); }
.acc__btn .sign::before { width: 12px; height: 2px; }
.acc__btn .sign::after { width: 2px; height: 12px; transition: transform .25s ease; }
.acc.is-open .acc__btn .sign::after { transform: rotate(90deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p, .acc__panel ul { padding: 0 1.3rem 1.3rem; color: var(--ink-soft); }
.acc__panel .checklist { padding: 0 1.3rem 1.3rem; margin-top: 0; }

/* ---------- 14. CTA band ------------------------------------------------- */
.cta-band { border-radius: var(--r-xl); padding: clamp(2rem,6vw,3.5rem);
  background: radial-gradient(120% 140% at 0% 0%, var(--aubergine-soft), var(--aubergine) 50%, var(--aubergine-deep));
  color: #f3e7ef; text-align: center; box-shadow: var(--sh-3); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e6d3e0; margin: .8rem auto 1.6rem; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------- 15. Footer --------------------------------------------------- */
.site-footer { background: var(--aubergine-deep); color: #d9c7d4; padding-top: var(--sp-6); }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: var(--sp-4); }
.footer__brand img { height: 56px; background: #fff; padding: .4rem .6rem; border-radius: 10px; }
.footer__brand p { color: #c7b2c2; font-size: var(--fs-200); margin-top: 1rem; max-width: 38ch; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: var(--fs-200); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; }
.footer__list { display: grid; gap: .65rem; }
.footer__list a, .footer__contact li { color: #d9c7d4; font-size: var(--fs-200); }
.footer__contact { display: grid; gap: .9rem; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer__contact .ico { width: 19px; height: 19px; color: var(--gold); flex: none; margin-top: 3px; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; transition: background .2s ease, transform .2s ease; }
.footer__social a:hover { background: var(--gold); color: #2a1c06; transform: translateY(-2px); }
.footer__bar { margin-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: var(--fs-100); color: #b69fb0; }

/* ---------- 16. Floating WhatsApp + back-to-top ------------------------- */
.float-wa { position: fixed; right: 16px; bottom: 16px; z-index: var(--z-float);
  display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.1rem .8rem .9rem;
  background: #1FA855; color: #fff; border-radius: 100px; box-shadow: 0 10px 26px rgba(31,168,85,.4);
  font-weight: 700; font-size: var(--fs-200); transition: transform .2s ease; }
.float-wa:hover { transform: scale(1.04); color: #fff; }
.float-wa .ico { width: 24px; height: 24px; }
.float-wa__txt { display: none; }
.to-top { position: fixed; right: 18px; bottom: 84px; z-index: var(--z-float);
  width: 46px; height: 46px; display: grid; place-items: center; border: 0; cursor: pointer;
  background: var(--aubergine); color: #fff; border-radius: 50%; box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top .ico { transform: rotate(180deg); width: 22px; height: 22px; }

/* ---------- 17. Page hero (interior pages) ------------------------------ */
.page-hero { background:
  radial-gradient(120% 130% at 85% -20%, var(--aubergine-soft), var(--aubergine) 55%, var(--aubergine-deep));
  color: #f3e7ef; padding-block: clamp(2.5rem,7vw,4rem); text-align: center; }
.page-hero h1 { color: #fff; }
.page-hero .breadcrumb { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  margin-top: 1rem; font-size: var(--fs-200); color: #e6d3e0; }
.page-hero .breadcrumb a { color: var(--gold); font-weight: 600; }
.page-hero .breadcrumb span { opacity: .6; }

/* ---------- 18. Contact info tiles -------------------------------------- */
.info-tiles { display: grid; gap: var(--sp-2); }
.info-tile { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem; box-shadow: var(--sh-1); }
.info-tile__ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: linear-gradient(140deg,#f6ecf3,#efdcec); color: var(--aubergine); }
.info-tile__ico .ico { width: 24px; height: 24px; }
.info-tile { align-items: center; }
.info-tile h4 { font-family: var(--font-body); font-size: var(--fs-100); text-transform: uppercase;
  letter-spacing: .1em; color: var(--ink-soft); margin-bottom: .3rem; }
.info-tile a, .info-tile p { color: var(--aubergine); font-weight: 600; }
.info-tile a { transition: color .18s ease; }
.info-tile a:hover { color: var(--gold-deep); }
.info-tile__nums { display: flex; flex-direction: column; gap: .15rem; }
.info-tile__nums a { white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Liste de coordonnées en une seule colonne (colonne étroite) */
.info-tiles.info-tiles--stack { grid-template-columns: 1fr; }

/* ---------- 19. Detail page specifics ----------------------------------- */
.gallery-main { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2);
  aspect-ratio: 16/10; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: .6rem; margin-top: .6rem; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden;
  cursor: pointer; aspect-ratio: 1; background: none; }
.gallery-thumbs button.active { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.spec-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .8rem; margin: 1.4rem 0; }
.spec { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.1rem; }
.spec span { display: block; font-size: var(--fs-100); color: var(--ink-soft); text-transform: uppercase;
  letter-spacing: .08em; }
.spec b { font-family: var(--font-display); font-size: 1.15rem; color: var(--aubergine); }
.sticky-buy { position: sticky; top: calc(var(--header-h) + 16px); }
.price-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-2); padding: 1.6rem; }
.price-box .amount { font-family: var(--font-display); font-size: 2rem; color: var(--aubergine);
  font-variant-numeric: tabular-nums; }
.price-box .amount small { display: block; font-family: var(--font-body); font-size: var(--fs-100);
  color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- 20. Reveal on scroll ---------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 21. Helpers -------------------------------------------------- */
.ico { display: inline-block; vertical-align: middle; width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--aubergine);
  color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }
.tag-soft { display: inline-block; background: var(--cream-2); color: var(--aubergine-soft);
  font-weight: 700; font-size: var(--fs-100); padding: .3rem .75rem; border-radius: 100px; }

/* ---------- 22. Hero slideshow (accueil) -------------------------------- */
.hero-show { position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 88vh, 860px); display: grid; }
.hero-show__bg { position: absolute; inset: 0; z-index: 0; opacity: 0;
  transition: opacity 1.1s ease, transform 7s ease; }
.hero-show__bg.is-active { opacity: 1; transform: scale(1.06); }   /* léger effet Ken Burns */
.hero-show__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-show__overlay { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(52,18,45,.93) 0%, rgba(52,18,45,.74) 40%, rgba(52,18,45,.32) 100%),
  linear-gradient(0deg, rgba(26,20,24,.6) 0%, transparent 48%); }
.hero-show__inner { position: relative; z-index: 2; align-self: center; width: 100%;
  padding-block: clamp(3rem, 9vh, 5.5rem); color: #fff; }
.hero-show__inner h1 { color: #fff; max-width: 20ch; }
.hero-show__inner h1 .accent { color: var(--gold); font-style: italic; }
.hero-show__eyebrow { color: var(--gold); margin-bottom: 1rem; }
.hero-show__eyebrow::before { background: var(--gold); }
.hero-show__lede { color: rgba(255,255,255,.92); max-width: 52ch; margin: 0 0 1.6rem; }
.hero-show__lede strong { color: #fff; }
.hero-show__points { margin-bottom: 1.9rem; }
.hero-show__points li { color: #fff; }
.hero-show__points .ico { color: var(--gold); }
.hero-show__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-show__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.7rem;
  display: flex; gap: .5rem; justify-content: center; }
.hero-show__dots button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px;
  background: rgba(255,255,255,.4); cursor: pointer; transition: background .25s ease; }
.hero-show__dots button[aria-current="true"] { background: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .hero-show__bg { transition: none; }
  .hero-show__bg.is-active { transform: none; }
}
@media (max-width: 560px) {
  .hero-show__cta { flex-direction: column; align-items: stretch; }
  .hero-show__inner { padding-bottom: 4rem; }
}

/* ============================================================================
   RESPONSIVE  (mobile-first → up)
   ========================================================================== */
@media (min-width: 600px) {
  .hero__points li { font-size: var(--fs-300); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .float-wa__txt { display: inline; }
  .gallery-thumbs { grid-template-columns: repeat(5,1fr); }
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2,1fr); display: grid; gap: var(--sp-3); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .info-tiles { grid-template-columns: repeat(2,1fr); }
}

@media (min-width: 992px) {
  :root { --header-h: 84px; }
  .nav__links { display: flex; align-items: center; gap: .35rem; }
  .nav__links a { padding: .6rem .9rem; font-weight: 600; color: var(--ink); border-radius: 100px;
    transition: color .18s ease, background .18s ease; }
  .nav__links a:hover { color: var(--aubergine); background: rgba(75,26,64,.06); }
  .nav__links a { position: relative; }
  .nav__links a[aria-current="page"] { color: var(--aubergine); font-weight: 700;
    background: rgba(75,26,64,.06); }
  .nav__links a[aria-current="page"]::after { content: ""; position: absolute;
    left: 50%; transform: translateX(-50%); bottom: .1rem; width: 22px; height: 3px;
    background: var(--gold); border-radius: 3px; }
  .nav__phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700;
    color: var(--aubergine); white-space: nowrap; font-size: var(--fs-200); }
  .nav__phone .ico { flex: none; width: 18px; height: 18px; }
  .nav__toggle { display: none; }
  .hero__inner { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .hero--lead .hero__inner { grid-template-columns: 1.1fr .9fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-right .split__media { order: 2; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(4,1fr); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .detail-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--sp-4); align-items: start; }
  .faq-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); align-items: start; }
  .to-top { right: 24px; }
  .float-wa { right: 24px; bottom: 24px; }
}

@media (min-width: 1200px) {
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}
