/* ============================================================
   MILLET AMÉNAGEMENT — Feuille de style principale
   Esthétique : immobilier de prestige, tons naturels, typographie
   moderne (Poppins) + sans sobre (DM Sans)
   ============================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  --c-cream:   #fafaf8;
  --c-sand:    #f0f0eb;
  --c-stone:   #8b8b8b;
  --c-clay:    #6b46b0;
  --c-earth:   #5a3a96;
  --c-dark:    #1a1a2e;
  --c-white:   #ffffff;
  --c-accent:  #6b46b0;   /* violet du logo */
  --c-success: #1fd65e;   /* vert flashy vibrant */

  --f-serif:   'Poppins', system-ui, sans-serif;
  --f-sans:    'DM Sans', system-ui, sans-serif;

  --radius:    4px;
  --shadow:    0 4px 32px rgba(26, 26, 46, .08);
  --transition: .3s cubic-bezier(.4, 0, .2, 1);

  --max-w: 1200px;
  --gutter: clamp(1rem, 4vw, 3rem);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--f-sans);
  background: var(--c-cream);
  color: var(--c-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: .02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.1rem; font-weight: 500; font-family: var(--f-sans); letter-spacing: .08em; text-transform: uppercase; }

/* ── Layout helpers ─────────────────────────────────────── */
.container {
  width: min(var(--max-w), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.section { 
  padding-block: clamp(1.5rem, 4vw, 3rem);
  padding-top: clamp(5rem, 8vw, 7rem);
  position: relative;
}
.section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 60px;
  background: var(--c-success);
  pointer-events: none;
}
.section--no-before::before {
  display: none;
}
.section--tight-top {
  padding-top: clamp(3.2rem, 5vw, 4.25rem);
}
.divider {
  width: 48px; height: 3px;
  background: var(--c-success);
  margin-block: 1.2rem;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 2rem;
  font-family: var(--f-sans);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
}
.btn--primary:hover { background: var(--c-earth); }
.btn--outline {
  background: transparent;
  color: var(--c-accent);
  border: 2px solid var(--c-accent);
}
.btn--outline:hover { background: var(--c-accent); color: var(--c-white); }
.btn--gold {
  background: var(--c-success);
  color: var(--c-dark);
}
.btn--gold:hover { filter: brightness(0.95); }

/* ── Navbar ─────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.navbar-light {
  background: rgba(245, 240, 255, 0.9);
  box-shadow: 0 1px 4px rgba(26, 26, 46, .04);
}
.site-header.navbar-light .navbar__links a {
  color: var(--c-dark);
  text-shadow: none;
}
.site-header.navbar-light .navbar__links a:hover { 
  color: var(--c-success);
}
.site-header.navbar-light .navbar__toggle span {
  background: var(--c-dark);
}
.site-header.scrolled {
  background: rgba(245, 240, 255, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(26, 26, 46, .12);
}
.site-header.menu-open {
  background: rgba(245, 240, 255, 1);
  box-shadow: 0 2px 12px rgba(26, 26, 46, .12);
}
.site-header.scrolled .navbar__links a {
  color: var(--c-dark);
  text-shadow: none;
}
.site-header.scrolled .navbar__links a:hover { 
  color: var(--c-success);
}
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gutter);
  max-width: var(--max-w);
  margin: auto;
  width: 100%;
}
.navbar__logo img { height: 48px; width: auto; }
.navbar__links {
  display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.4rem);
}
.navbar__links a {
  font-size: clamp(.84rem, .95vw, .98rem);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-white);
  text-shadow: 0 2px 4px rgba(26, 26, 46, .3);
  transition: all var(--transition);
}
.navbar__links a:hover { 
  color: var(--c-success);
  text-shadow: 0 2px 6px rgba(45, 157, 94, .4);
}
.btn-nav {
  padding: 0.7rem 1.3rem;
  border: 2.5px solid var(--c-success);
  background: var(--c-success);
  color: var(--c-white);
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .05em;
  text-shadow: none;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(45, 157, 94, .2);
}
.btn-nav:hover { 
  background: transparent;
  color: var(--c-success);
  border-color: var(--c-success);
  box-shadow: 0 6px 16px rgba(45, 157, 94, .3);
}
.navbar__toggle {
  display: none;
  flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 8px;
  -webkit-tap-highlight-color: transparent;
}
.navbar__toggle span {
  display: block; width: 28px; height: 2.5px;
  background: var(--c-white);
  border-radius: 2px;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(26, 26, 46, .3);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background:
    linear-gradient(to bottom, rgba(26,26,46,.55) 0%, rgba(26,26,46,.25) 60%, var(--c-cream) 100%),
    url('/assets/img/banniere.jpg') center/cover no-repeat;
  display: flex; align-items: center;
  padding-bottom: 0;
}
.hero__content {
  color: var(--c-cream);
  max-width: 660px;
  padding-inline: var(--gutter);
}
.hero__eyebrow {
  font-family: var(--f-sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .8rem;
}
.hero__title { color: var(--c-cream); margin-bottom: 1.2rem; text-shadow: 0 2px 8px rgba(26, 26, 46, .5); }
.hero__sub {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: .85;
  margin-bottom: 2rem;
  max-width: 480px;
  text-shadow: 0 1px 4px rgba(26, 26, 46, .6);
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__ctas .hero__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  border-radius: 6px;
  border: 2px solid var(--c-accent);
  color: var(--c-white);
  text-shadow: none;
  box-shadow: 0 10px 24px rgba(26, 26, 46, .18);
}
.hero__ctas .hero__cta-btn--primary {
  background: var(--c-accent);
}
.hero__ctas .hero__cta-btn--primary:hover {
  background: color-mix(in srgb, var(--c-accent) 88%, #fff);
  border-color: color-mix(in srgb, var(--c-accent) 88%, #fff);
  color: var(--c-white);
}
.hero__ctas .hero__cta-btn--secondary {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .72);
  color: var(--c-white);
  backdrop-filter: blur(10px);
}
.hero__ctas .hero__cta-btn--secondary:hover {
  background: rgba(255, 255, 255, .16);
  border-color: var(--c-white);
  color: var(--c-white);
}

/* ── Section heading ────────────────────────────────────── */
.section-heading { margin-bottom: 3rem; position: relative; padding-left: 0; }
.section-heading::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  width: 5px;
  height: 40px;
  background: var(--c-success);
}
.section-heading__label {
  font-family: var(--f-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: block;
  margin-bottom: .6rem;
}

/* ── Cards ───────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--c-white);
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
  border-top: 4px solid var(--c-success);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(26,26,46,.15);
}
.card__img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }

/* ── Atouts section ──────────────────────────────────────── */
.atout-icon { display: block; color: var(--c-success); }
.site-icon {
  width: 1em;
  height: 1em;
  display: block;
  flex: none;
}
.meta-inline-icon {
  width: 15px;
  height: 15px;
}
.atout-icon-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto .9rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-success);
  background: linear-gradient(145deg, rgba(255,255,255,.92) 0%, rgba(31,214,94,.12) 100%);
  border: 1px solid rgba(31,214,94,.16);
  box-shadow: 0 12px 30px rgba(26, 26, 46, .08);
}
.atout-icon-badge--house {
  color: var(--c-accent);
  background: linear-gradient(145deg, rgba(255,255,255,.94) 0%, rgba(107,70,176,.14) 100%);
  border-color: rgba(107,70,176,.18);
}
.atout-icon-badge--pin {
  color: #c0392b;
  background: linear-gradient(145deg, rgba(255,255,255,.94) 0%, rgba(192,57,43,.12) 100%);
  border-color: rgba(192,57,43,.18);
}
.atout-icon-badge--coast {
  color: #2f7ed8;
  background: linear-gradient(145deg, rgba(255,255,255,.94) 0%, rgba(47,126,216,.12) 100%);
  border-color: rgba(47,126,216,.18);
}
.atout-icon-badge--key {
  color: #d29a24;
  background: linear-gradient(145deg, rgba(255,255,255,.94) 0%, rgba(210,154,36,.14) 100%);
  border-color: rgba(210,154,36,.2);
}
.atout-icon-badge .site-icon {
  width: 32px;
  height: 32px;
}
.atouts-section {
  background: rgba(31, 214, 94, 0.08);
  border-top: 4px solid var(--c-success);
  border-bottom: 4px solid var(--c-success);
  padding-top: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
  position: relative;
  overflow: hidden;
}
.atouts-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  pointer-events: none;
}
.atouts-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  background: none;
  pointer-events: none;
}
.card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.card:hover .card__img-wrap img { transform: scale(1.06); }
.card__badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--c-accent);
  color: var(--c-white);
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 2px;
}
.card__body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.card__city {
  font-size: .75rem; font-weight: 500; letter-spacing: .15em;
  text-transform: uppercase; color: var(--c-stone);
}
.card__title {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--c-dark);
}
.card__price {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  color: var(--c-accent);
  margin-top: auto;
  padding-top: .6rem;
}
.card__price small { font-size: .75rem; font-family: var(--f-sans); color: var(--c-stone); }
.card__link {
  display: block; padding: 1rem 1.4rem;
  border-top: 1px solid var(--c-sand);
  font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-accent);
  transition: color var(--transition), background var(--transition);
}
.card__link:hover { background: var(--c-accent); color: var(--c-white); }

