/* ==========================================================================
   Immo Conseils — « Riviera Signature »
   Feuille de style unique, mobile d'abord.
   Sommaire :
   1. Variables          2. Base               3. Typographie & boutons
   4. En-tête & menu     5. Bandeaux (hero)    6. Sections & mises en page
   7. Composants         8. Pages              9. Pied de page
   10. Animations        11. Préférences de mouvement
   ========================================================================== */

/* 1. Variables ------------------------------------------------------------ */
:root {
  --ivory: #F8F4EC;
  --paper: #FFFDF8;
  --sand: #EDE3D2;
  --sand-deep: #E2D5BE;
  --navy: #0F2236;
  --navy-soft: #1A3048;
  --ink: #1B2533;
  --ink-soft: #4A5361;
  --gold: #B48A4E;          /* accents, filets, boutons sur fond sombre */
  --gold-text: #7D5E32;     /* texte doré sur fond clair (contraste AA) */
  --gold-large: #9C7642;    /* grands chiffres décoratifs sur fond clair */
  --gold-light: #E3C99A;    /* texte doré sur photo ou fond sombre */
  --on-navy: #F8F4EC;
  --on-navy-soft: #B9C0CA;
  --line: rgba(27, 37, 51, .12);
  --line-light: rgba(248, 244, 236, .2);
  --field-line: #9A8B72;
  --error: #A3321F;
  --success: #2F5D46;

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

  --container: 1240px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --section: clamp(72px, 9vw, 136px);
  --radius: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
  --topbar-h: 0px;
}

@media (min-width: 1200px) {
  :root { --header-h: 84px; --topbar-h: 38px; }
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, video, picture { display: block; max-width: 100%; }
/* Cormorant : pas de ligatures historiques (« ct », « st ») dans les titres. */
h1, h2, h3, dt, summary, blockquote, .brand__name, .marquee, .signature, .intro-statement { font-variant-ligatures: common-ligatures no-discretionary-ligatures no-historical-ligatures; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.hero :focus-visible, .page-hero :focus-visible, .band :focus-visible, .section--navy :focus-visible,
.site-footer :focus-visible, .cta-image :focus-visible, .svc-card:focus-visible, .wa-float:focus-visible,
.menu-open .site-header :focus-visible, .site-header:not(.is-scrolled)[data-mode="overlay"] :focus-visible,
.topbar :focus-visible { outline-color: var(--gold-light); }

::selection { background: var(--gold); color: var(--navy); }

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

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

.skip-link {
  position: fixed; left: 16px; top: -120px; z-index: 1000;
  padding: .8rem 1.3rem; background: var(--navy); color: var(--ivory);
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }
main:focus { outline: none; }

.icon { width: 20px; height: 20px; flex: none; }

/* Cadres d'image : fond sable tant que l'image n'est pas chargée (ou si elle échoue). */
.frame { position: relative; overflow: hidden; background: var(--sand-deep); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
img.is-broken { visibility: hidden; }

/* 3. Typographie & boutons ------------------------------------------------ */
.hero__title, .page-hero__title, .article__title, .contact-title, .h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2.125rem, 1.55rem + 2.3vw, 3.5rem);
  line-height: 1.08;
  color: var(--navy);
}
.h2 em, .contact-title em, .intro-statement em { font-style: italic; color: var(--gold-text); }

.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  margin-bottom: 1.15rem;
  font-family: var(--sans); font-size: .75rem; font-weight: 700; line-height: 1.5;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--gold-light); }

