/* ==========================================================================
   Villas Ambar — copie conforme du design du site live (villasambar.ma).
   Palette, typographies et mises en page relevées sur l'existant
   (kit Elementor post-6 + audit de styles calculés page par page).
   ========================================================================== */

:root {
  /* Palette (kit Elementor) */
  --terracotta: #995844;
  --slate: #74767e;
  --slate-card: #83858d;
  --anthracite: #3a3c42;
  --dark-band: #343844;
  --ink: #121214;
  --text: #19191b;
  --light: #f2f2f1;
  --sand: #c9b69e;
  --cream: #edeae5;
  --pm-sand: #f3ede6;
  --muted: #74767e;

  /* Typographies */
  --font-serif: "Cormorant", Georgia, serif;
  --font-sans: "Albert Sans", Arial, sans-serif;
  --font-body: "Lato", Arial, sans-serif;

  --container: 1140px;
}

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

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--anthracite);
}

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

.measure {
  max-width: 780px;
}
.container.measure {
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--terracotta);
  color: #fff;
  padding: 10px 18px;
  z-index: 300;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 0;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.btn--primary {
  background: var(--terracotta);
  color: var(--light);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.9px;
  padding: 13px 30px;
}
.btn--primary:hover {
  background: #7d4737;
  color: var(--light);
}
.btn--lg {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 14px 34px;
}
.btn--light {
  background: var(--light);
  color: #000;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 18px;
}
.btn--light:hover {
  background: #fff;
  color: #000;
}
.btn--outline {
  background: transparent;
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 22px;
}
.btn--outline:hover {
  background: var(--terracotta);
  color: var(--light);
}

/* ---------- Utilitaires ---------- */
/* Retour à la ligne actif uniquement en desktop */
.br-desktop {
  display: none;
}
@media (min-width: 1025px) {
  .br-desktop {
    display: inline;
  }
}

/* ---------- Eyebrow (supratitre) ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.96px;
  color: var(--terracotta);
  margin: 0 0 14px;
}
.eyebrow--light {
  color: var(--light);
}
.eyebrow--sand {
  color: var(--sand);
}
.eyebrow--small {
  font-size: 11px;
  letter-spacing: 1.32px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition:
    background 0.25s ease-out,
    padding 0.25s ease-out,
    box-shadow 0.25s ease-out;
}
.site-header.is-solid {
  padding: 12px 0;
  background: rgba(18, 18, 20, 0.8); /* --ink à 80% d'opacité */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.page--privacy .site-header,
.page--blog .site-header,
.page--blog-post .site-header,
.page--404 .site-header {
  background: var(--ink);
}
.page--privacy main,
.page--blog main,
.page--blog-post main,
.page--404 main {
  padding-top: 90px;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo {
  display: block;
  flex: 0 0 auto;
}
.site-header__logo img {
  width: 245px;
  height: auto;
}
.site-header .logo-dark {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__list a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--light);
  text-decoration: none;
  padding: 6px 0;
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] {
  border-bottom: 1px solid var(--light);
}
.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.96px;
  color: var(--light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.lang-switch svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}
.lang-switch:hover {
  color: var(--light);
  border-bottom-color: var(--light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--light);
}

/* ---------- Heroes ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  color: var(--light);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 20, 0.34);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 60px;
}
.hero__logo {
  width: min(620px, 74vw);
  margin: 0 auto 34px;
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.15;
  color: var(--light);
  margin: 0 0 26px;
}
.hero--tall .hero__title {
  font-size: clamp(40px, 5vw, 72px);
}
.hero__subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  color: var(--light);
  max-width: 640px;
  margin: -10px auto 0;
}
.hero__tagline {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 300;
  color: var(--sand);
  margin: -8px 0 0;
}
.hero--page {
  min-height: 80vh;
}
.hero--short {
  min-height: 62vh;
}
/* Heroes « Gestion locative » et « Conciergerie » : plein écran, fond sticky
   (desktop), voile dégradé léger noir 20% (haut) → transparent (bas).
   Le hero « Contact » (80vh via .hero--page) partage le fond sticky et le voile. */
