/* ============================================================
   CABINET M.A — Feuille de style v2
   Palette : gris clair élégant + or + charcoal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Raleway:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@400;500;600&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:         #C4A35A;
  --gold-light:   #D4B877;
  --gold-dark:    #8B6914;
  --gold-pale:    rgba(196,163,90,0.10);

  /* Fond principal : gris chaud élégant */
  --bg-main:      #F5F4F0;
  --bg-alt:       #EDECEA;
  --bg-card:      #FFFFFF;
  --bg-input:     #F9F8F6;

  /* Charcoal (ex-noir) */
  --charcoal:     #232320;
  --charcoal-alt: #2E2E2B;

  --text-dark:    #2a2a28;
  --text-mid:     #5a5a56;
  --text-muted:   #9a9890;
  --text-light:   #FFFFFF;

  --border:       #E0DDD6;
  --border-gold:  rgba(196,163,90,0.28);

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Raleway', sans-serif;
  --font-logo:    'Cormorant Garamond', serif;
  --transition:   0.35s cubic-bezier(.4,0,.2,1);
  --radius:       12px;
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:    0 6px 30px rgba(0,0,0,0.10);
  --shadow-lg:    0 12px 50px rgba(0,0,0,0.14);
}

html {
  scroll-behavior: smooth;
  /* Safe area pour iPhone avec encoche / Dynamic Island */
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--bg-main);
  line-height: 1.7;
  overflow-x: hidden;
  /* Désactive le zoom automatique iOS sur les inputs */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Supprime le flash bleu au tap sur iOS */
* { -webkit-tap-highlight-color: transparent; }

/* Inputs iOS : taille 16px minimum pour éviter le zoom auto */
input, select, textarea {
  font-size: max(16px, 1em);
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

/* ---- Utility ---- */
.container   { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.gold        { color: var(--gold); }
.section     { padding: 90px 0; }
.section--light { background: var(--bg-main); }
.section--alt   { background: var(--bg-alt); }
.section--white { background: #F5F0E8; }
.section--charcoal { background: var(--charcoal); color: var(--text-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 680px;
  margin-bottom: 56px;
  line-height: 1.75;
}
.divider-gold {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 18px 0 40px;
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 38px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(196,163,90,0.30);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196,163,90,0.45);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #fff; }

.btn-dark {
  background: var(--charcoal);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-dark:hover {
  background: var(--charcoal-alt);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  /* Fond sombre léger par défaut pour que le logo reste lisible sur toutes les pages */
  background: rgba(35,35,32,0.55);
  backdrop-filter: blur(6px);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
/* Page d'accueil : navbar totalement transparente au départ (dark hero derrière) */
.navbar.nav-transparent {
  background: transparent;
  backdrop-filter: none;
}
.navbar.scrolled {
  background: rgba(35,35,32,0.97);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.nav-logo .logo-main {
  font-family: var(--font-logo);
  font-size: 1.7rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}
.nav-logo .logo-sub {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links > li {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.70);
  position: relative;
  transition: color var(--transition);
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  font-size: 0.78rem !important;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: #fff !important;
  border-radius: 3px;
}

/* ============================================================
   PAGE 1 — HERO (charcoal chaud, plus "noir")
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #1C1C1A 0%, #26220E 45%, #1E1C10 70%, #1C1C1A 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 60%, rgba(196,163,90,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 40%, rgba(196,163,90,0.05) 0%, transparent 60%);
}
.hero-bg-text {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-logo);
  font-size: clamp(80px, 15vw, 200px);
  color: rgba(255,255,255,0.022);
  white-space: nowrap;
  letter-spacing: 0.1em;
  pointer-events: none;
  user-select: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 32px 80px;
  width: 100%;
}
/* ---- Hero Logo image ---- */
.hero-logo-img {
  height: 420px;
  max-width: 92vw;
  width: auto;
  display: inline-block;
  /* Rendu haute qualité — netteté maximale */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transform: translateZ(0);
  will-change: transform;
}
@media (max-width: 1100px) { .hero-logo-img { height: 340px; } }
@media (max-width: 900px)  { .hero-logo-img { height: 260px; } }
@media (max-width: 700px)  { .hero-logo-img { height: auto !important; width: 88vw !important; max-width: 420px !important; } }
@media (max-width: 400px)  { .hero-logo-img { width: 92vw !important; max-width: 340px !important; } }

/* ---- Hero Brand (nom central dominant) ---- */
.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 18px;
  animation: fadeInDown 0.9s ease both;
}
.hero-brand-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,163,90,0.5));
}
.hero-brand-line:last-child {
  background: linear-gradient(90deg, rgba(196,163,90,0.5), transparent);
}

.hero-brand-name {
  font-family: var(--font-logo);
  font-size: clamp(3.8rem, 9vw, 8rem);
  font-weight: 600;
  line-height: 1;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-shadow: 0 2px 40px rgba(196,163,90,0.15);
}
.hero-brand-name span {
  background: linear-gradient(135deg, #D4B877 0%, #C9A84C 40%, #A8821A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-brand-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
  animation: fadeInUp 0.9s ease 0.15s both;
}

.hero-divider-gold {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 26px;
  animation: fadeInUp 0.9s ease 0.2s both;
}

.hero-slogan {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.50);
  font-style: normal;
  margin-bottom: 18px;
  animation: fadeInUp 0.9s ease 0.25s both;
}
.hero-slogan em {
  font-style: italic;
  color: rgba(196,163,90,0.75);
}

/* (conservé pour compatibilité pages 2 & 3) */
.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(196,163,90,0.38);
  padding: 8px 20px;
  border-radius: 2px;
  margin-bottom: 20px;
}

/* Bloc adresse mis en évidence */
.hero-address-block {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  animation: fadeInUp 0.9s ease 0.3s both;
}
.hero-address-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(196,163,90,0.10);
  border: 1px solid rgba(196,163,90,0.35);
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-address-inner svg {
  color: var(--gold);
  flex-shrink: 0;
}
.hero-address-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.hero-address-sep {
  color: rgba(196,163,90,0.4);
  font-size: 1rem;
}
.hero-address-inner strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.hero-address-inner a {
  color: var(--gold);
  font-weight: 600;
  transition: opacity var(--transition);
}
.hero-address-inner a:hover { opacity: 0.75; }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.4s both;
  margin-bottom: 60px;
}
.hero-team {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 60px;
  animation: fadeInUp 1s ease 0.4s both;
}
.hero-member { text-align: center; }
.hero-member-photo {
  width: 200px; height: 260px;
  border-radius: 8px 8px 0 0;
  background: #F5F4F0;
  border: 1px solid rgba(196,163,90,0.25);
  margin: 0 auto 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.hero-member-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-member-photo .photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: rgba(196,163,90,0.38);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.hero-member-photo .photo-placeholder svg { width: 48px; height: 48px; opacity: 0.38; }
.hero-member-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
}
.hero-member-role {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 3px;
}
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.30);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 18px; height: 18px; }