.lead { font-size: 1.1875rem; line-height: 1.65; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose p { color: var(--ink-soft); }
.prose p.lead { color: var(--ink); }
.prose a { color: var(--navy); text-decoration-color: var(--gold); }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .35rem; }
.prose li::marker { color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: .85rem 1.6rem;
  border: 1px solid transparent; border-radius: 2px;
  font-family: var(--sans); font-size: .78rem; font-weight: 700; line-height: 1.3;
  letter-spacing: .14em; text-transform: uppercase; text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--primary { background: var(--navy); color: var(--ivory); }
.btn--primary:hover { background: var(--gold); color: var(--navy); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--ivory); color: var(--navy); }
.btn--ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--ivory); }
.btn--ghost-light { background: rgba(15, 34, 54, .18); border-color: rgba(248, 244, 236, .62); color: var(--ivory); }
.btn--ghost-light:hover { background: var(--ivory); border-color: var(--ivory); color: var(--navy); }
.btn--lg { min-height: 58px; padding-inline: 2rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

@media (max-width: 599.98px) {
  .btn-row > .btn { width: 100%; }
}
@media (max-width: 419.98px) {
  .btn { gap: .55rem; padding-inline: 1.1rem; letter-spacing: .08em; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding-block: .35rem;
  border-bottom: 1px solid var(--gold);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--back:hover .icon { transform: translateX(-4px); }

/* 4. En-tête & menu ------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--ivory);
}

.topbar { display: none; }

.navbar {
  height: var(--header-h);
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), height .45s var(--ease);
}
.navbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.site-header[data-mode="solid"] .navbar,
.site-header.is-scrolled .navbar {
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(15, 34, 54, .45);
}

.brand {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: .8rem; min-width: 0;
  color: inherit; text-decoration: none;
}
.brand__mark { width: 42px; height: 42px; flex: none; color: currentColor; }
.brand__mark .mono-ring { stroke: var(--gold); }
.site-header:not(.is-scrolled)[data-mode="overlay"] .brand__mark .mono-ring,
.brand--footer .brand__mark .mono-ring { stroke: var(--gold-light); }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.brand__tag {
  margin-top: .32rem;
  font-size: .6875rem; font-weight: 500; letter-spacing: .05em; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: .88;
}

@media (max-width: 419.98px) {
  .navbar__inner .brand__mark { display: none; }
  .brand__name { font-size: 1.45rem; }
  .brand__tag { font-size: .625rem; letter-spacing: .02em; }
}

.nav-toggle {
  position: relative; z-index: 3;
  display: inline-flex; align-items: center; gap: .8rem;
  min-width: 44px; height: 44px; padding: 0 .2rem;
  background: none; border: 0; cursor: pointer; color: inherit;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.nav-toggle__bars { position: relative; display: block; width: 28px; height: 12px; }
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav-toggle__bars span:first-child { top: 0; }
.nav-toggle__bars span:last-child { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 479.98px) {
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

.nav-nojs { display: none; }
.no-js .nav-toggle { display: none; }
.no-js .nav-nojs {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
}

/* Menu mobile : panneau plein écran bleu nuit */
@media (max-width: 1199.98px) {
  .site-nav {
    position: fixed; inset: 0; z-index: 2;
    background: var(--navy); color: var(--ivory);
    visibility: hidden; opacity: 0;
    transition: opacity .45s var(--ease), visibility 0s linear .45s;
  }
  .no-js .site-nav { display: none; }
  .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity .45s var(--ease), visibility 0s; }
  .site-nav__scroll {
    height: 100%; overflow-y: auto; overscroll-behavior: contain;
    display: flex; flex-direction: column; gap: 2rem;
    width: 100%; max-width: calc(720px + 2 * var(--gutter)); margin-inline: auto;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2.5rem;
  }
  .nav-list__item { border-bottom: 1px solid var(--line-light); }
  .nav-link {
    display: flex; align-items: baseline; gap: 1.1rem;
    padding: .65rem 0;
    font-family: var(--serif); font-size: clamp(1.75rem, 1.3rem + 2.4vw, 2.6rem); font-weight: 500; line-height: 1.15;
    text-decoration: none;
    transition: color .3s var(--ease), padding .4s var(--ease);
  }
  .nav-link:hover { color: var(--gold-light); padding-left: .35rem; }
  .nav-link[aria-current="page"] { color: var(--gold-light); }
  .nav-link__num { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .16em; color: var(--gold-light); }
  .btn--nav { background: var(--gold); color: var(--navy); align-self: stretch; }
  .btn--nav:hover { background: var(--ivory); }
  .nav-extra { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--line-light); font-size: .92rem; color: var(--on-navy-soft); }
  .nav-extra__subtitle { margin-bottom: 1rem; }
  .nav-extra__contact { display: grid; gap: .6rem; }
  .nav-extra__contact a { display: inline-flex; align-items: center; gap: .7rem; color: var(--ivory); text-decoration: none; overflow-wrap: anywhere; }
  .nav-extra__contact .icon { width: 18px; height: 18px; color: var(--gold-light); }

  .menu-open body { overflow: hidden; }
  .menu-open .site-header .navbar { background: transparent; color: var(--ivory); box-shadow: none; }
  .menu-open .site-header .brand__mark .mono-ring { stroke: var(--gold-light); }
}

@media (min-width: 600px) and (max-width: 1199.98px) {
  .btn--nav { align-self: flex-start; }
}

/* Menu bureau */
@media (min-width: 1200px) {
  .nav-toggle, .nav-nojs, .no-js .nav-nojs { display: none; }
  .topbar {
    display: block; height: var(--topbar-h); overflow: hidden;
    border-bottom: 1px solid var(--line-light);
    font-size: .78rem;
    transition: height .45s var(--ease), border-color .45s var(--ease);
  }
  .site-header[data-mode="solid"] .topbar { background: var(--navy); border-bottom-color: transparent; }
  .site-header.is-scrolled .topbar { height: 0; border-bottom-color: transparent; }
  .topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
  .topbar__subtitle { min-width: 0; letter-spacing: .04em; color: rgba(248, 244, 236, .9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar__contact { display: flex; gap: 1.75rem; flex: none; }
  .topbar__contact a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
  .topbar__contact a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
  .topbar .icon { width: 15px; height: 15px; color: var(--gold-light); }

  .site-header.is-scrolled { --header-h: 74px; }

  .site-nav, .site-nav__scroll { display: flex; align-items: center; }
  .site-nav__scroll { gap: 1.4rem; }
  .nav-list { display: flex; gap: 1.2rem; }
  .nav-link {
    position: relative; display: block; padding: .5rem 0;
    font-size: .82rem; font-weight: 600; letter-spacing: .03em; white-space: nowrap; text-decoration: none;
  }
  .nav-link__num, .nav-extra { display: none; }
  .nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
  }
  .nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .btn--nav {
    min-height: 44px; padding: .55rem 1.2rem;
    background: transparent; border-color: rgba(248, 244, 236, .65); color: var(--ivory);
  }
  .site-header.is-scrolled .btn--nav, .site-header[data-mode="solid"] .btn--nav { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
  .site-header .btn--nav:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
}

@media (min-width: 1366px) {
  .nav-list { gap: 1.75rem; }
  .site-nav__scroll { gap: 2rem; }
}

body.header-solid main { padding-top: calc(var(--header-h) + var(--topbar-h)); }

/* 5. Bandeaux (hero) ------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh; min-height: 100svh;
  background: var(--navy); color: var(--ivory);
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--navy-soft); }
.hero__media picture, .hero__media img, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 34, 54, .45) 0%, rgba(15, 34, 54, .15) 50%, rgba(15, 34, 54, 0) 75%),
    linear-gradient(180deg, rgba(15, 34, 54, .6) 0%, rgba(15, 34, 54, .24) 28%, rgba(15, 34, 54, .34) 52%, rgba(15, 34, 54, .86) 100%);
}
.hero__inner { padding-top: calc(var(--header-h) + var(--topbar-h) + 2.5rem); padding-bottom: 1.5rem; }
.hero__eyebrow { max-width: 56rem; align-items: flex-start; }
.hero__eyebrow::before { margin-top: .7em; }
.hero__title { font-size: clamp(2.6rem, 1.35rem + 5.3vw, 5.75rem); line-height: 1.02; max-width: 14.5ch; }
.hero__title em { font-style: italic; color: var(--gold-light); }
.hero__lead { margin-top: 1.5rem; max-width: 34rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: rgba(248, 244, 236, .92); }
.hero__actions { margin-top: 2.25rem; }

.hero__foot { position: relative; display: flex; align-items: center; gap: 1.5rem; min-height: 72px; padding-bottom: 1.25rem; }
.hero__toggle {
  display: inline-flex; align-items: center; gap: .6rem;
  height: 40px; padding: 0 1rem 0 .8rem;
  background: rgba(15, 34, 54, .25); border: 1px solid rgba(248, 244, 236, .45); border-radius: 999px;
  color: var(--ivory); cursor: pointer;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.hero__toggle:hover { background: rgba(248, 244, 236, .15); border-color: var(--ivory); }
.hero__toggle .icon { width: 15px; height: 15px; }
.hero__toggle-icon--play { display: none; }
.hero__toggle.is-paused .hero__toggle-icon--play { display: block; }
.hero__toggle.is-paused .hero__toggle-icon--pause { display: none; }
.hero__coords { display: none; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(248, 244, 236, .8); }
.hero__scroll { display: none; }

@media (min-width: 768px) {
  .hero__coords { display: block; }
  .hero__scroll {
    display: block; position: absolute; left: 50%; bottom: 0; width: 44px; height: 72px; margin-left: -22px;
  }
  .hero__scroll-line { position: absolute; left: 50%; top: 10px; bottom: 0; width: 1px; overflow: hidden; background: rgba(248, 244, 236, .25); }
  .hero__scroll-line::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--gold-light); animation: scrollLine 2.4s var(--ease) infinite; }
}

/* Bandeau des pages intérieures */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(460px, 72vh, 700px);
  background: var(--navy); color: var(--ivory);
}
.page-hero--short { min-height: clamp(380px, 54vh, 520px); }
.page-hero--full { min-height: 100vh; min-height: 100svh; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; background: var(--navy-soft); }
.page-hero__media picture, .page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 34, 54, .5) 0%, rgba(15, 34, 54, .2) 50%, rgba(15, 34, 54, 0) 78%),
    linear-gradient(180deg, rgba(15, 34, 54, .6) 0%, rgba(15, 34, 54, .28) 30%, rgba(15, 34, 54, .45) 60%, rgba(15, 34, 54, .9) 100%);
}
.page-hero__inner { padding-top: calc(var(--header-h) + var(--topbar-h) + 3rem); padding-bottom: clamp(2.75rem, 6vw, 4.75rem); }
.page-hero__title { font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5rem); line-height: 1.04; max-width: 18ch; }
.page-hero__title em { font-style: italic; color: var(--gold-light); }
.page-hero__lead { margin-top: 1.25rem; max-width: 40rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); color: rgba(248, 244, 236, .92); }

