/* Elohim Consulting — Design System
   Palette: vert souverain, ivoire chaud, anthracite, or discret
   Typographie: Instrument Serif (headings) + Inter (body)
*/

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Palette souveraine */
  --color-bg: #F5F2EA;
  --color-surface: #FBF9F2;
  --color-surface-alt: #EFEBDE;
  --color-border: #D9D3C1;
  --color-text: #1A1A1A;
  --color-text-muted: #5B584F;
  --color-text-faint: #8F8B7E;
  --color-primary: #0F3D2E;
  --color-primary-hover: #08281E;
  --color-accent: #B8935A;
  --color-accent-hover: #9A7A48;

  /* Typographie */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Échelle typographique */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.813rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.938rem);
  --text-base: clamp(1rem, 0.95rem + 0.2vw, 1.063rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --text-xl: clamp(1.5rem, 1.35rem + 0.75vw, 1.875rem);
  --text-2xl: clamp(2rem, 1.75rem + 1.25vw, 2.75rem);
  --text-3xl: clamp(2.75rem, 2.25rem + 2.5vw, 4rem);
  --text-hero: clamp(3rem, 2.25rem + 3.75vw, 5.5rem);

  /* Espacement */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Rayons */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(15, 61, 46, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 61, 46, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 61, 46, 0.12);
}

/* Mode sombre */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0E120F;
    --color-surface: #141814;
    --color-surface-alt: #1B211D;
    --color-border: #2A302C;
    --color-text: #E8E5DC;
    --color-text-muted: #A09C8F;
    --color-text-faint: #6A6759;
    --color-primary: #4C9679;
    --color-primary-hover: #6BAE93;
    --color-accent: #D4A76A;
    --color-accent-hover: #E4BC85;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  font-feature-settings: 'ss01', 'cv11', 'tnum';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--color-primary); }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============ TYPOGRAPHIE ============ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.h-hero { font-size: var(--text-hero); line-height: 1.02; letter-spacing: -0.025em; }
.h-1 { font-size: var(--text-3xl); line-height: 1.08; letter-spacing: -0.02em; }
.h-2 { font-size: var(--text-2xl); line-height: 1.15; letter-spacing: -0.015em; }
.h-3 { font-size: var(--text-xl); line-height: 1.25; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.lede {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 60ch;
}

.tabular { font-variant-numeric: tabular-nums lining-nums; }

/* ============ LAYOUT ============ */

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--space-8); }
}

.section { padding: clamp(var(--space-16), 8vw, var(--space-32)) 0; }
.section-sm { padding: clamp(var(--space-12), 6vw, var(--space-20)) 0; }

