/* =========================================================
   [VOTRE PRÉNOM] — Chasseuse d'appartements à Amsterdam
   Palette chaleureuse, typographie soignée, design accueillant
   ========================================================= */

/* ---------- Polices auto-hébergées (variable fonts, subset latin) ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/fraunces-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/fraunces-italic-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/inter-var.woff2') format('woff2');
}

/* ---------- Custom properties ---------- */
:root {
  /* Couleurs principales — chaleureuses, inspirées d'Amsterdam */
  --cream: #fbf6ef;
  --cream-warm: #f6ecdc;
  --cream-deep: #efe2cd;
  --terracotta: #d97757;
  --terracotta-dark: #b85f42;
  --terracotta-light: #f4d3c2;
  --ink: #2b2118;
  --ink-soft: #4a3a2c;
  --ink-muted: #7a6957;
  --line: #e8dcc8;
  --gold: #c8965a;
  --green-soft: #5a7d65;
  --white: #ffffff;

  /* Ombres douces */
  --shadow-sm: 0 2px 6px rgba(43, 33, 24, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 33, 24, 0.08);
  --shadow-lg: 0 20px 50px rgba(43, 33, 24, 0.12);
  --shadow-card: 0 4px 14px rgba(43, 33, 24, 0.07);

  /* Typo */
  --serif: 'Fraunces', 'Georgia', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --max: 1200px;
  --gutter: clamp(1rem, 3vw, 2rem);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--terracotta-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terracotta); }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; color: var(--ink); }

.accent {
  color: var(--terracotta);
  font-style: italic;
  font-variation-settings: "opsz" 144;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  background: var(--terracotta-light);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.lead {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(4rem, 8vw, 7rem) 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-head .lead { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.97rem;
  font-family: var(--sans);
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
  text-align: center;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(217, 119, 87, 0.35);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(217, 119, 87, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 239, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s, padding .3s;
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 600;
}
.logo:hover { color: var(--ink); }
.logo-icon { font-size: 1.8rem; }
.logo-text {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.logo-text small {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.6rem);
}
.nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.97rem;
  white-space: nowrap;
}
.nav a:hover { color: var(--terracotta); }
.nav a.btn-primary { color: var(--white); }

/* Sélecteur de langue */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  transition: background .2s, color .2s;
  line-height: 1;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active {
  background: var(--ink);
  color: var(--cream);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--terracotta-light) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: 5rem;
}
.hero-content h1 {
  margin-bottom: 1.5rem;
}
.hero-content .lead {
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
  font-weight: 500;
}
.hero-trust span { font-size: 1.2rem; }

.hero-visual {
  position: relative;
  height: 520px;
}
.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-card-1 {
  top: 30px;
  left: 0;
  width: 270px;
  display: flex;
  gap: 1rem;
  align-items: center;
  animation: float 6s ease-in-out infinite;
}
.hero-card-2 {
  top: 200px;
  right: 0;
  width: 280px;
  animation: float 7s ease-in-out infinite 1s;
}
.hero-card-3 {
  bottom: 30px;
  left: 50px;
  width: 260px;
  display: flex;
  gap: 1rem;
  align-items: center;
  animation: float 5.5s ease-in-out infinite 0.5s;
}
.hero-card-img {
  font-size: 2.2rem;
  background: var(--cream-warm);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-card-text strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}
.hero-card-text small,
.hero-card-2 small {
  color: var(--ink-muted);
  font-size: 0.82rem;
}
.hero-card-2 p {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  margin: 0.5rem 0;
  font-size: 1.05rem;
}
.hero-card-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-bottom {
  background: var(--cream-warm);
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.hero-stats div { display: flex; flex-direction: column; gap: 0.3rem; }
.hero-stats strong {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--terracotta);
  font-weight: 500;
}
.hero-stats span {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* ---------- About ---------- */
.about {
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.about-photo-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: var(--shadow-lg);
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.about-badge span { font-size: 1.3rem; }
.about-badge small {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
}

.about-content h2 { margin-bottom: 1.2rem; }
.about-content p { margin-bottom: 1.1rem; }

.about-values {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.value {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.value-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  background: var(--cream-warm);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.value strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.value p { margin: 0; font-size: 0.95rem; color: var(--ink-muted); }

/* ---------- Services ---------- */
.services { background: var(--cream-warm); }
.services .container { max-width: 1500px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.services-grid.services-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.services-note { max-width: 720px; margin-left: auto; margin-right: auto; }
.services-tax-note {
  text-align: center;
  max-width: 720px;
  margin: 2rem auto 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-style: italic;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.services-grid-4 .service-card ul li {
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Voir plus / Voir moins */
.service-card ul li.extra,
.service-card ul li:nth-child(n+5) {
  display: none;
}
.service-card.expanded ul li:nth-child(n+5) {
  display: list-item;
}
.show-more {
  align-self: flex-start;
  background: transparent;
  border: none;
  color: var(--terracotta-dark);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--sans);
  cursor: pointer;
  padding: 0.3rem 0;
  margin: 0.4rem 0 1.2rem;
  transition: color .2s;
  letter-spacing: 0.01em;
}
.show-more:hover { color: var(--terracotta); }
.service-card-featured .show-more { color: var(--terracotta-light); }
.service-card-featured .show-more:hover { color: var(--cream); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  position: relative;
}
.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.service-card-featured h3 { color: var(--cream); }
.service-card-featured .service-tagline { color: var(--terracotta-light); }
.service-card-featured ul li { color: var(--cream); }
.service-card-featured ul li::before { background: var(--terracotta); }
.service-card-featured .service-price { color: var(--cream); border-color: rgba(251, 246, 239, 0.2); }
.service-card-featured .service-price strong { color: var(--terracotta-light); }

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}
.service-tagline {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin: 0.4rem 0 1.5rem;
}
.service-card ul {
  flex: 1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.service-card ul li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--terracotta);
  border-radius: 50%;
}
.service-price {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.service-price strong {
  display: inline;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 500;
  margin-top: 0.2rem;
}
.price-tax {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-left: 0.35rem;
  padding: 0.15rem 0.5rem;
  background: var(--cream-warm);
  border-radius: 100px;
  text-transform: uppercase;
  vertical-align: middle;
}
.service-card-featured .price-tax {
  background: rgba(251, 246, 239, 0.15);
  color: var(--cream);
}
.services-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1rem;
  color: var(--ink-muted);
}

/* ---------- Méthode ---------- */
.method { background: var(--cream); position: relative; }
.steps {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  counter-reset: step;
}
.steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--terracotta), var(--terracotta-light));
  border-radius: 2px;
}
.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.step:last-child { margin-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  box-shadow: 0 0 0 8px var(--cream), 0 6px 18px rgba(217, 119, 87, 0.35);
  position: relative;
  z-index: 1;
}
.step-body {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  flex: 1;
}
.step-body h3 { margin-bottom: 0.5rem; }

/* ---------- Why ---------- */
.why {
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream-deep) 100%);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: var(--white);
  padding: 2rem 1.7rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  transition: transform .3s;
}
.why-card:hover { transform: translateY(-4px); }
.why-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--terracotta-light);
  border-radius: 14px;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.why-card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.why-card p { font-size: 0.96rem; color: var(--ink-muted); margin: 0; }

