/* =========================================================
   LUXUMAR PROPERTIES — Luxury Spaces · Moroccan Soul
   ========================================================= */

:root {
  --teal-950: #071d25;
  --teal-900: #0b2934;   /* fond du logo */
  --teal-800: #10343f;
  --teal-700: #1a4552;
  --gold: #dbae84;       /* or du logo */
  --gold-soft: #ecd2b4;
  --bronze: #8a5d34;     /* or lisible sur fond clair */
  --terracotta: #b8674a;
  --cream: #f7f1e8;
  --sand: #efe3d2;
  --paper: #fcfaf6;
  --ink: #0b2934;
  --ink-soft: #435a61;
  --on-dark: #f7f1e8;
  --on-dark-soft: rgba(247, 241, 232, 0.74);
  --line-dark: rgba(219, 174, 132, 0.24);
  --line-light: rgba(11, 41, 52, 0.12);

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

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --shadow: 0 24px 60px -28px rgba(7, 29, 37, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon points='12,1 15.22,4.22 19.78,4.22 19.78,8.78 23,12 19.78,15.22 19.78,19.78 15.22,19.78 12,23 8.78,19.78 4.22,19.78 4.22,15.22 1,12 4.22,8.78 4.22,4.22 8.78,4.22'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--teal-900); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.75rem); }
h1 em, h2 em { font-style: italic; color: var(--gold); }
.section--light h2 em, .section--sand h2 em { color: var(--bronze); }
p { margin: 0 0 1em; }
h2 + p { margin-top: 18px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 18px;
}
.kicker::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: currentColor;
  -webkit-mask: var(--star-mask) center / contain no-repeat;
          mask: var(--star-mask) center / contain no-repeat;
}
.section--dark .kicker, .hero .kicker, .band .kicker { color: var(--gold); }

.lead { font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: var(--ink-soft); max-width: 60ch; }
.section--dark .lead, .hero .lead, .band .lead { color: var(--on-dark-soft); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 18px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--teal-900); box-shadow: 0 12px 30px -14px rgba(219, 174, 132, .8); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost { border-color: rgba(219, 174, 132, .55); color: var(--on-dark); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark { background: var(--teal-900); color: var(--on-dark); }
.btn--dark:hover { background: var(--teal-700); }
.btn--outline { border-color: var(--line-light); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--teal-900); }
.btn--block { width: 100%; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 18px 0;
  color: var(--on-dark);
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(11, 41, 52, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-dark);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; transition: height .35s var(--ease); }
.is-scrolled .brand img { height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: 0.08em; color: var(--on-dark); }
.brand-tag { font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  text-decoration: none; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--on-dark-soft); position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--on-dark); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 11px 20px; font-size: 0.78rem; }

.header-inner > .nav { margin-left: auto; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; flex: none;
  border: 1px solid var(--line-dark); border-radius: 999px; text-decoration: none;
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; color: var(--on-dark);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }
.lang-switch svg { width: 15px; height: 15px; color: var(--gold); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-dark); background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 1.5px; background: var(--on-dark);
  transform: translateX(-50%); transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; transform: none; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .lang-switch { margin-left: auto; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--teal-900); padding: 12px var(--gutter) 28px;
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 15px 0; font-size: 1rem; border-bottom: 1px solid var(--line-dark); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; padding: 15px 20px; font-size: .86rem; }
  .brand-tag { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--light { background: var(--paper); }
.section--sand { background: var(--cream); }
.section--dark { background: var(--teal-900); color: var(--on-dark); }
.section--dark .lead { color: var(--on-dark-soft); }
.pattern-dark { background-image: url("../assets/zellige-gold.svg"); background-size: 96px 96px; }
.pattern-light { background-image: url("../assets/zellige-bronze.svg"); background-size: 96px 96px; }

.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 0 auto; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 64px; background: currentColor; opacity: .5; }
.ornament svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--teal-900); color: var(--on-dark);
  padding: clamp(130px, 16vw, 180px) 0 clamp(70px, 9vw, 110px);
  overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../assets/zellige-gold.svg"); background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 40%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 80% at 85% 40%, #000 0%, transparent 70%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -160px;
  background: radial-gradient(circle, rgba(219, 174, 132, .18), transparent 62%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 44px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-dark); list-style: none; }
