/* ═══════════════════════════════════════════════════════════════
   MYNE Home — Feuille de styles principale
   Template : Éditorial contemporain / Immobilier haut de gamme
═══════════════════════════════════════════════════════════════ */

/* ── 1. VARIABLES ─────────────────────────────────────────── */
:root {
  --gold:          #b5895a;
  --gold-light:    rgba(181,137,90,.12);
  --gold-dark:     #9a7244;
  --primary:       #1c3829;
  --primary-mid:   #2a4d3a;
  --black:         #111111;
  --white:         #ffffff;
  --bg:            #fafaf7;
  --bg-alt:        #f3f0ea;
  --text:          #1a1a1a;
  --text-muted:    #6b6b6b;
  --border:        #e2ddd7;
  --border-dark:   #c8c2ba;

  --font-head:     'Cormorant Garamond', Georgia, serif;
  --font-body:     'DM Sans', system-ui, -apple-system, sans-serif;

  --container:     1200px;
  --radius:        4px;
  --radius-sm:     2px;
  --shadow:        0 2px 20px rgba(0,0,0,.06);
  --shadow-lg:     0 8px 48px rgba(0,0,0,.10);
  --nav-h:         76px;
  --transition:    .3s cubic-bezier(.4,0,.2,1);
}

html.dark {
  --bg:        #0e120f;
  --bg-alt:    #141a15;
  --white:     #1a211c;
  --text:      #ede8e0;
  --text-muted:#888;
  --border:    #2c342e;
  --border-dark:#3a4a3d;
  --shadow:    0 2px 20px rgba(0,0,0,.3);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.45);
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; margin: 0; padding: 0; background: #0d110e; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── 3. TYPOGRAPHIE ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--black);
}
html.dark h1, html.dark h2, html.dark h3, html.dark h4 { color: var(--text); }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; }
p  { color: var(--text-muted); line-height: 1.75; font-size: .95rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
}