/* ---- Why Us — FOND GRIS CLAIR ---- */
.why-us {
  background: var(--bg-alt);
  padding: 90px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--bg-main);
  border-radius: var(--radius);
  padding: 40px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}
.why-card:hover::before { opacity: 1; }

.why-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(196,163,90,0.12), rgba(196,163,90,0.04));
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.why-icon svg { width: 26px; height: 26px; color: var(--gold); }

.why-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}
.why-card p {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.why-card ul { list-style: none; margin-top: 14px; }
.why-card ul li {
  font-size: 0.82rem;
  color: var(--text-mid);
  padding: 5px 0 5px 18px;
  position: relative;
  line-height: 1.5;
}
.why-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}
.why-card .card-footer-text {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* Mission bloc */
.mission-bloc {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  padding: 70px 0;
  text-align: center;
}
.mission-bloc .mission-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}
.mission-bloc h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 12px;
}
.mission-bloc p {
  color: rgba(255,255,255,0.80);
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================================
   PAGE 2 — MÉTHODOLOGIE / RÉALISATIONS
   ============================================================ */
.method-hero {
  background: var(--bg-main);
  padding: 140px 0 80px;
  text-align: center;
}
.method-hero .section-sub { margin: 16px auto 0; text-align: center; }

.method-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 60px 0;
}
.method-card {
  background: var(--bg-main);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.method-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.method-card .card-icon {
  width: 56px; height: 56px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.method-card .card-icon svg { width: 28px; height: 28px; color: var(--gold); }
.method-card h3 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 12px; line-height: 1.3; }
.method-card p { font-size: 0.84rem; color: var(--text-mid); line-height: 1.7; }

/* Before/After */
.before-after {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 80px;
  box-shadow: var(--shadow-md);
}
.ba-side {
  position: absolute;
  top: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  overflow: hidden;
}
.ba-before { left: 0; width: 50%; background: linear-gradient(160deg, #2a2218, #1a150d); }
.ba-after  { right: 0; width: 50%; background: linear-gradient(160deg, #EDE5D5, #F5EFE3); }
.ba-side img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.6;
}
.ba-label {
  position: relative; z-index: 2;
  background: rgba(0,0,0,0.60);
  border-radius: 8px; padding: 16px 20px;
  backdrop-filter: blur(8px);
}
.ba-label h4 { font-family: var(--font-serif); font-size: 1.3rem; color: #fff; margin-bottom: 4px; }
.ba-label p { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.ba-divider {
  position: absolute; top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  z-index: 3;
}
.ba-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
}

/* Réalisations gallery */
.realisations-section { background: var(--bg-alt); padding: 80px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.gallery-card {
  background: var(--bg-main);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery-card-img {
  height: 210px;
  background: linear-gradient(135deg, #2a2218, #1a150d);
  position: relative; overflow: hidden;
}
.gallery-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-card:hover .gallery-card-img img { transform: scale(1.05); }
.gallery-card-img .img-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(196,163,90,0.92);
  color: #fff; font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 3px;
}
.gallery-card-body { padding: 22px 24px; }
.gallery-card-body h3 { font-family: var(--font-serif); font-size: 1rem; margin-bottom: 8px; }
.gallery-card-body p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; }
.gallery-card-footer {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem; color: var(--gold); font-weight: 600; letter-spacing: 0.06em;
}

/* ============================================================
   PAGE 3 — CONTACT HERO
   ============================================================ */
.contact-hero {
  background: linear-gradient(160deg, var(--bg-main) 60%, var(--bg-alt) 100%);
  padding: 140px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: 'Contact';
  position: absolute;
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-logo);
  font-size: clamp(60px, 12vw, 160px);
  color: rgba(196,163,90,0.06);
  white-space: nowrap;
  pointer-events: none;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 56px;
  padding: 60px 0 100px;
  align-items: start;
}

/* Infos contact */
.contact-info h2 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 20px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.ci-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 20px; height: 20px; color: #fff; }
.ci-text { line-height: 1; }
.ci-text .ci-label {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}
.ci-text .ci-value { font-size: 1rem; font-weight: 600; color: var(--text-dark); }
.ci-text .ci-value a { color: var(--text-dark); transition: color var(--transition); }
.ci-text .ci-value a:hover { color: var(--gold); }

.contact-badge {
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 32px;
}
.contact-badge h4 { font-family: var(--font-serif); font-size: 1.05rem; color: var(--gold-light); margin-bottom: 8px; }
.contact-badge p { font-size: 0.82rem; color: rgba(255,255,255,0.58); line-height: 1.7; }

/* ============================================================
   FORMULAIRE MULTI-ÉTAPES — Qualification client
   ============================================================ */
.contact-form-wrap {
  background: var(--bg-main);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Progress header */
.form-progress-header {
  background: var(--charcoal);
  padding: 28px 40px 22px;
}
.form-progress-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 18px;
}
.form-steps-bar {
  display: flex;
  align-items: center;
  gap: 0;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 0 8px;
}
.step-item.active:not(:last-child)::after,
.step-item.done:not(:last-child)::after {
  background: rgba(196,163,90,0.4);
}
.step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.step-item.active .step-dot {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}
.step-item.done .step-dot {
  border-color: rgba(196,163,90,0.5);
  background: rgba(196,163,90,0.15);
  color: var(--gold);
}
.step-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  white-space: nowrap;
  transition: color 0.3s ease;
}
.step-item.active .step-label { color: var(--gold-light); }
.step-item.done .step-label { color: rgba(196,163,90,0.6); }

/* Form body */
.form-body { padding: 40px; }

.form-step { display: none; }
.form-step.active { display: block; }

.form-step-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-group label .required {
  color: var(--gold);
  font-size: 0.85em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--bg-input);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); font-size: 0.85rem; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,163,90,0.10);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Select custom */
.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--gold);
  pointer-events: none;
}
.select-wrap select { width: 100%; cursor: pointer; padding-right: 36px; }

