/* ==========================================================================
   PRESTIGIA — charte graphique
   Palette (Brand Guidelines p.31-34) : Black #000000 · Taupe #BEB8AB
                                        Ivory #F3F0EA · White #FFFFFF
   Typographie : Moderna Grotesque (latin) — même fonte que prestigia-morocco.com
   Chiffres    : numéraux Prestigia personnalisés (assets/numerals/*.svg)
   Icônes      : Font Awesome 5 Pro Light + Brands — même set que le site
   ========================================================================== */

@font-face {
  font-family: "ModernaGrotesque";
  src: url("assets/fonts/ModernaGrotesque-ExtraLight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ModernaGrotesque";
  src: url("assets/fonts/ModernaGrotesque-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ModernaGrotesque";
  src: url("assets/fonts/ModernaGrotesque-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ModernaGrotesque";
  src: url("assets/fonts/ModernaGrotesque-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ModernaGrotesque";
  src: url("assets/fonts/ModernaGrotesque-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Numéraux personnalisés Prestigia, convertis en OpenType depuis les SVG du
   site (voir assets/numerals/). unicode-range limite la fonte aux chiffres :
   il suffit de la placer en tête de la pile pour que 0-9 passe en numéraux
   Prestigia et que tout le reste retombe sur Moderna Grotesque. */
@font-face {
  font-family: "PrestigiaNumerals";
  src: url("assets/fonts/PrestigiaNumerals.woff2") format("woff2"),
       url("assets/fonts/PrestigiaNumerals.otf") format("opentype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}

@font-face {
  font-family: "Font Awesome 5 Pro";
  src: url("assets/fonts/fa-light-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Font Awesome 5 Brands";
  src: url("assets/fonts/fa-brands-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

:root {
  /* couleurs de la charte */
  --black: #000000;
  --charcoal: #2d2c2a;
  --taupe: #beb8ab;
  --ivory: #f3f0ea;
  --paper: #ffffff;
  --wash: #f0efec;

  /* tints Black de la charte : titres 100%, texte 70%, filets 40% */
  --ink: #000000;
  --text: #4d4d4d;
  --muted: #707070;
  --outline: #999999;
  --line: #e3e3e3;

  /* alias conservés pour ne pas casser les feuilles projet */
  --gold: var(--taupe);
  --gold-dark: var(--charcoal);
  --green: var(--charcoal);

  --page-max: 1600px;
  --pad: clamp(22px, 5vw, 72px);
  font-family: "PrestigiaNumerals", "ModernaGrotesque", "Helvetica Neue", Arial, Helvetica, sans-serif;
}

/* --- icônes : mêmes glyphes que prestigia-morocco.com --------------------- */
.fal,
.fab {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.fal {
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
}

.fab {
  font-family: "Font Awesome 5 Brands";
  font-weight: 400;
}

.fa-phone::before { content: "\f095"; }
.fa-whatsapp::before { content: "\f232"; }
.fa-globe::before { content: "\f0ac"; }
.fa-arrow-right::before { content: "\f061"; }
.fa-arrow-up::before { content: "\f062"; }
.fa-angle-left::before { content: "\f104"; }
.fa-angle-right::before { content: "\f105"; }
.fa-instagram::before { content: "\f16d"; }
.fa-facebook-f::before { content: "\f39e"; }
.fa-youtube::before { content: "\f167"; }
.fa-linkedin-in::before { content: "\f0e1"; }
.fa-map-marker-alt::before { content: "\f3c5"; }
.fa-shield-check::before { content: "\f2f7"; }
.fa-mountains::before { content: "\f6fd"; }
.fa-dumbbell::before { content: "\f44b"; }
.fa-home-lg-alt::before { content: "\f80c"; }
.fa-tree::before { content: "\f1bb"; }
.fa-golf-ball::before { content: "\f450"; }
.fa-swimming-pool::before { content: "\f5c5"; }
.fa-car::before { content: "\f1b9"; }
.fa-store::before { content: "\f54e"; }
.fa-utensils::before { content: "\f2e7"; }
.fa-bed::before { content: "\f236"; }
.fa-expand-arrows::before { content: "\f31d"; }
.fa-clock::before { content: "\f017"; }
.fa-headphones::before { content: "\f025"; }
.fa-graduation-cap::before { content: "\f19d"; }
.fa-city::before { content: "\f64f"; }
.fa-building::before { content: "\f1ad"; }
.fa-tag::before { content: "\f02b"; }
.fa-eye::before { content: "\f06e"; }
.fa-vector-square::before { content: "\f5cb"; }
.fa-chart-line::before { content: "\f201"; }

/* géométrie des icônes : reprend exactement les tailles des anciens tracés */
.feature-panel i,
.metric-list i {
  font-size: 34px;
  color: var(--taupe);
  transition:
    color 200ms ease,
    transform 200ms ease;
}

.feature-panel article:hover i,
.metric-list li:hover i {
  color: var(--black);
  transform: scale(1.08);
}

.cta-icon i {
  font-size: 52px;
  color: var(--taupe);
}

.footer-contact i {
  font-size: 20px;
  color: var(--taupe);
  transition: transform 200ms ease;
}

.footer-contact a:hover i,
.footer-contact a:focus-visible i {
  transform: scale(1.12);
}

.socials i {
  font-size: 18px;
  color: currentColor;
}

.float-top i {
  font-size: 24px;
  color: var(--ink);
}

.argan-page .feature-panel i,
.villas-page .feature-panel i,
.ryad-page .feature-panel i { font-size: 54px; }
.commerce-page .feature-panel i { font-size: 54px; }
.ryad-cta .cta-icon i { font-size: 56px; }
.commerce-cta .cta-icon i { font-size: 58px; }
.villas-cta .cta-icon i,
.villas-location .cta-icon i { font-size: 54px; }


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f7f6f4 0, var(--wash) 620px, #fff 1250px),
    var(--wash);
  color: var(--text);
}

body.has-stuck-header main {
  padding-top: 82px;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.lp-header {
  width: 100%;
  min-height: 82px;
  position: relative;
  z-index: 60;
  padding: 14px max(28px, calc((100% - var(--page-max)) / 2 + 42px)) 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(227, 227, 227, 0.9);
  transition:
    min-height 220ms ease,
    padding 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.lp-header.is-stuck {
  position: fixed;
  inset: 0 0 auto;
  min-height: 68px;
  padding-top: 10px;
  padding-bottom: 9px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(14px);
  animation: header-drop 260ms ease both;
}

.brand-left,
.brand-center {
  display: inline-flex;
  align-items: center;
  color: #000000;
  line-height: 1;
}

.brand-left {
  gap: 14px;
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: 6px;
  font-weight: 400;
}

.brand-logo {
  display: block;
  object-fit: contain;
}

.prestigia-logo {
  width: clamp(150px, 14vw, 205px);
  height: 42px;
  object-position: left center;
}

.project-logo {
  width: clamp(170px, 17vw, 240px);
  height: 54px;
  object-position: center;
}

.rabat-logo,
.ryad-logo {
  width: clamp(170px, 18vw, 250px);
}

.lp-header.is-stuck .prestigia-logo {
  height: 36px;
}

.lp-header.is-stuck .project-logo {
  height: 46px;
}

.prestigia-mark {
  width: 33px;
  height: 27px;
  position: relative;
  flex: 0 0 auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.prestigia-mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 27px;
  background: #000000;
}

.prestigia-mark::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: linear-gradient(90deg, #fff 0 50%, #000000 50% 100%);
}

.brand-center {
  display: grid;
  justify-items: center;
  text-align: center;
}

.center-mark {
  width: 31px;
  height: 14px;
  margin-bottom: 8px;
  background: var(--gold);
  clip-path: polygon(0 0, 34% 0, 50% 30%, 66% 0, 100% 0, 100% 100%, 70% 100%, 50% 70%, 30% 100%, 0 100%);
}

.brand-center strong {
  font-size: clamp(18px, 1.65vw, 27px);
  letter-spacing: 5px;
  font-weight: 400;
  white-space: nowrap;
}

.brand-center small {
  margin-top: 7px;
  color: #707070;
  font-size: 9px;
  letter-spacing: 2px;
}

.header-cta,
.primary-btn,
.ghost-btn,
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.header-cta {
  justify-self: end;
  min-height: 46px;
  padding: 0 31px;
  background: var(--gold-dark);
  color: #fff;
  font-size: 12px;
}

.header-cta:hover,
.primary-btn:hover,
.hero-badge:hover {
  background: #000000;
  box-shadow: 0 13px 26px rgba(45, 44, 42, 0.22);
  transform: translateY(-2px);
}

.lp-hero {
  overflow: hidden;
  width: min(var(--page-max), calc(100% - 32px));
  min-height: clamp(720px, 82vh, 900px);
  position: relative;
  margin: 0 auto;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.lp-hero > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 38%, rgba(0, 0, 0, 0.1) 70%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.53) 0%, rgba(0, 0, 0, 0.08) 48%);
}

.hero-inner {
  width: 100%;
  padding: clamp(62px, 7vw, 114px) var(--pad) clamp(78px, 8vw, 120px);
  display: grid;
  grid-template-columns: minmax(390px, 0.92fr) minmax(320px, 390px);
  gap: clamp(42px, 8vw, 150px);
  align-items: center;
}

.hero-copy {
  max-width: 690px;
  animation: enter-up 760ms 120ms ease both;
}

.hero-kicker {
  /* Sur-titre du héros — spécification unique pour les cinq LP.
     La couleur est définie par page : blanche sur média sombre,
     charbon sur média clair. */
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-copy h1 {
  /* Titre de héros — spécification unique pour les cinq LP.
     Charte : Moderna Grotesque Light, tracking 0, jamais en gras.
     text-wrap: balance égalise les lignes et évite qu'un mot seul
     se retrouve sur sa propre ligne. */
  margin: 0;
  font-size: clamp(40px, 3.6vw, 52px);
  line-height: 1.12;
  font-weight: 300;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-line {
  width: 62px;
  height: 2px;
  margin: 30px 0 22px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-copy p:not(.hero-kicker) {
  max-width: 510px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
}

.hero-badge {
  min-height: 38px;
  padding: 0 22px;
  background: var(--gold-dark);
  color: #fff;
  font-size: 12px;
}

.lead-form {
  justify-self: end;
  width: min(100%, 370px);
  padding: 31px 28px 28px;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
  /* Le formulaire doit être identique dès le premier rendu, y compris dans
     les captures client : l'animation créait des opacités différentes selon
     le moment où chaque landing page était chargée. */
  animation: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.lead-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 58px rgba(0, 0, 0, 0.28);
}

.lead-form h2 {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}

.lead-form p {
  margin: 0 0 18px;
  color: #4d4d4d;
  font-size: 11px;
  line-height: 1.62;
  font-weight: 700;
}

.lead-form input,
.lead-form select {
  width: 100%;
  height: 44px;
  margin-bottom: 11px;
  padding: 0 13px;
  border: 1px solid #e3e3e3;
  border-radius: 3px;
  background: #fff;
  color: #707070;
  font: inherit;
  font-size: 12px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(190, 184, 171, 0.16);
}

.check-row {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 9px;
  margin: 4px 0 18px;
  color: #707070;
  font-size: 9.7px;
  line-height: 1.45;
}

.check-row input {
  width: 13px;
  height: 13px;
  margin: 1px 0 0;
}

.primary-btn {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: var(--gold-dark);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
}

.feature-panel {
  width: min(calc(var(--page-max) - 112px), calc(100% - 56px));
  margin: -58px auto 0;
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  background: #fff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
}

.feature-panel article {
  min-height: 132px;
  padding: 26px 22px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
  border-left: 1px solid var(--line);
  transition: transform 200ms ease, background-color 200ms ease;
}

.feature-panel article:first-child {
  border-left: 0;
}

.feature-panel article:hover {
  background: #f7f6f4;
  transform: translateY(-5px);
}

.feature-panel svg,
.metric-list svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms ease, stroke 200ms ease;
}

.feature-panel article:hover svg,
.metric-list li:hover svg {
  stroke: #000000;
  transform: scale(1.08);
}

.feature-panel strong {
  max-width: 210px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.22;
  text-transform: uppercase;
}

.feature-panel .featured {
  background: var(--green);
  color: #fff;
}

.feature-panel .featured strong {
  color: #fff;
}

.section {
  width: min(var(--page-max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(86px, 8vw, 132px) var(--pad);
  background: #fff;
}

.section + .section {
  padding-top: clamp(54px, 6vw, 90px);
}

.split {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(46px, 7vw, 108px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
}

.split.reverse .copy {
  order: 2;
}

.copy .eyebrow,
.section-eyebrow {
  margin: 0 0 16px;
  color: var(--gold-dark);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;
  text-transform: uppercase;
}

.copy h2,
.section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: 0;
}

.copy p,
.section-copy {
  max-width: 600px;
  margin: 24px 0 0;
  color: #2d2c2a;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.75;
}

.ghost-btn {
  min-height: 40px;
  margin-top: 32px;
  padding: 0 24px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  font-size: 12px;
}

.ghost-btn:hover {
  background: var(--gold-dark);
  color: #fff;
  box-shadow: 0 12px 24px rgba(45, 44, 42, 0.18);
  transform: translateY(-2px);
}

.image-frame {
  min-height: clamp(430px, 44vw, 660px);
  position: relative;
  overflow: hidden;
  background: #f0efec;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.12);
}

.image-frame img,
.tile img,
.wide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 560ms ease, filter 560ms ease;
}

.image-frame:hover img,
.tile:hover img,
.wide-image:hover img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.035);
}

.image-frame img {
  position: absolute;
  inset: 0;
}

.metrics-wrap {
  margin-top: 36px;
}

.metric-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.metric-list li {
  padding: 0 16px;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  border-left: 1px solid var(--line);
  transition: transform 200ms ease;
}

.metric-list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.metric-list li:hover {
  transform: translateY(-5px);
}

.metric-list strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.1;
  font-weight: 400;
}

.metric-list span {
  color: #4d4d4d;
  font-size: 10px;
  line-height: 1.25;
}

.tiles {
  width: min(var(--page-max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 100px) var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: #fff;
}

.tile {
  min-height: clamp(340px, 30vw, 480px);
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: #fff;
  text-align: center;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.tile:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.2);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.7));
}

.tile img {
  position: absolute;
  inset: 0;
}

.tile-content {
  position: relative;
  z-index: 2;
  min-height: 100%;
  padding: 84px 24px 28px;
  display: grid;
  align-content: end;
}

.tile-brand {
  position: absolute;
  top: 30px;
  left: 16px;
  right: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.tile-brand small {
  display: block;
  margin-top: 3px;
  font-size: 7px;
  letter-spacing: 1.5px;
}

.tile h3 {
  margin: 0 0 17px;
  font-size: clamp(21px, 1.8vw, 29px);
  line-height: 1.12;
  font-weight: 400;
  text-transform: uppercase;
}

.tile span {
  justify-self: center;
  min-height: 30px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.34);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.cards-heading {
  width: min(var(--page-max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(86px, 8vw, 122px) var(--pad) 28px;
  background: #fff;
}

.cards-heading .section-title {
  max-width: 880px;
}

.card-grid {
  width: min(var(--page-max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 var(--pad) clamp(84px, 8vw, 124px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  background: #fff;
}

.story-card {
  min-height: 410px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: #fff;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.story-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.2);
}

.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68));
}

.story-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 560ms ease;
}

.story-card:hover img {
  transform: scale(1.035);
}

.story-card div {
  position: relative;
  z-index: 2;
  padding: 26px;
}

.story-card h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.12;
  font-weight: 400;
}

.story-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.55;
}

.wide-image {
  width: min(var(--page-max), calc(100% - 32px));
  min-height: clamp(420px, 48vw, 700px);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.split .wide-image {
  width: 100%;
  margin: 0;
}

.wide-image img {
  position: absolute;
  inset: 0;
}

.plan-list {
  position: absolute;
  top: 42px;
  right: clamp(22px, 4vw, 62px);
  width: min(270px, 38vw);
  display: grid;
  gap: 10px;
}

.plan-list span {
  min-height: 50px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  color: #4d4d4d;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.cta-band {
  width: min(var(--page-max), calc(100% - 32px));
  margin: 0 auto 32px;
  padding: clamp(70px, 9vw, 110px) var(--pad);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  background: var(--green);
  color: #fff;
}

.cta-band h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.08;
  font-weight: 300;
}

.cta-band p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.6;
}

.cta-band .primary-btn {
  width: auto;
  min-width: 190px;
  padding: 0 28px;
  background: #fff;
  color: var(--green);
}

.site-footer {
  width: min(var(--page-max), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px var(--pad) 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #707070;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.location-block {
  width: min(1280px, calc(100% - 96px));
  margin: 38px auto 58px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  border-radius: 8px;
  background: linear-gradient(90deg, #f3f0ea, #e6e2d9);
}

.location-block h2 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-family: "PrestigiaNumerals", "ModernaGrotesque", "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.18;
  font-weight: 300;
}

.location-block p:not(.section-eyebrow) {
  max-width: 620px;
  margin: 12px 0 0;
  color: #2d2c2a;
  font-size: 15px;
  line-height: 1.7;
}

.location-facts {
  max-width: 620px;
  display: grid;
  gap: 6px;
  margin-top: 18px;
  color: #4d4d4d;
  font-size: 13px;
  line-height: 1.55;
}

.location-facts address,
.location-facts .location-hours {
  margin: 0 !important;
  color: inherit;
  font: inherit;
  font-style: normal;
  line-height: inherit;
}

.location-facts a {
  width: fit-content;
  color: var(--ink);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-facts a:hover,
.location-facts a:focus-visible {
  color: var(--charcoal);
}

.location-block > img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.footer-contact a + a {
  margin-top: 14px;
}

.footer-contact a[href^="https://wa.me"] {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  color: #2d2c2a;
  font-size: 15px;
  font-weight: 700;
}

.footer-contact a[href^="https://wa.me"] svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #beb8ab;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-brand {
  color: var(--ink);
  letter-spacing: 4px;
}

.float-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 25;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 13px 26px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.float-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-top svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.has-animations .reveal {
  opacity: 0;
  transform: translateY(46px);
  transition:
    opacity 760ms ease,
    transform 820ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.has-animations .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-animations .stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 640ms ease,
    transform 720ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.has-animations .stagger.is-visible > *,
.has-animations .is-visible .stagger > * {
  opacity: 1;
  transform: translateY(0);
}

.has-animations .stagger.is-visible > *:nth-child(2),
.has-animations .is-visible .stagger > *:nth-child(2) {
  transition-delay: 90ms;
}

.has-animations .stagger.is-visible > *:nth-child(3),
.has-animations .is-visible .stagger > *:nth-child(3) {
  transition-delay: 180ms;
}

.has-animations .stagger.is-visible > *:nth-child(4),
.has-animations .is-visible .stagger > *:nth-child(4) {
  transition-delay: 270ms;
}

.has-animations .stagger.is-visible > *:nth-child(5),
.has-animations .is-visible .stagger > *:nth-child(5) {
  transition-delay: 360ms;
}

@keyframes header-drop {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes enter-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .lp-header {
    grid-template-columns: 1fr auto;
    row-gap: 12px;
  }

  .brand-center {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .brand-left {
    grid-row: 2;
  }

  .header-cta {
    grid-row: 2;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .lead-form {
    justify-self: start;
  }

  .feature-panel,
  .metric-list,
  .tiles,
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .copy {
    order: 0;
  }
}

@media (max-width: 700px) {
  body.has-stuck-header main {
    padding-top: 122px;
  }

  .lp-header {
    padding: 12px 16px;
  }

  .brand-left {
    font-size: 17px;
    letter-spacing: 4px;
  }

  .prestigia-logo {
    width: 132px;
    height: 34px;
  }

  .project-logo {
    width: 142px;
    height: 42px;
  }

  .brand-center strong {
    font-size: 17px;
    letter-spacing: 3px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 18px;
    font-size: 11px;
  }

  .lp-hero,
  .section,
  .tiles,
  .card-grid,
  .cards-heading,
  .wide-image,
  .cta-band,
  .site-footer {
    width: 100%;
  }

  .lp-hero {
    min-height: auto;
  }

  .lp-hero > img {
    object-position: center;
  }

  .hero-inner {
    padding: 72px 20px 40px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(40px, 3.6vw, 52px);
  }

  .lead-form {
    width: 100%;
  }

  .feature-panel {
    width: calc(100% - 28px);
    margin-top: 14px;
    grid-template-columns: 1fr;
  }

  .feature-panel article {
    min-height: 108px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .feature-panel article:first-child {
    border-top: 0;
  }

  .section,
  .tiles,
  .card-grid,
  .cards-heading {
    padding-left: 20px;
    padding-right: 20px;
  }

  .metric-list,
  .tiles,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .metric-list li {
    min-height: 98px;
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .metric-list li:first-child {
    border-top: 0;
  }

  .image-frame,
  .tile,
  .story-card {
    min-height: 390px;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .location-block {
    width: calc(100% - 28px);
    padding: 26px;
    grid-template-columns: 1fr;
  }

  .float-top {
    width: 50px;
    height: 50px;
    right: 18px;
    bottom: 18px;
  }
}

/* ==========================================================================
   FLÈCHE DE MARQUE (Brand Guidelines — "Arrow graphic / Layout")
   « The arrow graphic serves as a structural anchor within our layouts,
     providing a clear point of entry for the viewer. »
   « The arrow must always be left-aligned with the top of the associated
     text block. »
   Elle remplace les filets horizontaux qui n'appartiennent pas à la charte.
   ========================================================================== */
.brand-arrow {
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 0 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

/* La flèche suit toujours la couleur du titre qu'elle ancre : noir sur fond
   clair, blanc sur média sombre. Jamais en couleur secondaire. */
.brand-arrow {
  color: var(--ink);
}

.villas-page .lp-hero .brand-arrow,
.banner-copy .brand-arrow,
.villas-banner .brand-arrow,
.cta-band .brand-arrow {
  color: var(--paper);
}

@media (max-width: 760px) {
  .brand-arrow {
    width: 22px;
    height: 22px;
    margin-bottom: 14px;
  }
}


/* ==========================================================================
   CARTE DE LOCALISATION
   Carte réelle (Leaflet + fond de plan clair), pas une capture d'écran.
   Coordonnées reprises des fiches projet de prestigia-morocco.com.
   Le repère est une plaque noire portant le logo blanc du projet — même
   traitement que les vignettes « Our communities » du pied de page du site.
   ========================================================================== */
.lp-map {
  width: 100%;
  height: 340px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--wash);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
  z-index: 0;
}

.lp-map .leaflet-container {
  height: 100%;
  background: var(--wash);
  font-family: inherit;
}

/* le fond de plan est ramené dans les tons de la charte */
.lp-map .leaflet-tile-pane {
  filter: grayscale(1) contrast(0.92) brightness(1.04);
}

.lp-map .leaflet-control-attribution {
  display: none;
}

.lp-map .leaflet-bar a {
  border-radius: 0;
  border-color: var(--line);
  color: var(--ink);
}

.lp-map .leaflet-bar a:hover {
  background: var(--ivory);
}

/* repère : plaque noire + logo blanc du projet */
.map-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 54px;
  padding: 0 14px;
  background: var(--black);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
}

.map-pin img {
  max-width: 100%;
  max-height: 30px;
  width: auto;
  height: auto;
}

.map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--black);
}

.map-pin-wrap {
  position: relative;
}

/* lien « ouvrir dans Google Maps » sous la carte */
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--taupe);
  padding-bottom: 3px;
  transition: color 180ms ease, border-color 180ms ease;
}

.map-link:hover {
  color: var(--black);
  border-color: var(--black);
}

@media (max-width: 760px) {
  .lp-map {
    height: 260px;
  }

  .map-pin {
    width: 138px;
    height: 46px;
  }

  .map-pin img {
    max-height: 24px;
  }
}

.map-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* dans les blocs à plusieurs colonnes (villas, appartements),
   la carte occupe toute la largeur de la grille */
.map-slot-full {
  grid-column: 1 / -1;
  margin-top: 28px;
}

/* ==========================================================================
   ICÔNES PRESTIGIA
   Pictogrammes officiels repris des fiches programme de prestigia-morocco.com
   (house, tree, golf, commerce, school, plage, terrain, fitness, padel).
   Les fichiers sources sont blancs : on les teinte par filtre, comme le fait
   le site (filter: brightness(0) / invert).
   ========================================================================== */
.p-icon {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  /* #BEB8AB */
  filter: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(410%)
    hue-rotate(347deg) brightness(93%) contrast(87%);
  transition:
    filter 200ms ease,
    transform 200ms ease;
}

.feature-panel article:hover .p-icon,
.metric-list li:hover .p-icon {
  filter: brightness(0);
  transform: scale(1.08);
}

.cta-icon .p-icon {
  width: 52px;
  height: 52px;
}

.argan-page .feature-panel .p-icon,
.villas-page .feature-panel .p-icon,
.ryad-page .feature-panel .p-icon { width: 54px; height: 54px; }
.commerce-page .feature-panel .p-icon { width: 54px; height: 54px; }
.ryad-cta .cta-icon .p-icon { width: 56px; height: 56px; }
.commerce-cta .cta-icon .p-icon { width: 58px; height: 58px; }
.villas-cta .cta-icon .p-icon,
.villas-location .cta-icon .p-icon { width: 54px; height: 54px; }

/* crédit cartographique : discret, dans la mention légale du pied de page.
   Il hérite de la couleur du pied de page (qui varie selon la LP) plutôt que
   d'imposer un gris, illisible sur le bandeau taupe. */
.map-credit {
  color: inherit;
  opacity: 0.74;
}

.map-credit a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}

.map-credit a:hover {
  border-color: currentColor;
}

/* Tous les titres : lignes équilibrées, jamais un mot seul sur sa ligne.
   (Angy — « pas de mot isolé en bout de titre ».) */
h1,
h2,
.section-title,
.feature-panel strong,
.metric-list strong {
  text-wrap: balance;
}

/* <strong> et <b> héritent du gras par défaut du navigateur (700).
   La charte n'autorise pas le gras sur les titres : on remet à Regular
   partout où ces balises servent de titre de bloc. */
.feature-panel strong,
.metric-list strong,
.tiles strong,
.card-grid strong,
.footer-main h3,
.footer-contact h3 {
  font-weight: 400;
}

/* Debrief 10/09/2026 — « Conseillers à faire remonter à la ligne ».
   « nos conseillers » est soudé par une espace insécable dans le HTML ;
   text-wrap: pretty évite en plus qu'un mot reste seul en dernière ligne. */
.lead-form p {
  text-wrap: pretty;
}

/* Formulaire de lead : retour d'envoi et protection anti-robots invisible. */
.lead-honeypot {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0 !important;
  white-space: nowrap;
  pointer-events: none;
}

.lead-form-status {
  min-height: 0;
  margin: 0 0 14px !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
}

.lead-form-status[hidden] {
  display: none;
}

.lead-form-status.is-success {
  color: #27633c !important;
}

.lead-form-status.is-error {
  color: #a32929 !important;
}

.lead-form.show-validation input:not([type="checkbox"]):invalid,
.lead-form.show-validation select:invalid {
  border-color: #a32929;
}

.lead-form.show-validation input[type="checkbox"]:invalid {
  outline: 1px solid #a32929;
  outline-offset: 2px;
}

.lead-form .primary-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

/* Le footer présente désormais deux paragraphes distincts. Leur séparation
   conserve la structure demandée sans modifier les grilles propres à chaque
   landing page. */
.footer-main .footer-about > p + p {
  margin-top: 14px;
}

/* ==========================================================================
   Debrief 10/09/2026 — « Homogénéiser le tableau » (slides 5 et 6)
   et « Centrer et aligner le texte du bloc emplacement par rapport aux
   autres » (slide 3) / « Textes des Blocs à aligner » (slide 7).

   Avant : align-content: center centrait le couple icône + texte dans la
   hauteur du bloc. Un bloc de trois lignes descendait donc son icône et
   remontait son texte par rapport aux blocs de deux lignes — les libellés ne
   s'alignaient jamais d'une colonne à l'autre.

   Après : deux rangées fixes — l'icône en haut, le texte à partir d'une
   ligne commune. Les pictogrammes et les libellés s'alignent quelle que soit
   la longueur du texte.
   ========================================================================== */
.feature-panel article {
  grid-template-rows: auto 1fr;
  align-content: start;
  justify-items: center;
  align-items: start;
  text-align: center;
}

/* hauteur commune aux cinq LP */
.argan-page .feature-panel,
.argan-page .feature-panel article,
.villas-page .feature-panel,
.villas-page .feature-panel article,
.ryad-page .feature-panel,
.ryad-page .feature-panel article {
  min-height: 190px;
}

.argan-page .feature-panel article,
.villas-page .feature-panel article,
.ryad-page .feature-panel article {
  padding: 30px 24px;
  gap: 18px;
}

/* les pictogrammes prennent la même place dans toutes les colonnes */
.feature-panel .p-icon,
.feature-panel i {
  align-self: start;
}

/* ==========================================================================
   Numéraux Prestigia — réglages de cohabitation
   ========================================================================== */

/* Les numéraux n'existent qu'en une seule graisse. En Semi-bold 12 px, ils
   paraissaient plus fins que les capitales voisines — c'est ce que le client
   signalait par « le prix est illisible ». Les badges de prix passent en
   Regular légèrement plus grand : les chiffres et le libellé ont alors la
   même densité. */
.hero-badge,
.ghost-btn,
.banner-copy a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.2px;
}

/* Champs de saisie : l'utilisateur y tape son numéro de téléphone,
   on garde des chiffres neutres pour la lisibilité. */
input,
select,
textarea {
  font-family: "ModernaGrotesque", "Helvetica Neue", Arial, Helvetica, sans-serif;
}