/* ── 4. LAYOUT ────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
section { padding: 110px 0; }
section.section--alt { background: var(--bg-alt); }

.section-head { max-width: 640px; margin: 0 auto 72px; text-align: center; }
.section-head p { margin-top: 18px; }

/* ── 5. BOUTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn-outline-white:hover { background: #fff; color: var(--primary); }

/* ── 6. NAV ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  z-index: 1000;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}
.nav.hero-mode { background: transparent; }
.nav:not(.hero-mode):not(.scrolled) {
  background: var(--bg);
  border-bottom-color: var(--border);
}
.nav:not(.hero-mode) .nav__logo-name { color: var(--black); }
.nav:not(.hero-mode) .nav__link { color: var(--text-muted); }
.nav:not(.hero-mode) .nav__link:hover,
.nav:not(.hero-mode) .nav__link.active { color: var(--black); }
.nav:not(.hero-mode) .nav__dark-btn { color: var(--text-muted); border-color: var(--border); }
.nav:not(.hero-mode) .nav__hamburger span { background: var(--black); }
.nav.scrolled {
  background: var(--bg);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 24px rgba(0,0,0,.06);
}
.nav.scrolled .nav__logo-name { color: var(--black); }
.nav.scrolled .nav__link { color: var(--text-muted); }
.nav.scrolled .nav__link:hover,
.nav.scrolled .nav__link.active { color: var(--black); }
.nav.scrolled .nav__dark-btn { color: var(--text-muted); border-color: var(--border); }
.nav.scrolled .nav__hamburger span { background: var(--black); }

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 140px;
}
.nav__logo-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text);
}
.nav.hero-mode .nav__logo-name { color: #fff; }
.nav__logo-sub {
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
  overflow: visible;
}
.nav__link {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--text); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav.hero-mode .nav__link { color: rgba(255,255,255,.7); }
.nav.hero-mode .nav__link:hover,
.nav.hero-mode .nav__link.active { color: #fff; }

.nav__actions { display: flex; align-items: center; gap: 10px; min-width: 150px; justify-content: flex-end; }
.nav__lang-sw { position: relative; }
.nav__ls-btn { font-size: .65rem; font-weight: 700; letter-spacing: .06em; color: var(--text-muted); background: none; border: none; cursor: pointer; display: flex; align-items: center; padding: 4px 6px; border-radius: 4px; transition: color .2s; }
.nav__ls-btn:hover { color: var(--gold); }
.nav__ls-drop { display: none; position: absolute; right: 0; top: calc(100% + 6px); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: 0 4px 16px rgba(0,0,0,.1); min-width: 56px; z-index: 200; flex-direction: column; overflow: hidden; }
.nav__lang-sw.open .nav__ls-drop { display: flex; }
.nav__ls-drop .nav__ls { font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: var(--text-muted); text-decoration: none; padding: 9px 14px; display: block; transition: all .15s; }
.nav__ls-drop .nav__ls:hover { background: var(--bg-alt); color: var(--gold); }
.nav__ls-drop .nav__ls.active { color: var(--gold); background: var(--gold-light); }
.nav.hero-mode .nav__ls-btn { color: rgba(255,255,255,.75); }
.nav.hero-mode .nav__ls-btn:hover { color: #fff; }
.nav__dark-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.nav.hero-mode .nav__dark-btn { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.2); }
.nav__dark-btn:hover { color: var(--gold); border-color: var(--gold); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}
.nav.hero-mode .nav__hamburger span { background: #fff; }
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-110%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  z-index: 999;
}
.nav__mobile.open { transform: translateY(0); }
.nav__mobile .nav__link { font-size: 1rem; letter-spacing: .06em; }

/* ── 7. HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--bg-alt);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 8s ease;
}
.hero__bg.loaded { transform: scale(1); }

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 80px;
}
.hero__content .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-end;
}
.hero__left { }
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 24px;
}
.hero__label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold-dark); }

.hero__title {
  color: var(--gold-dark);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 0;
}
.hero__title em { color: var(--gold-dark); font-style: italic; }
.hero__title em { font-style: italic; color: var(--gold); }

.hero__right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 8px;
}
.hero__subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero__trust span {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__trust span::before { content: '—'; color: var(--gold-dark); }

/* ── Hero principal avec image de fond ───────────────────── */
.hero.has-img {
  background-size: cover;
  background-position: center;
}
.hero.has-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 8, 0.62);
  z-index: 1;
}
.hero.has-img .hero__content { z-index: 2; }
.hero.has-img .hero__label { color: rgba(255,255,255,.65); }
.hero.has-img .hero__label::before { background: rgba(255,255,255,.5); }
.hero.has-img .hero__title { color: #fff; }
.hero.has-img .hero__title em { color: var(--gold); }
.hero.has-img .hero__subtitle { color: rgba(255,255,255,.78); }
.hero.has-img .hero__trust { border-top-color: rgba(255,255,255,.15); }
.hero.has-img .hero__trust span { color: rgba(255,255,255,.7); }
.hero.has-img .hero__trust span::before { color: var(--gold); }
.hero.has-img .btn-outline { border-color: rgba(255,255,255,.45); color: #fff; }
.hero.has-img .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero.has-img.overlay-dark::before { background: rgba(4, 7, 5, 0.72); }

/* Hero small (pages internes) */
.hero--sm {
  min-height: 420px;
  align-items: center;
  background-color: var(--bg-alt);
}
.hero--sm .hero__content {
  padding: 0 0 0 clamp(48px, 10vw, 160px);
  text-align: left;
}
.hero--sm .hero__content .container {
  grid-template-columns: 1fr;
  gap: 0;
  text-align: left;
}
.hero--sm .hero__label { justify-content: flex-start; }
.hero--sm .hero__title { color: var(--gold-dark); }
.hero--sm .hero__subtitle { color: var(--text-muted); }

/* ── Hero avec image de fond ─────────────────────────────── */
.hero--sm.has-img {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero--sm.has-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 14, 0.52);
  z-index: 1;
}
.hero--sm.has-img.overlay-dark::before {
  background: rgba(6, 10, 8, 0.68);
}
.hero--sm.has-img .hero__content { position: relative; z-index: 2; }
.hero--sm.has-img .hero__label { color: rgba(255,255,255,.65); }
.hero--sm.has-img .hero__label::before { background: rgba(255,255,255,.5); }
.hero--sm.has-img .hero__title { color: #fff; }
.hero--sm.has-img .hero__subtitle { color: rgba(255,255,255,.78); }

/* ── 8. STATS BAR ─────────────────────────────────────────── */
.stats-bar { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.stats-bar__inner,
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-bar__item {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.stats-bar__item:last-child { border-right: none; }
.stats-bar__item:hover { background: rgba(181,137,90,.06); }
.stats-bar__value {
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}
.stats-bar__label {
  display: block;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── 9. SERVICE CARDS ─────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }

.service-card {
  background: var(--white);
  padding: 48px 40px;
  position: relative;
  transition: var(--transition);
}
.service-card:hover { background: var(--primary); }
.service-card:hover h3,
.service-card:hover .service-card__title { color: #fff; }
.service-card:hover .service-card__text { color: rgba(255,255,255,.6); }
.service-card:hover .service-card__link { color: var(--gold); }
.service-card:hover .service-card__icon { background: rgba(255,255,255,.08); }

.service-card__num {
  position: absolute;
  top: 32px; right: 32px;
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 600;
  color: var(--gold);
  opacity: .1;
  line-height: 1;
}
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  font-size: 1.5rem;
  transition: background var(--transition);
}
.service-card__title { margin-bottom: 14px; font-size: 1.5rem; transition: color var(--transition); }
.service-card__text  { font-size: .9rem; margin-bottom: 28px; transition: color var(--transition); }
.service-card__link  {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}
.service-card__link:hover { gap: 16px; }

/* ── 10. SERVICE DETAIL ───────────────────────────────────── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) .service-detail__img-wrap { order: 2; }
.service-detail:nth-child(even) .service-detail__content  { order: 1; }
.service-detail__img-wrap { position: relative; }
.service-detail__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-detail__badge {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.service-detail__title { margin-bottom: 20px; }
.service-detail__desc  { margin-bottom: 24px; font-size: .95rem; }
.service-detail__list  { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.service-detail__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .9rem; color: var(--text-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.service-detail__list li:last-child { border-bottom: none; padding-bottom: 0; }
.service-detail__list li::before {
  content: '→';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── 11. ABOUT SPLIT ──────────────────────────────────────── */
.about-split { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; }
.about-split--reverse .about-split__img-wrap { order: 2; }
.about-split--reverse .about-split__content  { order: 1; }
.about-split__img-wrap { position: relative; }
.about-split__img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-split__placeholder {
  background: var(--bg-alt);
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  width: 100%;
}
.about-split__content { }
.about-split__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag {
  padding: 5px 14px;
  border: 1px solid var(--border-dark);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── 12. TEAM CARDS ───────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 800px; margin: 0 auto; }
.team-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); }
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-card__img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.team-card__body { padding: 28px; }
.team-card__name { font-size: 1.2rem; margin-bottom: 4px; }
.team-card__role { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.team-card__bio  { font-size: .88rem; }

/* ── 13. TESTIMONIALS ─────────────────────────────────────── */
.testi-slider { overflow: hidden; position: relative; }
.testi-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.testi-card { min-width: calc(100% / 3); padding: 0 16px; }
.testi-card__inner {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  height: 100%;
  transition: var(--transition);
  position: relative;
}
.testi-card__inner::before {
  content: '"';
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-head);
  font-size: 5rem;
  color: var(--gold);
  opacity: .15;
  line-height: 1;
}
.testi-card__inner:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.testi-card__stars { color: var(--gold); font-size: .9rem; margin-bottom: 20px; letter-spacing: 2px; }
.testi-card__text,
.testi-card__quote {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 32px;
}
.testi-card__author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--border); padding-top: 20px; }
.testi-card__avatar {
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
  flex-shrink: 0;
}
.testi-card__name { font-weight: 700; font-size: .9rem; color: var(--text); }
.testi-card__role { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }

.testi-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 48px; }
.testi-btn,
.testi-nav__btn {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
}
.testi-btn:hover, .testi-nav__btn:hover { border-color: var(--primary); background: var(--primary); color: #fff; }
.testi-dots { display: flex; gap: 8px; }
.testi-dot { width: 24px; height: 2px; background: var(--border); border: none; cursor: pointer; transition: var(--transition); }
.testi-dot.active { background: var(--gold); }

/* ── 14. PORTFOLIO / RÉALISATIONS ─────────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); }
.portfolio-item { position: relative; cursor: pointer; overflow: hidden; background: var(--bg-alt); }
.portfolio-item__img-wrap { position: relative; overflow: hidden; }
.portfolio-item__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s ease; display: block; }
.portfolio-item:hover .portfolio-item__img { transform: scale(1.06); }
.portfolio-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,56,41,.92) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  opacity: 0; transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__tag {
  position: absolute; top: 16px; left: 16px;
  padding: 4px 10px;
  background: var(--gold); color: #fff;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  z-index: 1;
}
.portfolio-item__body { padding: 20px; background: var(--white); border-top: 2px solid var(--gold); }
.portfolio-item__title { font-family: var(--font-head); font-size: 1.05rem; color: var(--text); margin-bottom: 4px; }
.portfolio-item__meta { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.portfolio-item__desc { font-size: .84rem; color: var(--text-muted); line-height: 1.6; }

.portfolio-filters { display: flex; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-bottom: 48px; }
.portfolio-filter {
  flex: 1; text-align: center;
  padding: 12px 20px;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
  background: var(--white);
  cursor: pointer; transition: var(--transition);
}
.portfolio-filter.active, .portfolio-filter:hover { background: var(--primary); color: #fff; }

/* ── 15. CREDENTIAL CARDS ─────────────────────────────────── */
.credential-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
  position: relative;
}
.credential-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.credential-card:hover { box-shadow: var(--shadow); }
.credential-card:hover::after { width: 100%; }
.credential-card__icon { flex-shrink: 0; width: 40px; display: flex; align-items: center; justify-content: center; }
/* Lucide icon sizing by context */
.credential-card__icon i[data-lucide] { width: 28px; height: 28px; }
.service-card__icon i[data-lucide] { width: 26px; height: 26px; stroke-width: 1.5; display: block !important; margin: 0 !important; vertical-align: unset !important; }
i[data-lucide] { display: inline-block; }
.credential-card__title { font-weight: 700; font-size: .95rem; color: var(--text); margin-bottom: 8px; }
.credential-card__text { font-size: .87rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── 16. TIMELINE ─────────────────────────────────────────── */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
.timeline__item { position: relative; padding-bottom: 52px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: -40px; top: 6px;
  width: 10px; height: 10px;
  background: var(--gold);
}
.timeline__year { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.timeline__title { font-family: var(--font-head); font-size: 1.25rem; color: var(--text); margin-bottom: 8px; font-weight: 400; }
.timeline__desc { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ── 17. CTA BANNER ───────────────────────────────────────── */
.cta-banner {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--black); margin-bottom: 20px; }
.cta-banner p  { color: var(--text-muted); margin-bottom: 40px; font-size: 1rem; }
.cta-banner__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── 18. CONTACT ──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: start; }
.contact-form { background: var(--white); border: 1px solid var(--border); padding: 48px; }
.contact-split { display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: start; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); padding: 48px; }
.contact-info { }
.contact-info__item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-info__item:first-child { padding-top: 0; }
.contact-info__icon { font-size: 1.1rem; flex-shrink: 0; width: 32px; margin-top: 2px; }
.contact-info__label { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-info__value { font-size: .92rem; color: var(--text-muted); line-height: 1.6; }
.contact-info__link { color: var(--text) !important; font-weight: 600; }
.contact-info__link:hover { color: var(--gold) !important; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-label,
.form-group label {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text);
}
.form-input,
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
  appearance: none;
}
.form-input:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-input.error,
.form-group input.error,
.form-group textarea.error { border-color: #ef4444; }
.form-error { font-size: .75rem; color: #ef4444; }

/* FAQ */
.faq__item { border-bottom: 1px solid var(--border); }
.faq__question {
  width: 100%; text-align: left;
  padding: 22px 0;
  font-weight: 600; font-size: 1rem; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer; transition: color var(--transition);
}
.faq__question:hover, .faq__item.open .faq__question { color: var(--primary); }
.faq__icon { font-size: 1.2rem; color: var(--gold); flex-shrink: 0; transition: transform var(--transition); display: inline-block; }
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq__answer p { padding-bottom: 22px; font-size: .95rem; }
.faq__item.open .faq__answer { max-height: 400px; }

/* ── 19. CALCULATEUR HYPOTHÉCAIRE ─────────────────────────── */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  background: var(--border-dark);
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.2);
  transition: transform .15s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.2);
  border: none;
}
.calc-slider:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ── 20. FOOTER ───────────────────────────────────────────── */
.footer { background: var(--black); color: rgba(255,255,255,.5); }
.footer__top { padding: 80px 0 60px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px; }
.footer__brand-name { font-family: var(--font-head); font-size: 1.5rem; color: #fff; margin-bottom: 4px; }
.footer__brand-sub { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer__desc { font-size: .87rem; line-height: 1.75; color: rgba(255,255,255,.4); margin-bottom: 28px; }
.footer__socials { display: flex; gap: 8px; }
.footer__social {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4);
  transition: var(--transition);
}
.footer__social:hover { border-color: var(--gold); color: var(--gold); }
.footer__col-title { font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 24px; }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__link { font-size: .87rem; color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer__link:hover { color: var(--gold); }
.footer__contact-item { display: flex; gap: 10px; font-size: .87rem; color: rgba(255,255,255,.4); margin-bottom: 14px; line-height: 1.5; }
.footer__contact-item a { color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer__contact-item a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: .78rem; color: rgba(255,255,255,.25); flex-wrap: wrap; gap: 12px; }
.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom-links a { color: rgba(255,255,255,.25); transition: color var(--transition); }
.footer__bottom-links a:hover { color: rgba(255,255,255,.6); }

/* ── 20. SCROLL ANIMATIONS ────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right { opacity: 0; transform: translateX(32px);  transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ── 21. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__content .container { grid-template-columns: 1fr; }
  .hero__right { padding-bottom: 0; }
  .services-grid        { grid-template-columns: 1fr 1fr; }
  .portfolio-grid       { grid-template-columns: 1fr 1fr; }
  .footer__grid         { grid-template-columns: 1fr 1fr; }
  .stats-bar__inner,
  .stats-bar__grid      { grid-template-columns: repeat(2, 1fr); }
  .contact-grid         { grid-template-columns: 1fr; }
  .contact-split        { grid-template-columns: 1fr; }
  .about-split          { grid-template-columns: 1fr; gap: 48px; }
  .about-split--reverse .about-split__img-wrap,
  .about-split--reverse .about-split__content { order: 0; }
  .service-detail       { grid-template-columns: 1fr; gap: 40px; }
  .service-detail:nth-child(even) .service-detail__img-wrap,
  .service-detail:nth-child(even) .service-detail__content { order: 0; }
  .nav__links { gap: 14px; }
}
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .nav { padding: 0 20px; }
  .nav__links, .nav__actions .btn { display: none; }
  .nav__hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; background: none; border: none; gap: 1px; }
  .services-grid .service-card { border: 1px solid var(--border); }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-bar__inner,
  .stats-bar__grid { grid-template-columns: 1fr 1fr; }
  .testi-card { min-width: 85vw; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form, .contact-form-wrap { padding: 28px; }
  .hero__trust { display: none; }
  .portfolio-filters { flex-direction: column; }
}
@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .stats-bar__grid,
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   PAGE ESTIMATION — Modèle hédoniste
══════════════════════════════════════════════════════════════ */

/* Indicateur d'étapes */
.est-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
}
.est-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .35;
  transition: opacity .3s;
}
.est-step.active { opacity: 1; }
.est-step.done   { opacity: .65; }
.est-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .82rem;
  color: var(--gold);
  background: transparent;
  transition: all .3s;
}
.est-step.active .est-step__num,
.est-step.done   .est-step__num { background: var(--gold); color: #fff; }
.est-step__label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.est-step__line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--border);
  margin: 0 12px 18px;
}

