/* =========================================
   RESET & TOKENS
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0f2540;
  --navy-mid:    #1a3c5e;
  --navy-light:  #2a5080;
  --gold:        #c9a84c;
  --gold-light:  #e0c270;
  --gold-dark:   #a8872e;
  --white:       #ffffff;
  --off-white:   #f8f6f2;
  --stone:       #f2ede6;
  --text:        #2c2c2c;
  --muted:       #6b7280;
  --border:      #e5e0d8;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', 'Helvetica Neue', Arial, sans-serif;

  --wrap:        1200px;
  --radius-sm:   3px;
  --radius:      6px;
  --radius-lg:   12px;
  --shadow-sm:   0 2px 8px rgba(15,37,64,0.07);
  --shadow:      0 6px 28px rgba(15,37,64,0.11);
  --shadow-lg:   0 16px 56px rgba(15,37,64,0.16);
  --ease:        cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--navy);
}

.container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 96px 0; }
.section--light  { background: var(--off-white); }
.section--stone  { background: var(--stone); }
.section--navy   { background: var(--navy); color: var(--white); }
.section--navy h2 { color: var(--white); }

/* =========================================
   TYPOGRAPHIE UTILITAIRES
   ========================================= */
.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  margin-bottom: 18px;
}

.section-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
}

.section-header {
  margin-bottom: 60px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-lead {
  margin: 0 auto;
}

/* =========================================
   BOUTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: background .22s var(--ease), color .22s var(--ease), transform .18s var(--ease), box-shadow .22s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201,168,76,.35);
}
.btn-gold:hover { background: var(--gold-dark); box-shadow: 0 6px 24px rgba(201,168,76,.4); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }

/* =========================================
   HEADER / NAVIGATION PREMIUM
   ========================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9000;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}

/* Bande dorée top */
.header-topbar {
  background: var(--navy);
  padding: 7px 0;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.header-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-contact {
  display: flex;
  gap: 28px;
}

.topbar-contact a {
  color: rgba(255,255,255,.65);
  font-size: 12px;
  letter-spacing: .03em;
  transition: color .2s;
}
.topbar-contact a:hover { color: var(--gold); }

.topbar-cert {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}

/* Barre principale */
.header-main {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-main-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img,
.site-logo svg {
  height: 46px;
  width: auto;
}

/* Nav principale */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .02em;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-item:hover > .nav-link {
  color: var(--gold);
  background: var(--stone);
}

.nav-link.current { color: var(--gold); }

/* Chevron */
.nav-link .chev {
  width: 14px;
  height: 14px;
  transition: transform .25s var(--ease);
  opacity: .5;
}
.nav-item:hover > .nav-link .chev { transform: rotate(180deg); opacity: 1; }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 10px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: var(--border);
  pointer-events: none;
}
.nav-dropdown::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--white);
  pointer-events: none;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 13.5px;
  color: var(--text);
  transition: background .15s, color .15s;
  border-left: 2px solid transparent;
}

.nav-dropdown a:hover {
  background: var(--stone);
  color: var(--navy);
  border-left-color: var(--gold);
}

.nav-dropdown-icon {
  width: 30px;
  height: 30px;
  background: var(--stone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.nav-dropdown-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.nav-dropdown-text span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 1px;
}

.nav-separator {
  height: 1px;
  background: var(--border);
  margin: 6px 20px;
}

/* CTA header */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: .25s var(--ease);
}

/* Header scrolled */
.site-header.scrolled .header-main {
  box-shadow: var(--shadow);
}

/* Mobile nav */
@media (max-width: 1024px) {
  .header-topbar { display: none; }
  .main-nav, .header-cta .btn-outline-gold { display: none; }
  .nav-burger { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    overflow-y: auto;
    padding: 20px 24px 40px;
    gap: 0;
    z-index: 8999;
  }

  .nav-item { border-bottom: 1px solid var(--border); }
  .nav-link { padding: 14px 0; font-size: 15px; }
  .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    opacity: 1;
    pointer-events: auto;
    padding: 0 0 8px 16px;
    display: none;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-dropdown::before, .nav-dropdown::after { display: none; }
}

