@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2')}

:root {
  color-scheme: light;
  --bg-page: #FFFFFF;
  --bg-stone: #F7F6F2;
  --bg-stone-warm: #EFECE5;
  --bg-surface-soft: #FAF9F6;
  --navy-950: #111722;
  --navy-900: #161E2C;
  --navy-800: #222E42;
  --ink-900: #161E2C;
  --ink-700: #374151;
  --ink-500: #5D6777;
  --brass-600: #99763E;
  --brass-500: #B28E54;
  --brass-400: #CCA970;
  --brass-200: #DFC699;
  --border-light: #E5E2DA;
  --border-strong: #CEC9BD;
  --font-sans: 'Plus Jakarta Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --shadow-xs: 0 2px 8px rgba(22, 30, 44, 0.04);
  --shadow-sm: 0 6px 24px rgba(22, 30, 44, 0.05);
  --shadow-md: 0 18px 40px -12px rgba(22, 30, 44, 0.12);
  --shadow-lg: 0 26px 56px -14px rgba(22, 30, 44, 0.22);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.68;
  overflow-x: clip;
}

input, select, textarea, button {
  font: inherit;
}

a {
  color: var(--ink-900);
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brass-400);
  outline-offset: 2px;
}

/* Page transitions */
.site-page:not([hidden]) {
  animation: pageReveal 0.38s var(--ease-out) both;
}

@keyframes pageReveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* Sticky Glassmorphic Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(22, 30, 44, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(10, 15, 24, 0.14);
}

.header-inner {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 6px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s ease;
}

.brand-logo:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.brand-logo-img {
  width: 204px;
  height: auto;
  display: block;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: #CFD6E1;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brass-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
  border-radius: 2px;
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: #FFFFFF;
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  text-decoration: none;
  color: var(--navy-900);
  background: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: all 0.22s var(--ease-out);
}

.nav-cta:hover {
  background: #FAF8F3;
  border-color: var(--brass-200);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Eyebrows & Typography */
.eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
  color: #8A6A35;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1.5px;
  background: var(--brass-500);
  flex-shrink: 0;
}

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  font-weight: 700;
}

.hero-lead {
  margin: 0 0 34px;
  font-size: 18px;
  line-height: 1.68;
  color: var(--ink-700);
}

.sec-title {
  margin: 0 0 18px;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  font-weight: 700;
}

.sec-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-500);
}

.text-white {
  color: #FFFFFF !important;
}

/* Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 15.5px;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.24s var(--ease-out);
}

.btn-primary {
  background: var(--navy-900);
  color: #FFFFFF;
  font-weight: 600;
  padding: 16px 28px;
  border: 1px solid var(--navy-900);
  box-shadow: 0 10px 24px -6px rgba(22, 30, 44, 0.34);
}

.btn-primary:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(22, 30, 44, 0.42);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-strong);
  color: var(--ink-900);
  font-weight: 600;
  padding: 15px 26px;
  font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: #FFFFFF;
  border-color: var(--brass-500);
  color: var(--ink-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-light {
  background: #FFFFFF;
  color: var(--navy-900);
  font-weight: 700;
  padding: 16px 28px;
  border: 1px solid #FFFFFF;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.28);
}

.btn-light:hover {
  background: #FAF8F3;
  border-color: var(--brass-200);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.36);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #FFFFFF;
  font-weight: 600;
  padding: 15px 26px;
  font-variant-numeric: tabular-nums;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brass-400);
  transform: translateY(-2px);
}

.btn-phone::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink-900);
  text-decoration: none;
  border-bottom: 1.5px solid var(--brass-400);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.arrow-link::after {
  content: "→";
  font-weight: 600;
  color: var(--brass-600);
  transition: transform 0.22s var(--ease-out);
}

.arrow-link:hover {
  color: var(--brass-600);
  border-bottom-color: var(--brass-600);
}

.arrow-link:hover::after {
  transform: translateX(4px);
}

/* Hero Sections */
.sec-hero {
  background:
    radial-gradient(rgba(22, 30, 44, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, #F9F8F5 0%, #EFECE4 100%);
  background-size: 24px 24px, 100% 100%;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  padding-top: 76px;
  padding-bottom: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 56px;
}

.hero-content {
  flex: 1 1 480px;
  min-width: 0;
}

.hero-content .hero-lead:last-child {
  margin-bottom: 0;
}

.hero-media {
  flex: 1 1 430px;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-stone-warm);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(22, 30, 44, 0.07);
}

.hero-img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-out);
}