/* Conteneur formulaire */
.est-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}
.est-panel { display: none; }
.est-panel.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.est-panel__title {
  font-size: 1.45rem;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.est-panel__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Cartes type de bien */
.est-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
.est-type-card input { display: none; }
.est-type-card__body {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.est-type-card__icon { font-size: 1.6rem; }
.est-type-card__body:hover { border-color: var(--gold); color: var(--text); }
.est-type-card:has(input:checked) .est-type-card__body {
  border-color: var(--gold);
  background: var(--gold-light);
  color: var(--primary);
}

/* Grande grille de sélection du type de propriété */
.est-prop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  align-items: stretch;
}
.est-prop-card { cursor: pointer; display: flex; }
.est-prop-card input { display: none; }
.est-prop-card__body {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 16px 28px;
  text-align: center;
  transition: all .2s;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  min-height: 160px;
}
.est-prop-card__body:hover { border-color: var(--gold); background: var(--gold-light); }
.est-prop-card:has(input:checked) .est-prop-card__body {
  border-color: var(--gold);
  background: var(--gold-light);
}
.est-prop-card__icon { width: 52px; height: 52px; color: var(--gold); }
.est-prop-card__icon svg { width: 100%; height: 100%; }
.est-prop-card__label { font-weight: 700; font-size: .95rem; color: var(--text); }
.est-prop-card__sub { font-size: .75rem; color: var(--text-muted); white-space: nowrap; }

/* Caractéristiques (checkboxes) */
.est-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.est-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: .87rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all .2s;
}
.est-feature:hover { border-color: var(--gold); color: var(--text); }
.est-feature:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-light);
  color: var(--primary);
}
.est-feature input { accent-color: var(--gold); }