.grid { display: grid; gap: var(--space-8); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============ HEADER ============ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 242, 234, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

@media (prefers-color-scheme: dark) {
  .header { background: rgba(14, 18, 15, 0.85); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: 1240px;
  margin: 0 auto;
  gap: var(--space-6);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.brand svg { color: var(--color-primary); width: 32px; height: 32px; }

.brand-name { font-weight: 400; }
.brand-name em { font-style: normal; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 400; color: var(--color-text-muted); margin-left: 4px; }

.nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 900px) {
  .nav { display: flex; }
}

.nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover, .nav a.active { color: var(--color-primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 4px 2px;
}

.lang-switch a {
  padding: 3px 8px;
  border-radius: 3px;
  transition: all 0.2s;
}

.lang-switch a.active {
  background: var(--color-primary);
  color: #F5F2EA;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

@media (min-width: 900px) { .nav-toggle { display: none; } }

.nav-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  padding: var(--space-4) var(--space-6);
  flex-direction: column;
  gap: var(--space-3);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: var(--text-base);
  color: var(--color-text);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 22px;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: #F5F2EA;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #F5F2EA;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: #F5F2EA;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding: 8px 14px;
}

.btn-ghost:hover { color: var(--color-primary); }

.btn-arrow::after {
  content: '→';
  transition: transform 0.2s;
}

.btn-arrow:hover::after { transform: translateX(3px); }

/* ============ HERO ============ */

.hero {
  padding: clamp(var(--space-16), 10vw, var(--space-32)) 0 clamp(var(--space-16), 8vw, var(--space-24));
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.hero h1 {
  max-width: 22ch;
  margin-bottom: var(--space-6);
}

.hero-lede {
  max-width: 62ch;
  margin-bottom: var(--space-10);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

/* ============ CARDS ============ */

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.card-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.card h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* Bento cards — audience triad */
.audience-triad {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

@media (min-width: 900px) {
  .audience-triad { grid-template-columns: repeat(3, 1fr); }
}

.audience-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  border-top: 3px solid var(--color-primary);
}

.audience-card:nth-child(2) { border-top-color: var(--color-accent); }
.audience-card:nth-child(3) { border-top-color: var(--color-text-muted); }

.audience-card .eyebrow { margin-bottom: var(--space-4); }
.audience-card h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); margin-bottom: var(--space-4); }

/* ============ PRINCIPES (doctrine) ============ */

.principle-list {
  counter-reset: principle;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.principle {
  counter-increment: principle;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-6);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}

@media (min-width: 768px) {
  .principle {
    grid-template-columns: 80px 1fr 1fr;
    gap: var(--space-12);
  }
}

.principle::before {
  content: counter(principle, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.principle h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
  color: var(--color-text);
  line-height: 1.2;
}

.principle p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* ============ MÉTHODOLOGIE (phases) ============ */

.phase {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  position: relative;
}

@media (min-width: 768px) {
  .phase { grid-template-columns: 200px 1fr 1fr; gap: var(--space-8); align-items: start; }
}

.phase-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-accent);
  line-height: 1;
}

.phase-duration {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-3);
  font-weight: 500;
}

.phase h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.phase-delivery {
  border-left: 1px solid var(--color-border);
  padding-left: var(--space-6);
}

.phase-delivery .eyebrow { margin-bottom: var(--space-2); color: var(--color-accent); }

.phases-track {
  display: grid;
  gap: var(--space-6);
}

/* ============ SIMULATEUR ============ */

.simulator {
  background: #0F3D2E;
  color: #F5F2EA;
  padding: clamp(var(--space-12), 6vw, var(--space-20));
  border-radius: var(--radius-lg);
}

.simulator .eyebrow { color: #D6B378; }
.simulator h2 { color: #F5F2EA; margin: var(--space-3) 0 var(--space-4); }
.simulator .lede { color: rgba(245, 242, 234, 0.75); max-width: 60ch; }

.sim-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-10);
}

@media (min-width: 900px) {
  .sim-grid { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
}

.sim-controls { display: flex; flex-direction: column; gap: var(--space-6); }

.sim-field { display: flex; flex-direction: column; gap: var(--space-2); }

.sim-field label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.65);
}

.sim-field select, .sim-field input {
  background: rgba(245, 242, 234, 0.08);
  border: 1px solid rgba(245, 242, 234, 0.2);
  color: #F5F2EA;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-variant-numeric: tabular-nums;
}

.sim-field select:focus, .sim-field input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(245, 242, 234, 0.12);
}

.sim-field-range {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sim-range-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #D6B378;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: rgba(245, 242, 234, 0.2);
  border-radius: 2px;
  padding: 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #B8935A;
  cursor: pointer;
  border: 2px solid #0F3D2E;
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #B8935A;
  cursor: pointer;
  border: 2px solid #0F3D2E;
}

.sim-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.sim-metric {
  padding: var(--space-6);
  background: rgba(245, 242, 234, 0.06);
  border: 1px solid rgba(245, 242, 234, 0.14);
  border-radius: var(--radius-md);
}

.sim-metric-label {
  font-size: var(--text-xs);
  color: rgba(245, 242, 234, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.sim-metric-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: #D6B378;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 6px;
}

.sim-metric-unit {
  font-size: var(--text-xs);
  color: rgba(245, 242, 234, 0.64);
}

.sim-disclaimer {
  font-size: var(--text-xs);
  color: rgba(245, 242, 234, 0.64);
  margin-top: var(--space-8);
  max-width: 62ch;
  line-height: 1.6;
}

/* ============ STANDARDS BAND ============ */

.standards-band {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface-alt);
}

.standards-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.standard-item {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.standard-item:not(:last-child)::after {
  content: '·';
  margin-left: var(--space-8);
  color: var(--color-accent);
}

/* ============ CTA STRIP ============ */

.cta-strip {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cta-strip-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: end;
}

@media (min-width: 900px) {
  .cta-strip-inner { grid-template-columns: 2fr 1fr; }
}

.cta-strip h2 { max-width: 22ch; }

.cta-strip .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: flex-start;
}