.page--property-management .hero,
.page--experience-curators .hero {
  min-height: 100vh;
}
.page--property-management .hero::before,
.page--contact .hero::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}
/* Conciergerie : voile renforcé, l'image étant trop claire pour le texte blanc */
.page--experience-curators .hero::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.15));
}
@media (min-width: 1025px) {
  .page--property-management .hero,
  .page--experience-curators .hero,
  .page--contact .hero {
    background-attachment: fixed;
  }
}
.hero .btn {
  margin-top: 8px;
}

/* ---------- Sections ---------- */
.section {
  padding: 90px 0;
}
.section--tight {
  padding: 64px 0;
}
.section--light {
  background: var(--light);
}
.section--cream {
  background: var(--cream);
}
.section--sand {
  background: var(--sand);
}
.section--slate {
  background: var(--slate);
  color: var(--light);
}
.section--anthracite {
  background: var(--anthracite);
  color: var(--light);
}
.section--photo {
  background-image: var(--section-image);
  background-size: cover;
  background-position: center;
  position: relative;
}
.section--photo > .container {
  position: relative;
  z-index: 1;
}
.section--center {
  text-align: center;
}

.section__head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  color: var(--anthracite);
  margin: 0 0 18px;
}
.section--slate .section__title,
.section--anthracite .section__title {
  color: var(--light);
}
.section__intro {
  font-size: 17px;
  color: var(--anthracite);
  margin: 0 auto;
  max-width: 700px;
  white-space: pre-line;
}
.section--slate .section__intro {
  color: var(--light);
}

/* Bande de titre sombre (statement / two levels) */
.band {
  padding: 56px 0;
  text-align: center;
}
.band--anthracite {
  background: var(--anthracite);
}
.band--dark {
  background: var(--dark-band);
}
.band__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 400;
  color: #fff;
  margin: 0 0 10px;
}
.band__title--italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(26px, 2.5vw, 35px);
  line-height: 1.3;
  color: var(--light);
  margin: 0;
}
.band__intro {
  color: var(--light);
  font-size: 16px;
  margin: 0 auto;
  max-width: 640px;
}

/* Grilles */
.grid {
  display: grid;
  gap: 28px;
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(2, 1fr);
}

/* Media split (photo + texte) */
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.media-split__media img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   HOME
   ========================================================================== */

/* Trois piliers — fond photo sable, cartes claires */
.pillars .section__title {
  font-size: clamp(38px, 4.7vw, 67px);
  line-height: 1.05;
  color: var(--anthracite);
}
.pillars .section__title em {
  font-style: italic;
  color: var(--terracotta);
}
.pillars .section__intro {
  font-size: 17px;
  color: var(--anthracite);
  white-space: pre-line;
}

.pillars > .container {
  max-width: 1340px;
} /* cartes plus larges que le container standard */

.pillar-card {
  display: flex;
  position: relative;
  background: var(--light);
  box-shadow: 0 12px 30px rgba(18, 18, 20, 0.12);
}
/* Ombre renforcée au survol — animée via ::after pour ne pas entrer en
   conflit avec la transition du reveal (data-reveal) portée par la carte */
.pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: 0 26px 54px rgba(18, 18, 20, 0.24);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pillar-card:hover::after {
  opacity: 1;
}
.pillar-card__media {
  flex: 0 0 30%;
  overflow: hidden;
}
.pillar-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pillar-card__media img {
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.pillar-card:hover .pillar-card__media img {
  transform: scale(1.08);
}
.pillar-card__body h3 {
  transition: color 0.3s ease;
}
.pillar-card:hover .pillar-card__body h3 {
  color: var(--terracotta);
}
.pillar-card:hover .btn--outline {
  background: var(--terracotta);
  color: var(--light);
}
@media (prefers-reduced-motion: reduce) {
  .pillar-card__media img {
    transition: none;
  }
  .pillar-card:hover .pillar-card__media img {
    transform: none;
  }
}
.pillar-card__body {
  flex: 1;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pillar-card__n {
  display: block;
  margin-bottom: 10px;
}
.pillar-card__body h3 {
  font-size: clamp(26px, 2.4vw, 35px);
  color: var(--anthracite);
  margin-bottom: 12px;
}
.pillar-card__body p {
  font-size: 13px;
  color: var(--muted);
  text-align: left;
  flex: 1;
}
.pillar-card__body .btn {
  margin-top: auto;
}

/* What sets us apart — photo grisée + cartes claires */
.apart {
  position: relative;
  /* Image de fond sticky (effet parallaxe) — désactivé sur mobile/tablette,
     iOS ne supportant pas background-attachment: fixed avec cover */
}
@media (min-width: 1025px) {
  .apart {
    background-attachment: fixed;
  }
}
.apart::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
}
.apart .eyebrow {
  color: var(--sand);
  font-family: var(--font-body);
  font-weight: 400;
}
.apart .section__title {
  color: var(--light);
}
.apart-card {
  background: var(--light);
  padding: 30px 30px 24px;
}
.apart-card .card__n {
  display: block;
  margin-bottom: 12px;
}
.apart-card h3 {
  font-size: 28px;
  color: var(--anthracite);
  margin-bottom: 12px;
}
.apart-card p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* Témoignages */
.testimonials {
  background: var(--slate);
}
.testimonials .eyebrow {
  color: var(--light);
}
.testimonials .section__title {
  color: var(--light);
}
.testimonial {
  background: var(--slate-card);
  padding: 34px 34px 28px;
  margin: 0;
}
.testimonial__stars {
  color: var(--terracotta);
  font-size: 17px;
  letter-spacing: 0.9px;
  margin-bottom: 16px;
}
.testimonial > p {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--light);
  margin-bottom: 18px;
}
.testimonial cite {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.96px;
  color: var(--light);
}
/* Variante Who We Are : citation en Lato, attribution sable */
.testimonial--flat .testimonial__stars {
  color: #fbbc04; /* jaune doré (or type avis Google) */
  font-size: 18px;
}
.testimonial--flat > p {
  font-family: var(--font-body);
  font-size: 16px;
  font-style: normal;
}
.testimonial--flat cite {
  text-transform: none;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.52px;
  color: var(--sand);
}

/* CTA final (fond clair) */
.cta-final {
  background: var(--light);
  text-align: center;
}
.cta-final .section__title {
  font-size: clamp(32px, 3.4vw, 48px);
  color: var(--muted);
}
.cta-final p {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
  white-space: pre-line;
}

/* CTA band (fond ardoise, pages internes) */
.cta-band {
  background: var(--slate);
  text-align: center;
}
.cta-band .section__title {
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 300;
  color: var(--light);
}
.cta-band p {
  font-size: 17px;
  color: var(--light);
  max-width: 640px;
  margin: 0 auto 28px;
  white-space: pre-line;
}
.cta-band--sandtext p {
  color: var(--sand);
  font-size: 18px;
}

/* ==========================================================================
   WHO WE ARE
   ========================================================================== */
.privilege {
  text-align: center;
  padding: 84px 0 64px;
}
.privilege h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.privilege h2 + p {
  font-style: normal;
}
.privilege p {
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.7vw, 24px);
  color: var(--terracotta);
  margin: 0 auto;
  max-width: 760px;
}

.wwa-intro .media-split__body {
  text-align: center;
}
.wwa-intro .media-split__body p {
  font-size: 16px;
  color: var(--muted);
}

.mission-band {
  background: #4b4e56; /* anthracite (#3a3c42) légèrement éclairci */
  padding: 64px 0;
}
.mission-band .eyebrow {
  margin-bottom: 18px;
}
.mission-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(27px, 2.8vw, 39px);
  font-weight: 600;
  font-style: italic;
  color: #fff;
  margin: 0;
  max-width: 900px;
}
/* Desktop : la phrase de mission tient sur une seule ligne
   (c'était le max-width de 900px qui la faisait plier, la taille de police passe) */