/* ── Contact section ─────────────────────────────────────── */
.contact-section {
  background: var(--c-dark);
  color: var(--c-cream);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-info h2, .contact-info h3 { color: var(--c-cream); }
.contact-info .divider { background: var(--c-accent); }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(255,255,255,.05);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--c-success);
}
.contact-card__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-success);
  background: rgba(31,214,94,.12);
  border: 1px solid rgba(31,214,94,.22);
  line-height: 1;
}
.contact-card__icon .site-icon {
  width: 20px;
  height: 20px;
}
.contact-card__label { font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--c-stone); }
.contact-card a { color: var(--c-sand); transition: color var(--transition); }
.contact-card a:hover { color: var(--c-accent); }
.btn-inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: .35rem;
  vertical-align: middle;
}
.btn-inline-icon .site-icon {
  width: 16px;
  height: 16px;
}

/* Contact section */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-feedback {
  display: none;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  line-height: 1.65;
}
.form-feedback.is-visible { display: block; }
.form-feedback--success {
  background: rgba(31,214,94,.12);
  border: 1px solid rgba(31,214,94,.34);
  color: var(--c-cream);
}
.form-feedback--error {
  background: rgba(224,112,112,.12);
  border: 1px solid rgba(224,112,112,.34);
  color: #ffd7d7;
}
.recaptcha-wrap {
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}
.recaptcha-wrap .g-recaptcha {
  max-width: 100%;
  overflow-x: auto;
}
.contact-form__submit {
  align-self: flex-start;
  padding: 0.85rem 1.45rem;
  border: 2px solid var(--c-success);
  border-radius: 6px;
  background: var(--c-success);
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(31, 214, 94, .22);
}
.contact-form__submit.is-loading {
  opacity: .85;
  cursor: wait;
}
.contact-form__submit:hover {
  background: color-mix(in srgb, var(--c-success) 88%, #000);
  border-color: color-mix(in srgb, var(--c-success) 88%, #000);
  color: var(--c-white);
  box-shadow: 0 12px 24px rgba(31, 214, 94, .26);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-stone);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  color: var(--c-cream);
  font-family: var(--f-sans);
  font-size: .95rem;
  padding: .8rem 1rem;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-success);
  background: rgba(255,255,255,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-notice { font-size: .8rem; color: var(--c-stone); }
.form-success {
  display: none;
  background: rgba(164,214,94,.15);
  border: 1px solid var(--c-success);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  color: var(--c-sand);
  margin-top: .5rem;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--c-earth);
  color: var(--c-sand);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 2fr;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 1.6rem;
  padding-inline: var(--gutter);
  max-width: var(--max-w);
  margin: auto;
}
.footer__logo { height: 44px; margin-bottom: 1rem; }
.footer__brand p { font-size: .85rem; opacity: .7; line-height: 1.6; }
.footer__col h4 {
  font-size: .7rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-success);
  margin-bottom: 1rem;
  font-family: var(--f-sans);
}
.footer__col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer__col li a, .footer__col address p {
  font-size: .85rem; opacity: .7;
  transition: opacity var(--transition);
}
.footer__col li a:hover { opacity: 1; color: var(--c-white); }
.footer__seo p { font-size: .78rem; opacity: .5; line-height: 1.6; }
.footer__seo p + p { margin-top: .5rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  padding-block: 1.2rem;
  font-size: .8rem;
  opacity: .5;
}
.footer__bottom a:hover { opacity: 1; }

