/* ==========================================================
   Lunea Visual — Maquette V2
   Palette : crème lumineux + noir profond + accent or chaud
   Typo : Fraunces (serif éditorial) + Inter (sans-serif lisible)
   Esprit : premium, sobre, photo-first, feed Insta harmonisé
   ========================================================== */

:root {
  --bg:         #F8F4ED;
  --bg-soft:    #F2EBDE;
  --bg-dark:    #14110D;
  --ink:        #14110D;
  --ink-soft:   #56524A;
  --ink-mute:   #8F8A80;
  --line:       #E5DCC8;
  --line-dark:  rgba(255,255,255,.12);
  --accent:     #B8845C;    /* or chaud / terracotta doux */
  --accent-dk:  #8E5F3D;
  --accent-tx:  #5C3D24;
  --white:      #FFFFFF;
  --radius:     8px;
  --radius-lg:  14px;
  --max:        1200px;
  --pad:        clamp(1.25rem, 4vw, 3rem);
  --serif:      'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm:  0 1px 3px rgba(20, 17, 13, .04), 0 1px 2px rgba(20, 17, 13, .06);
  --shadow-md:  0 4px 16px rgba(20, 17, 13, .06), 0 2px 6px rgba(20, 17, 13, .04);
  --shadow-lg:  0 20px 60px rgba(20, 17, 13, .12), 0 8px 24px rgba(20, 17, 13, .08);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
a { color: var(--accent-tx); text-decoration: none; transition: all .2s ease; }
a:hover { color: var(--accent-dk); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .65em 0;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 400; margin-bottom: .8em; }
h3 { font-size: 1.22rem; font-weight: 500; }
h4 { font-size: 1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .005em; }

p { margin: 0 0 1em 0; color: var(--ink-soft); }
.lead { font-size: 1.12rem; max-width: 62ch; color: var(--ink-soft); }
.lead-light { color: rgba(255,255,255,.78); }

.accent-italic       { font-style: italic; color: var(--accent-tx); font-weight: 400; }
.accent-italic-light { font-style: italic; color: var(--accent); font-weight: 400; }
.title-light         { color: var(--white); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: 1.2rem;
}
.eyebrow-light { color: var(--accent); }

.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ink-soft);
  background: rgba(184, 132, 92, .1);
  border: 1px solid rgba(184, 132, 92, .25);
  padding: .4rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* ==========================================================
   NAVIGATION
   ========================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(248, 244, 237, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .9rem var(--pad);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand-img-footer { height: 56px; }
@media (max-width: 500px) {
  .brand-img { height: 36px; }
  .brand-img-footer { height: 48px; }
}
.brand-text { color: var(--ink); }
.brand-text em { font-style: italic; color: var(--accent-dk); font-weight: 400; }
.brand-light .brand-text { color: var(--white); }
.brand-light .brand-text em { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 1.8rem;
  margin-left: auto;
}
.nav-links a {
  color: var(--ink);
  font-size: .94rem;
  font-weight: 500;
  letter-spacing: .005em;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent-dk);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover { color: var(--accent-tx); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all .25s ease;
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .95rem 1.7rem;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .005em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-sm  { padding: .58rem 1.05rem; font-size: .86rem; }
.btn-lg  { padding: 1.05rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent-tx);
  color: var(--white);
  border-color: var(--accent-tx);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  padding: clamp(3rem, 6vw, 5.5rem) var(--pad) clamp(3.5rem, 7vw, 6rem);
  max-width: var(--max);
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-content { max-width: 36em; }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 br { display: block; }
.hero-sub {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 32em;
}
.hero-cta {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  font-size: .9rem;
  color: var(--ink-soft);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Hero visual — composition de cadres photo placeholders */
.hero-visual {
  position: relative;
  width: 100%;
  height: clamp(360px, 50vw, 520px);
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.hero-stage {
  position: absolute;
  inset: 0;
}
.hero-frame {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  object-fit: cover;
  background: #1a1714;
}
.frame-main {
  top: 4%; left: 12%;
  width: 76%; height: 64%;
  z-index: 1;
}
.frame-side {
  top: 36%; right: 0;
  width: 44%; height: 50%;
  z-index: 3;
  border: 4px solid var(--bg);
}
.frame-bottom {
  bottom: 0; left: 0;
  width: 52%; height: 34%;
  z-index: 2;
  border: 4px solid var(--bg);
}
.hero-badge {
  position: absolute;
  top: 8%; left: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .45rem .95rem;
  border-radius: 100px;
  z-index: 4;
  box-shadow: var(--shadow-md);
}
.hero-orb {
  position: absolute;
  bottom: -10%; right: -8%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(184,132,92,.4) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.frame-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: 100px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
}
.frame-label-after  { background: var(--accent); color: var(--white); }
.frame-label-before { background: rgba(255,255,255,.9); color: var(--ink); }

/* ==========================================================
   SECTIONS
   ========================================================== */
.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: rgba(255,255,255,.86); }
.section-dark .lead { color: rgba(255,255,255,.7); }
.section-dark p { color: rgba(255,255,255,.7); }

/* Grid features */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}
.feature {
  position: relative;
  padding: 2rem 1.8rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .3s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 132, 92, .35);
}
.feature-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
  color: var(--accent-dk);
  margin-bottom: 1rem;
  display: block;
}
.feature h3 { margin-bottom: .5rem; }
.feature p { margin: 0; font-size: .96rem; line-height: 1.6; color: var(--ink-soft); }