.crumbs ol {
  display: flex; flex-wrap: wrap; gap: .3rem .65rem;
  margin: 0 0 1.75rem; padding: 0; list-style: none;
  font-size: .78rem; font-weight: 500; letter-spacing: .06em;
}
.crumbs li { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.crumbs li + li::before { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .6; flex: none; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.crumbs [aria-current] { opacity: .85; }
.crumbs--dark { color: var(--ink-soft); }
.crumbs--dark [aria-current] { opacity: 1; color: var(--ink); }

/* 6. Sections & mises en page -------------------------------------------- */
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy .h2 { color: var(--ivory); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--tight-bottom { padding-bottom: clamp(28px, 3.5vw, 44px); }

/* Deux sections claires consécutives : un seul espacement. */
.section:not(.section--sand):not(.section--navy) + .section:not(.section--sand):not(.section--navy) { padding-top: 0; }
.article + .section--cta { padding-top: 0; }
.service-row-wrap { padding-bottom: clamp(64px, 8vw, 112px); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow, .cta-panel .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after, .cta-panel .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
@media (max-width: 479.98px) {
  .section-head--center .eyebrow, .cta-panel .eyebrow { gap: .6rem; letter-spacing: .16em; }
  .section-head--center .eyebrow::before, .section-head--center .eyebrow::after,
  .cta-panel .eyebrow::before, .cta-panel .eyebrow::after { width: 18px; }
}
.section-head--split { display: grid; gap: 1.25rem 4rem; max-width: none; }
.section-head__aside p { max-width: 34rem; color: var(--ink-soft); }
.section-head__aside .link-arrow { margin-top: 1.25rem; }
.section--navy .section-head__aside p { color: var(--on-navy-soft); }

@media (min-width: 960px) {
  .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; }
}

.split { display: grid; gap: clamp(2.5rem, 5vw, 5.5rem); }
.split__body > .h2 { margin-bottom: 1.5rem; }
.split__body > .lead { margin-bottom: .5rem; }
.split__body .btn-row { margin-top: 2.25rem; }

.frame--portrait { aspect-ratio: 4 / 5; }
.frame--fill { aspect-ratio: 4 / 3; }
.frame--fill picture, .frame--fill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 960px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
  .split--reverse .split__media { order: 2; }
  .split--portrait { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .split--zone { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .split--fill { align-items: stretch; }
  .split--fill .split__media { position: relative; }
  .split--fill .frame--fill { aspect-ratio: auto; height: 100%; min-height: 460px; }
}

/* 7. Composants ------------------------------------------------------------ */

/* Présentation (accueil) */
.intro__grid { display: grid; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.intro__visual { position: relative; width: 100%; max-width: 460px; margin-inline: auto; aspect-ratio: 4 / 5; }
.intro__arch { position: absolute; inset: 13% 0 0 0; background: var(--sand); border-radius: 999px 999px 0 0; }
.intro__arch::after { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); border-radius: inherit; pointer-events: none; }
.intro__portrait { position: absolute; inset: 0 4% 0; display: flex; align-items: flex-end; justify-content: center; }
.intro__portrait picture { width: 100%; height: 100%; }
.intro__portrait img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
/* Variante photo (avec décor) : l'image remplit l'arche au lieu d'en dépasser */
.intro__visual--photo .intro__portrait { inset: 13% 0 0 0; border-radius: 999px 999px 0 0; overflow: hidden; }
.intro__visual--photo .intro__portrait img { object-fit: cover; object-position: 50% 0%; }
.intro__badge {
  position: absolute; left: -10px; bottom: 9%;
  padding: .85rem 1.15rem;
  background: var(--navy); color: var(--ivory);
  font-family: var(--serif); font-size: 1.3rem; font-style: italic; line-height: 1.15;
  box-shadow: 0 16px 34px -18px rgba(15, 34, 54, .6);
}
.intro__badge span { display: block; margin-bottom: .2rem; font-family: var(--sans); font-size: .68rem; font-style: normal; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.intro__role { margin: -.4rem 0 1.75rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.intro__text .h2 { margin-bottom: 1rem; }
.intro__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }
.intro__phone { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; }
.intro__phone .icon { width: 20px; height: 20px; color: var(--gold-text); }
.intro__phone:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; }

@media (min-width: 960px) {
  .intro__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .intro__badge { left: -28px; }
}

/* Bandeau défilant des secteurs */
.marquee { border-block: 1px solid var(--sand-deep); padding-block: clamp(1.1rem, 2.4vw, 1.9rem); overflow: hidden; }
.marquee__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; flex: none; }
.marquee__list li {
  display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding-right: clamp(1.5rem, 3vw, 3rem);
  font-family: var(--serif); font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); font-style: italic; font-weight: 500; line-height: 1.2;
  color: var(--navy); white-space: nowrap;
}
.marquee__list li::after { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }

/* Annonces (cartes typographiques) */
.listing-grid { display: grid; gap: 1.25rem; }
.listing {
  position: relative; display: flex; flex-direction: column;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--paper); border: 1px solid var(--sand-deep);
  transition: border-color .4s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.listing:hover, .listing:focus-within,
.anim .listing.reveal.is-in:hover, .anim .listing.reveal.is-in:focus-within {
  border-color: var(--gold); transform: translateY(-4px);
  box-shadow: 0 22px 44px -28px rgba(15, 34, 54, .45);
}
.listing__top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.listing__top::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: .55; }
.listing__num { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; line-height: 1; color: var(--gold-large); }
.listing__sector { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.listing__title { margin: .55rem 0 1.25rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; line-height: 1.15; color: var(--navy); text-wrap: balance; }
.listing__specs { margin-bottom: 1.5rem; font-size: .9rem; color: var(--ink-soft); }
.listing__specs li { display: flex; align-items: center; gap: .7rem; padding: .42rem 0; border-top: 1px solid var(--sand); }
.listing__specs li::before { content: ""; width: 10px; height: 1px; background: var(--gold); flex: none; }
.listing__price { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--sand-deep); font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--navy); white-space: nowrap; }
.listing__link {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.15rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text); text-decoration: none;
}
.listing__link::after { content: ""; position: absolute; inset: 0; }
.listing__link .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.listing:hover .listing__link .icon { transform: translate(2px, -2px); }
.listing__link:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 4px; }