@media (min-width: 1025px) {
  .mission-band h2 {
    max-width: none;
    white-space: nowrap;
  }
}

.team-card {
  text-align: center;
  padding: 0 12px;
}
.team-card img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 22px;
  background: var(--sand);
  /* Animation au survol portée par le portrait et non la carte :
     la carte a data-reveal, dont la transition monopolise son transform */
  transition:
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.45s ease;
}
.team-card:hover img {
  transform: scale(1.05) translateY(-4px);
  box-shadow:
    0 0 0 4px rgba(153, 88, 68, 0.4),
    0 14px 30px rgba(18, 18, 20, 0.18);
}
.team-card h3 {
  font-family: var(--font-body);
  font-size: 25px;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}
.team-card:hover h3 {
  color: var(--terracotta);
}
@media (prefers-reduced-motion: reduce) {
  .team-card img {
    transition: none;
  }
  .team-card:hover img {
    transform: none;
  }
}
.team-card__role {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.team-card > p:last-child {
  font-size: 16px;
  color: var(--muted);
  text-align: left;
  margin: 0;
}

.philosophy {
  text-align: center;
}
.philosophy .section__title {
  font-size: clamp(30px, 3vw, 40px);
  color: var(--light);
}
.philosophy p {
  color: var(--light);
  font-size: 16px;
  max-width: 760px;
  margin: 0 auto 1em;
  white-space: pre-line;
}
.philosophy .grid {
  margin-top: 48px;
  text-align: left;
}

/* ==========================================================================
   PROPERTY MANAGEMENT
   ========================================================================== */
.nonneg {
  background: var(--light);
}
.nonneg__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}
.nonneg__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nonneg__body {
  background: var(--pm-sand);
  padding: 44px 42px;
}
.nonneg__body > h2 {
  font-size: clamp(28px, 2.6vw, 36px);
  color: var(--muted);
  margin-bottom: 16px;
  white-space: pre-line;
}
.nonneg__body > p {
  font-size: 16px;
  color: var(--muted);
}
.cost-card {
  background: var(--light);
  padding: 28px 26px;
  margin: 26px 0;
}
.cost-card__heading {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.15px;
  color: var(--terracotta);
  border-bottom: 1px solid rgba(153, 88, 68, 0.35);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.cost-item {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.cost-item:last-child {
  margin-bottom: 0;
}
.cost-item__icon {
  flex: 0 0 auto;
  color: var(--terracotta);
  padding-top: 3px;
}
.cost-item h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 6px;
}
.cost-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
/* Encadré « Nous existons pour empêcher cela » — mis en avant sur fond terracotta */
.prevent-callout {
  margin-top: 34px;
  padding: 28px 32px;
  background: var(--terracotta);
  box-shadow: 0 14px 34px rgba(153, 88, 68, 0.28);
}
.prevent__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 600;
  color: var(--light);
  margin: 0 0 10px;
}
.prevent__body {
  font-size: 16px;
  color: rgba(242, 242, 241, 0.92);
  margin: 0;
  white-space: pre-line;
}

/* Packages */
.package-section {
  padding: 84px 0;
}
.package-section--sand {
  background: var(--sand);
}
.package__label {
  margin-bottom: 18px;
}
.package__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: start;
}
.package-photo {
  position: relative;
  overflow: hidden; /* contient le zoom de la photo au survol */
  padding: 44px 38px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s ease;
}
/* La photo vit sur ::after (z-index 0) pour pouvoir être zoomée
   indépendamment du voile (::before) et du contenu */