/* Radio-button style cards for type de bien */
.radio-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.radio-card input[type="radio"] { display: none; }
.radio-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg-input);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  text-transform: none;
}
.radio-card label svg { width: 22px; height: 22px; color: var(--text-muted); transition: color var(--transition); }
.radio-card input:checked + label {
  border-color: var(--gold);
  background: rgba(196,163,90,0.07);
  color: var(--text-dark);
}
.radio-card input:checked + label svg { color: var(--gold); }

/* Checkbox multi-sélection type de travaux */
.check-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.check-card input[type="checkbox"] { display: none; }
.check-card label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg-input);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--text-mid);
  text-transform: none;
  letter-spacing: 0;
}
.check-card label::before {
  content: '';
  width: 14px; height: 14px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  flex-shrink: 0;
  transition: all var(--transition);
  background: #fff;
}
.check-card input:checked + label {
  border-color: var(--gold);
  background: rgba(196,163,90,0.07);
  color: var(--text-dark);
  font-weight: 600;
}
.check-card input:checked + label::before {
  background: var(--gold);
  border-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,6 5,9 10,3' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Slider visuel budget */
.budget-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.budget-option input[type="radio"] { display: none; }
.budget-option label {
  display: flex;
  flex-direction: column;
  padding: 14px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg-input);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.budget-option label .budget-range {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
  letter-spacing: 0;
  text-transform: none;
}
.budget-option label .budget-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.budget-option input:checked + label {
  border-color: var(--gold);
  background: rgba(196,163,90,0.07);
}
.budget-option input:checked + label .budget-range { color: var(--gold-dark); }

/* Créneaux de rappel */
.creneaux-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.creneau-item input[type="checkbox"] { display: none; }
.creneau-item label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg-input);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-mid);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.creneau-item label .creneau-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}
.creneau-item input:checked + label {
  border-color: var(--gold);
  background: rgba(196,163,90,0.07);
  color: var(--text-dark);
}