/* ==========================================================
   AVANT / APRES
   ========================================================== */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
  margin: 2rem 0 1.5rem;
}
.ba-item { display: flex; flex-direction: column; gap: 1rem; margin: 0; }
.ba-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 12px 36px rgba(0,0,0,.4);
  /* Sur tactile : scroll vertical de la page autorisé quand on touche l'image.
     Seul le handle bloque le scroll (voir .ba-handle). */
  touch-action: pan-y;
  -ms-touch-action: pan-y;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
/* Le handle est la seule zone qui bloque le scroll de la page au touch */
.ba-handle {
  touch-action: none;
  -ms-touch-action: none;
  overscroll-behavior: contain;
  pointer-events: auto;
  cursor: ew-resize;
}
.ba-handle::before {
  pointer-events: none;
}
.ba-handle::after {
  pointer-events: none;
}
.ba-before, .ba-after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #1a1714;
}
.ba-before { z-index: 1; }
.ba-after  { z-index: 2; clip-path: inset(0 0 0 50%); }
.ba-placeholder { background-size: cover; background-position: center; }

/* Tags Avant / Après */
.ba-tag {
  position: absolute;
  top: 14px;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: 100px;
  z-index: 4;
  backdrop-filter: blur(6px);
}
.ba-tag-before {
  left: 14px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
}
.ba-tag-after {
  right: 14px;
  background: rgba(184, 132, 92, .95);
  color: var(--white);
  z-index: 3;
}

/* Handle slider — zone tactile élargie, ligne visible centrée */
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  /* Hit area large (50px) pour faciliter le drag tactile, ligne visible au centre via gradient */
  width: 50px;
  margin-left: -25px;
  background-color: transparent;
  background-image: linear-gradient(
    to right,
    transparent 0,
    transparent 24px,
    rgba(255,255,255,.95) 24px,
    rgba(255,255,255,.95) 26px,
    transparent 26px,
    transparent 50px
  );
  z-index: 5;
  pointer-events: auto;
  touch-action: none;
  -ms-touch-action: none;
  cursor: ew-resize;
  -webkit-tap-highlight-color: transparent;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  pointer-events: none;
}
.ba-handle::after {
  content: "⇆";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent-tx);
  font-size: .95rem;
  font-weight: 700;
  z-index: 6;
  pointer-events: none;
}

.ba-item figcaption {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  color: rgba(255,255,255,.9);
}
.ba-item figcaption strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .005em;
}
.ba-item figcaption span {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
}