.package-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--package-image);
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.package-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}
.package-photo > * {
  position: relative;
  z-index: 2;
}
.package-photo:hover {
  box-shadow: 0 22px 48px rgba(18, 18, 20, 0.28);
}
.package-photo:hover::after {
  transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .package-photo::after {
    transition: none;
  }
  .package-photo:hover::after {
    transform: none;
  }
}
.package-photo h3 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--light);
  margin-bottom: 18px;
}
.package-photo__intro {
  font-size: 15px;
  color: #eee8e1;
  margin-bottom: 28px;
}
.package-price {
  background: var(--light);
  text-align: center;
  padding: 26px 22px;
  margin-top: auto;
}
.package-price__value {
  display: block;
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 1;
  color: var(--muted);
  margin-bottom: 8px;
}
.package-price__unit {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.96px;
  color: var(--muted);
  margin-bottom: 6px;
}
.package-price__extra {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--muted);
  margin-bottom: 8px;
}
.package-price__note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  white-space: pre-line;
}
.package-price--dark {
  background: var(--anthracite);
}
.package-price--dark .package-price__value,
.package-price--dark .package-price__unit,
.package-price--dark .package-price__extra,
.package-price--dark .package-price__note {
  color: var(--light);
}

.package-plus {
  background: rgba(242, 242, 241, 0.48);
  font-size: 14px;
  color: var(--ink);
  text-align: center;
  padding: 12px 16px;
  margin: 0 0 10px;
}
.services-acc details {
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(58, 60, 66, 0.12);
}
.services-acc summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--anthracite);
  padding: 14px 18px;
}
.services-acc summary::-webkit-details-marker {
  display: none;
}
.services-acc summary::before {
  content: "›";
  font-size: 18px;
  line-height: 1;
  color: var(--anthracite);
  transition: transform 0.2s ease;
}
.services-acc details[open] summary::before {
  transform: rotate(90deg);
}
.services-acc details > p {
  font-size: 15px;
  color: var(--muted);
  padding: 0 18px 16px 42px;
  margin: 0;
}

.ideal-line {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 35px);
  font-weight: 600;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  margin: 44px 0 0;
}
.ideal-line--terracotta {
  color: var(--terracotta);
}

/* FAQ */
.faq {
  max-width: 900px;
  margin: 0 auto;
}
.faq__item {
  border: 1px solid rgba(58, 60, 66, 0.18);
  background: #fff;
  margin-bottom: 10px;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--ink);
  padding: 16px 20px;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::before {
  content: "+";
  font-size: 18px;
  color: var(--anthracite);
}
.faq__item[open] summary {
  color: var(--terracotta);
}
.faq__item[open] summary::before {
  content: "—";
  color: var(--terracotta);
  font-size: 14px;
}
.faq__item p {
  font-size: 15px;
  color: var(--muted);
  padding: 0 20px 18px 54px;
  margin: 0;
}

/* ==========================================================================
   EXPERIENCE CURATORS
   ========================================================================== */
.ec-intro {
  position: relative;
  padding: 110px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.ec-intro > .container {
  width: 100%;
}
/* Fond sticky en desktop (iOS ne supporte pas fixed + cover) */
@media (min-width: 1025px) {
  .ec-intro {
    background-attachment: fixed;
  }
}
.ec-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 20, 0.45);
}
.ec-intro .section__title {
  color: var(--light);
  text-align: center;
  font-size: clamp(34px, 3.6vw, 51px);
  margin-bottom: 48px;
}
.ec-intro__card {
  background: rgba(18, 18, 20, 0.65);
  color: var(--light);
  max-width: 620px;
  padding: 34px 36px;
}
.ec-intro__card p {
  font-size: 16px;
  margin-bottom: 1em;
}
.ec-intro__card p:last-child {
  margin-bottom: 0;
}

.script-band {
  background: var(--sand);
  text-align: center;
  padding: 74px 0 66px;
}
.script-band__line1 {
  font-family: "Allison", cursive;
  font-size: clamp(44px, 4.6vw, 67px);
  font-style: italic;
  line-height: 1.2;
  color: var(--terracotta);
  margin: 0;
}
.script-band__line2 {
  font-family: "Alex Brush", cursive;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.35;
  color: var(--terracotta);
  margin: 6px 0 0;
}