/* ---------- Section "Derniers conseils" (home → blog) ---------- */
.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.home-blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: var(--white);
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
  color: var(--ink);
}
.home-blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--ink); }
.home-blog-cat {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  background: var(--terracotta-light);
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
}
.home-blog-card h3 { font-size: 1.12rem; line-height: 1.35; margin: 0; font-family: var(--serif); }
.home-blog-more { margin-top: auto; font-weight: 600; color: var(--terracotta-dark); font-size: 0.9rem; }
.home-blog-all { text-align: center; margin-top: 2rem; }

@media (max-width: 980px) { .home-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .home-blog-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 1rem; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--cream); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  position: relative;
}
.testimonial::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 24px;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--terracotta);
  line-height: 1;
  opacity: 0.3;
}
.testimonial-stars {
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial figcaption {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.testimonial figcaption strong {
  display: block;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
}
.testimonial figcaption small { color: var(--ink-muted); font-size: 0.85rem; }
.testimonials-note {
  margin-top: 1.75rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.82rem;
}

/* ---------- FAQ ---------- */
.faq { background: var(--cream-warm); }
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.faq-intro {
  position: sticky;
  top: 100px;
}
.faq-intro h2 { margin-bottom: 1rem; }
.faq-intro p { color: var(--ink-muted); }

.faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 3rem;
  font-size: 1.02rem;
  font-family: var(--serif);
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--terracotta-light);
  color: var(--terracotta-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform .3s, background .3s;
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: var(--terracotta);
  color: var(--white);
}
.faq-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 119, 87, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact .eyebrow {
  background: rgba(217, 119, 87, 0.2);
  color: var(--terracotta-light);
}
.contact h2 { color: var(--cream); }
.contact .accent { color: var(--terracotta-light); }
.contact-intro .lead { color: rgba(251, 246, 239, 0.85); margin: 1rem 0 2.5rem; }
.contact-intro .lead strong { color: var(--cream); }

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.contact-direct li {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(251, 246, 239, 0.1);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-direct small {
  display: block;
  font-size: 0.78rem;
  color: rgba(251, 246, 239, 0.6);
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-direct a, .contact-direct span {
  color: var(--cream);
  font-weight: 500;
  font-size: 1.05rem;
}
.contact-direct a:hover { color: var(--terracotta-light); }

.contact-socials {
  display: flex;
  gap: 1rem;
}
.contact-socials a {
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(251, 246, 239, 0.2);
  border-radius: 100px;
  color: var(--cream);
  font-size: 0.9rem;
  transition: background .2s, border-color .2s;
}
.contact-socials a:hover {
  background: rgba(251, 246, 239, 0.1);
  border-color: var(--terracotta-light);
  color: var(--cream);
}

/* Form */
.contact-form {
  background: var(--cream);
  color: var(--ink);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { color: var(--ink); margin-bottom: 0.3rem; }
.form-sub { color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 1.8rem; }
.contact-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-top: 0.4rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px var(--terracotta-light);
}
.contact-form textarea { resize: vertical; min-height: 100px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-row label { margin-bottom: 0; }
.form-row + label { margin-top: 1rem; }

.checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.85rem !important;
  color: var(--ink-muted) !important;
  font-weight: 400 !important;
  margin: 1.2rem 0 !important;
  cursor: pointer;
}
.checkbox input {
  width: auto !important;
  margin: 4px 0 0 !important;
  accent-color: var(--terracotta);
  flex-shrink: 0;
  padding: 0 !important;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}
.form-status.success { color: var(--green-soft); font-weight: 500; }
.form-status.error { color: #c0392b; font-weight: 500; }

/* ---------- Footer ---------- */
.footer {
  background: var(--cream-deep);
  padding: 4rem 0 0;
  color: var(--ink-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  margin: 0.5rem 0 0.8rem;
}
.footer-brand p { font-size: 0.92rem; max-width: 320px; color: var(--ink-muted); }
.footer-brand .logo-icon { font-size: 1.8rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col h4 { margin-bottom: 0.4rem; }
.footer-col a, .footer-col span {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.footer-col a:hover { color: var(--terracotta); }
.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Pages légales ---------- */
.legal-page {
  background: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 6vw, 6rem);
}
.legal-page .container { max-width: 800px; }
.legal-page .legal-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  background: var(--terracotta-light);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.6rem;
}
.legal-page .updated-on {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}
.legal-page h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.legal-page h2:first-of-type { border-top: none; padding-top: 0; }
.legal-page h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.6rem;
  color: var(--ink);
}
.legal-page p { margin-bottom: 1rem; line-height: 1.7; }
.legal-page ul, .legal-page ol {
  margin: 0 0 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.legal-page ul li, .legal-page ol li {
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.65;
}
.legal-page ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
}
.legal-page ol { counter-reset: legal; }
.legal-page ol li {
  counter-increment: legal;
}
.legal-page ol li::before {
  content: counter(legal) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--terracotta);
  font-weight: 600;
}
.legal-page strong { color: var(--ink); }
.legal-page .legal-info {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  margin: 1.5rem 0 2rem;
  white-space: pre-line;
}
.legal-page .legal-info dt {
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.7rem;
}
.legal-page .legal-info dt:first-child { margin-top: 0; }
.legal-page .legal-info dd {
  margin: 0.2rem 0 0.5rem;
  color: var(--ink-soft);
  white-space: pre-line;
}
.legal-page .back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  font-weight: 500;
}
.legal-page .back-home::before { content: '←'; }

/* Header simplifié pour pages légales : on cache la nav interne (ancres homepage) */
body.legal .nav a[href^="#"] { display: none; }
body.legal .nav .lang-toggle { display: none; }

/* ---------- Page Quartiers ---------- */
.quartiers-page { background: var(--cream); }
.quartiers-page .container { max-width: 900px; }
.quartiers-hero {
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(2rem, 3vw, 3rem);
  background: var(--cream-warm);
  text-align: center;
}
.quartiers-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.5rem 0 1.2rem;
}
.quartiers-hero .lead {
  max-width: 720px;
  margin: 0 auto;
}

.quartiers-overview {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.quartiers-overview h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: 2rem;
}
.quartiers-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.quartiers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.quartiers-table thead {
  background: var(--cream-deep);
}
.quartiers-table th {
  text-align: left;
  padding: 1rem 1.2rem;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}
.quartiers-table td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.quartiers-table tr:last-child td { border-bottom: none; }
.quartiers-table tr:hover { background: var(--cream-warm); }
.quartiers-table td:first-child a {
  font-weight: 600;
  color: var(--terracotta-dark);
}
.quartiers-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-style: italic;
}