/* ── Single pages (projet / maison) ─────────────────────── */
.page-hero {
  padding-top: calc(80px + 3rem);
  padding-bottom: 2rem;
  background: var(--c-sand);
}

body.page--projet {
  background:
    radial-gradient(circle at 8% 18%, rgba(107, 70, 176, .16) 0, rgba(107, 70, 176, 0) 32%),
    radial-gradient(circle at 92% 6%, rgba(31, 214, 94, .12) 0, rgba(31, 214, 94, 0) 28%),
    var(--c-sand);
}

body.page--maison {
  background:
    radial-gradient(circle at 12% 16%, rgba(31, 214, 94, .11) 0, rgba(31, 214, 94, 0) 30%),
    radial-gradient(circle at 88% 7%, rgba(107, 70, 176, .14) 0, rgba(107, 70, 176, 0) 28%),
    var(--c-sand);
}

.house-hero-section { background: transparent; }

.house-hero-heading { margin-bottom: 1.4rem; }

.house-hero-heading__city {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.2rem;
  font-family: var(--f-serif);
  color: color-mix(in srgb, var(--c-dark) 86%, var(--c-accent));
}

.house-hero-heading__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  background: linear-gradient(145deg, #fff 0%, color-mix(in srgb, var(--c-accent) 16%, #fff) 100%);
  border: 1px solid color-mix(in srgb, var(--c-accent) 34%, #fff);
  box-shadow: 0 7px 18px rgba(26, 26, 46, .1);
}

.house-hero-heading__icon .site-icon { width: 20px; height: 20px; }

.house-hero-heading__title {
  margin-top: .45rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.04;
}

.house-hero-heading__project {
  margin-top: .55rem;
  color: var(--c-stone);
}

.house-hero-heading__project a {
  color: var(--c-accent);
  font-weight: 700;
}

.house-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.6rem;
  align-items: stretch;
}