@media (min-width: 900px) {
  .cta-strip .cta-actions { justify-content: flex-end; }
}

/* ============ FOOTER ============ */

.footer {
  padding: var(--space-16) 0 var(--space-8);
  background: var(--color-primary);
  color: #F5F2EA;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand svg { color: #F5F2EA; }

.footer-brand p {
  color: rgba(245, 242, 234, 0.7);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  max-width: 32ch;
  line-height: 1.6;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(245, 242, 234, 0.75);
  transition: color 0.2s;
}

.footer-nav a:hover { color: #F5F2EA; }

.footer-legal {
  margin-top: var(--space-16);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(245, 242, 234, 0.15);
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(245, 242, 234, 0.55);
}

.footer-legal a { color: rgba(245, 242, 234, 0.7); }
.footer-legal a:hover { color: #F5F2EA; }

/* ============ ANIMATIONS ============ */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.in { opacity: 1; transform: translateY(0); }
}

/* ============ UTILITIES ============ */

.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-16) 0;
}

/* Two-column layout for content pages */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1.5fr; gap: var(--space-16); }
}

.two-col aside .eyebrow { display: block; margin-bottom: var(--space-3); }
.two-col aside h2 { margin-bottom: var(--space-6); }

/* Contact channels */
.channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

@media (min-width: 900px) {
  .channels { grid-template-columns: repeat(3, 1fr); }
}

.channel {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.channel h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
  color: var(--color-primary);
}

.channel-icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
}

/* Substance chips */
.substance-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.substance-chip {
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-surface);
}