.ba-note {
  margin-top: 2.5rem;
  text-align: center;
  font-style: italic;
  font-size: .95rem;
  color: rgba(255,255,255,.5);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* "Voir plus / Voir moins d'exemples" — bouton et bloc extras */
.ba-more-wrap {
  margin-top: 2rem;
  text-align: center;
}
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn-ghost-light:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.ba-extras {
  margin-top: 2rem;
  animation: ba-extras-fade .35s ease both;
}
.ba-extras[hidden] {
  display: none;
}
@keyframes ba-extras-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Placeholders dégradés (à remplacer par vraies images) */
.ba-placeholder-cuisine-before { background: linear-gradient(150deg, #3a342c, #5e554a); }
.ba-placeholder-cuisine-after  { background: linear-gradient(150deg, #efe6d4, #cbb795); }
.ba-placeholder-chambre-before { background: linear-gradient(150deg, #2f2a24, #524a3f); }
.ba-placeholder-chambre-after  { background: linear-gradient(150deg, #e2d6bc, #bca888); }
.ba-placeholder-salon-before   { background: linear-gradient(150deg, #2a2620, #4c463c); }
.ba-placeholder-salon-after    { background: linear-gradient(150deg, #ecdfc6, #c3a98a); }
.ba-placeholder-sdb-before     { background: linear-gradient(150deg, #3f4145, #65686e); }
.ba-placeholder-sdb-after      { background: linear-gradient(150deg, #ebe8e0, #c8c5bd); }
.ba-placeholder-ext-before     { background: linear-gradient(150deg, #4a4136, #6b5d4d); }
.ba-placeholder-ext-after      { background: linear-gradient(150deg, #c8d2dd, #8a9eb3); }
.ba-placeholder-vue-before     { background: linear-gradient(150deg, #423b32, #2b2520); }
.ba-placeholder-vue-after      { background: linear-gradient(150deg, #b5c4d4, #748aa3); }

/* ==========================================================
   TWO COL — Conciergeries / Propriétaires
   ========================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.two-col.reverse > div:first-child { order: 2; }

.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
}
.benefit-card h4 {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-dk);
  margin-bottom: 1.2rem;
}
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bullet-list li {
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: .96rem;
  line-height: 1.5;
  position: relative;
  padding-left: 1.4rem;
}
.bullet-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: .9rem;
  color: var(--accent-dk);
  font-weight: 700;
}
.bullet-list li:last-child { border-bottom: none; }
.bullet-list li strong { color: var(--ink); font-weight: 600; }

/* ==========================================================
   STEPS — Test gratuit
   ========================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 0 0 2.5rem 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.8rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .25s ease;
}
.step:hover { border-color: rgba(184, 132, 92, .4); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  margin-bottom: 1rem;
}
.step h4 { margin-bottom: .3rem; }
.step p { font-size: .9rem; margin: 0; line-height: 1.5; }

.conditions {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
}
.conditions h4 {
  margin-bottom: .9rem;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-dk);
}
.conditions ul { margin: 0; padding-left: 1.3rem; }
.conditions li {
  color: var(--ink);
  margin-bottom: .4rem;
  font-size: .95rem;
  line-height: 1.5;
}

.reassurance {
  font-size: .95rem;
  color: var(--ink-soft);
  font-style: italic;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ==========================================================
   FORMULAIRE
   ========================================================== */
.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  box-shadow: var(--shadow-md);
}
.form-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: .4rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.lead-form label {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
}
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form input[type="url"],
.lead-form input[type="file"],
.lead-form select,
.lead-form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: .8rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  width: 100%;
  transition: all .2s ease;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184, 132, 92, .12);
}
.lead-form textarea { resize: vertical; min-height: 90px; }
.hint {
  font-size: .8rem;
  color: var(--ink-mute);
  font-weight: 400;
}
.lead-form em {
  font-style: italic;
  color: var(--ink-mute);
  font-weight: 400;
  font-size: .85rem;
}

.upload-explainer {
  background: var(--bg-soft);
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.upload-explainer h4 {
  margin-bottom: .5rem;
  font-size: .9rem;
  letter-spacing: .005em;
}
.upload-explainer p {
  margin: 0 0 .5rem 0;
  font-size: .92rem;
  color: var(--ink);
  line-height: 1.55;
}
.upload-explainer p:last-child { margin-bottom: 0; }
.upload-explainer strong { color: var(--accent-tx); font-weight: 600; }

.checkbox {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: .6rem !important;
  font-weight: 400 !important;
  font-size: .9rem !important;
  line-height: 1.5;
  cursor: pointer;
}
.checkbox input[type="checkbox"] {
  margin-top: .2rem;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

/* ==========================================================
   PARTENAIRES
   ========================================================== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 0 0 2rem 0;
}
.card {
  position: relative;
  padding: 2rem 1.6rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .3s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 132, 92, .35);
}
.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  background: var(--bg-soft);
  color: var(--accent-tx);
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}
.card h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-bottom: .5rem; }
.card p { font-size: .92rem; margin: 0; line-height: 1.55; }

.callout {
  margin: 2rem 0 1.5rem;
  padding: 1.6rem 1.8rem;
  background: var(--white);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: .98rem;
  color: var(--ink);
  font-style: italic;
  line-height: 1.6;
  box-shadow: var(--shadow-sm);
}
.cta-center { text-align: center; margin-top: 1.5rem; }

/* ==========================================================
   FOOTER
   ========================================================== */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.78);
  padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
}
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
}
.footer-tagline {
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  margin-top: 1rem;
  max-width: 32em;
  line-height: 1.6;
}
footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: .55rem; font-size: .94rem; }
.contact-list a { color: rgba(255,255,255,.85); }
.contact-list a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.65); }
.footer-bottom a:hover { color: var(--accent); }

/* ==========================================================
   MÉTHODE — 3 étapes + Ce que Lunea améliore
   ========================================================== */
.method-flow {
  list-style: none;
  counter-reset: method;
  padding: 0;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  position: relative;
}
.method-step {
  position: relative;
  padding: 2rem 1.8rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
}
.method-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 132, 92, .35);
}
.method-step-mid {
  border-color: rgba(184, 132, 92, .35);
  box-shadow: 0 4px 18px rgba(184, 132, 92, .12), var(--shadow-sm);
}
.method-step-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  color: var(--accent-dk);
  margin-bottom: .8rem;
  letter-spacing: -.01em;
}
.method-step h3 { margin-bottom: .55rem; font-size: 1.18rem; }
.method-step p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--ink-soft); }

.improve-block {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}
.improve-title {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: 1.6rem;
  text-align: center;
}
.improve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.improve-item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.5rem 1.4rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
}
.improve-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 132, 92, .35);
}
.improve-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-tx);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  margin-bottom: .3rem;
}
.improve-item strong {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .005em;
}
.improve-item span {
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ==========================================================
   IMPACT — bandeau "Du visuel moyen à l'image qui donne envie"
   ========================================================== */
.section-impact {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.impact-inner { max-width: 100%; }
.impact-inner > .eyebrow,
.impact-inner > h2,
.impact-inner > .lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.impact-inner > .lead { max-width: 62ch; }
.impact-list {
  list-style: none;
  padding: 0;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}
.impact-list li {
  position: relative;
  padding: 1.4rem 1.2rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-size: .95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.impact-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 132, 92, .35);
}
.impact-list li::before {
  content: "→";
  display: block;
  color: var(--accent-dk);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: .4rem;
}
.impact-list strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
  margin-bottom: .1rem;
}

/* ==========================================================
   INVEST CALLOUT — conciergeries ROI
   ========================================================== */
.invest-callout {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 1.4rem 1.7rem;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: .98rem;
  line-height: 1.65;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.invest-callout strong { color: var(--accent-tx); font-weight: 600; }

/* ==========================================================
   TARIFS — Formules flexibles
   ========================================================== */
.tarifs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.tarif-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.tarif-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tarif-card-pro { border-color: rgba(184, 132, 92, .35); }
.tarif-head { display: flex; flex-direction: column; gap: .6rem; }
.tarif-head h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
}
.tarif-head p {
  margin: 0;
  font-size: .94rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.tarif-tag {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dk);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: .35rem .8rem;
  border-radius: 100px;
}
.tarif-tag-pro {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.tarif-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tarif-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .96rem;
}
.tarif-list li:last-child { border-bottom: none; }
.tarif-line { color: var(--ink); font-weight: 500; }
.tarif-price {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--accent-tx);
  white-space: nowrap;
}
.tarif-card .btn-block { margin-top: auto; }
.tarifs-note {
  margin-top: 1.8rem;
  text-align: center;
  font-size: .9rem;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================
   PAGES LÉGALES
   ========================================================== */
.legal-page {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem);
  background: var(--bg);
}
.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}
.legal-page .lead { margin-bottom: 2rem; }
.legal-page .container { max-width: 820px; }

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: .92rem;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: .005em;
}
.back-link:hover { color: var(--accent-tx); }

.legal-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.legal-block:last-of-type { border-bottom: none; }
.legal-block h2 {
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--ink);
}
.legal-block p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.legal-block ul {
  margin: 0 0 1rem 0;
  padding-left: 1.4rem;
  color: var(--ink-soft);
}
.legal-block li { margin-bottom: .35rem; line-height: 1.6; }
.legal-block a { color: var(--accent-tx); font-weight: 500; }
.legal-block a:hover { text-decoration: underline; }
.legal-block code {
  background: var(--bg-soft);
  padding: .12rem .4rem;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em;
  color: var(--accent-tx);
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.legal-list li {
  padding: .55rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
}
.legal-list li:last-child { border-bottom: none; }
.legal-list strong {
  display: inline-block;
  min-width: 200px;
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 600px) {
  .legal-list strong { display: block; min-width: 0; margin-bottom: .15rem; }
}

/* ==========================================================
   RESPONSIVE — tablette landscape & desktop intermédiaire
   ========================================================== */
@media (max-width: 1024px) {
  :root { --pad: clamp(1.25rem, 4vw, 2.2rem); }
  .impact-list { grid-template-columns: repeat(3, 1fr); }
  .impact-list li:nth-child(4),
  .impact-list li:nth-child(5) { grid-column: span 1; }
  .nav-links { gap: 1.3rem; }
  .nav-links a { font-size: .9rem; }
}

/* ==========================================================
   RESPONSIVE — tablette portrait
   ========================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { height: clamp(280px, 60vw, 440px); max-width: 520px; margin: 0 auto; }
  .improve-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .impact-list { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse > div:first-child { order: 0; }
  .benefit-card { margin-top: .5rem; }
  .grid-3 { gap: 1.1rem; }
  .grid-4 { gap: 1.1rem; }
  .ba-grid { gap: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ==========================================================
   RESPONSIVE — mobile large (smartphones modernes / petites tablettes)
   ========================================================== */

/* ==========================================================
   RESPONSIVE — mobile large (smartphones modernes / petites tablettes)
   ========================================================== */
@media (max-width: 760px) {
  /* Nav burger */
  .nav-links, .nav-cta { display: none; }
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    padding: 1.5rem var(--pad) 2rem;
    border-bottom: 1px solid var(--line);
    gap: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 79;
  }
  body.nav-open .nav-cta { display: inline-flex; margin: 1rem var(--pad) 0; align-self: flex-start; }
  .nav-toggle { display: flex; margin-left: auto; }

  /* Formulaires : tout en colonne */
  .form-row { grid-template-columns: 1fr; gap: 1rem; }

  /* Footer : empilement */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-tagline { max-width: 100%; }

  /* Sections : padding vertical adapte */
  .section { padding: clamp(2.8rem, 8vw, 4.5rem) 0; }
  .hero { padding: clamp(2rem, 6vw, 3.5rem) var(--pad) clamp(2.5rem, 7vw, 4rem); }

  /* Hero compositions plus compactes */
  .hero-visual { height: clamp(260px, 65vw, 380px); }
  .frame-main { top: 6%; left: 8%; width: 78%; height: 60%; }
  .frame-side { top: 38%; right: -2%; width: 46%; height: 48%; }
  .frame-bottom { bottom: 2%; left: 0; width: 54%; height: 32%; }
  .hero-orb { width: 160px; height: 160px; bottom: -6%; right: -4%; }

  /* Hero-trust : eviter overflow */
  .hero-trust { gap: 1.1rem; row-gap: .6rem; font-size: .88rem; }

  /* Sliders avant/apres : pleine largeur fluide */
  .ba-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .ba-slider { aspect-ratio: 4 / 3; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
  .ba-handle::before { width: 36px; height: 36px; }

  /* Sections arguments / cartes */
  .grid-3 { grid-template-columns: 1fr; gap: 1rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .feature, .card { padding: 1.5rem 1.4rem 1.3rem; }
  .feature h3, .card h3 { font-size: 1.1rem; }

  /* Methode 3 etapes : stack vertical */
  .method-flow { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
  .method-step { padding: 1.5rem 1.4rem 1.3rem; }
  .improve-block { padding: 1.5rem 1.3rem; }
  .improve-grid { grid-template-columns: 1fr; gap: 1.1rem; }

  /* Impact bandeau */
  .impact-list { grid-template-columns: 1fr; gap: .7rem; }

  /* Tarifs */
  .tarifs-grid { grid-template-columns: 1fr; gap: 1.3rem; }
  .tarif-card { padding: 1.5rem 1.3rem; }
  .tarif-head h3 { font-size: 1.3rem; }

  /* Invest callout */
  .invest-callout { padding: 1.2rem 1.3rem; font-size: .94rem; }

  /* Steps */
  .steps { grid-template-columns: 1fr; gap: .9rem; }
  .step { padding: 1.4rem 1.3rem 1.2rem; }

  /* Benefit cards */
  .benefit-card { padding: 1.5rem 1.3rem; }
  .bullet-list li { font-size: .92rem; padding: .75rem 0 .75rem 1.3rem; }

  /* Form */
  .lead-form { padding: 1.4rem; gap: 1.1rem; }
  .form-title { font-size: 1.35rem; }
  .upload-explainer { padding: 1.1rem 1.2rem; }

  /* Callout */
  .callout { padding: 1.3rem 1.4rem; font-size: .94rem; }

  /* Conditions / reassurance */
  .conditions { padding: 1.4rem 1.3rem; }
  .reassurance { margin-bottom: 1.8rem; padding: 0 .5rem; }

  /* Section heads */
  .section-head { margin-bottom: 1.8rem; }

  /* Pages legales */
  .legal-page { padding: 2.5rem 0 3rem; }
  .legal-page h1 { margin-bottom: 1.5rem; }
  .legal-block { margin-bottom: 1.8rem; padding-bottom: 1.5rem; }
  .legal-block h2 { font-size: 1.2rem; }
}

/* ==========================================================
   RESPONSIVE — smartphone standard (iPhone / Android portrait)
   ========================================================== */
@media (max-width: 560px) {
  body { font-size: 16px; }
  :root { --pad: 1.2rem; }
  h1 { font-size: clamp(1.95rem, 7.5vw, 2.4rem); }
  h2 { font-size: clamp(1.55rem, 5.5vw, 1.85rem); margin-bottom: .7em; }
  h3 { font-size: 1.12rem; }

  /* Hero plus aere */
  .hero { padding: 2rem var(--pad) 2.5rem; }
  .hero-content { max-width: 100%; }
  .hero-sub { font-size: 1.04rem; margin-bottom: 1.6rem; max-width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: .7rem; margin-bottom: 1.6rem; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: .8rem; font-size: .85rem; flex-direction: column; align-items: flex-start; }
  .hero-visual { height: clamp(240px, 70vw, 340px); }
  .hero-badge { font-size: .65rem; padding: .35rem .75rem; }
  .kicker { font-size: .74rem; padding: .35rem .8rem; margin-bottom: 1.2rem; letter-spacing: .04em; }

  /* Grilles : 1 colonne partout */
  .grid-3, .grid-4 { grid-template-columns: 1fr; gap: .9rem; }
  .feature, .card { padding: 1.4rem 1.25rem 1.2rem; }

  /* Methode mobile */
  .method-step { padding: 1.4rem 1.25rem 1.2rem; }
  .method-step h3 { font-size: 1.1rem; }
  .improve-block { padding: 1.4rem 1.2rem; }
  .improve-item { padding-left: 2.2rem; }
  .improve-icon { width: 26px; height: 26px; font-size: .9rem; }

  /* Tarifs mobile */
  .tarif-card { padding: 1.4rem 1.2rem; }
  .tarif-head h3 { font-size: 1.2rem; }
  .tarif-list li { font-size: .92rem; padding: .65rem 0; }
  .tarif-price { font-size: 1rem; }

  /* Impact mobile */
  .impact-list li { font-size: .95rem; }

  /* Invest callout */
  .invest-callout { padding: 1.1rem 1.2rem; font-size: .92rem; }

  /* Sliders avant/apres plus compacts */
  .ba-slider { aspect-ratio: 4 / 3; }
  .ba-tag { font-size: .62rem; padding: .3rem .65rem; }
  .ba-item figcaption strong { font-size: 1.02rem; }
  .ba-item figcaption span { font-size: .85rem; }
  .ba-handle::before { width: 32px; height: 32px; }
  .ba-handle::after { font-size: .82rem; }

  /* Bouton Voir plus pleine largeur */
  .ba-more-wrap .btn { width: 100%; max-width: 320px; }

  /* Two-col stack */
  .two-col, .two-col.reverse { gap: 1.6rem; }

  /* Conciergeries / Particuliers : boutons CTA pleine largeur */
  #conciergeries .btn,
  #proprietaires .btn,
  #tarifs .btn { width: 100%; }

  /* Steps */
  .step-num { width: 30px; height: 30px; font-size: .9rem; margin-bottom: .8rem; }

  /* Form encore plus compact */
  .lead-form { padding: 1.2rem 1rem; gap: 1rem; border-radius: var(--radius); }
  .form-title { font-size: 1.25rem; }
  .lead-form input[type="text"],
  .lead-form input[type="email"],
  .lead-form input[type="tel"],
  .lead-form input[type="url"],
  .lead-form input[type="file"],
  .lead-form select,
  .lead-form textarea {
    font-size: 16px;
    padding: .7rem .85rem;
  }
  .lead-form button[type="submit"] { width: 100%; padding: 1rem 1.5rem; }
  .checkbox { font-size: .85rem !important; }

  /* Callout */
  .callout { padding: 1.1rem 1.2rem; margin: 1.5rem 0 1rem; font-size: .92rem; }

  /* Footer */
  .footer-inner { padding: 0 var(--pad); }
  .footer-grid { gap: 1.6rem; }
  footer { padding: 2.5rem 0 1.2rem; }
  .footer-bottom { margin-top: 2rem; padding-top: 1.2rem; font-size: .8rem; }
  .contact-list li { font-size: .92rem; }

  /* Section-head plus serre */
  .section-head { margin-bottom: 1.6rem; }
  .lead { font-size: 1.02rem; }

  /* Eyebrow plus compact */
  .eyebrow { font-size: .72rem; margin-bottom: .9rem; }

  /* Pages legales */
  .legal-block h2 { font-size: 1.12rem; }
  .legal-block p { font-size: .96rem; line-height: 1.65; }
  .legal-list strong { display: block; min-width: 0; margin-bottom: .2rem; font-size: .82rem; }
}

/* ==========================================================
   RESPONSIVE — tres petits ecrans (<= 380px, iPhone SE et anciens)
   ========================================================== */
@media (max-width: 380px) {
  :root { --pad: 1rem; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.45rem; }
  .brand-img { height: 32px; }
  .hero-badge { display: none; }
  .ba-item figcaption strong { font-size: .98rem; }
  .feature, .card, .step, .benefit-card, .conditions, .upload-explainer,
  .method-step, .tarif-card, .improve-block { padding: 1.2rem 1.1rem; }
  .lead-form { padding: 1.1rem .9rem; }
  .lead { font-size: .98rem; }
  .tarif-line { font-size: .9rem; }
  .tarif-price { font-size: .96rem; }
  .improve-item { padding: 1.2rem 1.1rem; }
  .impact-list li { padding: 1.1rem 1rem; }
}

/* ==========================================================
   MOBILE FIX (2026-05-22) — Header propre, carrousels horizontaux,
   compaction verticale, slider tactile sans scroll page
   Cible : <= 760 px et <= 430 px (iPhone moderne)
   Ne modifie RIEN au-dessus de 900 px (desktop intact)
   ========================================================== */

@media (max-width: 760px) {
  /* ---- Header mobile : retirer le bouton "Test gratuit" au centre ---- */
  /* Ne pas afficher le CTA dans la barre du haut, il sera dans le menu burger */
  .nav-inner > .nav-cta { display: none; }

  /* ---- Menu burger : panneau premium ---- */
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1.2rem var(--pad) 1.6rem;
    border-bottom: 1px solid var(--line);
    gap: .9rem;
    box-shadow: 0 14px 32px rgba(20,17,13,.10);
    z-index: 79;
  }
  body.nav-open .nav-links a {
    padding: .5rem 0;
    font-size: 1rem;
    font-weight: 500;
  }
  /* CTA Test gratuit visible UNIQUEMENT dans le menu déplié */
  body.nav-open .nav-cta {
    display: inline-flex !important;
    margin: .8rem 0 0;
    align-self: stretch;
    justify-content: center;
    padding: .85rem 1.5rem;
  }
  /* Quand le menu est ouvert, empêcher le défilement de la page derrière */
  body.nav-open { overflow: hidden; }

  /* ---- Hero plus compact ---- */
  .hero { padding: 1.5rem var(--pad) 2rem; }
  .hero-grid { gap: 1.6rem; }
  .hero-sub { margin-bottom: 1.2rem; }
  .hero-cta { margin-bottom: 1.4rem; gap: .6rem; }
  .hero-trust { gap: .55rem; font-size: .85rem; }
  .kicker { margin-bottom: .9rem; }

  /* ---- Sections : compaction verticale ---- */
  .section { padding: 2.2rem 0 2.4rem; }
  .section-head { margin-bottom: 1.2rem; }
  .section-head h2 { margin-bottom: .4em; }
  .section-head .lead { font-size: .98rem; line-height: 1.5; }

  /* ---- CARROUSELS HORIZONTAUX (scroll-snap, swipe naturel) ---- */
  /* Pattern partagé pour : Pourquoi, Méthode, Améliore, Impact, Test gratuit */
  .grid-3,
  .method-flow,
  .improve-grid,
  .impact-list,
  .steps {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: .85rem;
    padding: .3rem 0 1.2rem;
    margin-left: calc(var(--pad) * -1);
    margin-right: calc(var(--pad) * -1);
    padding-left: var(--pad);
    padding-right: var(--pad);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(184,132,92,.3) transparent;
  }
  .grid-3 > *,
  .method-flow > *,
  .improve-grid > *,
  .impact-list > *,
  .steps > * {
    scroll-snap-align: start;
    margin: 0;
    min-width: 0;
  }
  .grid-3::-webkit-scrollbar,
  .method-flow::-webkit-scrollbar,
  .improve-grid::-webkit-scrollbar,
  .impact-list::-webkit-scrollbar,
  .steps::-webkit-scrollbar { height: 3px; background: transparent; }
  .grid-3::-webkit-scrollbar-thumb,
  .method-flow::-webkit-scrollbar-thumb,
  .improve-grid::-webkit-scrollbar-thumb,
  .impact-list::-webkit-scrollbar-thumb,
  .steps::-webkit-scrollbar-thumb { background: rgba(184,132,92,.35); border-radius: 4px; }

  /* Cartes dans les carrousels : padding ajusté */
  .feature, .card, .step, .method-step, .improve-item, .impact-list li {
    padding: 1.2rem 1.1rem 1.1rem;
  }
  .feature h3, .method-step h3 { font-size: 1.05rem; margin-bottom: .35rem; }
  .feature p, .method-step p { font-size: .9rem; line-height: 1.5; }
  .improve-item strong, .impact-list strong { font-size: .96rem; }
  .improve-item span, .impact-list li { font-size: .88rem; line-height: 1.5; }
  .impact-list li { padding: 1.2rem 1.1rem; }

  /* Section Conciergeries / Particuliers : two-col empilé, marges réduites */
  .two-col, .two-col.reverse { gap: 1.2rem; }
  .benefit-card { padding: 1.3rem 1.1rem; margin-top: .2rem; }
  .bullet-list li { padding: .65rem 0 .65rem 1.3rem; font-size: .9rem; line-height: 1.5; }

  /* Sliders avant/après — pleine largeur fluide */
  .ba-grid { grid-template-columns: 1fr; gap: 1.1rem; margin: 1.3rem 0 1rem; }
  .ba-extras { margin-top: 1.2rem; }
  .ba-item figcaption strong { font-size: 1rem; }
  .ba-item figcaption span { font-size: .85rem; }

  /* Tarifs : 1 carte par ligne mais bien compactes */
  .tarifs-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .tarif-card { padding: 1.3rem 1.1rem; gap: 1rem; }
  .tarif-head h3 { font-size: 1.2rem; }
  .tarif-list li { font-size: .92rem; padding: .55rem 0; }

  /* Partenaires : 2 colonnes (assez compactes pour mobile) */
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-bottom: 1.4rem; }
  .card { padding: 1.1rem .95rem; }
  .card h3 { font-size: .98rem; }
  .card p { font-size: .85rem; }
  .callout { padding: 1.1rem 1.2rem; margin: 1.2rem 0 1rem; font-size: .9rem; }

  /* Test gratuit : form */
  .lead-form { padding: 1.2rem 1rem; gap: .95rem; border-radius: var(--radius); }
  .form-title { font-size: 1.25rem; }
  .conditions { padding: 1.2rem 1rem; margin-bottom: 1rem; }
  .reassurance { margin-bottom: 1.4rem; font-size: .9rem; }

  /* Footer plus compact */
  footer { padding: 2.2rem 0 1.2rem; }
  .footer-grid { gap: 1.4rem; }
  .footer-bottom { margin-top: 1.6rem; padding-top: 1rem; font-size: .78rem; }

  /* Hero visual plus discret */
  .hero-visual { height: clamp(220px, 60vw, 320px); }
  .hero-orb { width: 140px; height: 140px; }
}

/* ==========================================================
   MOBILE iPhone moderne (≤ 430 px) — affiner la compaction
   ========================================================== */
@media (max-width: 430px) {
  :root { --pad: 1.1rem; }
  body { font-size: 15.5px; }
  h1 { font-size: clamp(1.8rem, 7.2vw, 2.2rem); line-height: 1.15; }
  h2 { font-size: clamp(1.45rem, 5.6vw, 1.75rem); line-height: 1.15; margin-bottom: .55em; }
  h3 { font-size: 1.06rem; }
  .lead { font-size: .96rem; line-height: 1.5; }

  /* Hero encore plus serré */
  .hero { padding: 1.2rem var(--pad) 1.8rem; }
  .hero-sub { font-size: .98rem; margin-bottom: 1.1rem; }
  .hero-cta { flex-direction: column; gap: .55rem; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: .5rem; font-size: .82rem; }

  /* Carrousels : cartes un poil plus larges pour confort de lecture */
  .grid-3, .method-flow, .impact-list, .steps { grid-auto-columns: 84%; }
  .improve-grid { grid-auto-columns: 76%; }

  /* Sections encore plus compactes */
  .section { padding: 1.9rem 0 2.1rem; }
  .section-head { margin-bottom: 1rem; }

  /* CTA pleine largeur partout */
  #conciergeries .btn,
  #proprietaires .btn,
  #tarifs .btn,
  .lead-form button[type="submit"] { width: 100%; }

  /* Form : iOS 16px anti-zoom */
  .lead-form input[type="text"],
  .lead-form input[type="email"],
  .lead-form input[type="tel"],
  .lead-form input[type="url"],
  .lead-form input[type="file"],
  .lead-form select,
  .lead-form textarea {
    font-size: 16px;
    padding: .68rem .8rem;
  }

  /* Tarifs : marges plus serrées */
  .tarif-card { padding: 1.2rem 1rem; }

  /* Sliders : handle plus tactile-friendly */
  .ba-handle::before { width: 38px; height: 38px; }

  /* Steps numéro plus petit */
  .step-num { width: 28px; height: 28px; font-size: .88rem; margin-bottom: .7rem; }

  /* Improve item : icône compacte */
  .improve-icon { width: 32px; height: 32px; font-size: 1rem; }

  /* Pages légales compactes */
  .legal-page { padding: 2rem 0 2.4rem; }
  .legal-block { margin-bottom: 1.4rem; padding-bottom: 1.2rem; }
  .legal-block h2 { font-size: 1.12rem; margin-bottom: .6rem; }
  .legal-block p { font-size: .94rem; line-height: 1.6; }
}

/* ==========================================================
   MOBILE iPhone SE / mini (<= 390 px)
   ========================================================== */
@media (max-width: 390px) {
  :root { --pad: 1rem; }
  h1 { font-size: 1.78rem; }
  h2 { font-size: 1.42rem; }
  .brand-img { height: 30px; }
  .hero-badge { display: none; }
  .kicker { font-size: .72rem; padding: .3rem .7rem; margin-bottom: .8rem; }
  .hero-visual { height: clamp(200px, 55vw, 280px); }
  .grid-3, .method-flow, .impact-list, .steps { grid-auto-columns: 88%; }
  .improve-grid { grid-auto-columns: 80%; }
  .tarif-card { padding: 1.1rem .9rem; }
  .tarif-line { font-size: .88rem; }
  .tarif-price { font-size: .94rem; }
  .grid-4 { grid-template-columns: 1fr; gap: .7rem; }
  .lead-form { padding: 1rem .85rem; }
  .form-title { font-size: 1.2rem; }
}

/* ==========================================================
   PAGES UTILITAIRES — Merci / 404
   ========================================================== */
.thanks-page,
.error-page {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5.5rem);
  background: var(--bg);
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.thanks-page .container,
.error-page .container { max-width: 720px; }

.thanks-card,
.error-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.4rem, 4vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.thanks-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--accent-tx);
  margin: 0 auto 1.6rem;
}

.thanks-page h1,
.error-page h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}
.thanks-page .lead,
.error-page .lead {
  margin: 0 auto 1rem;
  font-size: 1.1rem;
}
.thanks-sub,
.error-sub {
  color: var(--ink-soft);
  margin: 0 auto 2rem;
  max-width: 52ch;
}
.thanks-cta,
.error-cta {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.error-code {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 300;
  color: var(--accent-tx);
  line-height: 1;
  margin-bottom: .4rem;
  letter-spacing: -0.04em;
}

/* ==========================================================
   HONEYPOT — champ anti-spam Netlify, caché des visiteurs
   (reste dans le DOM, soumis au form, mais invisible)
   ========================================================== */
.hp-field,
.hidden,
.hidden-field,
.netlify-honeypot {
  display: none !important;
}