.house-hero-media,
.house-hero-info {
  border-radius: 16px;
}

.house-hero-media {
  overflow: hidden;
}

.house-hero-media .projet-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 16px;
  border: 4px solid rgba(255,255,255,.78);
  box-shadow: 0 18px 34px rgba(26, 26, 46, .18);
}

.house-hero-media__placeholder {
  min-height: 380px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--c-sand) 62%, var(--c-accent));
  background: var(--c-white);
  color: var(--c-stone);
  display: flex;
  align-items: center;
  justify-content: center;
}

.house-hero-info {
  background: linear-gradient(145deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 100%);
  border: 1px solid color-mix(in srgb, var(--c-sand) 74%, var(--c-accent));
  box-shadow: 0 12px 30px rgba(26, 26, 46, .1);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.house-info-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.house-info-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: .75rem;
  align-items: center;
  background: rgba(240, 240, 235, .8);
  border: 1px solid rgba(107, 70, 176, .14);
  border-radius: 12px;
  padding: .8rem .9rem;
}

.house-info-card--price {
  border-left: 4px solid color-mix(in srgb, var(--c-success) 74%, var(--c-accent));
}

.house-info-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 214, 94, .12);
  color: var(--c-success);
}

.house-info-card__icon .site-icon { width: 20px; height: 20px; }