/* Form styles */
.form-field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.form-field label { font-size: var(--text-sm); font-weight: 500; color: var(--color-text); }
.form-field input, .form-field textarea, .form-field select {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: var(--color-surface);
  color: var(--color-text);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-field textarea { min-height: 140px; resize: vertical; }

/* ============================================================================
   PREMIUM LAYER — profondeur, raffinement, réassurance
   ============================================================================ */

:root {
  --shadow-premium: 0 1px 2px rgba(15,61,46,.04), 0 8px 24px rgba(15,61,46,.06), 0 24px 64px rgba(15,61,46,.08);
  --shadow-premium-lg: 0 2px 4px rgba(15,61,46,.05), 0 16px 40px rgba(15,61,46,.08), 0 48px 96px rgba(15,61,46,.10);
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.06  0 0 0 0 0.24  0 0 0 0 0.18  0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Grain de fond subtil sur le body — texture papier premium */
body { position: relative; }
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: var(--grain);
  opacity: .35;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}
main, .header, .footer { position: relative; z-index: 2; }

/* Filet or fin sous le header pour signaler premium */
.header {
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(184,147,90,.15), var(--shadow-sm);
  background: rgba(251,249,242,.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

/* Hero raffiné — ratio généreux, ornement or discret */
.hero {
  padding-top: clamp(6rem, 10vh, 9rem);
  padding-bottom: clamp(4rem, 8vh, 7rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 15%; right: -20%;
  width: 640px; height: 640px;
  background: radial-gradient(circle at center, rgba(184,147,90,.10) 0%, rgba(184,147,90,0) 65%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  border: 1px solid rgba(184,147,90,.35);
  background: linear-gradient(180deg, rgba(184,147,90,.08) 0%, rgba(184,147,90,.02) 100%);
  border-radius: 999px;
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  box-shadow: 0 1px 2px rgba(184,147,90,.08);
}
.hero-eyebrow-dot {
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(184,147,90,.18);
}

/* Titres — leading resserré + character */
.h-hero, .h-1 {
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-weight: 400;
}
.h-hero { font-feature-settings: "ss01","liga","dlig"; }

/* Body plus lisible avec optim OpenType */
body {
  font-feature-settings: "ss01","cv11","liga";
  font-variant-numeric: proportional-nums;
}
.stat, [data-stat], .kpi-value { font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.02em; }

/* Boutons — profondeur douce + micro-motion */
.btn {
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s, background .2s, color .2s;
  will-change: transform;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: linear-gradient(180deg, #14503B 0%, var(--color-primary) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 1px 2px rgba(15,61,46,.15), 0 8px 24px rgba(15,61,46,.12);
  border: 1px solid rgba(255,255,255,.06);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.10) inset, 0 2px 4px rgba(15,61,46,.18), 0 14px 32px rgba(15,61,46,.18);
  background: linear-gradient(180deg, #175a41 0%, #0F3D2E 100%);
}
.btn-secondary {
  background: rgba(15,61,46,.02);
  border: 1px solid var(--color-border);
  transition: transform .28s, border-color .28s, background .28s;
}
.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: var(--color-primary);
  background: rgba(15,61,46,.04);
}
.btn-arrow::after {
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
  display: inline-block;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* Cards — élévation raffinée + hover surface */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(184,147,90,.35);
}
.card-eyebrow {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

/* Eyebrow générique — pour toutes les sections */
.eyebrow {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

/* ============================================================================
   BANDEAU RÉASSURANCE — barre horizontale premium sous le hero
   ============================================================================ */
.reassurance-bar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(15,61,46,.02) 0%, rgba(15,61,46,0) 100%);
  padding: 1.5rem 0;
}
.reassurance-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}
.reassure-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
.reassure-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}
.reassure-item strong {
  color: var(--color-text);
  font-weight: 600;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
@media (max-width: 900px) {
  .reassurance-bar .container { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (max-width: 500px) {
  .reassurance-bar .container { grid-template-columns: 1fr; }
}

/* ============================================================================
   TRUST STRIP — logos référentiels / standards affichés
   ============================================================================ */
.trust-strip {
  padding: 2.5rem 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}
.trust-label {
  color: var(--color-text-faint);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.trust-badge {
  font-family: var(--font-display);
  color: var(--color-text-muted);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
  cursor: default;
}
.trust-badge:hover { color: var(--color-primary); border-color: var(--color-accent); }

/* ============================================================================
   PROOF SECTION — chiffres institutionnels avec ornement
   ============================================================================ */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
}
.proof-cell {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.proof-cell::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 24px; height: 1px;
  background: var(--color-accent);
}
.proof-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
  margin-bottom: 0.5rem;
}
.proof-value .unit {
  font-family: var(--font-body);
  font-size: 0.35em;
  color: var(--color-accent);
  font-weight: 500;
  margin-left: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.proof-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 28ch;
}
@media (max-width: 900px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .proof-grid { grid-template-columns: 1fr; } }

/* ============================================================================
   TIMELINE INSTITUTIONNELLE — 2018 → aujourd'hui
   ============================================================================ */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-border) 100%);
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem; top: 8px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-bg);
}
.timeline-year {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.timeline-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}
.timeline-desc {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 55ch;
}

/* ============================================================================
   GARANTIES INSTITUTIONNELLES — grille de promesses vérifiables
   ============================================================================ */
.guarantees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.guarantee {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s;
}
.guarantee:hover {
  transform: translateY(-2px);
  border-color: rgba(184,147,90,.4);
  box-shadow: var(--shadow-md);
}
.guarantee-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(15,61,46,.06);
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.guarantee h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}
.guarantee p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
@media (max-width: 900px) { .guarantees { grid-template-columns: 1fr; } }

/* ============================================================================
   SECTION SOMBRE — bloc premium fond vert souverain
   ============================================================================ */