.hero-img-compact {
  height: 360px;
}

.hero-media:hover .hero-img {
  transform: scale(1.025);
}

.subhero-inner {
  padding-top: 72px;
  padding-bottom: 72px;
}

.subhero-inner .hero-title {
  max-width: 820px;
}

.subhero-inner .hero-lead {
  max-width: 760px;
  margin-bottom: 0;
}

.subhero-inner .hero-lead + .btn-group {
  margin-top: 28px;
}

/* Key Figures Bandeau */
.sec-bandeau {
  background: linear-gradient(180deg, #161E2C 0%, #121825 100%);
  border-top: 1px solid rgba(204, 169, 112, 0.25);
  border-bottom: 1px solid rgba(204, 169, 112, 0.22);
}

.bandeau-grid {
  padding-top: 28px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 32px;
}

.bandeau-item {
  position: relative;
}

.bandeau-item + .bandeau-item {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.10);
}

.bandeau-kpi {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}

.bandeau-kpi .compteur {
  color: var(--brass-200);
}

.bandeau-label {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: #BAC3D2;
}

/* Content Sections */
.sec-light {
  background: var(--bg-page);
}

.sec-stone {
  background: var(--bg-stone);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.sec-pad {
  padding-top: 88px;
  padding-bottom: 88px;
}

.sec-pad > .sec-title {
  margin-bottom: 36px;
}

/* Two-column Feature Cards ("Vous êtes") */
.cards-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--navy-900);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-top-color 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--brass-500);
  box-shadow: var(--shadow-md);
}

.card-eyebrow {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8A6A35;
}

.card-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  font-weight: 700;
}

.card-text {
  margin: 0;
  font-size: 16px;
  color: var(--ink-700);
  flex: 1 1 auto;
}

.card-action {
  margin: 8px 0 0;
}

/* Split Layout (Left Sticky Rail + Right Main Content) */
.split-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 56px;
  align-items: flex-start;
}

.split-side {
  flex: 1 1 280px;
  min-width: 0;
}

.split-main {
  flex: 3 1 640px;
  min-width: 0;
}

.prose-block p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-700);
}

.prose-block p:last-child {
  margin-bottom: 0;
}

/* Pillars Grid ("Ce que regardent les garants", "Notre approche", etc.) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--brass-500);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

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

.pillar-card h3 {
  margin: 0 0 10px;
  font-size: 18.5px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  font-weight: 700;
}

.pillar-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-700);
}

/* Numbered List (01..04 on Constructeurs CMI) */
.numbered-list {
  border-bottom: 1px solid var(--border-light);
}

.numbered-row {
  display: flex;
  gap: 28px;
  padding: 32px 16px;
  border-top: 1px solid var(--border-light);
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.numbered-row:hover {
  background-color: var(--bg-surface-soft);
}

.numbered-index {
  margin: 0;
  flex: 0 0 48px;
  padding-top: 5px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: #8A6A35;
  transition: transform 0.22s var(--ease-out);
}

.numbered-row:hover .numbered-index {
  transform: translateX(3px);
}

.numbered-body {
  flex: 1 1 auto;
  min-width: 0;
}

.numbered-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  font-weight: 700;
}

.numbered-body p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink-700);
}

.numbered-body p:last-child {
  margin-bottom: 0;
}

/* Media Split ("Pour qui") */
.media-split {
  display: flex;
  flex-wrap: wrap;
  gap: 44px 56px;
  align-items: center;
}

.media-split-img-wrap {
  flex: 1 1 420px;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.media-split-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.media-split-img-wrap:hover .media-split-img {
  transform: scale(1.025);
}

.media-split-body {
  flex: 1 1 460px;
  min-width: 0;
}

.media-split-body .sec-title {
  margin-bottom: 28px;
}

.sub-heading {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink-900);
  font-weight: 700;
}

.media-split-body p {
  margin: 0 0 24px;
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink-700);
}

.media-split-body p:last-child {
  margin-bottom: 0;
}

/* Process Steps ("Comment ça se passe") */
.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.steps-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.steps-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  position: relative;
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.step-badge {
  margin: 0 0 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 5.5px var(--brass-400);
}