/* RGPD */
.rgpd-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 26px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: 8px;
}
.rgpd-group input[type="checkbox"] {
  width: 17px; height: 17px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--gold);
}
.rgpd-group label {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.55;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.rgpd-group label a { color: var(--gold); }

/* Form navigation */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.form-nav-left { display: flex; align-items: center; gap: 12px; }
.btn-prev {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-prev:hover { border-color: var(--gold); color: var(--gold); }
.btn-next {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(196,163,90,0.28);
}
.btn-next:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,163,90,0.40); }

.form-counter {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Succès */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
}
.form-success .success-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 28px rgba(196,163,90,0.35);
}
.form-success .success-icon svg { width: 34px; height: 34px; color: #fff; }
.form-success h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--text-mid); font-size: 0.9rem; max-width: 380px; margin: 0 auto; line-height: 1.7; }

/* ============================================================
   FOOTER — charcoal (pas noir)
   ============================================================ */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.50);
  padding: 60px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 44px;
}
.footer-brand .logo-main {
  font-family: var(--font-logo);
  font-size: 1.6rem;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}
.footer-brand .logo-sub { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; }
.footer-brand p { font-size: 0.82rem; line-height: 1.8; margin-top: 18px; color: rgba(255,255,255,0.36); }
.footer-col h5 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.83rem; color: rgba(255,255,255,0.40); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.20);
}

/* ============================================================
   FOOTER 4 COLONNES
   ============================================================ */
.footer-inner--4col {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
@media (max-width: 1100px) { .footer-inner--4col { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px)  { .footer-inner--4col { grid-template-columns: 1fr; } }

/* ============================================================
   PAGES INTÉRIEURES — Hero photo
   ============================================================ */
.page-hero {
  min-height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(237,232,218,0.82) 0%, rgba(220,210,190,0.70) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 32px;
}
.page-hero-logo-wrap {
  margin-bottom: 28px;
}
.page-hero-logo {
  height: 120px;
  width: auto;
  display: inline-block;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
  margin: 12px 0 0;
}
.page-hero-sub {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-top: 10px;
}

/* ============================================================
   TWO-COL INTRO
   ============================================================ */
.two-col-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.section-label-gold {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}
.intro-photo-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.intro-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.intro-photo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--gold);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.intro-photo-badge svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-main);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}
.service-card-icon {
  width: 52px; height: 52px;
  background: rgba(196,163,90,0.10);
  border: 1px solid rgba(196,163,90,0.22);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card-icon svg { width: 26px; height: 26px; color: var(--gold); }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.service-card p { font-size: 0.84rem; color: var(--text-mid); line-height: 1.75; }

/* ============================================================
   TRIO GRID (3 photos)
   ============================================================ */
.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trio-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.trio-card img {
  width: 100%; height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.trio-card:hover img { transform: scale(1.04); }
.trio-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(35,35,32,0.80), transparent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ============================================================
   AVANTAGES GRID (page ancien-travaux)
   ============================================================ */
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.avantage-card {
  background: var(--bg-main);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.avantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.avantage-num {
  font-family: var(--font-logo);
  font-size: 3.5rem;
  color: rgba(196,163,90,0.12);
  font-weight: 700;
  line-height: 1;
  position: absolute;
  top: 16px; right: 20px;
}
.avantage-icon {
  width: 52px; height: 52px;
  background: rgba(196,163,90,0.10);
  border: 1px solid rgba(196,163,90,0.22);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.avantage-icon svg { width: 26px; height: 26px; color: var(--gold); }
.avantage-card h3 { font-family: var(--font-serif); font-size: 1.05rem; color: var(--text-dark); margin-bottom: 12px; }
.avantage-card p  { font-size: 0.83rem; color: var(--text-mid); line-height: 1.75; }

/* ============================================================
   AIDES GRID
   ============================================================ */
.aides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.aide-card {
  background: var(--bg-main);
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition);
}
.aide-card:hover { transform: translateY(-3px); border-color: var(--border-gold); }
.aide-header {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-gold);
}
.aide-card p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 14px; }
.aide-tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(196,163,90,0.08);
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
}