.service-card {
  background: var(--sand);
  position: relative;
}
/* Ombre au survol via ::after : la carte porte data-reveal, dont la
   transition (avec délais échelonnés) monopolise transform/box-shadow */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: 0 22px 44px rgba(18, 18, 20, 0.22);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover::after {
  opacity: 1;
}
.service-card__media {
  overflow: hidden; /* rogne le zoom de l'image */
}
.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.service-card:hover img {
  transform: scale(1.07);
}
.service-card:hover .service-card__body h3 {
  color: var(--terracotta);
}
@media (prefers-reduced-motion: reduce) {
  .service-card img {
    transition: none;
  }
  .service-card:hover img {
    transform: none;
  }
}
.service-card__body {
  padding: 20px 22px 24px;
}
.service-card__body .eyebrow {
  margin-bottom: 8px;
}
.service-card__body h3 {
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}
.service-card__body p {
  font-size: 15px;
  color: var(--anthracite);
  margin: 0;
}

.journey-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
}
.journey-grid__media img {
  width: 100%;
  height: auto;
}
.journey {
  list-style: none;
  margin: 0;
  padding: 0;
}
.journey__step {
  position: relative;
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
}
.journey__step:last-child {
  margin-bottom: 0;
}
/* Ligne verticale reliant les cercles (timeline) */
.journey__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 16px; /* centre du cercle (34px / 2), moins la demi-largeur du trait */
  top: 38px; /* juste sous le cercle */
  bottom: -22px; /* jusqu'au cercle de l'étape suivante */
  width: 2px;
  background: rgba(201, 182, 158, 0.6); /* sable — lisible sur le fond slate */
}
.journey__num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 2px solid var(--terracotta);
  border-radius: 50%;
  background: var(--light);
  color: var(--terracotta);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Déroulé temporel : chaque étape (data-reveal) apparaît l'une après l'autre,
   et la ligne se « dessine » vers l'étape suivante entre deux apparitions.
   Étape n : apparition à n×0.4s ; son trait : +0.25s. */
html.js .journey__step:nth-child(1).is-visible {
  transition-delay: 0s;
}
html.js .journey__step:nth-child(2).is-visible {
  transition-delay: 0.4s;
}
html.js .journey__step:nth-child(3).is-visible {
  transition-delay: 0.8s;
}
html.js .journey__step:nth-child(4).is-visible {
  transition-delay: 1.2s;
}
html.js .journey__step:nth-child(5).is-visible {
  transition-delay: 1.6s;
}
html.js .journey__step:not(:last-child)::before {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}
html.js .journey__step.is-visible:not(:last-child)::before {
  transform: scaleY(1);
}
html.js .journey__step:nth-child(1).is-visible::before {
  transition-delay: 0.25s;
}
html.js .journey__step:nth-child(2).is-visible::before {
  transition-delay: 0.65s;
}
html.js .journey__step:nth-child(3).is-visible::before {
  transition-delay: 1.05s;
}
html.js .journey__step:nth-child(4).is-visible::before {
  transition-delay: 1.45s;
}
@media (prefers-reduced-motion: reduce) {
  html.js .journey__step:not(:last-child)::before {
    transform: scaleY(1);
    transition: none;
  }
  html.js .journey__step.is-visible {
    transition-delay: 0s;
  }
}
.journey__step h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--light);
  margin: 5px 0 8px;
}
.journey__step p {
  font-size: 15px;
  font-weight: 300;
  color: var(--light);
  margin: 0;
}

.network {
  /* Photo du souk sur fond sable, comme la section « Our local network » du live */
  background-color: var(--sand);
  background-image: url("/assets/img/wp/souk-3.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 100px 0;
}
/* Fond sticky en desktop (iOS ne supporte pas fixed + cover) */
@media (min-width: 1025px) {
  .network {
    background-attachment: fixed;
  }
}
.network__card {
  background: rgba(255, 255, 255, 0.84);
  max-width: 560px;
  padding: 40px 42px;
}
.network__card h2 {
  font-size: clamp(30px, 3vw, 40px);
  color: var(--anthracite);
  margin-bottom: 16px;
}
.network__card p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 1em;
}
.network__card p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-section {
  background: var(--cream);
  padding: 84px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: start;
}
.contact-entry {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
  text-decoration: none;
}
.contact-entry__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-entry h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  color: var(--terracotta);
  margin: 0 0 6px;
}
.contact-entry:hover h3 {
  text-decoration: underline;
}
.contact-entry p {
  font-size: 15px;
  color: #5c5c61;
  margin: 0;
}