/* =========================================
   HERO PRINCIPAL
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://agent-immobilier-ile-maurice.com/wp-content/uploads/mauritius/beach-aerial.jpg') center/cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 14s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,28,48,.88) 0%,
    rgba(10,28,48,.55) 55%,
    rgba(10,28,48,.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 160px 32px 96px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 76px);
  color: var(--white);
  max-width: 720px;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-desc {
  font-size: 17px;
  max-width: 520px;
  color: rgba(255,255,255,.82);
  margin-bottom: 44px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 72px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.trust-item {
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}

.trust-item span {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 56px;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.25);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* =========================================
   BANDE DE CERTIFICATION
   ========================================= */
.cert-strip {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 0;
}

.cert-strip-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,.06);
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 28px;
  border-right: 1px solid rgba(255,255,255,.06);
}

.cert-item-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.cert-item-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.cert-item-text span {
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

/* =========================================
   SERVICES
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 44px 36px;
  position: relative;
  transition: background .2s;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 36px;
  right: 36px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.service-card:hover { background: var(--stone); }
.service-card:hover::after { transform: scaleX(1); }

.service-num {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
  transition: color .2s;
}

.service-card:hover .service-num { color: var(--gold); opacity: .4; }

.service-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.service-card:hover .service-link { gap: 10px; }

/* =========================================
   EXPERTISE / ZONES
   ========================================= */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.zone-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.zone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.zone-card:hover img { transform: scale(1.06); }

.zone-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,28,48,.85) 0%, rgba(10,28,48,.1) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
}

.zone-card-overlay h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 4px;
}

.zone-card-overlay span {
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
}

.zone-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

/* =========================================
   POURQUOI NOUS — SPLIT
   ========================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.split-image {
  position: relative;
  min-height: 560px;
}

.split-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.check-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.check-icon svg { width: 12px; height: 12px; }

.check-item h4 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 3px;
}

.check-item p {
  font-size: 13.5px;
  color: var(--muted);
}

/* =========================================
   PROCESS / ÉTAPES
   ========================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy);
  margin: 0 auto 20px;
  transition: border-color .2s, background .2s;
}

.process-step:hover .step-num {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.process-step h4 {
  font-size: 14px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--muted);
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color .2s, background .2s;
}

.testimonial-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(201,168,76,.3);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.stars span {
  color: var(--gold);
  font-size: 16px;
}

.testimonial-card blockquote {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
  padding-left: 16px;
}

.testimonial-card blockquote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--gold);
  opacity: .6;
  border-radius: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 14px;
  color: var(--white);
}

.author-info span {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

/* =========================================
   CHIFFRES CLÉS
   ========================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  background: var(--white);
  padding: 44px 28px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 52px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
}

/* =========================================
   HERO PAGE INTÉRIEURE
   ========================================= */
.page-hero {
  padding: 160px 32px 80px;
  background: linear-gradient(135deg, var(--navy) 0%, #0d1f30 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.08) 0%, transparent 70%);
}

.page-hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
  letter-spacing: .05em;
}

.breadcrumb a { color: rgba(255,255,255,.55); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { opacity: .4; }

.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 60px);
  color: var(--white);
  max-width: 720px;
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,.72);
  max-width: 560px;
}

/* =========================================
   CARD GÉNÉRIQUE
   ========================================= */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body { padding: 28px; }

.card-body h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* =========================================
   ACCORDION / FAQ
   ========================================= */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  background: var(--white);
}

.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  transition: background .15s;
}

.faq-question:hover { background: var(--stone); }

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gold);
  transition: transform .25s var(--ease), background .2s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--white);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s var(--ease);
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 28px 22px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* =========================================
   FORMULAIRE CONTACT
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: start;
}