.step-title {
  margin: 0 0 8px;
  font-size: 17.5px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  font-weight: 700;
}

.step-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-700);
}

/* Photo Gallery ("Des maisons que nous avons assurées") */
.sec-pad > .gallery-lead {
  margin-top: -24px;
  margin-bottom: 34px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gallery-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

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

/* Guarantees Grid ("Les garanties du CMI en bref") */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 24px;
}

.guarantee-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--navy-900);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-left-color 0.25s ease;
}

.guarantee-card:hover {
  transform: translateY(-3px);
  border-left-color: var(--brass-500);
  box-shadow: var(--shadow-md);
}

.guarantee-card h3 {
  margin: 0 0 8px;
  font-size: 18.5px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  font-weight: 700;
}

.guarantee-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-700);
}

/* FAQ Accordions */
.faq-list {
  border-bottom: 1px solid var(--border-light);
}

.faq-item {
  border-top: 1px solid var(--border-light);
  transition: background-color 0.2s ease;
}

.faq-item[open] {
  background-color: var(--bg-surface-soft);
  border-radius: 6px;
}

.faq-question {
  list-style: none;
  padding: 22px 16px;
  font-size: 17.5px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--brass-600);
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--ink-900);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #FFFFFF;
}

.faq-answer a { color: var(--brass-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq-answer {
  margin: 0;
  padding: 0 16px 24px;
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink-700);
}

/* Related Reading Strip */
.related-inner {
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
}

.related-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.related-encart {
  padding-top: 48px;
}

.related-encart .encart {
  margin-top: 0;
}

.related-inner .eyebrow {
  margin-bottom: 0;
}

.related-link {
  font-size: 18px;
}

/* Articles Section & Cards */
.sec-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 34px;
}

.sec-header-row .sec-title {
  margin-bottom: 0;
}

.articles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--brass-500);
  border-radius: var(--radius-md);
  padding: 32px;
  flex: 1 1 340px;
  min-width: 0;
  max-width: 580px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

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

.article-meta {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brass-600);
}

.article-card-title {
  margin: 0;
  font-size: 21.5px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  font-weight: 700;
  transition: color 0.2s ease;
}

.article-card:hover .article-card-title {
  color: var(--brass-600);
}

.article-card-excerpt {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-700);
  flex: 1 1 auto;
}

.article-card-cta {
  margin: 6px 0 0;
  align-self: flex-start;
}

/* Article Single View */
.article-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 68px 28px 92px;
}

.breadcrumb {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--ink-500);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--brass-600);
  text-decoration: underline;
}

.article-title {
  margin: 10px 0 24px;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  font-weight: 700;
}

.article-lead {
  margin: 0 0 36px;
  padding-left: 20px;
  border-left: 3px solid var(--brass-500);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-900);
  font-weight: 500;
}

.article-h2 {
  margin: 36px 0 14px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  font-weight: 700;
}

.article-container > p:not(.breadcrumb):not(.article-meta):not(.article-lead):not(.article-ref) {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.74;
}

.article-list {
  margin: 0 0 36px;
  padding-left: 22px;
}

.article-list li {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.7;
  padding-left: 4px;
}

.article-list li::marker {
  color: var(--brass-500);
}

.article-ref {
  margin: 0 0 40px;
  padding: 14px 18px;
  background: var(--bg-stone);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 14px;
  font-style: italic;
  color: var(--ink-500);
}

.article-cta-box {
  background: var(--bg-stone);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--navy-900);
  border-radius: var(--radius-md);
  padding: 30px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-xs);
}

.article-cta-text {
  margin: 0;
  flex: 1 1 360px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--ink-900);
}

@media (min-width: 761px) and (max-width: 1240px) {
  .main-nav { gap: 10px 16px; font-size: 13.5px; }
  .header-inner { gap: 18px 20px; }
  .brand-logo-img { width: 176px; }
}

/* Apparition douce au défilement (ajoutée par site.js, coupée si l'appareil réduit les animations) */
.reveal-anim {
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

/* Encart (accords-cadres Promoteurs, aléas du terrain CMI) */
.encart {
  margin-top: 40px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--navy-900);
  border-radius: var(--radius-md);
  padding: 30px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  box-shadow: var(--shadow-xs);
}

.encart-body {
  flex: 1 1 520px;
  min-width: 0;
}

.encart-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink-900);
  font-weight: 700;
}