.hero-proof li { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--on-dark-soft); }
.hero-proof svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 420px); }
.arch {
  position: relative; border-radius: 999px 999px 22px 22px; overflow: hidden;
  aspect-ratio: 4 / 5.6; background: var(--teal-800);
  box-shadow: var(--shadow);
}
.arch-frame { position: relative; padding: 12px; border: 1px solid var(--line-dark); border-radius: 999px 999px 30px 30px; }
.arch svg { width: 100%; height: 100%; }
.hero-badge {
  position: absolute; left: -34px; bottom: 54px; z-index: 2;
  background: var(--paper); color: var(--ink); border-radius: 16px; padding: 16px 18px;
  box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 250px;
}
.hero-badge .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--teal-900); color: var(--gold); display: grid; place-items: center; flex: none; }
.hero-badge .dot svg { width: 18px; height: 18px; }
.hero-badge strong { display: block; font-size: .84rem; }
.hero-badge span { font-size: .74rem; color: var(--ink-soft); }
.hero-badge--top { left: auto; right: -26px; top: 70px; bottom: auto; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(100%, 340px); margin-top: 10px; }
  .hero-badge { left: -8px; }
  .hero-badge--top { right: -8px; }
}

/* ---------- Pour qui ---------- */
.audience { background: var(--teal-950); color: var(--on-dark); padding: 34px 0; border-top: 1px solid var(--line-dark); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.audience-item { display: flex; gap: 16px; align-items: flex-start; }
.audience-item svg { width: 26px; height: 26px; color: var(--gold); flex: none; margin-top: 2px; }
.audience-item strong { display: block; font-family: var(--serif); font-size: 1.28rem; font-weight: 500; line-height: 1.2; margin-bottom: 4px; }
.audience-item span { font-size: .84rem; color: var(--on-dark-soft); line-height: 1.5; }
@media (max-width: 820px) { .audience-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line-light); }
.step { padding: 34px 28px 10px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line-light); }
.step-num { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--bronze); opacity: .9; display: block; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 920px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 6px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line-light); }
}

/* ---------- Gestion connectée ---------- */
.tech-grid { display: grid; grid-template-columns: 1fr 0.86fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 30px; margin-top: 44px; }
.feature .icon {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-dark);
  display: grid; place-items: center; color: var(--gold); margin-bottom: 16px;
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.4rem; margin-bottom: 8px; }
.feature p { font-size: .9rem; color: var(--on-dark-soft); margin: 0; }
.note {
  margin-top: 40px; padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius);
  font-size: .84rem; color: var(--on-dark-soft); display: flex; gap: 14px; align-items: flex-start;
}
.note svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.note strong { color: var(--on-dark); }