.house-info-card__euro {
  width: 26px;
  height: 26px;
  display: block;
  fill: none;
  stroke: var(--c-success);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.house-info-card__label {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 700;
  color: var(--c-stone);
  line-height: 1.25;
}

.house-info-card__value {
  margin-top: .2rem;
  font-family: var(--f-serif);
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.06;
  color: var(--c-dark);
}

.house-info-card__value--small {
  font-family: var(--f-sans);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
}

.house-hero-actions {
  margin-top: .3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}

.house-hero-actions .btn {
  width: 100%;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  padding: .9rem 1rem;
}

.house-hero-actions .btn--gold { grid-column: 1 / -1; }

.house-hero-note {
  margin-top: .2rem;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--c-stone);
}

.house-main-layout { display: grid; grid-template-columns: 1fr; }

.house-bottom-grid {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 1rem;
  align-items: stretch;
}

.house-bottom-grid .house-content-block {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.house-content-block {
  background: var(--c-white);
  border-radius: 14px;
  padding: clamp(1rem, 2vw, 1.6rem);
  border: 1px solid color-mix(in srgb, var(--c-sand) 78%, var(--c-accent));
  box-shadow: 0 10px 24px rgba(26, 26, 46, .08);
}

body.page--maison .house-content-block .divider {
  margin-block: .7rem .9rem;
}

.project-showcase-section {
  background: transparent;
}

.project-showcase-title {
  margin-bottom: 1.6rem;
}

.project-showcase-title__city {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.65rem;
  font-family: var(--f-serif);
  font-weight: 400;
  color: color-mix(in srgb, var(--c-dark) 88%, var(--c-accent));
}

.project-showcase-title__city-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ffffff 0%, color-mix(in srgb, var(--c-accent) 22%, #fff) 100%);
  border: 1px solid color-mix(in srgb, var(--c-accent) 40%, #0000);
  box-shadow: 0 6px 18px rgba(26, 26, 46, .12);
  color: var(--c-accent);
  line-height: 1;
}

.project-showcase-title__city-icon .site-icon {
  width: 22px;
  height: 22px;
}

.project-showcase-title__name {
  font-size: clamp(2.25rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  margin-top: .5rem;
  letter-spacing: .005em;
  text-wrap: balance;
}

.project-showcase-card {
  background: linear-gradient(125deg, color-mix(in srgb, var(--c-accent) 90%, #fff) 0%, color-mix(in srgb, var(--c-accent) 82%, #fff) 100%);
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--c-accent) 58%, #fff);
  box-shadow: 0 16px 36px rgba(26, 26, 46, .14);
  padding: clamp(1.1rem, 2.7vw, 2.1rem);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.project-showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, 0) 48%);
}

.project-showcase-card__stats {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  position: relative;
  z-index: 1;
}

.project-stat {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: .9rem;
  align-items: center;
  background: rgba(255, 255, 255, .9);
  border-radius: 12px;
  padding: .95rem 1rem;
  border-left: 4px solid color-mix(in srgb, var(--c-success) 72%, var(--c-accent));
  box-shadow: 0 6px 18px rgba(26, 26, 46, .08);
}

.project-stat:last-of-type {
  border-bottom: none;
}

.project-stat__icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(31, 214, 94, .28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-success);
  box-shadow: 0 10px 24px rgba(31, 214, 94, .14);
}

.project-stat__icon--euro {
  font-family: var(--f-serif);
}

.project-stat__euro-svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: none;
  stroke: var(--c-success);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-stat__icon-svg {
  width: 28px;
  height: 28px;
  stroke: var(--c-success);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.project-stat__label {
  font-size: .86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: color-mix(in srgb, var(--c-dark) 62%, var(--c-accent));
  line-height: 1.2;
}

.project-stat__value {
  font-family: var(--f-serif);
  font-size: clamp(1.9rem, 3.9vw, 2.9rem);
  line-height: 1.05;
  color: var(--c-dark);
}

.project-stat__value--small {
  font-family: var(--f-sans);
  font-size: clamp(1.22rem, 2.2vw, 1.72rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-dark);
}

.project-showcase-card__actions {
  margin-top: .35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}

.project-showcase-card__actions .btn {
  width: 100%;
  justify-content: center;
  border-radius: 10px;
  font-size: .76rem;
  letter-spacing: .08em;
  padding: .72rem 1rem;
}

.project-showcase-card__actions .project-cta {
  font-size: .94rem;
  letter-spacing: .06em;
  padding: .92rem 1.05rem;
  font-weight: 700;
}

.project-showcase-card__actions .project-cta--phone {
  font-size: 1.02rem;
}

.project-showcase-card__actions .btn--gold {
  grid-column: 1 / -1;
}

.project-showcase-card__actions .btn--primary {
  background: var(--c-success);
  color: var(--c-dark);
}

.project-showcase-card__actions .btn--primary:hover {
  background: color-mix(in srgb, var(--c-success) 85%, #fff);
  color: var(--c-dark);
}

.project-showcase-card__actions .btn--outline {
  border-color: var(--c-success);
  color: var(--c-success);
  background: rgba(255, 255, 255, .92);
}

.project-showcase-card__actions .btn--outline:hover {
  background: var(--c-success);
  color: var(--c-dark);
}

.project-showcase-card__actions .btn--gold {
  background: var(--c-accent);
  color: var(--c-white);
}

.project-showcase-card__actions .btn--gold:hover {
  background: color-mix(in srgb, var(--c-accent) 86%, #fff);
  color: var(--c-white);
}

.project-viab-note {
  margin: .6rem 0 0;
  font-size: .78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .65);
  grid-column: 1 / -1;
}

.project-showcase-card__media {
  position: relative;
  z-index: 1;
}

.project-showcase-card__media .projet-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  border: 4px solid rgba(255, 255, 255, .75);
  box-shadow: 0 18px 34px rgba(26, 26, 46, .24);
}

.project-showcase-card__placeholder {
  min-height: 320px;
  border-radius: 14px;
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--c-stone);
  border: 4px solid rgba(255, 255, 255, .75);
  box-shadow: 0 18px 34px rgba(26, 26, 46, .2);
}

.breadcrumb {
  font-size: .78rem; color: var(--c-stone);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--c-accent); }