.section-dark {
  background: linear-gradient(180deg, #0F3D2E 0%, #0A2D22 100%);
  color: #F5F2EA;
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(184,147,90,.12) 0%, rgba(184,147,90,0) 60%);
  pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark .eyebrow { color: var(--color-accent); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #F5F2EA; }
.section-dark p { color: rgba(245,242,234,.78); }
.section-dark .btn-primary {
  background: linear-gradient(180deg, #F5F2EA 0%, #E8E3D1 100%);
  color: #0F3D2E;
  border-color: rgba(255,255,255,.4);
}
.section-dark .btn-primary:hover {
  background: #FFF;
  transform: translateY(-1px);
}
.section-dark .btn-secondary {
  border-color: rgba(245,242,234,.25);
  color: #F5F2EA;
  background: transparent;
}
.section-dark .btn-secondary:hover {
  border-color: var(--color-accent);
  background: rgba(184,147,90,.08);
}

/* Quote / citation institutionnelle premium */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.35;
  color: var(--color-text);
  padding: 2rem 0 2rem 2rem;
  border-left: 2px solid var(--color-accent);
  max-width: 60ch;
  font-style: italic;
}
.section-dark .pull-quote { color: #F5F2EA; }

/* Ornaments — filets or décoratifs */
.rule-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
  margin: 3rem 0;
  border: none;
}

/* Simulateur — élévation premium.
   Le fond reste le vert souverain #0F3D2E en clair comme en sombre : tout le
   texte du bloc est en ivoire, une surface claire le rendrait illisible. */
.simulator {
  background: #0F3D2E;
  border: 1px solid rgba(245, 242, 234, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3vw, 3rem);
  box-shadow: var(--shadow-premium);
  position: relative;
}
.simulator::before {
  content: '';
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

/* Footer — filet or en tête */
.footer {
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 15%, var(--color-accent) 85%, transparent 100%);
  opacity: .35;
}

/* Focus ring premium */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Selection */
::selection { background: rgba(184,147,90,.30); color: var(--color-primary); }

/* Print-friendly premium */
@media print {
  body::before { display: none; }
}

/* ============================================================================
   MOBILE PREMIUM — refonte responsive complète
   ============================================================================ */

/* Container mobile plus généreux latéralement */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

/* Header mobile — hauteur adaptée + burger visible propre */
@media (max-width: 900px) {
  .header-inner {
    padding: 0.85rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .brand-name { font-size: 1rem; }
  .brand svg { width: 32px; height: 32px; }
  .nav { display: none; }
  .lang-switch {
    padding: 3px;
    background: rgba(15,61,46,.04);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    display: inline-flex;
    gap: 0;
  }
  .lang-switch a {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    border-radius: 999px;
    transition: all .2s;
  }
  .lang-switch a.active {
    background: var(--color-primary);
    color: #F5F2EA;
  }
  .header-actions .btn-primary {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0;
    align-items: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
  }
  .nav-toggle:hover { border-color: var(--color-primary); }
  .nav-toggle span {
    width: 18px; height: 1.5px;
    background: var(--color-text);
    transition: transform .3s, opacity .3s;
    display: block;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* Nav mobile — drawer plein écran premium */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  bottom: 0;
  background: var(--color-bg);
  padding: 2rem 1.5rem 3rem;
  overflow-y: auto;
  flex-direction: column;
  gap: 0;
  z-index: 100;
  border-top: 1px solid var(--color-border);
}
.mobile-nav.open { display: flex; animation: slideDown .3s cubic-bezier(.2,.7,.2,1); }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-nav a {
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: color .2s, padding-left .2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -0.01em;
}
.mobile-nav a::after {
  content: '→';
  color: var(--color-accent);
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity .2s, transform .2s;
}
.mobile-nav a:hover, .mobile-nav a:active {
  color: var(--color-primary);
  padding-left: 0.5rem;
}
.mobile-nav a:hover::after { opacity: 1; transform: translateX(4px); }
.mobile-nav a.btn-primary {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #F5F2EA;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  border: none;
  justify-content: center;
}
.mobile-nav a.btn-primary::after { content: none; }

/* Body scroll lock quand nav mobile ouverte */
body.nav-open { overflow: hidden; }

@media (min-width: 901px) {
  .nav-toggle { display: none !important; }
  .mobile-nav { display: none !important; }
}

/* ============================================================================
   HERO MOBILE
   ============================================================================ */
@media (max-width: 700px) {
  .hero {
    padding-top: clamp(2.5rem, 8vh, 4rem);
    padding-bottom: clamp(2rem, 5vh, 3.5rem);
  }
  .hero::before { width: 400px; height: 400px; top: 5%; right: -30%; }
  .h-hero {
    font-size: clamp(2.25rem, 9vw, 3.25rem);
    line-height: 1.05;
  }
  .h-1 { font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.08; }
  .h-2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .h-3 { font-size: 1.15rem; }
  .hero-lede, .lede { font-size: 1rem; line-height: 1.6; }
  .hero-eyebrow { font-size: 0.68rem; padding: 0.4rem 0.85rem; }
  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    width: 100%;
  }
  .hero-cta .btn { width: 100%; justify-content: center; text-align: center; }
}

/* ============================================================================
   SECTIONS MOBILE
   ============================================================================ */
@media (max-width: 900px) {
  .section { padding: clamp(2.5rem, 8vw, 4rem) 0; }
  .two-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .two-col aside { max-width: 100%; }
  .grid, .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .card { padding: 1.5rem; }
}

/* ============================================================================
   CTA STRIP MOBILE
   ============================================================================ */
@media (max-width: 700px) {
  .cta-strip { padding: 2.5rem 0; }
  .cta-strip-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    text-align: left;
  }
  .cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================================
   FOOTER MOBILE
   ============================================================================ */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .footer-legal {
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    align-items: flex-start !important;
  }
  .footer-legal span:last-child {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem !important;
  }
}

/* ============================================================================
   SIMULATEUR MOBILE
   ============================================================================ */
@media (max-width: 700px) {
  .simulator {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
  }
  .simulator-inputs {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .simulator-inputs label {
    font-size: 0.85rem;
  }
  .simulator-inputs input, .simulator-inputs select {
    font-size: 16px;  /* évite le zoom iOS */
    padding: 0.75rem 0.85rem;
    width: 100%;
  }
  .simulator-outputs {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-top: 1.5rem;
  }
  .simulator-output {
    padding: 1rem 1.25rem;
    background: var(--color-surface-alt);
    border-radius: var(--radius-sm);
  }
  .simulator-output .value {
    font-size: 1.75rem;
  }
}

/* Forms mobile — cibles tactiles 44px minimum */
@media (max-width: 700px) {
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
    padding: 0.85rem 1rem;
    min-height: 48px;
  }
  .form-field textarea { min-height: 140px; }
  .btn { min-height: 48px; padding: 0.85rem 1.4rem; }
}

/* Channels contact mobile */
@media (max-width: 900px) {
  .channels {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .channel {
    padding: 1.5rem !important;
  }
}

/* Timeline mobile */
@media (max-width: 700px) {
  .timeline { padding-left: 1.5rem; }
  .timeline-item::before { left: -1.5rem; }
  .timeline-item { padding-bottom: 2rem; }
  .timeline-year { font-size: 1.2rem; }
}

/* Reassurance bar mobile — 2 colonnes lisibles */
@media (max-width: 700px) {
  .reassurance-bar { padding: 1rem 0; }
  .reassure-item { font-size: 0.8rem; }
  .reassure-item strong { font-size: 0.85rem; }
}

/* Trust strip mobile — wrap propre */
@media (max-width: 700px) {
  .trust-strip { padding: 1.75rem 0; }
  .trust-strip-inner { gap: 1rem 1.5rem; }
  .trust-badge { font-size: 0.95rem; }
  .trust-label { display: block; width: 100%; text-align: center; margin-bottom: 0.5rem; }
}

/* Proof cells mobile — chiffres bien visibles */
@media (max-width: 700px) {
  .proof-value { font-size: 2.25rem; }
  .proof-cell { padding: 1.5rem 1.25rem; }
}

/* Pull-quote mobile */
@media (max-width: 700px) {
  .pull-quote {
    font-size: 1.25rem;
    padding: 1rem 0 1rem 1.25rem;
  }
}

/* Section dark mobile */
@media (max-width: 700px) {
  .section-dark { padding: 3rem 0; }
  .section-dark::before { width: 400px; height: 400px; }
}

/* Guarantees mobile */
@media (max-width: 700px) {
  .guarantee { padding: 1.35rem; }
  .guarantee-check { width: 30px; height: 30px; }
}

/* Anti-débordement horizontal global */
html, body { overflow-x: hidden; max-width: 100vw; }
img, svg, video { max-width: 100%; height: auto; }

/* ============================================================================
   PREMIUM v2 — Éditorial, ornements, animations
   ============================================================================ */

/* Hero éditorial split : titre + colonne latérale méta */
.hero-editorial {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 4rem;
  align-items: end;
  padding-top: clamp(5rem, 9vh, 8rem);
  padding-bottom: clamp(4rem, 7vh, 6rem);
  position: relative;
}
.hero-editorial-meta {
  border-left: 1px solid var(--color-border);
  padding-left: 1.5rem;
  position: relative;
  padding-top: 0.5rem;
}
.hero-editorial-meta::before {
  content: '';
  position: absolute;
  left: -1px; top: 0;
  width: 1px; height: 32px;
  background: var(--color-accent);
}
.hero-meta-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.hero-meta-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  display: block;
}
.hero-meta-value:last-child { margin-bottom: 0; }
.hero-meta-value em { color: var(--color-accent); font-style: normal; }

@media (max-width: 900px) {
  .hero-editorial {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-editorial-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding-left: 1.25rem;
  }
  .hero-meta-value { font-size: 1.1rem; margin-bottom: 0; }
}
@media (max-width: 500px) {
  .hero-editorial-meta { grid-template-columns: 1fr; }
}

/* Numérotation romaine des sections */
.section-marker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.section-marker-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-accent);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}
.section-marker::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--color-accent);
  display: inline-block;
}