.listing-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem;
  margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--sand-deep);
}
.note { max-width: 42rem; font-size: .9rem; color: var(--ink-soft); }

@media (min-width: 640px) {
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing__title { min-height: 2.3em; }
}
@media (min-width: 1200px) {
  .listing-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .listing-grid--4 .listing { padding-inline: 1.5rem; }
  .listing-grid--4 .listing__sector { letter-spacing: .12em; }
  .listing-grid--4 .listing__title { min-height: 2.3em; }
}

/* Services (accueil) : cartes photo */
.svc-grid { display: grid; gap: 1rem; }
.svc-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px;
  background: var(--navy); color: var(--ivory); text-decoration: none;
}
.svc-card__media { position: absolute; inset: 0; z-index: -2; background: var(--navy-soft); }
.svc-card__media picture { width: 100%; height: 100%; }
.svc-card__media img { transition: transform 1.4s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 34, 54, .12) 0%, rgba(15, 34, 54, .5) 38%, rgba(15, 34, 54, .82) 66%, rgba(15, 34, 54, .94) 100%);
}
.svc-card--lead .svc-card__media img { object-position: 50% 78%; } /* villa + mer plutôt que le ciel */
.svc-card--lead::before { background: linear-gradient(180deg, rgba(15, 34, 54, 0) 30%, rgba(15, 34, 54, .55) 60%, rgba(15, 34, 54, .92) 100%); }
.svc-card__body { padding: 1.6rem 1.6rem 1.75rem; }
.svc-card__num { font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--gold-light); }
.svc-card__title { margin: .45rem 0 .55rem; font-family: var(--serif); font-size: clamp(1.6rem, 1.35rem + .8vw, 2.05rem); font-weight: 500; line-height: 1.1; }
.svc-card__text { max-width: 30rem; font-size: .95rem; line-height: 1.6; color: rgba(248, 244, 236, .9); }
.svc-card__more {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light);
}
.svc-card__more .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.svc-card:hover .svc-card__more .icon { transform: translateX(4px); }

@media (min-width: 700px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-card--lead { grid-column: 1 / -1; min-height: 420px; }
}
@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(360px, auto)); }
  .svc-card--lead { grid-column: 1; grid-row: 1 / span 2; min-height: 0; }
  .svc-card--lead .svc-card__title { font-size: clamp(2.2rem, 1.6rem + 1.4vw, 2.9rem); }
  .svc-card--lead .svc-card__body { padding: 2.25rem; }
}

/* Bande photo avec citation (parallaxe légère) */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(440px, 72vh, 700px);
  background: var(--navy); color: var(--ivory);
}
.band__media { position: absolute; inset: 0; z-index: -2; background: var(--navy-soft); }
.band__media picture { position: absolute; inset: -12% 0; will-change: transform; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__scrim { position: absolute; inset: 0; z-index: -1; background: rgba(15, 34, 54, .52); }
.band__inner { padding-block: 4rem; text-align: center; }
.band__quote blockquote p {
  max-width: 24ch; margin-inline: auto;
  font-family: var(--serif); font-size: clamp(1.8rem, 1.2rem + 2.5vw, 3.35rem); font-style: italic; font-weight: 500; line-height: 1.18;
  text-wrap: balance;
}
.band__quote figcaption {
  display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light);
}
.band__quote figcaption::before, .band__quote figcaption::after { content: ""; width: 32px; height: 1px; background: currentColor; }

/* Méthode */
.method__grid { display: grid; gap: 3rem; }
.method__sticky .h2 { margin-bottom: 1.25rem; }
.method__sticky p { max-width: 30rem; margin-bottom: 2rem; color: var(--ink-soft); }
.step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--sand-deep); }
.step:last-child { border-bottom: 1px solid var(--sand-deep); }
.step__num { min-width: 2.1ch; font-family: var(--serif); font-size: clamp(2.75rem, 2rem + 2vw, 4rem); font-weight: 500; line-height: .85; color: var(--gold-large); }
.step__title { margin-bottom: .5rem; font-family: var(--serif); font-size: clamp(1.6rem, 1.4rem + .6vw, 2rem); font-weight: 500; line-height: 1.15; color: var(--navy); }
.step p { color: var(--ink-soft); }

@media (min-width: 1024px) {
  .method__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 6rem; }
  .method__sticky { position: sticky; top: calc(var(--header-h) + 2.5rem); }
  .step { gap: 2.25rem; }
}