.phone {
  width: min(100%, 340px); margin: 0 auto; border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #1d4b58, #0a2530); box-shadow: var(--shadow), inset 0 0 0 1px rgba(219,174,132,.25);
}
.phone-screen { border-radius: 32px; background: var(--paper); color: var(--ink); overflow: hidden; }
.phone-top { background: var(--teal-900); color: var(--on-dark); padding: 26px 20px 20px; }
.phone-top small { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.phone-top strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.phone-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 16px; }
.phone-stats div { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px; text-align: center; }
.phone-stats b { display: block; font-size: 1rem; color: var(--gold); }
.phone-stats span { font-size: .62rem; color: var(--on-dark-soft); }
.timeline { list-style: none; margin: 0; padding: 16px 18px 22px; }
.timeline li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-light); font-size: .8rem; }
.timeline li:last-child { border-bottom: 0; }
.timeline .t-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--cream); color: var(--bronze); }
.timeline .t-icon svg { width: 17px; height: 17px; }
.timeline b { display: block; font-weight: 600; font-size: .8rem; }
.timeline span { color: var(--ink-soft); font-size: .72rem; }
.timeline time { font-size: .7rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.timeline .ok { background: #e3efe9; color: #2f6b4f; }
.timeline .amt { font-size: .74rem; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.timeline .amt.neg { font-weight: 500; color: var(--ink-soft); }

@media (max-width: 920px) {
  .tech-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .feature-list { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Standard Luxumar ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--reverse { grid-template-columns: 1.1fr 0.9fr; }
.split--reverse > :first-child { order: 2; }
.check-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list svg { width: 18px; height: 18px; color: var(--bronze); flex: none; margin-top: 4px; }
.check-list strong { display: block; font-weight: 600; }
.check-list span { font-size: .9rem; color: var(--ink-soft); }
.section--dark .check-list svg { color: var(--gold); }
.section--dark .check-list span { color: var(--on-dark-soft); }

.standard-visual { position: relative; }
.standard-visual .arch { aspect-ratio: 4 / 5; }
.standard-card {
  position: absolute; right: -10px; bottom: 30px; background: var(--teal-900); color: var(--on-dark);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); width: 220px;
}
.standard-card b { font-family: var(--serif); font-size: 3rem; font-weight: 500; line-height: 1; color: var(--gold); display: block; }
.standard-card span { font-size: .82rem; color: var(--on-dark-soft); }
@media (max-width: 920px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .standard-visual { max-width: 420px; }
}

/* Photo slot: la photo s'affiche si le fichier existe, sinon le motif */
.photo-slot {
  background-color: var(--teal-800);
  background-image: var(--photo, none), url("../assets/zellige-gold.svg"), linear-gradient(160deg, #1a4552, #0b2934 70%);
  background-size: cover, 96px 96px, cover;
  background-position: center;
  display: flex; align-items: flex-end; justify-content: center;
}
.photo-slot .slot-label {
  margin: 0 0 22px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  background: rgba(11,41,52,.72); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark);
}
.photo-slot.has-photo .slot-label { display: none; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 28px 24px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--cream); color: var(--bronze); display: grid; place-items: center; margin-bottom: 20px; }
.section--sand .card .icon { background: var(--sand); }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.36rem; margin-bottom: 8px; }
.card p { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.card .price-tag { display: inline-block; margin-top: 14px; font-size: .74rem; font-weight: 600; letter-spacing: .06em; color: var(--bronze); }
@media (max-width: 1040px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  border: 1px solid var(--line-light); border-radius: 22px; padding: 36px 30px; background: var(--paper);
  display: flex; flex-direction: column; position: relative;
}
.plan--featured { background: var(--teal-900); color: var(--on-dark); border-color: var(--teal-900); box-shadow: var(--shadow); }
.plan-flag {
  position: absolute; top: -13px; left: 30px; background: var(--gold); color: var(--teal-900);
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.plan h3 { font-size: 1.9rem; margin-bottom: 6px; }
.plan-desc { font-size: .88rem; color: var(--ink-soft); min-height: 3em; }
.plan--featured .plan-desc { color: var(--on-dark-soft); }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; }
.plan-price b { font-family: var(--serif); font-size: 3.6rem; font-weight: 500; line-height: 1; }
.plan-price > span { font-size: .84rem; color: var(--ink-soft); }
.plan--featured .plan-price b { color: var(--gold); }
.plan--featured .plan-price > span { color: var(--on-dark-soft); }
.plan-sub { font-size: .76rem; color: var(--ink-soft); margin-bottom: 24px; }
.plan--featured .plan-sub { color: var(--on-dark-soft); }
.plan ul { list-style: none; padding: 22px 0 0; margin: 0 0 30px; border-top: 1px solid var(--line-light); display: grid; gap: 12px; flex: 1; }
.plan--featured ul { border-color: var(--line-dark); }
.plan li { display: flex; gap: 12px; font-size: .88rem; align-items: flex-start; }
.plan li svg { width: 16px; height: 16px; color: var(--bronze); flex: none; margin-top: 4px; }
.plan--featured li svg { color: var(--gold); }
.pricing-note { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: center; font-size: .84rem; color: var(--ink-soft); }
.pricing-note span { display: inline-flex; align-items: center; gap: 8px; }
.pricing-note svg { width: 16px; height: 16px; color: var(--bronze); }
@media (max-width: 980px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 28px; } }

/* ---------- Simulateur ---------- */
.sim { display: grid; grid-template-columns: 1fr 1fr; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.sim-form { padding: clamp(28px, 4vw, 48px); display: grid; gap: 26px; align-content: start; }
.sim-result { padding: clamp(28px, 4vw, 48px); background: var(--teal-900); color: var(--on-dark); display: flex; flex-direction: column; }
.field label, .field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.field output { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 600; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--cream); border-radius: 999px; padding: 5px; }
.segmented--2 { grid-template-columns: repeat(2, 1fr); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  margin: 0; justify-content: center; text-align: center; padding: 10px 8px; border-radius: 999px; cursor: pointer;
  font-size: .8rem; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--ink-soft);
  transition: background-color .25s, color .25s;
}
.segmented input:checked + label { background: var(--teal-900); color: var(--on-dark); }
.segmented input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--bronze) var(--fill, 50%), var(--sand) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--sand); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--bronze); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-900); border: 3px solid var(--gold); margin-top: -9px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--teal-900); border: 3px solid var(--gold); }
.range-scale { display: flex; justify-content: space-between; font-size: .72rem; color: var(--ink-soft); margin-top: 4px; }

