/* ============================================================
 * JALIA SAKAN — Design System
 * Investissement immobilier de luxe au Maroc
 * ============================================================ */

/* --- Custom Properties ------------------------------------ */
:root {
  --gold:       #1B87B0;   /* azur vif — accent principal */
  --gold-deep:  #136A8E;   /* azur profond (hover) */
  --gold-light: #6FB9CE;   /* bleu clair — accent secondaire */
  --terra:      #2E8FB0;   /* azur médian */
  --terra-deep: #0C3346;   /* bleu profond */
  --dark:       #0C3346;   /* bleu profond (fonds sombres) */
  --dark-2:     #123C4A;
  --bg:         #F7FAFB;   /* blanc frais */
  --bg-warm:    #E9F2F5;   /* bleu très clair */
  --ink:        #10333F;   /* encre bleu nuit (texte) */
  --ink-soft:   #5B7480;   /* gris-bleu doux */
  --cream-on-dark: #EAF3F6;
  --line:       rgba(12, 51, 70, .14);
  --line-soft:  rgba(12, 51, 70, .08);
  --radius-xl:  2rem;
  --radius-md:  1.25rem;
  --radius-sm:  .75rem;
  --ease-out:   cubic-bezier(.32, .72, 0, 1);
  --ease-spring:cubic-bezier(.34, 1.56, .64, 1);
  --font-display:'Clash Display', 'Arial Narrow', sans-serif;
  --font-body:   'General Sans', system-ui, sans-serif;
  --z-header:   40;
  --z-overlay:  50;
  --z-grain:    60;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--gold); color: var(--dark); }

/* --- Focus ------------------------------------------------ */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* --- Skip link -------------------------------------------- */
.skip {
  position: fixed; top: -100%; left: 1rem; z-index: 100;
  background: var(--gold); color: var(--dark); padding: .5rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
}
.skip:focus { top: 0; }

/* --- Grain overlay ---------------------------------------- */
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; }
.h1, .section-h2 { font-family: var(--font-display); }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section-h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  position: relative; white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-deep); box-shadow: 0 8px 24px rgba(27, 135, 176, .35); transform: translateY(-1px); }

.btn-dark { background: var(--dark); color: var(--cream-on-dark); }
.btn-dark:hover { background: var(--dark-2); box-shadow: 0 8px 24px rgba(12, 51, 70, .3); transform: translateY(-1px); }

.btn-ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }

.btn-light { background: rgba(255,255,255,.15); color: #fff; backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255,255,255,.25); }

.btn-lg { padding: .9rem 2.2rem; font-size: 1.0625rem; }
.btn-sm { padding: .55rem 1.2rem; font-size: .8125rem; }

.btn-orb {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: rgba(0,0,0,.08);
  font-size: .75rem;
  transition: transform .3s var(--ease-out);
}
.btn:hover .btn-orb { transform: translate(2px, -2px) scale(1.08); }
.btn-dark .btn-orb, .btn-primary .btn-orb { background: rgba(255,255,255,.18); }

/* --- Header ----------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  padding: .6rem 0;
  background: rgba(247, 250, 251, .92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out);
}

/* Header transparent au-dessus du hero plein écran (accueil), solide au scroll */
.has-hero .site-header {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.has-hero .site-header .brand,
.has-hero .site-header .nav a { color: #fff; transition: color .35s var(--ease-out); }
.has-hero .site-header .nav a:hover,
.has-hero .site-header .nav a[aria-current] { color: var(--gold); }
.has-hero .site-header .burger span { background: #fff; }

.has-hero .site-header.is-scrolled {
  background: rgba(247, 250, 251, .92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
}
.has-hero .site-header.is-scrolled .brand,
.has-hero .site-header.is-scrolled .nav a { color: var(--ink); }
.has-hero .site-header.is-scrolled .nav a:hover,
.has-hero .site-header.is-scrolled .nav a[aria-current] { color: var(--gold); }
.has-hero .site-header.is-scrolled .burger span { background: var(--ink); }

.header-inner {
  width: min(1280px, 92vw); margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
}

.brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 600;
  flex-shrink: 0;
}
.brand img { border-radius: 8px; }

.nav {
  display: flex; gap: .25rem; margin-left: auto;
}
.nav a {
  padding: .45rem 1rem; border-radius: 999px;
  font-size: .9375rem; font-weight: 500;
  position: relative;
  transition: color .2s;
}
.nav a:hover, .nav a[aria-current] { color: var(--gold); }
.nav a::after {
  content: ''; position: absolute; bottom: 2px; left: 1rem; right: 100%;
  height: 2px; border-radius: 2px; background: var(--gold);
  transition: right .3s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current]::after { right: 1rem; }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center;
  z-index: calc(var(--z-overlay) + 1); flex-shrink: 0;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

/* --- Overlay Menu ----------------------------------------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: rgba(12, 51, 70, .94);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }
.menu-overlay nav { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.menu-overlay nav a {
  font-family: var(--font-display); font-size: 2rem; font-weight: 600;
  color: var(--cream-on-dark);
  transition: color .3s, transform .4s var(--ease-out);
  transform: translateY(20px); opacity: 0;
  transition: color .3s, transform .4s var(--ease-out), opacity .4s;
}
.menu-overlay.is-open nav a {
  transform: translateY(0); opacity: 1;
}
.menu-overlay.is-open nav a:nth-child(1) { transition-delay: .1s; }
.menu-overlay.is-open nav a:nth-child(2) { transition-delay: .16s; }
.menu-overlay.is-open nav a:nth-child(3) { transition-delay: .22s; }
.menu-overlay.is-open nav a:nth-child(4) { transition-delay: .28s; }
.menu-overlay nav a:hover { color: var(--gold); }
.overlay-foot { margin-top: 2.5rem; text-align: center; color: var(--cream-on-dark); font-size: .9375rem; opacity: .7; }
.overlay-tel { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--gold); display: block; margin-bottom: .75rem; }

/* --- Hero (plein écran immersif) -------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: 5.5rem;
  overflow: hidden;
  background: var(--dark);
}
/* Scène animée (côte de Tanger, phare) */
.hero-scene { position: absolute; inset: 0; overflow: hidden; }
.hero-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(95% 75% at 78% 98%, rgba(60,168,205,.34), rgba(8,30,40,0) 60%),
    radial-gradient(70% 60% at 18% 6%, rgba(30,70,100,.28), rgba(8,30,40,0) 60%),
    linear-gradient(180deg, #06212C 0%, #0A2E3D 48%, #0D3A4B 100%);
}
.hero-skyline { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-dust { position: absolute; inset: 0; pointer-events: none; }
/* Plan du lotissement (page projet) */
.plan-figure {
  margin-top: 2.5rem;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 20px 48px rgba(12, 51, 70, .08);
}
.plan-figure img { width: 100%; height: auto; display: block; }
.plan-figure figcaption {
  padding: 1rem 1.5rem; font-size: .9375rem; color: var(--ink-soft);
  border-top: 1px solid var(--line-soft); text-align: center;
}
.js-beam { will-change: transform; }
.js-lamp { will-change: opacity, transform; transform-box: fill-box; transform-origin: center; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(5,22,30,.90) 0%, rgba(5,22,30,.36) 32%, rgba(5,22,30,0) 60%),
    linear-gradient(to right, rgba(5,22,30,.76) 0%, rgba(5,22,30,0) 58%);
}
.hero-content {
  position: relative; z-index: 2;
  width: min(1280px, 92vw); margin: 0 auto;
  padding: 0 0 clamp(3.5rem, 9vh, 7rem);
  text-align: left;
  color: var(--cream-on-dark);
}
.hero-tag {
  font-family: var(--font-display);
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 6rem);
  font-weight: 700; line-height: 1.02;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
  text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.hero-title .mask { display: block; overflow: hidden; }
.hero-title .mask:first-child { margin-bottom: .1rem; }
.hero-title .line { display: block; }

.hero-lead {
  font-size: 1.1875rem; line-height: 1.65;
  max-width: 40rem; margin: 0 0 2.25rem;
  color: rgba(243,236,223,.88);
}

.hero-cta {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-start;
}

.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .5rem 1.5rem;
  margin-top: 2.4rem;
  font-family: var(--font-display);
  font-size: .8125rem; font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(243,236,223,.72);
}
.hero-trust li { display: flex; align-items: center; }
.hero-trust li:not(:last-child)::after {
  content: ''; display: inline-block;
  width: 1px; height: .95em; margin-left: 1.5rem;
  background: rgba(27, 135, 176,.55);
}

/* Page hero (pages internes) */
.page-hero-media { max-height: 40svh; overflow: hidden; }
.page-hero-media img { width: 100%; max-height: 40svh; object-fit: cover; display: block; }
.page-hero-content {
  text-align: center; max-width: 720px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.1;
  color: var(--ink); margin-bottom: .5rem;
}
.page-hero-content p {
  font-size: 1.125rem; color: var(--ink-soft); max-width: 30rem; margin: 0 auto;
}
.hero-proof-inner strong { font-family: var(--font-display); font-weight: 600; color: var(--gold); }

/* --- Sections --------------------------------------------- */
.section { padding: 6rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .kicker { margin-bottom: .5rem; }
.section-head .section-h2 { margin-bottom: .75rem; }
.section-head .lead { margin: 0 auto; }

.wrap { width: min(1200px, 92vw); margin: 0 auto; }

/* --- Arguments Grid (Pourquoi le Maroc) -------------------- */
.arguments { padding: 5rem 0; background: var(--bg-warm); }
.arguments-grid {
  width: min(1200px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.arg-card {
  background: var(--bg); padding: 2rem; border-radius: var(--radius-xl);
  border: 1px solid var(--line-soft);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.arg-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(12, 51, 70,.08); }
.arg-icon { font-size: 2.25rem; margin-bottom: 1rem; display: block; }
.arg-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: .5rem; }
.arg-card p { font-size: .9375rem; color: var(--ink-soft); line-height: 1.6; }

/* --- Villas Cards ----------------------------------------- */
.villas { padding: 5rem 0; }
.villas-grid {
  width: min(1200px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.villa-card {
  border-radius: var(--radius-xl); overflow: hidden;
  background: #fff; border: 1px solid var(--line-soft);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.villa-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(12, 51, 70,.1); }
.villa-card figure { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.villa-card figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.villa-card:hover figure img { transform: scale(1.05); }
.villa-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold); color: var(--dark);
  font-family: var(--font-display); font-size: .8125rem; font-weight: 600;
  padding: .25rem .75rem; border-radius: 999px;
}
.villa-card-body { padding: 1.5rem; }
.villa-card-body h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .25rem; }
.villa-loc { font-size: .875rem; color: var(--ink-soft); margin-bottom: 1rem; }
.villa-specs {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  font-size: .8125rem; color: var(--ink-soft);
  padding-top: 1rem; border-top: 1px solid var(--line-soft);
  margin-bottom: 1rem;
}
.villa-specs span { display: flex; align-items: center; gap: .35rem; }
.villa-price {
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 700;
  color: var(--gold-deep);
}

/* --- Étapes ----------------------------------------------- */
.etapes { padding: 5rem 0; background: var(--dark); color: var(--cream-on-dark); }
.etapes .section-head .kicker { color: var(--gold-light); }
.etapes .section-head .section-h2 { color: var(--cream-on-dark); }
.etapes-grid {
  width: min(1100px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.etape-card { text-align: center; padding: 1rem; }
.etape-num {
  font-family: var(--font-display); font-size: 4rem; font-weight: 700;
  color: var(--gold); line-height: 1; margin-bottom: .75rem;
  opacity: .4;
}
.etape-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; }
.etape-card p { font-size: .9375rem; color: rgba(243, 236, 223, .7); line-height: 1.6; max-width: 18rem; margin: 0 auto; }

/* --- Témoignages ------------------------------------------ */
.temoignages { padding: 5rem 0; }
.reviews-head {
  text-align: center; margin-bottom: 3rem;
}
.reviews-score {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: .75rem; font-size: .9375rem; color: var(--ink-soft);
}
.g-stars { display: inline-flex; gap: 1px; }
.g-stars i { width: 18px; height: 18px; background: #F4B400; clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

.reviews {
  width: min(1100px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.review-card {
  background: #fff; padding: 1.75rem; border-radius: var(--radius-xl);
  border: 1px solid var(--line-soft);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.review-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(12, 51, 70,.06); }
.review-top {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem;
}
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: #fff; flex-shrink: 0;
}
.review-who strong { display: block; font-size: .9375rem; font-weight: 600; }
.review-who .g-stars { margin-top: 2px; }
.review-who .g-stars i { width: 12px; height: 12px; }
.review-text {
  font-size: .9375rem; color: var(--ink-soft); line-height: 1.7;
}

/* --- CTA Band --------------------------------------------- */
.cta-band {
  padding: 5rem 0; background: var(--bg-warm);
  text-align: center;
}
.cta-band-inner { width: min(640px, 92vw); margin: 0 auto; }
.cta-band .section-h2 { margin-bottom: .75rem; }
.cta-band .lead { margin: 0 auto 2rem; }
.cta-band .btn { font-size: 1.0625rem; padding: .9rem 2rem; }

/* --- Properties page -------------------------------------- */
.props-grid {
  width: min(1200px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.props-filters {
  width: min(1200px, 92vw); margin: 0 auto 2rem;
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
}
.filter-pill {
  padding: .45rem 1.25rem; border-radius: 999px;
  font-size: .875rem; font-weight: 500;
  border: 1.5px solid var(--line);
  transition: all .25s;
}
.filter-pill:hover, .filter-pill.is-active {
  border-color: var(--gold); color: var(--gold-deep); background: rgba(27, 135, 176,.08);
}

/* --- About page ------------------------------------------- */
.split {
  width: min(1200px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}
.split-media img { border-radius: var(--radius-xl); width: 100%; height: auto; }
.split-text .kicker { margin-bottom: .5rem; }
.split-text .section-h2 { margin-bottom: 1rem; }
.split-text .prose { font-size: 1.0625rem; color: var(--ink-soft); line-height: 1.75; }
.split-text .prose p + p { margin-top: 1rem; }

.big-quote {
  text-align: center; padding: 4rem 1.5rem;
  font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600; line-height: 1.3;
  color: var(--gold-deep); max-width: 40rem; margin: 0 auto;
}

.chiffres-grid {
  width: min(1100px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  padding: 0 0 5rem;
}
.chiffre-item { text-align: center; }
.chiffre-num {
  font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700; color: var(--gold); line-height: 1;
}
.chiffre-label { font-size: .9375rem; color: var(--ink-soft); margin-top: .5rem; }

/* --- Contact page ----------------------------------------- */
.contact-grid {
  width: min(1100px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem;
  padding: 5rem 0;
}
.contact-card {
  background: var(--dark); color: var(--cream-on-dark);
  padding: 2.5rem; border-radius: var(--radius-xl);
  display: flex; flex-direction: column; gap: 1.75rem;
  height: fit-content;
}
.contact-card h2 { font-size: 1.75rem; font-weight: 600; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info dt {
  font-family: var(--font-display); font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .15rem;
}
.contact-info dd { font-size: 1rem; line-height: 1.5; }
.contact-info dd a { color: var(--gold-light); }

/* --- Form ------------------------------------------------- */
.form-core { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field label { font-size: .8125rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  padding: .85rem 1.1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff;
  font: inherit; font-size: .9375rem;
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(27, 135, 176, .15);
  outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }

.form-ok {
  display: none; padding: 1rem;
  background: #E8F5E9; color: #2E7D32;
  border-radius: var(--radius-sm); font-size: .9375rem;
}
.form-err {
  display: none; padding: 1rem;
  background: #FFEBEE; color: #C62828;
  border-radius: var(--radius-sm); font-size: .9375rem;
}

.hp { position: absolute; left: -200vw; opacity: 0; }

/* --- Merci ------------------------------------------------ */
.merci { text-align: center; padding: 8rem 1.5rem 5rem; }
.merci-icon { font-size: 4rem; margin-bottom: 1rem; }
.merci h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .75rem; }
.merci p { font-size: 1.125rem; color: var(--ink-soft); max-width: 24rem; margin: 0 auto 2rem; }

/* --- Mentions légales ------------------------------------- */
.legal { width: min(800px, 92vw); margin: 0 auto; padding: 5rem 0; }
.legal h1 { font-size: 2rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .5rem; }
.legal p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 1rem; }

/* --- Footer ----------------------------------------------- */
.site-footer { background: var(--dark); color: var(--cream-on-dark); padding: 5rem 0 2rem; }
.footer-word-wrap { overflow: hidden; margin-bottom: 3rem; text-align: center; }
.footer-word {
  font-family: var(--font-display); font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 700; line-height: 1;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(27, 135, 176, .25);
  text-transform: uppercase;
}
.footer-grid {
  width: min(1100px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-brand { display: flex; gap: .75rem; align-items: flex-start; }
.footer-brand img { border-radius: 10px; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.125rem; }
.footer-brand p { font-size: .875rem; color: rgba(243,236,223,.6); margin-top: .25rem; }
.footer-col strong { font-family: var(--font-display); font-weight: 600; display: block; margin-bottom: .75rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a, .footer-col span { font-size: .9375rem; color: rgba(243,236,223,.65); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  width: min(1100px, 92vw); margin: 3rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8125rem; color: rgba(243,236,223,.4); text-align: center;
}

/* --- Reveal animations ------------------------------------ */
[data-reveal] {
  opacity: 0; transform: translateY(56px); filter: blur(6px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); filter: blur(0); }

[data-reveal-group] > * {
  opacity: 0; transform: translateY(48px); filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
}
[data-reveal-group].is-revealed > * { opacity: 1; transform: translateY(0); filter: blur(0); }
[data-reveal-group].is-revealed > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-group].is-revealed > *:nth-child(2) { transition-delay: .1s; }
[data-reveal-group].is-revealed > *:nth-child(3) { transition-delay: .2s; }
[data-reveal-group].is-revealed > *:nth-child(4) { transition-delay: .3s; }
[data-reveal-group].is-revealed > *:nth-child(5) { transition-delay: .4s; }
[data-reveal-group].is-revealed > *:nth-child(6) { transition-delay: .5s; }

/* --- Responsive: 1020px ----------------------------------- */
@media (max-width: 1020px) {
  .nav, .site-header .btn { display: none; }
  .burger { display: flex; }

  .arguments-grid { grid-template-columns: repeat(2, 1fr); }

  .villas-grid, .props-grid { grid-template-columns: repeat(2, 1fr); }

  .etapes-grid { grid-template-columns: 1fr; max-width: 400px; }

  .reviews { grid-template-columns: 1fr; max-width: 500px; }

  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse .split-media { order: -1; }

  .contact-grid { grid-template-columns: 1fr; }

  .chiffres-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 2; }
}

/* --- Responsive: 700px ------------------------------------ */
@media (max-width: 700px) {
  .arguments-grid, .villas-grid, .props-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: clamp(2.75rem, 13vw, 4rem); }

  .hero-proof-inner { flex-direction: column; gap: .5rem; align-items: center; text-align: center; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }

  .section { padding: 4rem 0; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  .etapes-grid { max-width: 100%; }
}

/* --- Reduced motion --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal-group] > * {
    opacity: 1; transform: none; filter: none;
  }
}