/* Articles (cartes) */
.post-grid { display: grid; gap: 3rem 1.5rem; }
.post-card { position: relative; display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 3 / 2; margin-bottom: 1.5rem; }
.post-card__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.post-card__media picture { width: 100%; height: 100%; }
.post-card__media img { transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__date { margin-bottom: .6rem; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.post-card__title { font-family: var(--serif); font-size: clamp(1.5rem, 1.3rem + .6vw, 1.9rem); font-weight: 500; line-height: 1.15; color: var(--navy); text-wrap: balance; }
.post-card__title a, .post-feature__title a { text-decoration: none; }
.post-card__title a::after, .post-feature__title a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover .post-card__title a, .post-feature:hover .post-feature__title a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; }
.post-card__excerpt { margin: .85rem 0 1.4rem; font-size: .975rem; color: var(--ink-soft); }
.post-card .link-arrow, .post-feature .link-arrow { align-self: flex-start; margin-top: auto; }

@media (min-width: 700px) {
  .post-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .post-card.t-half { grid-column: span 3; }
  .post-card.t-wide { grid-column: 1 / -1; }
}
@media (min-width: 700px) and (max-width: 1023.98px) {
  .post-card.t-wide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
  .post-card.t-wide .post-card__media { margin-bottom: 0; }
}
@media (min-width: 1024px) {
  .post-card.d-third { grid-column: span 2; }
  .post-card.d-half { grid-column: span 3; }
  .post-card.d-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
  .post-card.d-wide .post-card__media { margin-bottom: 0; }
}

.post-feature {
  position: relative; display: grid; gap: 2rem;
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem); padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--sand-deep);
}
.post-feature:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.post-feature__media { aspect-ratio: 3 / 2; }
.post-feature__media picture { width: 100%; height: 100%; }
.post-feature__body { display: flex; flex-direction: column; align-items: flex-start; }
.post-feature__title { font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); font-weight: 500; line-height: 1.1; color: var(--navy); text-wrap: balance; }

@media (min-width: 960px) {
  .post-feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
}

/* Appels à l'action */
.cta-image {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(460px, 64vh, 580px);
  background: var(--navy); color: var(--ivory);
}
.cta-image__media { position: absolute; inset: 0; z-index: -2; background: var(--navy-soft); }
.cta-image__media picture { width: 100%; height: 100%; }
.cta-image__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 34, 54, .2) 0%, rgba(15, 34, 54, .55) 40%, rgba(15, 34, 54, .92) 100%); }
.cta-image__body { max-width: 40rem; padding: clamp(1.75rem, 5vw, 4.5rem); }
.cta-image .h2 { color: var(--ivory); }
.cta-image__body > p:not(.eyebrow) { margin: 1rem 0 2rem; color: rgba(248, 244, 236, .92); }

@media (min-width: 768px) {
  .cta-image { align-items: center; }
  .cta-image__scrim { background: linear-gradient(90deg, rgba(15, 34, 54, .9) 0%, rgba(15, 34, 54, .66) 48%, rgba(15, 34, 54, .12) 100%); }
}

/* Affiche « Votre avis de valeur » du client, montrée en entier (jamais recadrée) */
.cta-image:has(.cta-image__poster) { flex-direction: column; align-items: stretch; justify-content: flex-end; }
.cta-image__poster {
  width: min(300px, calc(100% - 3.5rem)); margin: 0 0 clamp(1.75rem, 5vw, 4.5rem) clamp(1.75rem, 5vw, 4.5rem);
  border: 6px solid var(--ivory); background: var(--ivory); box-shadow: 0 24px 60px rgba(8, 18, 30, .45);
}
.cta-image__poster img { display: block; width: 100%; height: auto; }
@media (min-width: 960px) {
  .cta-image:has(.cta-image__poster) { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-image__poster { flex: 0 0 auto; width: 340px; margin: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem) 0; }
}

.cta-split { display: grid; background: var(--sand); }
.cta-split__media { position: relative; aspect-ratio: 4 / 3; }
.cta-split__media picture, .cta-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-split__body { align-self: center; padding: clamp(2rem, 5vw, 4.5rem); }
.cta-panel__text { max-width: 36rem; margin: 1rem 0 2rem; color: var(--ink-soft); }

@media (min-width: 960px) {
  .cta-split { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .cta-split__media { aspect-ratio: auto; min-height: 460px; }
}

.cta-panel { padding: clamp(.6rem, 1.4vw, 1rem); background: var(--sand); }
.cta-panel__inner { padding: clamp(2.75rem, 6vw, 4.75rem) clamp(1.25rem, 5vw, 4rem); border: 1px solid var(--gold); text-align: center; }
.cta-panel .h2 { max-width: 22ch; margin-inline: auto; }
.cta-panel .cta-panel__text { margin-inline: auto; }
.cta-panel .btn-row { justify-content: center; }

/* Listes à coches, étapes courtes */
.checklist { display: grid; gap: .85rem; margin: 1.75rem 0 2.25rem; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .85rem; align-items: start; }
.checklist .icon { width: 20px; height: 20px; margin-top: .22rem; color: var(--gold-text); }

.mini-steps { display: grid; gap: 1.5rem; margin-top: 2rem; }
.mini-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--sand-deep); }
.mini-steps__num { min-width: 2ch; font-family: var(--serif); font-size: 2.3rem; line-height: .9; color: var(--gold-large); }
.mini-steps__title { margin-bottom: .35rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; line-height: 1.2; color: var(--navy); }
.mini-steps p { color: var(--ink-soft); }

.signature { display: flex; align-items: center; gap: 1rem; margin-top: 2.25rem; font-family: var(--serif); font-size: 2rem; font-style: italic; font-weight: 500; color: var(--navy); }
.signature::before { content: ""; width: 40px; height: 1px; background: var(--gold); }

.intro-statement { max-width: 54rem; font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 500; line-height: 1.3; color: var(--navy); text-wrap: pretty; }

/* Icône dans un cercle doré */
.value__icon, .axis__icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.5rem;
  border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-text);
}
.value__icon .icon, .axis__icon .icon { width: 24px; height: 24px; }

/* 8. Pages ------------------------------------------------------------------ */

/* À propos */
.values { display: grid; gap: 1px; background: var(--sand-deep); border: 1px solid var(--sand-deep); }
.value { padding: 2.25rem 1.75rem; background: var(--sand); }
.value__title { margin-bottom: .6rem; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; line-height: 1.15; color: var(--navy); }
.value p { font-size: .975rem; color: var(--ink-soft); }