/* ============================================================
   BEFORE/AFTER SECTION (fond clair)
   ============================================================ */
.before-after-section {
  background: var(--bg-alt);
  padding: 80px 0;
}
.before-after-section .section-title { color: var(--text-dark); }

/* ============================================================
   NAV DROPDOWN
   ============================================================ */
.nav-has-drop { position: relative; }
.nav-drop {
  display: none;
  position: absolute;
  top: 100%;           /* flush against the nav item — no gap */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(35,35,32,0.98);
  backdrop-filter: blur(14px);
  border-radius: 8px;
  padding: 18px 0 10px; /* top padding replaces the old gap */
  min-width: 220px;
  list-style: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  border: 1px solid rgba(196,163,90,0.15);
  z-index: 200;
}
/* Bridge the hover gap so the cursor doesn't lose focus */
.nav-drop::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0; right: 0;
  height: 12px;
}
.nav-has-drop:hover .nav-drop { display: block; }
/* Also show when .open class is toggled via JS (mobile-safe) */
.nav-has-drop.open .nav-drop { display: block; }
.nav-drop li a {
  display: block;
  padding: 10px 22px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-drop li a:hover,
.nav-drop li a.active { color: var(--gold); background: rgba(196,163,90,0.08); }
.drop-caret { font-size: 0.6rem; opacity: 0.6; transition: transform 0.25s ease; }
.nav-has-drop.open .drop-caret { transform: rotate(180deg); }

/* ============================================================
   ÉQUIPE PAGE
   ============================================================ */
.equipe-hero-section {
  background: var(--bg-main);
  padding: 140px 0 70px;
  text-align: center;
}
.equipe-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}
.equipe-card {
  background: var(--bg-main);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  text-align: center;
}
.equipe-card-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.equipe-card-photo-placeholder {
  width: 100%;
  height: 340px;
  background: linear-gradient(160deg, var(--bg-alt), var(--bg-main));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}
.equipe-card-photo-placeholder svg { width: 60px; height: 60px; color: rgba(196,163,90,0.3); }
.equipe-card-photo-placeholder span { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.equipe-card-photo-wrap {
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: #F5F4F0;
}
.equipe-card-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.equipe-card-body {
  padding: 28px 32px 36px;
  border-top: 3px solid var(--gold);
}
.equipe-card-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.equipe-card-role {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}
.equipe-card-bio {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.8;
  text-align: left;
}

/* ============================================================
   MÉTHODOLOGIE PAGE
   ============================================================ */
.methodo-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.methodo-steps::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 60px;
  bottom: 60px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(196,163,90,0.15));
}
.methodo-step {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  padding: 32px 0;
  position: relative;
}
.methodo-step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-logo);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  box-shadow: 0 4px 16px rgba(196,163,90,0.18);
  z-index: 1;
  background: #fff;
}
.methodo-step-content {
  padding-top: 16px;
  flex: 1;
}
.methodo-step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.methodo-step-content p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.8; }

/* ============================================================
   RESPONSIVE PAGES INTÉRIEURES
   ============================================================ */