.sim-result small { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.sim-big { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; margin: 12px 0 4px; font-weight: 500; font-variant-numeric: tabular-nums; }
.sim-big b { font-weight: 500; }
.sim-big span { font-size: .4em; color: var(--on-dark-soft); }
.sim-year { font-size: .9rem; color: var(--on-dark-soft); margin-bottom: 26px; }
.sim-lines { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line-dark); }
.sim-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: .88rem; color: var(--on-dark-soft); }
.sim-lines li b { color: var(--on-dark); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sim-lines li.total b { color: var(--gold); }
.sim-disclaimer { font-size: .74rem; color: var(--on-dark-soft); margin: 16px 0 0; }
.sim > * { min-width: 0; }
@media (max-width: 880px) { .sim { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .segmented label { font-size: .74rem; padding: 10px 4px; }
  .sim-lines li { font-size: .82rem; }
  .hero-badge { max-width: 210px; padding: 12px 14px; }
}

/* ---------- Bandeau programme Gueliz ---------- */
.band { background: var(--teal-950); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/zellige-gold.svg"); background-size: 96px 96px; opacity: .7; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--teal-950) 30%, rgba(7,29,37,.6)); }
.band-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.perks { display: grid; gap: 14px; }
.perk { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(11,41,52,.7); }
.perk b { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1; color: var(--gold); flex: none; width: 96px; white-space: nowrap; }
.perk strong { display: block; font-weight: 600; margin-bottom: 2px; }
.perk span { font-size: .86rem; color: var(--on-dark-soft); }
.band .hero-actions { margin-top: 34px; }
@media (max-width: 920px) { .band-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .perk { flex-direction: column; gap: 10px; } .perk b { width: auto; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 50px 24px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink-soft); padding-right: 40px; margin: -6px 0 24px; font-size: .95rem; }
.faq details .faq-intro { margin-bottom: 18px; }
.faq details[id] { scroll-margin-top: 100px; }
.faq-table-wrap { margin: 0 0 26px; border: 1px solid var(--line-light); border-radius: 12px; overflow: hidden; }
.faq-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.faq-table th, .faq-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line-light); }
.faq-table tbody tr:last-child td { border-bottom: 0; }
.faq-table th { background: var(--cream); color: var(--ink-soft); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.faq-table td { color: var(--ink-soft); }
.faq-table td:first-child { color: var(--ink); font-weight: 600; width: 44%; }
@media (max-width: 560px) {
  .faq details p { padding-right: 0; }
  .faq-table th, .faq-table td { padding: 10px; font-size: .82rem; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-ways { display: grid; gap: 14px; margin-top: 34px; }
.contact-way { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); text-decoration: none; transition: border-color .25s, background-color .25s; }
.contact-way:hover { border-color: var(--gold); background: rgba(219,174,132,.06); }
.contact-way .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--teal-900); display: grid; place-items: center; flex: none; }
.contact-way .icon svg { width: 20px; height: 20px; }
.contact-way small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.contact-way span { font-weight: 500; word-break: break-word; }
.recruit { margin-top: 26px; padding: 22px; border-radius: var(--radius); background: rgba(219,174,132,.1); border: 1px dashed rgba(219,174,132,.45); }
.recruit strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; display: block; margin-bottom: 6px; color: var(--gold); }
.recruit p { font-size: .88rem; color: var(--on-dark-soft); margin: 0; }