@media (min-width: 640px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.team { display: grid; gap: 3rem 2.5rem; max-width: 800px; margin-inline: auto; text-align: center; }
.team__photo { margin-bottom: 1.5rem; }
.team__name { margin-bottom: .35rem; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; line-height: 1.15; color: var(--navy); }
.team__role { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }

@media (min-width: 768px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.network { display: grid; gap: 1.5rem 5rem; }
.network__body p { margin-bottom: 1.25rem; color: var(--on-navy-soft); }
.network__body .btn { margin-top: .75rem; }
@media (min-width: 960px) { .network { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

.zones { display: grid; gap: 1.6rem; margin-top: 2.25rem; }
.zones__group { padding-top: 1.1rem; border-top: 1px solid var(--sand-deep); }
.zones__title { display: flex; align-items: center; gap: .55rem; margin-bottom: .55rem; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.zones__title .icon { width: 16px; height: 16px; }
.zones__list { display: flex; flex-wrap: wrap; gap: .15rem 1.5rem; }
.zones__list li { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; line-height: 1.45; color: var(--navy); white-space: nowrap; }
.zones__list li::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex: none; }

/* Viager */
.terms { display: grid; gap: 1px; background: var(--sand-deep); border: 1px solid var(--sand-deep); }
.term { padding: 2rem 1.75rem; background: var(--ivory); }
.term dt { display: flex; flex-direction: column; gap: .7rem; margin-bottom: .75rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; line-height: 1.15; color: var(--navy); }
.term__num { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--gold-text); }
.term dd { font-size: .975rem; color: var(--ink-soft); }
@media (min-width: 640px) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .terms { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.duo { display: grid; gap: 1.25rem; }
.duo__col { padding: clamp(1.75rem, 4vw, 3rem); background: var(--paper); border: 1px solid var(--sand-deep); }
.duo__title { display: flex; align-items: center; gap: .9rem; margin-bottom: .25rem; font-family: var(--serif); font-size: clamp(1.7rem, 1.5rem + .6vw, 2.1rem); font-weight: 500; color: var(--navy); }
.duo__title .icon { width: 28px; height: 28px; color: var(--gold-text); }
.duo .checklist { margin-bottom: 0; }
@media (min-width: 768px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.faq-wrap { display: grid; gap: 2.5rem; }
.faq-wrap__head p:not(.eyebrow) { margin-top: 1.25rem; max-width: 28rem; color: var(--ink-soft); }
.faq { border-top: 1px solid var(--sand-deep); }
.faq__item { border-bottom: 1px solid var(--sand-deep); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); font-weight: 500; line-height: 1.25; color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-text); }
.faq__icon { width: 22px; height: 22px; color: var(--gold-text); transition: transform .35s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__answer { padding: 0 2.5rem 1.6rem 0; color: var(--ink-soft); }
@media (min-width: 1024px) {
  .faq-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5rem; align-items: start; }
  .faq-wrap__head { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* Investissement */
.axes { display: grid; gap: 1.25rem; }
.axis { padding: 2.25rem 1.75rem; background: var(--paper); border: 1px solid var(--sand-deep); }
.axis__title { margin-bottom: .6rem; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; line-height: 1.15; color: var(--navy); }
.axis p { font-size: .975rem; color: var(--ink-soft); }
@media (min-width: 900px) { .axes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.marrakech { display: grid; gap: 2rem; }
/* Deux visuels côte à côte sous le texte, même hauteur, sur toute la largeur */
.marrakech__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; }
.marrakech__img { aspect-ratio: 3 / 4; }
.marrakech__img picture, .marrakech__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.marrakech__body .h2 { margin-bottom: 1.5rem; }
.kinds { border-top: 1px solid var(--sand-deep); }
.kinds__item { display: grid; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid var(--sand-deep); }
.kinds dt { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: var(--navy); }
.kinds dd { color: var(--ink-soft); }
@media (min-width: 600px) { .kinds__item { grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1.5rem; align-items: baseline; } }
@media (min-width: 960px) {
  .marrakech { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; align-items: start; }
  .marrakech .kinds { margin-top: 4.6rem; } /* aligné sous le titre de la colonne de gauche */
  .marrakech__media { gap: 1.5rem; margin-top: 4rem; }
  .marrakech__img { aspect-ratio: 3 / 2; }
}

.caution {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: start;
  max-width: 62rem; margin-inline: auto; padding: 1.75rem clamp(1.25rem, 3vw, 2.25rem);
  background: var(--paper); border: 1px solid var(--sand-deep); border-left: 2px solid var(--gold);
}
.caution__icon { color: var(--gold-text); padding-top: .15rem; }
.caution__icon .icon { width: 26px; height: 26px; }
.caution p { font-size: .975rem; color: var(--ink-soft); }
.caution strong { color: var(--navy); }

/* Services : spécialités */
.teasers { display: grid; gap: 1.5rem; }
.teaser { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--sand-deep); color: inherit; text-decoration: none; transition: border-color .4s var(--ease); }
.teaser:hover { border-color: var(--gold); }
.teaser__media { aspect-ratio: 16 / 10; }
.teaser__media picture { width: 100%; height: 100%; }
.teaser__media img { transition: transform 1.2s var(--ease); }
.teaser:hover .teaser__media img { transform: scale(1.04); }
.teaser__body { flex: 1; display: flex; flex-direction: column; padding: 1.75rem 1.75rem 2rem; }
.teaser__title { margin-bottom: .6rem; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--navy); }
.teaser p { margin-bottom: 1.5rem; color: var(--ink-soft); }
.teaser .link-arrow { align-self: flex-start; margin-top: auto; }
@media (min-width: 768px) { .teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Blog vide */
.empty { max-width: 38rem; margin-inline: auto; padding: 3rem 1.5rem; text-align: center; border: 1px solid var(--sand-deep); background: var(--paper); }
.empty__title { margin-bottom: .75rem; font-family: var(--serif); font-size: 1.9rem; color: var(--navy); }
.empty p:not(.empty__title) { margin-bottom: 1.75rem; color: var(--ink-soft); }

/* Article */
.article__head { padding-block: clamp(2rem, 5vw, 3.75rem) clamp(2rem, 4vw, 3rem); }
.article__meta { display: flex; flex-wrap: wrap; gap: .35rem .75rem; margin-bottom: 1.25rem; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.article__title { font-size: clamp(2.3rem, 1.55rem + 3.1vw, 4.1rem); line-height: 1.06; color: var(--navy); }
.article__lead { margin-top: 1.5rem; font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); }
.article__figure { aspect-ratio: 16 / 9; max-height: 680px; width: 100%; }
.article__figure picture { width: 100%; height: 100%; }
/* Affiche en hauteur : toujours entière, jamais recadrée (article, « À la une », cartes) */
.frame.is-portrait { aspect-ratio: auto; max-height: none; }
.frame.is-portrait picture, .frame.is-portrait img { height: auto; }
.article__figure.is-portrait { max-width: 760px; margin-inline: auto; }
.post-feature__media.is-portrait { width: 100%; max-width: 520px; justify-self: center; }
.article__layout { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 5rem); }
.article__aside { order: 2; }
@media (min-width: 768px) and (max-width: 1199.98px) {
  .article__layout { max-width: calc(720px + 2 * var(--gutter)); }
}
.prose--article { font-size: 1.125rem; line-height: 1.8; }
.prose--article p { color: var(--ink); }
.prose--article h2 { margin-top: 2.2em; font-family: var(--serif); font-size: clamp(1.75rem, 1.5rem + .8vw, 2.25rem); font-weight: 500; line-height: 1.15; color: var(--navy); }
.prose--article h2 + p { margin-top: .8em; }
.prose--article > p:first-child::first-letter { float: left; margin: .1em .12em 0 0; font-family: var(--serif); font-size: 4.2em; font-weight: 500; line-height: .8; color: var(--gold-large); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; padding-top: 1.75rem; border-top: 1px solid var(--sand-deep); }
.share__title { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.share__list { display: flex; flex-wrap: wrap; gap: .6rem; }
.share__btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--field-line); border-radius: 50%;
  color: var(--navy); cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.share__btn:hover { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.share__btn .icon { width: 18px; height: 18px; }
.share__feedback { width: 100%; min-height: 1.2em; font-size: .82rem; font-weight: 600; color: var(--success); }

.article__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 2rem var(--section); border-top: 1px solid var(--sand-deep);
}
.article__author-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--navy); }
.article__author p:not(.article__author-name) { font-size: .9rem; color: var(--ink-soft); }

@media (min-width: 1200px) {
  .article__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr); gap: 3rem; }
  .article__aside { order: 0; grid-column: 1; justify-self: end; }
  .article__body { grid-column: 2; }
  .share--sticky { position: sticky; top: calc(var(--header-h) + 2rem); flex-direction: column; padding-top: 0; border-top: 0; }
  .share--sticky .share__list { flex-direction: column; }
  .share--sticky .share__feedback { width: 7rem; text-align: center; }
}