@media (max-width: 1100px) {
  .aides-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .two-col-intro  { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .avantages-grid { grid-template-columns: repeat(2, 1fr); }
  .equipe-cards   { grid-template-columns: 1fr; max-width: 480px; }
  .page-hero-logo { height: 90px; }
}
@media (max-width: 700px) {
  .services-grid  { grid-template-columns: 1fr; }
  .avantages-grid { grid-template-columns: 1fr; }
  .trio-grid      { grid-template-columns: 1fr; }
  .aides-grid     { grid-template-columns: 1fr; }
  .methodo-steps::before { display: none; }
  .page-hero-logo { height: 70px; }
  .page-hero-title { font-size: 1.8rem; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .why-grid       { grid-template-columns: repeat(2, 1fr); }
  .method-cards   { grid-template-columns: repeat(2, 1fr); }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
  .check-cards    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .contact-wrap        { grid-template-columns: 1fr; }
  .form-body           { padding: 28px; }
  .form-progress-header{ padding: 22px 28px 18px; }
  .hero-team           { gap: 30px; }
  .hero-member-photo   { width: 160px; height: 210px; }
  .budget-visual       { grid-template-columns: repeat(2, 1fr); }
  .step-label          { display: none; }
}
@media (max-width: 700px) {
  .container      { padding: 0 18px; }
  .why-grid       { grid-template-columns: 1fr; }
  .method-cards   { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .radio-cards    { grid-template-columns: repeat(2, 1fr); }
  .check-cards    { grid-template-columns: repeat(2, 1fr); }
  .budget-visual  { grid-template-columns: 1fr 1fr; }
  .creneaux-grid  { grid-template-columns: 1fr; }
  .hero-team      { flex-direction: column; align-items: center; }
  .before-after   { height: 350px; }
  .footer-inner   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom  { flex-direction: column; gap: 10px; text-align: center; }
  .gallery-grid   { grid-template-columns: 1fr; }
  .form-steps-bar { gap: 4px; }

  /* Menu hamburger mobile */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(35,35,32,0.98);
    backdrop-filter: blur(16px);
    justify-content: center;
    align-items: center;
    gap: 36px;
    z-index: 999;
  }
  .nav-links.open li { text-align: center; }
  .nav-links.open a { font-size: 1.2rem; letter-spacing: 0.14em; color: rgba(255,255,255,0.85); }
  .nav-links.open a.nav-cta { padding: 14px 36px; border-radius: 4px; }
  /* Mobile : sous-menu Services déroulant */
  .nav-links.open .nav-drop {
    display: none;
    position: static;
    transform: none;
    background: rgba(196,163,90,0.08);
    border-radius: 8px;
    padding: 6px 0;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: 1px solid rgba(196,163,90,0.2);
    margin-top: 8px;
  }
  .nav-links.open .nav-has-drop.open .nav-drop { display: block; }
  .nav-links.open .nav-drop li a { font-size: 0.95rem; padding: 10px 20px; color: rgba(255,255,255,0.75); }
  .nav-links.open .nav-drop::before { display: none; }

  .nav-hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: none;
    border: none;
  }
  .nav-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
  }
  .nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* ============================================================
   iOS / iPhone — Optimisations spécifiques
   ============================================================ */
@media (max-width: 900px) {

  /* Taille tactile minimum 44px (Apple HIG) */
  .btn, .btn-next, .btn-prev { min-height: 48px; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .radio-card label, .check-card label,
  .budget-option label, .creneau-item label { min-height: 48px; }
  .form-group input, .form-group select, .form-group textarea {
    min-height: 48px;
    font-size: 16px; /* Empêche zoom auto iOS */
    padding: 14px 16px;
  }

  /* Hero iPhone */
  .hero-brand         { gap: 10px; }
  .hero-brand-line    { max-width: 50px; }
  .hero-brand-name    { font-size: clamp(2.8rem, 13vw, 5rem); }
  .hero-brand-subtitle{ font-size: clamp(0.65rem, 3vw, 0.95rem); letter-spacing: 0.18em; }
  .hero-slogan        { font-size: 0.95rem; }
  .hero-content       { padding: 100px 20px 60px; }

  /* Adresse : empilée sur mobile */
  .hero-address-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding: 14px 18px;
  }
  .hero-address-sep { display: none; }

  /* Photos équipe */
  .hero-member-photo { width: 140px; height: 184px; }
  .hero-member-name  { font-size: 0.9rem; }

  /* Sections */
  .why-card   { padding: 28px 20px; }
  .section    { padding: 60px 0; }
  .why-us     { padding: 60px 0; }

  /* Formulaire */
  .form-body              { padding: 24px 18px; }
  .form-progress-header   { padding: 20px 18px 16px; }
  .form-progress-title    { font-size: 1rem; }
  .contact-form-wrap      { border-radius: 14px; }

  /* Avant/après */
  .ba-label h4 { font-size: 1.05rem; }
  .ba-label p  { font-size: 0.72rem; }

  /* Safe area iPhone bas d'écran */
  footer { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .navbar.scrolled { padding-top: max(12px, env(safe-area-inset-top)); }
}

/* iPhone SE et petits écrans (≤ 390px) */
@media (max-width: 390px) {
  .hero-brand-name      { font-size: 2.8rem; }
  .hero-brand-subtitle  { font-size: 0.6rem; letter-spacing: 0.12em; }
  .hero-team            { gap: 14px; }
  .hero-member-photo    { width: 120px; height: 158px; }
  .hero-actions         { flex-direction: column; align-items: stretch; }
  .hero-actions .btn    { justify-content: center; }
  .form-body            { padding: 20px 14px; }
  .radio-cards          { grid-template-columns: 1fr 1fr; }
  .check-cards          { grid-template-columns: 1fr 1fr; }
  .budget-visual        { grid-template-columns: 1fr 1fr; }
  .contact-wrap         { padding: 40px 0 60px; }
}

/* ============================================================
   SLOGAN HERO — 2 lignes grandes
   ============================================================ */
.hero-slogan-wrap {
  margin: 4px 0 32px;
  animation: fadeInUp 0.9s ease 0.25s both;
}
.hero-slogan-line1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.8vw, 3rem);
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.hero-slogan-line2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.8vw, 3rem);
  font-weight: 700;
  font-style: normal;
  color: var(--gold-light);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* ============================================================
   WHY-US — FOND CLAIR
   ============================================================ */