.assure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
  list-style: none;
  padding: 0;
}
.assure__box {
  border: 1px solid rgba(58, 60, 66, 0.28);
  text-align: center;
  padding: 26px 22px;
}
.assure__box strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.32px;
  color: var(--anthracite);
  margin-bottom: 12px;
}
.assure__box p {
  font-size: 15px;
  color: var(--anthracite);
  margin: 0;
}

.form-card {
  background: var(--light);
  box-shadow: 0 18px 44px rgba(18, 18, 20, 0.12);
  padding: 42px 40px;
}

/* Formulaire */
.contact-form {
  display: block;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.32px;
  color: #5c5c61;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--sand);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: -1px;
}
.field textarea {
  resize: vertical;
}
/* Icône dans le champ (tous sauf le message) */
.field__control {
  position: relative;
  display: block;
}
.field__control .field__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.field__control input {
  padding-left: 42px;
}
.field__control:focus-within .field__icon {
  color: var(--terracotta);
}
.field__error {
  display: block;
  color: #a4382a;
  font-size: 13px;
  margin-top: 6px;
}
.contact-form button[type="submit"] {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 30px;
  margin-top: 6px;
}
.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}
.form-success {
  background: #eaf3ea;
  border: 1px solid #2e6f40;
  color: #2e6f40;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.form-error {
  background: #f8ecea;
  border: 1px solid #a4382a;
  color: #a4382a;
  padding: 14px 18px;
  margin-bottom: 20px;
}

/* Citation Karim */
.contact-quote {
  background: var(--anthracite);
  padding: 84px 0;
}
.contact-quote__grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 60px;
  align-items: center;
}
.contact-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--light);
  margin: 0;
}
.contact-quote__author {
  text-align: center;
}
.contact-quote__author img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
}
.contact-quote__author cite {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.96px;
  color: var(--sand);
}

/* ==========================================================================
   PAGES ÉDITORIALES (privacy, blog)
   ========================================================================== */
.page-header {
  background: var(--ink);
  text-align: center;
  padding: 90px 0 74px;
}
.page-header h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(38px, 4vw, 54px);
  color: var(--sand);
  margin-bottom: 10px;
}
.page-header__meta {
  color: #9a9ba1;
  font-size: 15px;
  margin: 0 auto;
  max-width: 640px;
}

.legal h2 {
  font-family: var(--font-serif);
  font-size: 29px;
  color: var(--terracotta);
  margin: 40px 0 14px;
}
.legal p,
.legal li {
  font-size: 16px;
  color: var(--text);
}
.legal__intro {
  font-size: 16px;
}

/* Blog */
.post-grid {
  margin-top: 8px;
}
.post-card {
  background: #fff;
  box-shadow: 0 10px 26px rgba(18, 18, 20, 0.08);
  display: flex;
  flex-direction: column;
}
.post-card__media {
  display: block;
}
.post-card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.post-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card__date {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.96px;
  color: var(--terracotta);
  margin-bottom: 10px;
}
.post-card h2 {
  font-size: 26px;
  margin-bottom: 10px;
}
.post-card h2 a {
  color: var(--anthracite);
  text-decoration: none;
}
.post-card h2 a:hover {
  color: var(--terracotta);
}
.post-card__body > p {
  font-size: 15px;
  color: var(--muted);
  flex: 1;
}

.link-arrow {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--terracotta);
  text-decoration: none;
}
.link-arrow::after {
  content: " →";
}
.link-arrow:hover {
  text-decoration: underline;
}