/* Hero title : ornement subtil de type dropcap sur mots clés */
.h-hero .accent-word {
  font-style: italic;
  color: var(--color-primary);
  position: relative;
}

/* Count-up animation state */
[data-countup] {
  font-variant-numeric: tabular-nums lining-nums;
  transition: color .5s;
}
[data-countup].counting { color: var(--color-primary); }

/* Reveal amélioré : y+opacity+scale léger */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

/* Marquee / ticker premium pour trust-strip variante */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4rem;
}
.marquee-item::after {
  content: '·';
  color: var(--color-accent);
  margin-left: 4rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Case study card : bloc éditorial avec chapeau + citation client anonymisée */
.case-study {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.case-study::before {
  content: '';
  position: absolute;
  top: 0; left: 3rem; right: 3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}
.case-study-side {
  border-right: 1px solid var(--color-border);
  padding-right: 3rem;
}
.case-study-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(15,61,46,.06);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.case-study-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.case-study-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.case-study-meta dt {
  color: var(--color-text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.75rem;
  margin-bottom: 0.15rem;
  font-weight: 600;
}
.case-study-meta dd { color: var(--color-text); font-weight: 500; }
.case-study-body p { font-size: 1rem; line-height: 1.75; color: var(--color-text-muted); margin-bottom: 1rem; }
.case-study-body p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.75rem;
  float: left;
  line-height: .9;
  padding: 0.35rem 0.6rem 0 0;
  color: var(--color-accent);
}
@media (max-width: 900px) {
  .case-study {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    gap: 1.5rem;
  }
  .case-study-side {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-right: 0;
    padding-bottom: 1.5rem;
  }
  .case-study-body p:first-child::first-letter { font-size: 2.75rem; }
}

/* Split feature : image ou schéma abstrait + texte */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-abstract {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(15,61,46,.08) 0%, rgba(184,147,90,.06) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.feature-abstract svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 900px) { .feature-split { grid-template-columns: 1fr; gap: 2rem; } }

/* Scroll progress bar top */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 200;
  transition: width .1s linear;
  will-change: width;
}

/* Ancre visible propre */
:target { scroll-margin-top: 100px; }

/* Bouton flottant "haut de page" */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #F5F2EA;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 90;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: #08281E; }

/* Highlight hover magnétique subtil sur cards de garanties */
.guarantee { will-change: transform; }

/* Numeric row for proof-grid: taille contrôlée */
.proof-value { display: flex; align-items: baseline; gap: 0.15rem; }

/* Blockquote citation avec guillemets ornementaux */
.pull-quote {
  position: relative;
  padding-left: 3rem;
}
.pull-quote::before {
  content: '\201C';
  position: absolute;
  left: 0; top: -0.5rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: .6;
}
@media (max-width: 700px) {
  .pull-quote { padding-left: 2rem; }
  .pull-quote::before { font-size: 3rem; top: -0.25rem; }
}

/* Hero-cta améliorée : bouton primaire pulse subtil sur focus */
.btn-primary:focus-visible {
  box-shadow: 0 0 0 3px rgba(184,147,90,.35), var(--shadow-md);
}

/* Amélioration lisibilité liens dans le body */
p a, .text-muted a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s, color .2s;
}
p a:hover, .text-muted a:hover {
  color: var(--color-accent);
  text-decoration-color: var(--color-primary);
}

/* Grid utility rythmé */
.stack-lg > * + * { margin-top: 3rem; }
.stack-md > * + * { margin-top: 1.5rem; }

/* Chapo section améliorée : équilibrer typo & rythme */
.section-lead {
  max-width: 62ch;
  margin-bottom: 3.5rem;
}
.section-lead h2 {
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

/* Reveal désactivé sur desktop pour hero (déjà visible immédiat) */
.hero .reveal { opacity: 1; transform: none; }