.contact-sidebar h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  margin-bottom: 14px;
}

.contact-sidebar > p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 40px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ci-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ci-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.ci-text span {
  font-size: 13.5px;
  color: var(--muted);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 22px;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 20px; }

label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="submit"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}

textarea { min-height: 130px; resize: vertical; }

input[type="submit"] {
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  transition: background .22s var(--ease), transform .18s var(--ease);
}
input[type="submit"]:hover { background: var(--gold-dark); transform: translateY(-2px); }

.success-msg {
  background: #d4edda;
  color: #155724;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
  border-left: 3px solid #28a745;
}

/* =========================================
   TABLE COMPARATIF
   ========================================= */
.table-responsive { overflow-x: auto; border-radius: var(--radius); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

thead th:first-child { border-radius: var(--radius) 0 0 0; }
thead th:last-child  { border-radius: 0 var(--radius) 0 0; }

tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
tbody tr:hover { background: var(--stone); }
tbody td { padding: 14px 18px; color: var(--text); vertical-align: top; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}
.badge-green { background: #d4edda; color: #155724; }
.badge-blue  { background: #cce5ff; color: #004085; }
.badge-gold  { background: rgba(201,168,76,.15); color: var(--gold-dark); }

/* =========================================
   INFORMATIONAL BOXES
   ========================================= */
.info-box {
  border-left: 3px solid var(--gold);
  background: rgba(201,168,76,.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  font-size: 14px;
  color: var(--text);
  margin: 24px 0;
}

.info-box strong { color: var(--navy); }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #07131e;
  color: rgba(255,255,255,.6);
}

.footer-top {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 32px 56px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 56px;
}

.footer-brand img { height: 40px; margin-bottom: 18px; opacity: .85; }

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255,255,255,.05);
  border-radius: 100px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.07);
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
}

.social-pill:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-col ul { display: flex; flex-direction: column; gap: 9px; }