/* Contact */
.contact-page { padding-block: clamp(1.75rem, 4vw, 3rem) var(--section); }
.contact-grid { display: grid; gap: 3.5rem; }
.contact-title { margin-bottom: 1.25rem; font-size: clamp(2.6rem, 1.6rem + 3.8vw, 4.6rem); line-height: 1.04; color: var(--navy); }
.contact-main .lead { max-width: 40rem; color: var(--ink-soft); }
.contact-quick { margin: 2rem 0 2.75rem; }

.form-card { padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper); border: 1px solid var(--sand-deep); scroll-margin-top: calc(var(--header-h) + 20px); }
.form-card:focus { outline: none; }
.form-card__title { font-family: var(--serif); font-size: clamp(1.8rem, 1.6rem + .6vw, 2.2rem); font-weight: 500; line-height: 1.15; color: var(--navy); }
.form-card__hint { margin: .45rem 0 1.75rem; font-size: .875rem; color: var(--ink-soft); }

.form { display: grid; gap: 1.35rem; }
.form__row { display: grid; gap: 1.35rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .45rem; align-content: start; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.req { color: var(--error); font-weight: 700; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  background: var(--ivory); border: 1px solid var(--field-line); border-radius: 2px;
  font-size: 1rem; line-height: 1.4; color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.field input:not([type="checkbox"]):hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(180, 138, 78, .45);
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select__icon { position: absolute; right: 1rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--ink-soft); }
.field__hint { font-size: .84rem; color: var(--ink-soft); }
.field__error { display: none; font-size: .86rem; font-weight: 600; line-height: 1.45; color: var(--error); }
.field.has-error .field__error { display: block; }
.field.has-error input:not([type="checkbox"]), .field.has-error select, .field.has-error textarea { border-color: var(--error); background: #FFF8F6; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .85rem; align-items: start; }
.check input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--navy); cursor: pointer; }
.check label { font-size: .92rem; font-weight: 400; line-height: 1.55; color: var(--ink-soft); cursor: pointer; }
.check label a { color: var(--navy); text-decoration-color: var(--gold); }
.field--check.has-error .check input { outline: 2px solid var(--error); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .35rem; }
.form__privacy { display: flex; align-items: center; gap: .55rem; font-size: .84rem; color: var(--ink-soft); }
.form__privacy .icon { width: 16px; height: 16px; color: var(--gold-text); }
.form .btn[disabled] { opacity: .7; cursor: progress; }

.form-alert { margin-bottom: 1.5rem; padding: 1rem 1.25rem; background: #FBEFEC; border-left: 3px solid var(--error); color: var(--ink); }
.form-alert:focus { outline: 2px solid var(--error); outline-offset: 2px; }
.form-alert__title { font-weight: 700; color: var(--error); }
.form-alert ul { margin-top: .5rem; padding-left: 1.1rem; font-size: .92rem; }
.form-alert li + li { margin-top: .25rem; }
.form-alert a { color: var(--ink); }

.form-success { display: grid; gap: 1rem; justify-items: start; }
.form-success:focus { outline: none; }
.form-success__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold-light); }
.form-success__icon .icon { width: 26px; height: 26px; }
.form-success p { color: var(--ink-soft); }
.form-success p a { color: var(--navy); font-weight: 600; white-space: nowrap; }

.contact-photo picture { width: 100%; height: 100%; }
.contact-cards { margin-top: 1.5rem; }
.contact-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--sand-deep); }
.contact-card:first-child { border-top: 1px solid var(--sand-deep); }
.contact-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-text); }
.contact-card__icon .icon { width: 19px; height: 19px; }
.contact-card__label { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.contact-card a, .contact-card p:not(.contact-card__label) { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.3; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; }

@media (min-width: 600px) and (max-width: 1023.98px) {
  .contact-aside__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2rem; align-items: center; }
  .contact-cards { margin-top: 0; }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(3rem, 5vw, 5.5rem); align-items: start; }
  .contact-aside__inner { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .contact-photo { aspect-ratio: 1 / 1; }
  .contact-photo img { object-position: 50% 22%; }
  .contact-main { padding-top: .5rem; }
}