.form { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-light); border-radius: 12px; background: #fff;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s; /* 16 px : évite le zoom automatique de l'iPhone */
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(138,93,52,.15); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-hint { font-size: .76rem; color: var(--ink-soft); margin: 0; }
.form-error { font-size: .82rem; color: #9b2c2c; margin: 0; min-height: 1.2em; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Page Séjourner ---------- */
.stays { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.stay { background: var(--paper); border-radius: 26px; overflow: hidden; border: 1px solid var(--line-light); display: flex; flex-direction: column; }
.stay .photo-slot { aspect-ratio: 16 / 11; }
.stay-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.stay-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--bronze); }
.chip--live { background: #e3efe9; color: #2f6b4f; }
.chip--soon { background: var(--teal-900); color: var(--gold); }
.chip--fav { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--teal-900); }
.chip--fav svg { width: 12px; height: 12px; flex: none; }
.stay h3 { font-size: 2rem; margin-bottom: 10px; }
.stay p { color: var(--ink-soft); font-size: .92rem; }
.stay-amen { list-style: none; padding: 0; margin: 6px 0 26px; display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .84rem; }
.stay-amen li { display: inline-flex; align-items: center; gap: 8px; }
.stay-amen svg { width: 16px; height: 16px; color: var(--bronze); }
.stay-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .stays { grid-template-columns: 1fr; } }

.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden; }
.included div { background: var(--teal-900); padding: 30px 28px; }
.included svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 16px; }
.included strong { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin-bottom: 4px; }
.included span { font-size: .86rem; color: var(--on-dark-soft); }
@media (max-width: 860px) { .included { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .included { grid-template-columns: 1fr; } }

.midterm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.midterm div { border: 1px solid var(--line-light); border-radius: var(--radius); padding: 20px; background: var(--paper); }
.midterm b { font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--bronze); display: block; line-height: 1.1; }
.midterm span { font-size: .84rem; color: var(--ink-soft); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--teal-950); color: var(--on-dark-soft); padding: 70px 0 30px; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 130px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 30ch; }
.site-footer h4 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .78rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Téléphones ---------- */
/* Une colonne de grille ne doit jamais s'élargir au-delà de l'écran */
.hero-grid > *, .tech-grid > *, .split > *, .band-grid > *, .contact-grid > *, .midterm > * { min-width: 0; }
.btn--block { white-space: normal; text-align: center; }
@media (max-width: 560px) {
  .site-footer { padding-bottom: 96px; } /* la bulle WhatsApp ne cache rien */
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-block; padding: 7px 0; }
}
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; padding: 14px 20px; }
  .standard-card { right: 0; }
}
@media (max-width: 340px) {
  .midterm { grid-template-columns: 1fr; }
}