.footer-col li a {
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col li a::before {
  content: '›';
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
}

.footer-col li a:hover { color: var(--gold); }

.footer-cert {
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-cert strong { color: var(--gold); display: block; margin-bottom: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 20px 32px;
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.3);
}

.footer-bottom a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom a:hover { color: var(--gold); }

/* =========================================
   PAGES SPÉCIALISÉES
   ========================================= */

/* Zones prestige */
.zone-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.zone-detail-card {
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  border: 1px solid var(--border);
}

.zone-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.zone-detail-body {
  padding: 28px;
}

.zone-detail-body h3 { font-size: 20px; margin-bottom: 6px; }
.zone-detail-body .zone-type { font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.zone-detail-body p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }

.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.zone-tag-pill {
  background: var(--stone);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .04em;
}

/* Guide d'achat — timeline */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-step {
  position: relative;
  margin-bottom: 48px;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-step h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.timeline-step p {
  font-size: 14.5px;
  color: var(--muted);
}

/* Marché immobilier */
.market-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.market-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}

.market-card .market-icon { font-size: 36px; margin-bottom: 14px; }
.market-card h3 { font-size: 17px; margin-bottom: 8px; }
.market-card p { font-size: 13.5px; color: var(--muted); }

/* =========================================
   MENTIONS LÉGALES
   ========================================= */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 22px;
  margin: 44px 0 14px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content p { font-size: 14.5px; color: var(--muted); margin-bottom: 10px; }
.legal-content a { color: var(--gold); }

/* =========================================
   VUE D'ENSEMBLE
   ========================================= */
.overview-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.overview-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.overview-group-header {
  background: var(--navy);
  color: var(--white);
  padding: 14px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.overview-group ul {
  padding: 8px 0;
}

.overview-group li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  color: var(--text);
  transition: background .15s, color .15s;
}

.overview-group li a::before { content: '→'; color: var(--gold); font-size: 12px; }
.overview-group li a:hover { background: var(--stone); color: var(--navy); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
  .cert-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .zones-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-top       { grid-template-columns: 1fr 1fr; }
  .process-grid     { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .process-grid::before { display: none; }
  .market-cards     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section   { padding: 64px 0; }

  .hero h1 { font-size: 34px; }
  .hero-trust { flex-wrap: wrap; gap: 20px; }

  .cert-strip-inner { grid-template-columns: 1fr; }
  .services-grid    { grid-template-columns: 1fr; }
  .zones-grid       { grid-template-columns: 1fr; }
  .split            { grid-template-columns: 1fr; }
  .split-content    { padding: 48px 32px; }
  .split-image      { min-height: 300px; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid        { grid-template-columns: 1fr 1fr; }
  .process-grid      { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card    { padding: 32px 24px; }
  .form-row     { grid-template-columns: 1fr; }

  .footer-top   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .zone-detail-grid  { grid-template-columns: 1fr; }
  .zone-detail-card  { grid-template-columns: 1fr; }
  .overview-cols     { grid-template-columns: 1fr; }
  .market-cards      { grid-template-columns: 1fr; }
}

/* =========================================
   CORRECTIONS MOBILE — v1.0.2
   ========================================= */

/* ---- Burger : rendu des barres ---- */
@media (max-width: 1024px) {
  .nav-burger span { background: var(--navy); }
  .site-header.scrolled .nav-burger span { background: var(--navy); }

  /* Animation burger → croix */
  .nav-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Logo SVG plus petit */
  .site-logo svg { height: 38px; width: auto; }

  /* Supprimer le btn CTA header */
  .header-cta { display: none; }
}

/* ---- Hero : padding et typographie ---- */
@media (max-width: 768px) {
  .hero-content {
    padding: 100px 20px 56px;
  }

  .hero h1 {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .hero-badge { font-size: 10px; margin-bottom: 18px; }

  .hero-desc {
    font-size: 15px;
    margin-bottom: 28px;
    max-width: 100%;
  }

  .hero-actions {
    margin-bottom: 36px;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions .btn { width: 100%; text-align: center; }

  /* Trust stats : grille 2×2, lisible */
  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
    padding-top: 20px;
  }

  .trust-item { text-align: left; }

  .trust-item strong {
    font-size: 24px;
    color: var(--gold-light);
    letter-spacing: -.01em;
  }

  .trust-item span {
    font-size: 10.5px;
    color: rgba(255,255,255,.75);
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  /* Bande certif */
  .cert-strip { display: none; }

  /* Page hero intérieure */
  .page-hero { padding: 100px 20px 52px; }
  .page-hero h1 { font-size: 26px; margin-bottom: 12px; }
  .page-hero p  { font-size: 15px; }

  /* Stats intérieures */
  .stat-value { font-size: 38px; }

  /* Process mobile : 1 colonne */
  .process-grid { grid-template-columns: 1fr; }

  /* Formulaire contact */
  .contact-sidebar > .info-box + div { display: none; } /* hide déco image */

  /* Market cards : 1 col + padding réduit */
  .market-card { padding: 24px 20px; }
  .market-card .market-icon { font-size: 28px; margin-bottom: 10px; }

  /* Footer */
  .footer-socials { flex-direction: column; gap: 8px; }
  .social-pill { width: 100%; text-align: center; }

  /* Split : split-image avant le texte */
  .split.reverse-mobile { direction: ltr; }
  .split { direction: ltr; }

  /* Table responsive scroll */
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { min-width: 540px; }
}

/* ---- Très petits écrans (< 390px) ---- */
@media (max-width: 390px) {
  .hero h1 { font-size: 26px; }
  .trust-item strong { font-size: 20px; }
  .trust-item span   { font-size: 10px; }
  .btn { padding: 11px 18px; font-size: 13px; }
  .stat-value { font-size: 32px; }
  .stats-grid { grid-template-columns: 1fr; }
}