.why-us {
  background: var(--bg-alt);
  padding: 90px 0;
}

/* ============================================================
   PAGE CONTACT — "Parlez-nous de votre projet"
   ============================================================ */

/* Hero */
.pnvp-hero {
  position: relative;
  background: linear-gradient(160deg, #F2EDE4 0%, #EDE5D5 50%, #E8DFC8 100%);
  padding: 140px 0 80px;
  text-align: center;
  overflow: hidden;
}
.pnvp-hero::before {
  content: 'M.A';
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-logo);
  font-size: clamp(100px, 20vw, 260px);
  color: rgba(196,163,90,0.07);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
}
.pnvp-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(196,163,90,0.10) 0%, transparent 70%);
}
.pnvp-hero-inner { position: relative; z-index: 2; }
.pnvp-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 0;
}
.pnvp-subtitle {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

/* Section formulaire */
.pnvp-form-section {
  background: var(--bg-alt);
  padding: 60px 0 100px;
}

/* Carte blanche */
.pnvp-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 50px rgba(0,0,0,0.10);
  padding: 50px 56px;
  max-width: 860px;
  margin: 0 auto 40px;
  border: 1px solid var(--border);
}

/* Champ pleine largeur */
.pnvp-field-full {
  width: 100%;
  margin-bottom: 16px;
}

/* Ligne 2 colonnes */
.pnvp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.pnvp-field { width: 100%; }

/* Select wrapper */
.pnvp-select-wrap {
  position: relative;
  width: 100%;
}
.pnvp-select-wrap select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 15px 44px 15px 18px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pnvp-select-wrap select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,163,90,0.12);
  background: #fff;
}
.pnvp-select-wrap select option { color: var(--text-dark); }
.pnvp-select-arrow {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--gold);
  pointer-events: none;
}

/* Inputs */
.pnvp-field input,
.pnvp-field textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 15px 18px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pnvp-field input:focus,
.pnvp-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,163,90,0.12);
  background: #fff;
}
.pnvp-field input::placeholder,
.pnvp-field textarea::placeholder { color: var(--text-muted); }

/* Textarea */
.pnvp-field-full textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 15px 18px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-dark);
  resize: vertical;
  min-height: 130px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pnvp-field-full textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,163,90,0.12);
  background: #fff;
}
.pnvp-field-full textarea::placeholder { color: var(--text-muted); }

/* RGPD */
.pnvp-rgpd {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0 28px;
  padding: 16px 18px;
  background: var(--bg-alt);
  border-radius: 10px;
}
.pnvp-rgpd input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--gold);
}
.pnvp-rgpd label {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.6;
  cursor: pointer;
}

/* Bouton submit */
.pnvp-submit-wrap { text-align: center; }
.pnvp-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 52px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(196,163,90,0.38);
  transition: var(--transition);
}
.pnvp-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(196,163,90,0.50);
}
.pnvp-reassurance {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Succès */
.pnvp-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 40px;
  gap: 16px;
}
.pnvp-success-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(196,163,90,0.38);
}
.pnvp-success-icon svg { width: 40px; height: 40px; color: #fff; }
.pnvp-success h2 { font-family: var(--font-serif); font-size: 2rem; color: var(--text-dark); }
.pnvp-success p  { color: var(--text-mid); font-size: 0.95rem; line-height: 1.75; max-width: 440px; }

/* Barre contact rapide */
.pnvp-contact-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto;
}
.pnvp-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-mid);
}
.pnvp-contact-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.pnvp-contact-item a { color: var(--text-mid); transition: color var(--transition); }
.pnvp-contact-item a:hover { color: var(--gold); }

/* Responsive contact */
@media (max-width: 700px) {
  .pnvp-card    { padding: 28px 20px; border-radius: 14px; }
  .pnvp-row     { grid-template-columns: 1fr; }
  .pnvp-contact-bar { gap: 20px; flex-direction: column; align-items: center; }
  .hero-slogan-line1, .hero-slogan-line2 { font-size: clamp(1.3rem, 7vw, 2rem); }
}
@media (max-width: 390px) {
  .pnvp-card { padding: 20px 14px; }
  .pnvp-btn-submit { padding: 16px 28px; font-size: 0.85rem; }
}

