:root {
    --cream: #F7F4EC; --sage-light: #DDE5D5; --sage-mid: #A8BFA0;
    --sage: #7E9A76; --deep: #33403A; --max-w: 1120px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0; background: var(--cream); color: var(--deep);
    font-family: 'Work Sans', sans-serif; font-size: 17px; line-height: 1.65;
  }
  h1, h2, h3, .brand { font-family: 'Lora', serif; font-weight: 600; line-height: 1.2; margin: 0; color: var(--deep); }
  p { margin: 0 0 1em; max-width: 62ch; }
  a { color: var(--sage); cursor: pointer; }
  .wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

  header { position: sticky; top: 0; z-index: 20; background: rgba(247,244,236,0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--sage-mid); }
  .nav-row { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; gap: 10px; }
  .brand { font-size: 22px; letter-spacing: 0.01em; text-decoration: none; }
  .brand-baseline { display: block; font-family: 'Work Sans', sans-serif; font-weight: 500; font-size: 10px; letter-spacing: 0.16em; color: var(--sage); margin-top: 2px; }
  nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; flex-wrap: wrap; }
  nav a { color: var(--deep); text-decoration: none; font-size: 15px; font-weight: 500; padding-bottom: 3px; border-bottom: 2px solid transparent; }
  nav a:hover { color: var(--sage); }
  nav a.active { color: var(--sage); border-bottom-color: var(--sage); }

  .btn { display: inline-block; padding: 13px 26px; background: var(--sage); color: var(--cream); text-decoration: none; border-radius: 3px; font-weight: 500; font-size: 15px; border: 1px solid var(--sage); }
  .btn:hover { background: var(--deep); border-color: var(--deep); }
  .btn-outline { background: transparent; color: var(--deep); border: 1px solid var(--deep); }
  .btn-outline:hover { background: var(--deep); color: var(--cream); }
  .btn-sm { padding: 10px 20px; font-size: 14px; }

  .page { display: none; }
  .page.active { display: block; }

  .page-header { padding-top: 56px; padding-bottom: 20px; }
  .page-header h1 { font-size: 34px; }
  .page-header p.lede { font-size: 18px; opacity: 0.85; margin-top: 16px; }

  .hero { padding: 64px 0; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
  .hero h1 { font-size: 38px; letter-spacing: -0.01em; }
  .hero p.lede { font-size: 18px; margin-top: 18px; opacity: 0.85; }
  .hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
  .photo-frame { aspect-ratio: 4/5; background: var(--sage-light); border-radius: 4px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; border: 1px solid var(--sage-mid); }
  .photo-frame span { font-size: 14px; color: var(--sage); font-weight: 500; }
  @media (max-width: 780px) { .hero-grid, .about-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 28px; } .avant-apres { aspect-ratio: 1.1/1; } }

  .hero-card { background: var(--sage-light); border: 1px solid var(--sage-mid); border-radius: 4px; padding: 44px 40px; }
  .hero-quote { font-family: 'Lora', serif; font-style: italic; font-size: 23px; line-height: 1.5; color: var(--deep); margin: 0 0 18px; }
  .hero-sign { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); font-weight: 500; }
  .about-solo { grid-template-columns: 1fr !important; max-width: 760px; }
  .illu-note { font-size: 13px; opacity: 0.6; margin-top: 10px; font-style: italic; }
  .contact-value a { color: var(--deep); text-decoration: none; }
  .contact-value a:hover { color: var(--sage); }
  .footer-contact { margin-bottom: 14px; }
  .footer-contact a { text-decoration: none; }
  .legal h2 { font-size: 20px; margin: 32px 0 10px; }
  .legal p { font-size: 15.5px; }
  section { padding: 64px 0; }
  section.alt { background: var(--sage-light); }
  section.tight { padding: 36px 0 64px; }
  .eyebrow { font-size: 13px; color: var(--sage); font-weight: 500; margin: 0 0 10px; }
  section h2 { font-size: 27px; margin-bottom: 18px; }
  .section-head { max-width: 640px; margin-bottom: 36px; }

  .about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }

  .avant-apres { position: relative; aspect-ratio: 1.45/1; border-radius: 4px; overflow: hidden; border: 1px solid var(--sage-mid); width: 100%; }
  .ap-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; opacity: 0; transition: opacity .5s; }
  .ap-slide.active { opacity: 1; }
  .ap-half { display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; font-size: 13px; font-weight: 500; position: relative; }
  .ap-half.avant { background: var(--sage-mid); }
  .ap-half.apres { background: var(--sage-light); }
  .ap-tag { position: absolute; top: 14px; font-family: 'Lora', serif; font-size: 12px; padding: 3px 10px; border-radius: 20px; background: var(--cream); }
  .ap-half.avant .ap-tag { left: 14px; } .ap-half.apres .ap-tag { right: 14px; }
  .ap-dots { display: flex; gap: 8px; margin-top: 14px; }
  .ap-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage-mid); border: none; cursor: pointer; padding: 0; }
  .ap-dot.active { background: var(--sage); }

  .service-list { border-top: 1px solid var(--sage-mid); }
  .service-row { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--sage-mid); }
  .service-icon { width: 40px; height: 40px; }
  .service-row h3 { font-size: 19px; margin-bottom: 6px; }
  .service-row p { margin: 0; opacity: 0.85; }

  .process-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; counter-reset: step; }
  @media (max-width: 900px) { .process-list { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }
  .process-step { counter-increment: step; }
  .process-step::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--sage); border-radius: 50%; font-family: 'Lora', serif; color: var(--sage); margin-bottom: 12px; font-size: 14px; }
  .process-step h3 { font-size: 16px; margin-bottom: 6px; }
  .process-step p { font-size: 14.5px; opacity: 0.85; margin: 0; }

  .tarif-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  @media (max-width: 780px) { .tarif-cards { grid-template-columns: 1fr; } }
  .tarif-card { background: var(--cream); border: 1px solid var(--sage-mid); border-radius: 4px; padding: 32px; }
  .tarif-tag { display: inline-block; font-size: 12px; font-weight: 500; color: var(--sage); background: var(--sage-light); padding: 4px 10px; border-radius: 20px; margin-bottom: 14px; }
  .tarif-price { font-family: 'Lora', serif; font-size: 34px; }
  .tarif-price small { font-family: 'Work Sans', sans-serif; font-size: 14px; font-weight: 400; opacity: 0.7; }

  .quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
  @media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
  .quote-card { background: var(--cream); border: 1px solid var(--sage-mid); border-radius: 4px; padding: 24px; }
  .quote-card p { font-size: 15px; opacity: 0.9; margin-bottom: 12px; }
  .quote-name { font-size: 13.5px; color: var(--sage); font-weight: 500; }

  .map-frame { background: var(--sage-light); border: 1px solid var(--sage-mid); border-radius: 4px; padding: 28px; display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; margin-bottom: 40px; }
  @media (max-width: 700px) { .map-frame { grid-template-columns: 1fr; } }
  .map-frame svg { width: 100%; height: auto; }

  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
  @media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
  .contact-item { margin-bottom: 18px; }
  .contact-label { font-size: 13px; color: var(--sage); font-weight: 500; margin-bottom: 4px; }
  .contact-value { font-size: 17px; font-family: 'Lora', serif; }

  .form-field { display: block; margin-bottom: 18px; }
  .form-field > span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
  .form-field input[type="text"], .form-field input[type="email"], .form-field input[type="tel"], .form-field select, .form-field textarea {
    width: 100%; padding: 10px 12px; font-family: 'Work Sans', sans-serif; font-size: 15px;
    border: 1px solid var(--sage-mid); border-radius: 3px; background: var(--cream); color: var(--deep);
  }
  .form-field textarea { min-height: 90px; resize: vertical; }
  .form-check-row { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14.5px; }
  .form-check-row label { display: flex; align-items: center; gap: 6px; font-weight: 400; }
  .optional-note { font-size: 13px; color: var(--sage); font-weight: 500; }

  .cta-banner { background: var(--deep); color: var(--cream); border-radius: 4px; padding: 40px; text-align: center; }
  .cta-banner h2 { color: var(--cream); margin-bottom: 14px; }
  .cta-banner p { color: var(--sage-light); margin: 0 auto 20px; }

  footer { background: var(--deep); color: var(--sage-light); padding: 36px 0; font-size: 13.5px; }
  footer a { color: var(--sage-light); }
  .social-row { display: flex; gap: 12px; margin-bottom: 20px; }
  .social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(247,244,236,0.12); color: var(--cream); display: flex; align-items: center; justify-content: center; text-decoration: none; font-family: 'Lora', serif; font-size: 12px; font-weight: 600; }
  .social-icon:hover { background: var(--sage); }
  .footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }


  .nav-link { cursor: pointer; }

  /* ===== Menu mobile ===== */
  .nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--sage-mid); border-radius: 4px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--deep); border-radius: 2px; transition: transform .2s, opacity .2s; }
  header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  @media (max-width: 900px) {
    .nav-row { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
    .nav-toggle { display: flex; }
    .nav-row > .btn { display: none; }
    header nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--sage-mid); box-shadow: 0 8px 20px rgba(51,64,58,0.08); }
    header.nav-open nav { display: block; }
    header nav ul { flex-direction: column; gap: 0; padding: 6px 28px 18px; }
    header nav a { display: block; padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--sage-light); }
    header nav a.active { border-bottom-color: var(--sage-light); font-weight: 600; }
    .page-header { padding-top: 36px; }
    .page-header h1 { font-size: 28px; }
  }

  /* ===== Bloc "Une expertise particulière" (accueil) en mobile ===== */
  @media (max-width: 700px) {
    .map-frame[style*="100px"] { grid-template-columns: 1fr !important; gap: 16px; padding: 24px 22px; align-items: start; }
    .map-frame[style*="100px"] > div:first-child { width: 56px !important; height: 56px !important; }
    .map-frame[style*="100px"] > div:first-child svg { width: 30px !important; height: 30px !important; }
    .map-frame[style*="100px"] h2 { font-size: 22px !important; }
  }

  /* ===== Grilles forcées en une colonne sur petit écran ===== */
  @media (max-width: 600px) {
    .quote-grid[style] { grid-template-columns: 1fr !important; }
    .service-row[style*="120px"] { grid-template-columns: 1fr !important; gap: 6px !important; }
  }