/* Pages légales */
.legal { display: grid; gap: 2.5rem; }
.legal__toc { display: none; }
.legal__body { max-width: 46rem; }
.legal__body h2 { margin-top: 2.5rem; font-family: var(--serif); font-size: clamp(1.7rem, 1.5rem + .6vw, 2rem); font-weight: 500; line-height: 1.2; color: var(--navy); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h2 + * { margin-top: .75rem; }
.legal__body p, .legal__body li { color: var(--ink-soft); }
.legal__updated { margin-top: 3rem !important; padding-top: 1.25rem; border-top: 1px solid var(--sand-deep); font-size: .86rem; }
@media (min-width: 1024px) {
  .legal { grid-template-columns: 250px minmax(0, 1fr); gap: 5rem; align-items: start; }
  .legal__toc { display: block; position: sticky; top: calc(var(--header-h) + 2rem); padding-left: 1.25rem; border-left: 1px solid var(--sand-deep); }
  .legal__toc-title { margin-bottom: .9rem; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
  .legal__toc ol { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; font-size: .92rem; line-height: 1.45; }
  .legal__toc a { color: var(--ink-soft); text-decoration: none; }
  .legal__toc a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); }
}

/* 404 */
.notfound { max-width: 54rem; }
.notfound__links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
@media (max-width: 599.98px) { .notfound__links li, .notfound__links .btn { width: 100%; } }

/* 9. Pied de page ------------------------------------------------------- */
.site-footer { padding-top: clamp(4rem, 8vw, 6.5rem); background: var(--navy); color: var(--on-navy-soft); font-size: .9375rem; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line-light); }
.brand--footer { color: var(--ivory); }
.brand--footer .brand__mark { width: 54px; height: 54px; }
.brand--footer .brand__name { font-size: 2.1rem; }
.footer-brand__subtitle { max-width: 30rem; margin-top: 1.1rem; }
.footer-cta__title { margin-bottom: 1.25rem; font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 500; line-height: 1.2; color: var(--ivory); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
.footer-col__title { margin-bottom: 1.2rem; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.5rem; }
.footer-contact { display: grid; gap: .8rem; }
.footer-contact li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: .75rem; align-items: start; overflow-wrap: anywhere; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: .22rem; color: var(--gold); }
.footer-col--legal p { font-size: .86rem; line-height: 1.65; }
.footer-col--legal p + p { margin-top: .65rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 2rem;
  padding-block: 1.75rem 2rem; border-top: 1px solid var(--line-light); font-size: .84rem;
}
.no-js .footer-bottom { padding-bottom: 6rem; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-credit { letter-spacing: .03em; }

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--legal { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4rem; }
}
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.05fr) minmax(0, 1.3fr); gap: 3.5rem; }
  .footer-col--legal { grid-column: auto; }
  .footer-links { grid-template-columns: 1fr; }
}

/* Bouton WhatsApp flottant */
.wa-float {
  position: fixed; z-index: 90;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 56px; height: 56px;
  background: var(--navy); color: var(--ivory);
  border: 1px solid var(--gold); border-radius: 50%;
  box-shadow: 0 12px 30px -12px rgba(15, 34, 54, .65);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background-color .3s var(--ease), color .3s var(--ease);
}
.wa-float:hover { background: var(--gold); color: var(--navy); }
.wa-float__icon { width: 26px; height: 26px; }
.js .wa-float { opacity: 0; visibility: hidden; transform: translateY(12px); }
.js .wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.menu-open .wa-float { opacity: 0 !important; visibility: hidden !important; }

/* 10. Animations ---------------------------------------------------------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes navIn { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }

/* Les effets ne s'appliquent que si JavaScript est actif et que le mouvement est autorisé (classe .anim). */
.anim .hero__poster, .anim .page-hero__media img { animation: heroZoom 2.6s var(--ease-out) both; }
.anim .hero__inner > *, .anim .page-hero__inner > * { animation: fadeUp 1.1s var(--ease-out) both; }
.anim .hero__inner > :nth-child(2), .anim .page-hero__inner > :nth-child(2) { animation-delay: .12s; }
.anim .hero__inner > :nth-child(3), .anim .page-hero__inner > :nth-child(3) { animation-delay: .24s; }
.anim .hero__inner > :nth-child(4), .anim .page-hero__inner > :nth-child(4) { animation-delay: .36s; }
.anim .hero__inner > :nth-child(5), .anim .page-hero__inner > :nth-child(5) { animation-delay: .48s; }

.anim .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.anim .reveal.is-in { opacity: 1; transform: none; }
.anim .listing.reveal { transition: opacity 1s var(--ease-out), transform .7s var(--ease-out), border-color .4s var(--ease), box-shadow .5s var(--ease); }
.anim .reveal-img { clip-path: inset(9% 6% 9% 6%); transition: clip-path 1.4s var(--ease-out); }
.anim .reveal-img img { transform: scale(1.12); transition: transform 1.8s var(--ease-out); }
.anim .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.anim .reveal-img.is-in img { transform: scale(1); }

@media (max-width: 1199.98px) {
  .anim .site-nav.is-open .nav-list__item,
  .anim .site-nav.is-open .btn--nav,
  .anim .site-nav.is-open .nav-extra { animation: navIn .6s var(--ease-out) both; }
  .anim .site-nav.is-open .nav-list__item:nth-child(2) { animation-delay: .04s; }
  .anim .site-nav.is-open .nav-list__item:nth-child(3) { animation-delay: .08s; }
  .anim .site-nav.is-open .nav-list__item:nth-child(4) { animation-delay: .12s; }
  .anim .site-nav.is-open .nav-list__item:nth-child(5) { animation-delay: .16s; }
  .anim .site-nav.is-open .nav-list__item:nth-child(6) { animation-delay: .2s; }
  .anim .site-nav.is-open .nav-list__item:nth-child(7) { animation-delay: .24s; }
  .anim .site-nav.is-open .btn--nav { animation-delay: .3s; }
  .anim .site-nav.is-open .nav-extra { animation-delay: .36s; }
}

/* 11. Préférences de mouvement ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__video { display: none; }
  .marquee__viewport { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; animation: none; }
  .marquee__list { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; row-gap: .25rem; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .hero__scroll-line::after { display: none; }
}