/* ============================================================
   MOBILE ULTRA — Optimisations smartphone complètes
   ============================================================ */

/* Slogan plus compact sur mobile */
@media (max-width: 700px) {
  .hero-slogan-line1,
  .hero-slogan-line2 {
    font-size: clamp(1.3rem, 6.5vw, 2rem);
  }
  .hero-slogan-wrap { margin: 4px 0 20px; }
  .hero-brand-subtitle {
    font-size: clamp(0.7rem, 3.5vw, 1rem);
    letter-spacing: 0.15em;
  }

  /* Boutons hero pleine largeur */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions .btn { justify-content: center; width: 100%; }

  /* Adresse hero */
  .hero-address-block { margin-bottom: 20px; }

  /* Gallery mobile */
  .gallery-card { border-radius: 10px; }
  .gallery-card-img { height: 200px; }

  /* Sections padding réduit */
  .realisations-section { padding: 50px 0; }
  .section { padding: 50px 0; }

  /* Formulaire contact mobile */
  .pnvp-card { padding: 24px 16px; border-radius: 12px; }
  .pnvp-row { grid-template-columns: 1fr; gap: 12px; }
  .pnvp-contact-bar {
    flex-direction: column;
    gap: 12px;
    padding: 20px 16px;
  }

  /* Mission bloc */
  .mission-bloc { padding: 48px 20px; }
  .mission-bloc h2 { font-size: clamp(1.4rem, 6vw, 2rem); }

  /* Footer mobile */
  .footer-inner { gap: 24px; }

  /* Taille cibles tactiles */
  .btn { min-height: 52px; font-size: 0.85rem; padding: 14px 24px; }
  .nav-cta { min-height: 44px !important; }
}

/* iPhone très petits (≤ 380px) */
@media (max-width: 380px) {
  .hero-slogan-line1,
  .hero-slogan-line2 { font-size: 1.25rem; }
  .container { padding: 0 14px; }
}

/* ============================================================
   MOBILE COMPLET — Refonte smartphone
   ============================================================ */
@media (max-width: 700px) {

  /* HERO */
  .hero-content { padding: 80px 16px 40px; }
  .hero-logo-wrap { margin-bottom: 8px !important; }
  .hero-brand-subtitle {
    font-size: clamp(0.85rem, 3.5vw, 1.1rem);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }
  .hero-divider-gold { margin: 0 auto 12px !important; width: 50px !important; }
  .hero-slogan-wrap { margin: 0 0 14px !important; }
  .hero-slogan-line1, .hero-slogan-line2 {
    font-size: clamp(1.2rem, 5.5vw, 1.7rem);
    margin-bottom: 4px;
  }
  .hero-address-block { margin-bottom: 14px !important; }
  .hero-address-inner {
    font-size: 0.78rem;
    padding: 10px 12px !important;
    gap: 3px !important;
  }
  .hero-team { display: none; }

  /* BOUTONS HERO */
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    padding: 0 8px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.82rem;
  }

  /* SECTIONS */
  .section-title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .section-sub { font-size: 0.88rem; }

  /* WHY-US cartes */
  .why-card { padding: 22px 16px; }
  .why-card h3 { font-size: 1rem; }
  .why-card p, .why-card li { font-size: 0.85rem; }

  /* GALLERY */
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-card-img { height: 190px; }
  .gallery-card-body h3 { font-size: 1rem; }
  .gallery-card-body p { font-size: 0.82rem; }

  /* TRIO PHOTOS */
  .trio-grid { grid-template-columns: 1fr; gap: 12px; }

  /* MISSION BLOC */
  .mission-bloc { padding: 40px 16px !important; }
  .mission-bloc h2 { font-size: clamp(1.3rem, 5.5vw, 1.8rem); }

  /* FOOTER */
  .footer-inner { gap: 20px; }
  .footer-brand p { font-size: 0.82rem; }
  footer { padding: 40px 0 24px; }

  /* FORMULAIRE CONTACT */
  .pnvp-hero { padding: 80px 16px 40px !important; }
  .pnvp-card { padding: 20px 14px !important; margin: 0 !important; }
  .pnvp-row { grid-template-columns: 1fr !important; }
  .pnvp-field input, .pnvp-field select, .pnvp-field textarea {
    font-size: 16px;
    padding: 12px 14px;
  }
  .pnvp-contact-bar {
    flex-direction: column;
    gap: 10px;
    padding: 16px !important;
  }
}