/* ── Résultats ─────────────────────────────────────────────── */
.est-result {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.est-result__header {
  background: var(--primary);
  padding: 44px 40px;
  text-align: center;
}
.est-result__title { color: #fff; margin-bottom: 8px; }
.est-result__location { color: rgba(255,255,255,.65); font-size: .88rem; }

/* Fourchette de prix */
.est-result__price-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.est-result__price-col {
  padding: 32px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.est-result__price-col--main {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--bg);
}
.est-result__price-lbl {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  color: var(--text-muted);
}
.est-result__price-val { font-family: var(--font-head); color: var(--text-muted); font-size: 1.3rem; }
.est-result__price-val--lg { font-size: 2rem; font-weight: 600; color: var(--primary); }
.est-result__m2 { font-size: .78rem; color: var(--text-muted); }

/* Facteurs */
.est-result__factors { padding: 36px 40px; border-bottom: 1px solid var(--border); }
.est-result__factors-title {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.est-factor {
  display: grid;
  grid-template-columns: 220px 1fr 64px;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.est-factor__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.est-factor__label span:first-child { font-size: .88rem; font-weight: 600; color: var(--text); }
.est-factor__desc { font-size: .75rem; color: var(--text-muted); }
.est-factor__bar-wrap {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.est-factor__bar {
  height: 100%;
  border-radius: 3px;
  background: var(--gold);
  transition: width .7s ease;
  min-width: 4px;
}
.est-factor__bar.negative { background: var(--text-muted); }
.est-factor__pct { font-size: .8rem; font-weight: 700; text-align: right; }
.est-factor__pct.positive { color: var(--gold-dark); }
.est-factor__pct.negative { color: var(--text-muted); }

/* Disclaimer */
.est-result__disclaimer {
  margin: 0 40px 0;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-left: 3px solid var(--gold);
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* CTA résultat */
.est-result__cta {
  padding: 44px 40px;
  text-align: center;
  background: var(--bg);
}
.est-result__cta h3 { margin-bottom: 8px; }
.est-result__cta p  { color: var(--text-muted); font-size: .9rem; max-width: 480px; margin: 0 auto; }
.est-result__cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Responsive estimation */
@media (max-width: 768px) {
  .est-form-wrap { padding: 28px 20px; }
  .est-prop-grid { grid-template-columns: repeat(2, 1fr); }
  .est-prop-card__body { padding: 24px 12px 20px; }
  .est-type-grid { grid-template-columns: repeat(2, 1fr); }
  .est-result__price-wrap { grid-template-columns: 1fr; }
  .est-result__price-col:not(.est-result__price-col--main) { display: none; }
  .est-result__price-col--main { border: none; }
  .est-result__factors { padding: 24px 20px; }
  .est-factor { grid-template-columns: 1fr 64px; }
  .est-factor__bar-wrap { display: none; }
  .est-result__disclaimer { margin: 0 20px; }
  .est-result__cta { padding: 32px 20px; }
}