.quartiers-detail { padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 5vw, 5rem); }
.quartier-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  scroll-margin-top: 100px;
}
.quartier-card h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}
.quartier-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin: 1rem 0 1.5rem;
  padding: 0.8rem 1.2rem;
  background: var(--cream-warm);
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.quartier-card h3 {
  font-size: 1.05rem;
  margin: 1.2rem 0 0.5rem;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
}
.quartier-card p {
  line-height: 1.7;
  margin-bottom: 1rem;
}
.quartier-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}
.quartier-list li {
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
  font-size: 0.95rem;
}
.quartier-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
}
.quartier-more {
  margin-top: 1.2rem;
}
.quartier-more a {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
}
.quartier-more a:hover {
  text-decoration: underline;
}

.quartiers-cta {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(3rem, 5vw, 4rem) 0;
  text-align: center;
}
.quartiers-cta h2 {
  color: var(--cream);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}
.quartiers-cta .lead {
  color: rgba(251, 246, 239, 0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 3rem; }
  .hero-visual { height: 380px; margin-top: 2rem; }
  .hero-card-1 { left: 0; top: 0; }
  .hero-card-2 { right: 0; top: 140px; }
  .hero-card-3 { left: 20%; bottom: 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrapper { max-width: 380px; margin: 0 auto; }

  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .services-grid.services-grid-4 { grid-template-columns: repeat(2, 1fr); max-width: 800px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  /* ----- Menu hamburger : bascule dès 1024px pour garder la barre sur une seule ligne ----- */
  .nav {
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem 1.5rem 3rem;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 45;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -10px 0 30px rgba(43, 33, 24, 0.08);
  }
  .nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    white-space: normal;
  }
  .nav.open { transform: translateX(0); }
  .nav .lang-toggle {
    width: auto;
    margin: 1.5rem auto 0.5rem;
    align-self: center;
  }
  .nav .lang-btn { padding: 0.5rem 1rem; font-size: 0.85rem; }
  .nav-toggle { display: flex; z-index: 60; position: relative; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* Header reste opaque quand le menu est ouvert pour bien cacher le contenu */
  body.nav-open .header { background: var(--cream); }
}

@media (max-width: 720px) {
  /* ----- Tailles réduites pour mobile ----- */
  body { font-size: 16px; }
  section { padding: 3rem 0; }
  h1 { font-size: 1.9rem; line-height: 1.2; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.15rem; }
  .lead { font-size: 1rem; line-height: 1.55; }
  .eyebrow { font-size: 0.72rem; padding: 0.3rem 0.75rem; margin-bottom: 0.9rem; }

  /* Hero plus compact */
  .hero { padding-top: 1.5rem; }
  .hero-grid { padding-bottom: 2rem; gap: 1.5rem; }
  .hero-content h1 { font-size: 2rem; margin-bottom: 1rem; }
  .hero-content .lead { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero-cta { gap: 0.7rem; margin-bottom: 1.8rem; flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: 0.6rem 1.5rem; }
  .hero-trust li { font-size: 0.85rem; }
  .hero-visual { height: 320px; margin-top: 1rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .hero-stats strong { font-size: 1.4rem; }
  .hero-stats span { font-size: 0.78rem; }

  /* About plus compact */
  .about-photo-wrapper { max-width: 320px; }

  /* Section heads */
  .section-head { margin-bottom: 2rem; }

  /* Service cards : padding réduit */
  .services-grid.services-grid-4 .service-card { padding: 1.4rem 1.3rem; }
  .services-grid.services-grid-4 .service-card ul li { font-size: 0.92rem; }

  /* Steps method */
  .step { gap: 1rem; margin-bottom: 1.8rem; }
  .step-num { width: 48px; height: 48px; font-size: 1.3rem; box-shadow: 0 0 0 6px var(--cream), 0 6px 18px rgba(217, 119, 87, 0.35); }
  .step-body { padding: 1.2rem 1.3rem; }
  .steps::before { left: 23px; }

  /* Why cards */
  .why-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 1rem; }
  .why-card { padding: 1.5rem 1.3rem; }

  /* Services / Testimonials / FAQ / Contact / Footer */
  .services-grid.services-grid-4 { grid-template-columns: 1fr; max-width: 480px; }
  .testimonial { padding: 1.5rem 1.3rem; }
  .faq-item summary { font-size: 0.97rem; padding: 1rem 1.2rem; padding-right: 3rem; }
  .faq-item summary::after { right: 1.2rem; width: 24px; height: 24px; font-size: 1.15rem; }
  .faq-item p { padding: 0 1.2rem 1.3rem; }
  .contact-form { padding: 1.5rem 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 2rem; }
  .footer { padding-top: 2.5rem; }

  .form-row { grid-template-columns: 1fr; }
  .logo-text small { display: none; }
  .logo-text { font-size: 1.05rem; }
  .hero-card-1, .hero-card-2, .hero-card-3 { width: 230px; padding: 0.9rem 1rem; }
  .hero-card-1 { top: 0; }
  .hero-card-2 { top: 120px; right: 0; width: 240px; }
  .hero-card-3 { bottom: 0; left: 0; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}

/* ---------- Animations on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