.post-header {
  position: relative;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 150px 0 80px;
}
.post-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 20, 0.55);
}
.post-header .container {
  position: relative;
  z-index: 1;
}
.post-header__date {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.96px;
  color: var(--sand);
  margin-bottom: 12px;
}
.post-header h1 {
  color: var(--light);
  font-size: clamp(32px, 3.6vw, 48px);
  max-width: 900px;
  margin: 0 auto;
}

.post-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}
.post-body h2 {
  font-size: 32px;
  color: var(--anthracite);
  margin: 40px 0 14px;
}
.post-body h3 {
  font-size: 24px;
  color: var(--anthracite);
  margin: 30px 0 10px;
}
.post-body a {
  color: var(--terracotta);
}
.post-body blockquote {
  border-left: 3px solid var(--terracotta);
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--muted);
}
.post-footer {
  margin-top: 40px;
}

/* 404 */
.error-404 {
  padding: 140px 0;
}
.error-404 .section__intro {
  margin-bottom: 28px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--light);
  padding: 64px 0 46px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 4fr 3fr 3fr;
  gap: 48px;
  align-items: start;
}
.site-footer__brand img {
  width: 200px;
  margin-bottom: 18px;
}
.site-footer__brand p {
  font-size: 13px;
  color: rgba(242, 242, 241, 0.85);
  max-width: 320px;
  margin: 0;
}
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 8px;
}
.site-footer a {
  color: var(--light);
  font-size: 13px;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--terracotta);
}
.site-footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-footer__contact svg {
  flex: 0 0 auto;
  color: var(--light);
}

/* ---------- WhatsApp flottant ---------- */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.whatsapp-fab:hover {
  background: #1eb457;
}

/* ---------- Reveal au scroll (progressif, désactivable) ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
html.js [data-reveal-delay="2"].is-visible {
  transition-delay: 0.12s;
}
html.js [data-reveal-delay="3"].is-visible {
  transition-delay: 0.24s;
}
html.js [data-reveal-delay="4"].is-visible {
  transition-delay: 0.36s;
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(18, 18, 20, 0.97);
    padding: 18px 24px 26px;
    display: none;
  }
  .site-nav[data-open="true"] {
    display: flex;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  .site-nav__list li {
    width: 100%;
  }
  .site-nav__list a {
    display: block;
    padding: 12px 0;
    text-transform: none;
    font-size: 16px;
  }
  .site-nav__actions {
    margin-top: 16px;
    gap: 18px;
  }
  .site-header .site-header__inner {
    position: relative;
  }
  .site-header__logo img {
    width: 190px;
  }
  .page--privacy .site-nav,
  .page--blog .site-nav,
  .page--blog-post .site-nav,
  .page--404 .site-nav {
    background: var(--ink);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-split,
  .nonneg__grid,
  .package__grid,
  .journey-grid,
  .contact-grid,
  .contact-quote__grid {
    grid-template-columns: 1fr;
  }
  .media-split {
    gap: 32px;
  }
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 60px 0;
  }
  .hero {
    min-height: 86vh;
  }
  .hero--page {
    min-height: 64vh;
  }
  .hero--short {
    min-height: 54vh;
  }
  .page--property-management .hero,
  .page--experience-curators .hero {
    min-height: 86vh;
  }
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  .assure {
    grid-template-columns: 1fr;
  }
  .pillar-card {
    flex-direction: column;
  }
  .pillar-card__media img {
    aspect-ratio: 16 / 9;
  }
  .package-photo {
    min-height: 0;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-card {
    padding: 30px 22px;
  }
  .nonneg__body {
    padding: 28px 22px;
  }
  .ec-intro__card {
    padding: 26px 22px;
  }
  .network__card {
    padding: 28px 24px;
  }
  .contact-section {
    padding: 60px 0;
  }
}

/* Tableau des pages légales */
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 15px;
}
.legal th,
.legal td {
  border: 1px solid rgba(58, 60, 66, 0.22);
  padding: 10px 14px;
  text-align: left;
}
.legal th {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--terracotta);
  background: #fff;
}

/* Lien retour du blog : flèche gauche uniquement */
.post-footer .link-arrow::after {
  content: "";
}