.encart-body p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
}

.encart-body p:last-child {
  margin-bottom: 0;
}

.encart-body .encart-note {
  font-size: 13.5px;
  font-style: italic;
  color: var(--ink-500);
}

.split-layout > .encart {
  flex: 1 1 100%;
  margin-top: 8px;
}

.encart-ref {
  margin: 20px 0 0;
  font-size: 13.5px;
  font-style: italic;
  color: var(--ink-500);
}

/* Regulatory Definition List ("Le cabinet") */
.reg-list {
  margin: 0;
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px 28px;
  display: grid;
  grid-template-columns: minmax(150px, max-content) 1fr;
  column-gap: 32px;
  font-size: 15.5px;
  box-shadow: var(--shadow-xs);
}

.reg-list dt,
.reg-list dd {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.reg-list dt {
  font-weight: 700;
  color: var(--ink-900);
}

.reg-list dd {
  color: var(--ink-700);
}

.reg-list dt:last-of-type,
.reg-list dd:last-of-type {
  border-bottom: 0;
}

/* Dark CTA Banners */
.sec-dark-cta {
  background:
    radial-gradient(circle at 85% 20%, rgba(178, 142, 84, 0.14), transparent 55%),
    linear-gradient(135deg, #161E2C 0%, #1F2A3D 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-banner-inner {
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
}

.cta-banner-copy {
  flex: 1 1 440px;
  min-width: 0;
  color: #CFD6E1;
}

.cta-banner-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.cta-banner-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

/* Case d'opposition sous les formulaires */
.form-optout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-700);
  cursor: pointer;
}

.form-optout input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--brass-500);
  flex-shrink: 0;
}