.breadcrumb span { margin-inline: .4rem; }

.projet-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.projet-layout--single {
  grid-template-columns: 1fr;
}

.project-content-card {
  background: var(--c-white);
  border-radius: 14px;
  padding: clamp(1rem, 2vw, 1.6rem);
  border: 1px solid color-mix(in srgb, var(--c-sand) 78%, var(--c-accent));
  box-shadow: 0 10px 24px rgba(26, 26, 46, .08);
}

.project-location-card {
  margin-top: .4rem;
}

.project-location-note {
  margin: 0 0 1rem;
  padding: .75rem .9rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--c-accent) 8%, #fff);
  border-left: 3px solid var(--c-accent);
  color: var(--c-dark);
  font-size: .86rem;
  line-height: 1.55;
}

.project-map-canvas {
  height: 420px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--c-sand);
  isolation: isolate;
}

.project-nearby-pois {
  margin-top: 1rem;
  color: var(--c-clay);
  font-size: 1rem;
  line-height: 1.9;
}

.projet-img {
  width: 100%;
  border-radius: calc(var(--radius) * 2);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.projet-img.js-zoomable { cursor: zoom-in; }
.projet-sidebar {
  position: sticky; top: 100px;
  background: var(--c-white);
  border-radius: calc(var(--radius) * 2);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.prix-block {
  text-align: center;
  padding: 1.2rem;
  background: var(--c-cream);
  border-radius: var(--radius);
  border: 1px solid var(--c-sand);
}
.prix-block .label { font-size: .7rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--c-stone); }
.prix-block .montant { font-family: var(--f-serif); font-size: 2.4rem; color: var(--c-accent); line-height: 1.1; }
.prix-block .disclaimer { font-size: .72rem; color: var(--c-stone); }

/* Galerie maison */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery__item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.9); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }
.lightbox__close {
  position: absolute; top: 1.5rem; right: 2rem;
  font-size: 2rem; color: white; cursor: pointer; background: none; border: none;
}

/* Maison specs */
.specs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-block: 1.5rem;
}
.spec-item {
  background: var(--c-cream);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
  border: 1px solid var(--c-sand);
}
.spec-item .spec-value { font-family: var(--f-serif); font-size: 1.8rem; color: var(--c-accent); }
.spec-item .spec-label { font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--c-stone); margin-top: .2rem; }

body.page--maison .house-associated-grid {
  grid-template-columns: 1fr;
  flex: 1;
  margin-block: 0;
}

body.page--maison .house-associated-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  border-color: color-mix(in srgb, var(--c-accent) 18%, var(--c-sand));
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.page--maison .house-associated-link .spec-value {
  font-size: 1.35rem;
  color: var(--c-earth);
}

body.page--maison .house-associated-link .spec-label {
  color: var(--c-accent);
  font-weight: 700;
}

body.page--maison .house-associated-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(26, 26, 46, .1);
  border-color: color-mix(in srgb, var(--c-accent) 42%, var(--c-sand));
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    align-items: flex-end;
    padding-bottom: clamp(3rem, 8vw, 6rem);
  }
  body.menu-open {
    overflow: hidden;
  }
  .site-header {
    background: rgba(247, 244, 239, 1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 2px 12px rgba(26, 26, 46, .12);
  }
  .site-header.scrolled,
  .site-header.navbar-light {
    background: rgba(247, 244, 239, 1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header .navbar__toggle span {
    background: var(--c-dark);
    box-shadow: none;
  }
  .navbar__toggle {
    position: relative;
    z-index: 130;
  }
  .navbar__links {
    display: none;
    flex-direction: column;
    position: fixed;
    z-index: 120;
    inset: 0;
    top: 70px;
    min-height: calc(100svh - 70px);
    background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-earth) 100%);
    padding: 3rem 2rem;
    gap: 2rem;
    justify-content: flex-start;
    border-top: 3px solid var(--c-success);
  }
  .navbar__links a { font-size: 1.05rem; font-weight: 600; color: var(--c-white); }
  .site-header.navbar-light .navbar__links a,
  .site-header.scrolled .navbar__links a,
  .site-header.menu-open .navbar__links a {
    color: var(--c-white);
    text-shadow: none;
  }
  .site-header.navbar-light .navbar__links a:hover,
  .site-header.scrolled .navbar__links a:hover,
  .site-header.menu-open .navbar__links a:hover {
    color: var(--c-success);
  }
  .navbar__links.open { display: flex; }
  .navbar__toggle { display: flex; }
  .contact-inner { grid-template-columns: 1fr; }
  .project-showcase-card { grid-template-columns: 1fr; }
  .project-showcase-card__actions { grid-template-columns: 1fr; }
  .house-hero-grid { grid-template-columns: 1fr; }
  .house-info-row { grid-template-columns: 1fr; }
  .house-hero-actions { grid-template-columns: 1fr; }
  .house-bottom-grid { grid-template-columns: 1fr; }
  .project-showcase-title__city { font-size: 1.45rem; }
  .project-showcase-title__name { font-size: clamp(1.8rem, 7vw, 3rem); }
  .project-stat { grid-template-columns: 44px 1fr; }
  .project-stat__icon { width: 36px; height: 36px; font-size: 1.15rem; border-radius: 9px; }
  .project-stat__value { font-size: clamp(1.7rem, 6vw, 2.45rem); }
  .project-stat__value--small { font-size: clamp(1.2rem, 4.8vw, 1.65rem); }
  .projet-layout { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .projet-sidebar { position: static; }
}
@media (max-width: 640px) {
  .navbar__links a { font-size: 1.15rem; }
  .hero__ctas { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .house-hero-media .projet-img,
  .house-hero-media__placeholder { min-height: 260px; }
  .house-hero-heading__title { font-size: clamp(1.85rem, 9vw, 2.8rem); }
  .specs-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s ease both; }
.fade-up-1 { animation-delay: .1s; }
.fade-up-2 { animation-delay: .2s; }
.fade-up-3 { animation-delay: .3s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Back office admin */
.admin-section { padding-top: calc(80px + 3rem); }
.admin-panel { display: flex; flex-direction: column; gap: 2rem; }
.admin-header { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.admin-header__intro { max-width: 880px; }
.admin-header__intro h1 { white-space: nowrap; }
.admin-header__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: .8rem;
  align-items: center;
  overflow-x: auto;
  padding-bottom: .2rem;
}
.admin-badge { display: inline-flex; padding: .45rem .9rem; border-radius: 999px; background: var(--c-accent); color: var(--c-white); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.admin-card { background: var(--c-white); border-radius: calc(var(--radius) * 2); box-shadow: var(--shadow); padding: 1.8rem; }
.admin-card--list { overflow-x: auto; }
.admin-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 2rem; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 1rem 1rem; border-bottom: 1px solid var(--c-sand); text-align: left; font-size: .95rem; }
.admin-table th { color: var(--c-stone); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.admin-table tbody tr:hover { background: rgba(107, 70, 176, .05); }
.badge { display: inline-flex; padding: .35rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.badge--active { background: #e6f7eb; color: #2f7a49; }
.badge--inactive { background: #f3e6e9; color: #7a2d45; }
.admin-link { color: var(--c-accent); font-weight: 600; }
.admin-link:hover { text-decoration: underline; }
.admin-form { display: grid; gap: 1.2rem; }
.admin-form input,
.admin-form select,
.admin-form textarea {
  color: #111;
  background: #fff;
  border: 1px solid #d8d8d8;
}
.admin-form input::placeholder,
.admin-form textarea::placeholder {
  color: #7a7a7a;
}
.form-help {
  font-size: .85rem;
  color: #5a5a5a;
  margin-top: -.75rem;
}
.form-group--inline { display: flex; align-items: center; gap: .75rem; }
.form-checkbox { display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; font-weight: 500; }
.admin-gallery { margin-top: 1.2rem; }
.admin-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}
.admin-thumb {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  padding: .75rem;
  text-align: center;
}
.admin-thumb img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: calc(var(--radius) * 1.2);
  margin-bottom: .75rem;
}
.admin-thumb .admin-link { display: inline-block; font-size: .85rem; margin-top: .25rem; }
.admin-thumb--cover { border-color: var(--c-accent); box-shadow: 0 0 0 2px rgba(var(--c-accent-rgb, 155,120,70),.25); }
.admin-cover-badge { display: block; font-size: .78rem; font-weight: 600; color: var(--c-accent); margin-top: .3rem; }
.admin-link--cover { color: var(--c-accent); }
.admin-link--delete { color: #c0392b; margin-left: .4rem; }
.admin-alert { border-radius: var(--radius); padding: 1rem 1.2rem; }
.admin-alert--success { background: rgba(164,214,94,.15); border: 1px solid var(--c-success); color: var(--c-success); }
.admin-alert--error { background: #f9e8e9; border: 1px solid #e29aa7; color: #7a2d3a; }
@media (max-width: 900px) {
  .admin-grid { grid-template-columns: 1fr; }
  .admin-header__actions { width: 100%; }
  .admin-header__intro h1 { white-space: normal; }
}