/* Liens dans les sous-titres */
.sec-subtitle a {
  color: var(--brass-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sec-subtitle a:hover {
  color: var(--navy-900);
}

/* CTA : deux lignes directes */
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.cta-lines-label {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-400);
}

/* Forms & Contact Page */
.sec-dark-form {
  background:
    radial-gradient(circle at 15% 15%, rgba(178, 142, 84, 0.12), transparent 50%),
    linear-gradient(145deg, #161E2C 0%, #1E283A 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.form-split {
  display: flex;
  flex-wrap: wrap;
  gap: 44px 56px;
  align-items: flex-start;
}

.form-side-info {
  flex: 1 1 300px;
  min-width: 0;
  color: #CFD6E1;
}

.form-side-lead {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.68;
}

.contact-direct {
  margin: 0 0 8px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 16.5px;
  font-variant-numeric: tabular-nums;
}

.contact-direct a {
  color: var(--brass-200);
  text-decoration: none;
  border-bottom: 1px solid rgba(223, 198, 153, 0.45);
  padding-bottom: 1px;
}

.contact-direct a:hover {
  color: #FFFFFF;
  border-bottom-color: #FFFFFF;
}

.contact-side-info {
  flex: 1 1 300px;
  min-width: 0;
}

.contact-side-info .hero-lead {
  margin-bottom: 28px;
}

.contact-phone-line {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}

.contact-phone-line a {
  color: inherit;
  text-decoration: none;
}

.contact-phone-line a:hover {
  color: var(--brass-600);
}

.contact-email-line {
  margin: 12px 0 22px;
}

.contact-email-line a {
  font-weight: 700;
  color: var(--ink-900);
  text-decoration: none;
  border-bottom: 1.5px solid var(--brass-500);
  padding-bottom: 2px;
}

.contact-email-line a:hover {
  color: var(--brass-600);
}

.contact-address-line {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-500);
}

.elevated-form {
  flex: 2 1 560px;
  min-width: 0;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 26px 60px -15px rgba(8, 12, 20, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.elevated-form-light {
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.form-field {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}

.form-row .form-field {
  flex: 1 1 170px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--ink-900);
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 400;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field select {
  min-height: 48px;
  cursor: pointer;
}

.form-field textarea {
  resize: vertical;
  min-height: 112px;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #9FA8B7;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--brass-500);
  box-shadow: 0 0 0 3.5px rgba(178, 142, 84, 0.22);
}

.form-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.form-legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 10px;
  padding: 0;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  font-size: 14.5px;
  color: var(--ink-700);
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.radio-pill:hover {
  border-color: var(--brass-400);
  background: #FFFFFF;
}

.radio-pill:has(input:checked) {
  border-color: var(--navy-900);
  background: #F3F1EC;
  color: var(--ink-900);
  font-weight: 600;
}

.radio-pill input[type="radio"] {
  accent-color: var(--navy-900);
  width: 16px;
  height: 16px;
  margin: 0;
}

.form-rgpd {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-500);
}

.form-submit-row {
  padding-top: 4px;
}

.btn-submit {
  min-height: 50px;
  padding: 15px 32px;
  font-size: 15.5px;
}

.demo-msg {
  margin: 12px 0 0;
  padding: 10px 14px;
  background: var(--bg-stone);
  border-left: 3px solid var(--brass-500);
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink-700);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
  padding-top: 36px;
  padding-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  font-size: 13px;
  line-height: 1.6;
  color: #9FA8B7;
}

.footer-logo {
  width: 148px;
  height: auto;
  display: block;
  border-radius: 4px;
  opacity: 0.9;
}

.footer-legal {
  margin: 0;
  max-width: 660px;
}

.footer-legal a {
  color: #CFD6E1;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.footer-legal a:hover {
  color: #FFFFFF;
}

/* Demo Badge */
.badge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  background: rgba(22, 30, 44, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(204, 169, 112, 0.35);
  font: 600 12px/1 var(--font-sans);
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

/* Bandeaux sur ordinateur : chaque case prend la largeur de son intitulé, sur une seule ligne */
@media (min-width: 1025px) {
  .bandeau-grid {
    display: flex;
    justify-content: space-between;
  }
  .bandeau-item {
    flex: 1 1 auto;
  }
  .bandeau-kpi {
    white-space: nowrap;
  }
}

@media (min-width: 1025px) and (max-width: 1240px) {
  .bandeau-grid { gap: 24px 22px; }
  .bandeau-item + .bandeau-item { padding-left: 20px; }
  .bandeau-kpi { font-size: 17px; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .bandeau-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bandeau-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .steps-5,
  .steps-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guarantees-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .radio-group { grid-template-columns: 1fr; }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-grid {
    padding-top: 48px;
    padding-bottom: 52px;
    gap: 32px;
  }
  .hero-img,
  .hero-img-compact,
  .media-split-img {
    height: 250px;
  }
  .bandeau-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .bandeau-item + .bandeau-item {
    padding-left: 0;
    border-left: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
  }
  .sec-pad {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .cards-2col,
  .steps-5,
  .steps-4,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    padding: 28px 24px;
  }
  .numbered-row {
    flex-direction: column;
    gap: 12px;
    padding: 24px 8px;
  }
  .numbered-index {
    flex: none;
    padding-top: 0;
  }
  .reg-list {
    grid-template-columns: 1fr;
    padding: 12px 20px;
  }
  .reg-list dt {
    padding-bottom: 4px;
    border-bottom: 0;
  }
  .reg-list dd {
    padding-top: 0;
  }
  .elevated-form {
    padding: 24px 20px;
  }
  .article-container {
    padding: 44px 20px 64px;
  }
}

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

/* En-tête compact sur téléphone */
.header-actions { display: none; }
@media (max-width: 760px) {
  .site-header .header-inner { padding-top: 10px; padding-bottom: 10px; gap: 0; flex-wrap: wrap; }
  .brand-logo-img { width: 148px; }
  .header-actions { display: flex; align-items: center; gap: 6px; }
  .header-call, .menu-toggle {
    width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); color: #FFFFFF; background: transparent; border: 1px solid rgba(255,255,255,0.18);
    cursor: pointer; padding: 0;
  }
  .header-call { color: var(--brass-400); }
  .menu-toggle { flex-direction: column; gap: 5px; }
  .menu-bar { display: block; width: 20px; height: 2px; border-radius: 2px; background: #FFFFFF; transition: transform 0.25s var(--ease-out), opacity 0.2s ease; }
  .site-header.is-open .menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .menu-bar:nth-child(2) { opacity: 0; }
  .site-header.is-open .menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0 14px; font-size: 18px; }
  .site-header.is-open .main-nav { display: flex; }
  .main-nav .nav-link { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav .nav-link::after { display: none; }
  .main-nav .nav-link.is-active { color: var(--brass-400); }
  .main-nav .nav-cta { margin-top: 16px; text-align: center; padding: 14px 20px; font-size: 16px; }
}

.hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
