/* ============================================================
   Natacha Rajic — Psychologue du travail
   Refonte "Conseil haut de gamme"
   Palette monochrome charcoal + blanc + accent terracotta
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- 1. Reset & variables ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  /* Couleurs */
  --ink:           #111418;
  --charcoal:      #1f2937;
  --soft-ink:      #4b5563;
  --muted:         #6b7280;
  --paper:         #ffffff;
  --paper-warm:    #faf9f6;
  --paper-cream:   #f5f2ec;
  --line:          #e5e3dd;
  --line-strong:   #c9c5bd;
  --terracotta:    #a8704e;
  --terracotta-dk: #8b5a3d;
  --gold:          #c8a878;

  /* Typo */
  --serif: 'Merriweather', 'Iowan Old Style', 'Apple Garamond', 'Baskerville', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Layout */
  --max:           1160px;
  --gutter:        2rem;
  --radius:        4px;
  --radius-lg:     8px;

  /* Ombres minimales */
  --shadow-1:      0 1px 2px rgba(17, 20, 24, 0.04);
  --shadow-2:      0 2px 8px rgba(17, 20, 24, 0.06);

  /* Transitions */
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --t:             220ms;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

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

/* ---------- 2. Typo base ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

strong { font-weight: 600; color: var(--ink); }

/* ---------- 3. Layout helpers ---------- */
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem var(--gutter);
}

section { position: relative; }

.section-alt {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--serif);
  margin-bottom: 1rem;
  max-width: 800px;
}

.section-divider {
  width: 48px;
  height: 1px;
  background: var(--ink);
  margin: 1.25rem 0 2.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--soft-ink);
  max-width: 660px;
  margin: 0 0 2.5rem;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--t) var(--ease);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn svg { flex-shrink: 0; }

/* ---------- 5. Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-1);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 3px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.94rem;
  color: var(--charcoal);
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--t) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Burger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  padding: 0;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: all var(--t) var(--ease);
}
.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 18px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 11px; }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 11px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--paper);
  padding: 8rem var(--gutter) 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* On supprime les blobs animés */
.hero-bg, .blob { display: none; }

.hero-inner {
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: transparent;
  border: 1px solid var(--terracotta);
  border-radius: 40px;
  margin-bottom: 2rem;
}
.hero-badge .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
  animation: none;
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 14ch;
}
.hero h1 .highlight {
  color: var(--terracotta);
  font-style: italic;
  font-weight: 700;
}

.hero p {
  font-size: 1.15rem;
  color: var(--soft-ink);
  max-width: 56ch;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  transition: color var(--t) var(--ease);
}
.hero-scroll a:hover { color: var(--ink); }
.hero-scroll .scroll-line {
  width: 1px;
  height: 32px;
  background: var(--line-strong);
  display: block;
}

/* ---------- 7. À propos ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
}

.about-content p {
  font-size: 1.02rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-photo {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
}
.about-photo::before {
  content: '';
  position: absolute;
  inset: -10px -10px 10px 10px;
  border: 1px solid var(--terracotta);
  border-radius: var(--radius);
  z-index: 0;
}
.about-photo-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
  filter: grayscale(0.08) contrast(1.02);
}

.about-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 360px;
  margin-left: auto;
  width: 100%;
}
.about-card-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.about-card-item:last-child { border-bottom: none; }

.about-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}
.about-card-icon.blue { color: var(--charcoal); }
.about-card-icon.warm { color: var(--terracotta); border-color: var(--terracotta); }

.about-card-text h4 {
  margin: 0 0 0.2rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
}
.about-card-text p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Certifications */
.certif-section {
  border-top: 1px solid var(--line);
  padding-top: 4rem;
}
.certif-title {
  font-family: var(--serif);
  margin-bottom: 2.5rem;
  font-size: 1.5rem;
}
.certif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.certif-col-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.certif-col-title svg { color: var(--terracotta); }

.certif-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.certif-col li {
  padding: 0.75rem 0;
  font-size: 0.96rem;
  color: var(--charcoal);
  border-bottom: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.certif-col li:last-child { border-bottom: none; }

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ---------- 8. Consultations ---------- */
.consult-intro {
  max-width: 760px;
  margin-bottom: 3rem;
}
.consult-intro p {
  font-size: 1.08rem;
  color: var(--charcoal);
}

.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin: 3rem 0 2rem;
}

/* Reset du glassmorphism */
.glass-card {
  background: transparent;
  border: none;
  backdrop-filter: none;
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
}
.glass-card:last-child { border-right: none; }

.glass-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.glass-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.glass-card li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  position: relative;
  font-size: 0.96rem;
  color: var(--charcoal);
}
.glass-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
}

.glass-card p {
  font-size: 0.98rem;
  color: var(--charcoal);
}

/* Info bar */
.info-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 3rem 0;
  border: 1px solid var(--ink);
}
.info-bar-item {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--line);
}
.info-bar-item:last-child { border-right: none; }

.info-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.info-value {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.consult-note {
  background: transparent;
  border-left: 2px solid var(--terracotta);
  padding: 0.75rem 1.25rem;
  margin: 2.5rem 0;
  font-size: 0.94rem;
  color: var(--soft-ink);
}

/* Encadré info */
.info-encadre {
  background: var(--paper-cream);
  border-left: 3px solid var(--ink);
  padding: 2.5rem 2.5rem;
  margin-top: 4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.info-encadre h3 {
  font-family: var(--serif);
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}
.info-encadre p {
  font-size: 0.98rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.info-encadre p:last-child { margin-bottom: 0; }

/* ---------- 9. Entreprise ---------- */

/* Piliers */
.pillars { margin: 4rem 0; }
.pillars-title {
  font-family: var(--serif);
  margin-bottom: 2.5rem;
  font-size: 1.5rem;
  max-width: 600px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillar-card {
  padding: 2.5rem 1.75rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  position: relative;
  transition: background var(--t) var(--ease);
}
.pillar-card:last-child { border-right: none; }
.pillar-card:hover { background: var(--paper); }

.pillar-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}
.pillar-card h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.pillar-card p {
  font-size: 0.94rem;
  color: var(--soft-ink);
  margin: 0;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 5rem 0;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-card {
  padding: 3rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}
.stat-card:last-child { border-right: none; }

.stat-number {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--paper);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.stat-description {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-weight: 300;
}
.stat-source {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* Expertises */
.expertise-section { margin: 5rem 0; }
.expertise-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 3rem;
  max-width: 600px;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.expertise-card {
  padding: 2rem 0;
  background: transparent;
  border-top: 1px solid var(--ink);
  position: relative;
}
.expertise-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.expertise-icon.terrain  { color: var(--terracotta); }
.expertise-icon.science  { color: var(--ink); }
.expertise-icon.relation { color: var(--gold); }

.expertise-card h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.expertise-card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  font-weight: 300;
  color: var(--soft-ink);
  line-height: 1.65;
  padding: 0;
  border: none;
}

/* Cycle d'intervention */
.cycle-section {
  margin: 5rem 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
}
.cycle-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}
.cycle {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cycle-step {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: transparent;
  border: none;
  border-top: 2px solid var(--line);
  position: relative;
  transition: border-color var(--t) var(--ease);
}
.cycle-step:hover { border-top-color: var(--terracotta); }
.cycle-dot {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.cycle-step:hover .cycle-dot {
  background: var(--terracotta);
  border-color: var(--terracotta);
}
.cycle-step span {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--charcoal);
  font-weight: 500;
  margin-top: 0.5rem;
  line-height: 1.4;
}
.cycle-arrow {
  display: flex;
  align-items: center;
  color: var(--line-strong);
  align-self: center;
}

/* Méthodologie */
.method-section { margin: 5rem 0; }
.method-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.method-subtitle {
  font-style: italic;
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 1rem;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.method-card {
  padding: 2.25rem 1.5rem;
  background: transparent;
  border-right: 1px solid var(--line);
  position: relative;
}
.method-card:last-child { border-right: none; }
.method-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.method-card h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.method-card p {
  font-size: 0.88rem;
  color: var(--soft-ink);
  margin: 0;
  line-height: 1.55;
}

/* Services */
.services-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
  margin-top: 5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--paper);
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background var(--t) var(--ease);
}
.service-card:nth-child(2n) { border-right: none; }
.service-card:nth-last-child(-n+2) { border-bottom: none; }
.service-card:hover { background: var(--paper-warm); }

.service-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--soft-ink);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.service-price {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  letter-spacing: -0.01em;
}

/* Enjeux juridiques */
.legal-section {
  margin: 5rem 0 0;
  padding-top: 4rem;
  border-top: 1px solid var(--line);
}
.legal-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.legal-item {
  text-align: left;
  padding-left: 1.5rem;
  border-left: 2px solid var(--terracotta);
}
.legal-year {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.legal-item p {
  font-size: 0.92rem;
  color: var(--soft-ink);
  margin: 0;
  line-height: 1.5;
}
.legal-note {
  font-style: italic;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--charcoal);
  max-width: 720px;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

/* ---------- 10. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.contact-details h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.contact-details p,
.contact-details a {
  font-size: 1rem;
  color: var(--ink);
  margin: 0.15rem 0;
  display: block;
}
.contact-details a {
  color: var(--terracotta);
  border-bottom: 1px solid transparent;
  display: inline-block;
  transition: border-color var(--t) var(--ease);
}
.contact-details a:hover { border-bottom-color: var(--terracotta); }
.contact-small {
  font-size: 0.85rem !important;
  color: var(--muted) !important;
  margin-top: 0.3rem !important;
}

.contact-cta { margin-top: 1.5rem; }

/* Map */
.contact-map-wrapper {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-warm);
  height: 100%;
  min-height: 380px;
}
.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
  display: block;
  filter: grayscale(0.4) contrast(1.05);
}

/* Form */
.contact-form-wrapper {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
}
.contact-form h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color var(--t) var(--ease);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.form-group textarea { min-height: 110px; }

.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  border-radius: var(--radius);
  display: none;
}
.form-feedback.success {
  display: block;
  background: rgba(168, 112, 78, 0.08);
  color: var(--terracotta-dk);
  border: 1px solid rgba(168, 112, 78, 0.3);
}
.form-feedback.error {
  display: block;
  background: rgba(180, 50, 50, 0.06);
  color: #a14040;
  border: 1px solid rgba(180, 50, 50, 0.2);
}

/* ---------- 11. Doctolib float ---------- */
.doctolib-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.3rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 40px;
  box-shadow: var(--shadow-2);
  transition: all var(--t) var(--ease);
}
.doctolib-float:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(168, 112, 78, 0.25);
}

/* ---------- 12. Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 20, 24, 0.55);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms var(--ease), visibility 250ms var(--ease);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  max-width: 460px;
  width: 100%;
  position: relative;
  border: 1px solid var(--line);
  transform: translateY(8px);
  transition: transform 250ms var(--ease);
}
.modal-overlay.active .modal { transform: translateY(0); }

.modal h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.modal p {
  font-size: 0.95rem;
  color: var(--soft-ink);
  margin-bottom: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t) var(--ease);
}
.modal-close:hover { color: var(--ink); }

/* ---------- 13. Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 3.5rem var(--gutter) 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.footer-info {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-info p { margin: 0.2rem 0; }
.footer-info a {
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-info a:hover { color: var(--paper); border-bottom-color: var(--paper); }
.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bloc "Conçu & développé par Arkad" */
.footer-made-by {
  margin: 2.5rem -2rem -2rem;
  padding: 2rem 2rem;
  background: var(--paper-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--gold);
}
.footer-made-by-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--soft-ink);
  font-weight: 500;
}
.footer-made-by-logo {
  height: 36px;
  width: auto;
  display: block;
  transition: transform 300ms var(--ease);
}
.footer-made-by a:hover .footer-made-by-logo {
  transform: translateY(-2px);
}
.footer-made-by-url {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--soft-ink);
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
}
.footer-made-by-url:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* ---------- 14. Reveal animations (JS only, sinon tout visible) ---------- */
.js-loaded .reveal,
.js-loaded .reveal-left,
.js-loaded .reveal-right,
.js-loaded .reveal-scale {
  opacity: 0;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.js-loaded .reveal       { transform: translateY(20px); }
.js-loaded .reveal-left  { transform: translateX(-30px); }
.js-loaded .reveal-right { transform: translateX(30px); }
.js-loaded .reveal-scale { transform: scale(0.97); }

.js-loaded .reveal.visible,
.js-loaded .reveal-left.visible,
.js-loaded .reveal-right.visible,
.js-loaded .reveal-scale.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 960px) {
  .section-inner { padding: 4.5rem var(--gutter); }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem var(--gutter);
    gap: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s linear 220ms;
    z-index: 99;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s linear 0s;
  }

  .hero { min-height: auto; padding: 7rem var(--gutter) 4rem; }
  .hero-scroll { display: none; }

  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo, .about-card { max-width: 100%; margin-left: 0; }

  .certif-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .consult-grid {
    grid-template-columns: 1fr;
  }
  .glass-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .glass-card:last-child { border-bottom: none; }

  .info-bar { grid-template-columns: 1fr 1fr; }
  .info-bar-item {
    border-bottom: 1px solid var(--line);
  }
  .info-bar-item:nth-child(2n) { border-right: none; }

  .pillars-grid,
  .expertise-grid,
  .stats-row,
  .method-grid,
  .services-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .pillar-card,
  .service-card,
  .stat-card,
  .method-card {
    border-right: none;
  }

  .cycle { flex-direction: column; }
  .cycle-arrow { transform: rotate(90deg); margin: 0.5rem 0; }
  .cycle-step { min-width: 100%; }

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

  .doctolib-float {
    bottom: 1rem;
    right: 1rem;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 560px) {
  :root { --gutter: 1.25rem; }
  body { font-size: 16px; }
  .section-inner { padding: 3.5rem var(--gutter); }
  .hero { padding: 6rem var(--gutter) 3rem; }
  .hero p { font-size: 1.02rem; }
  .info-bar { grid-template-columns: 1fr; }
  .info-bar-item { border-right: none; }
  .info-encadre, .cycle-section { padding: 2rem 1.25rem; }
  .stat-card, .glass-card { padding: 2rem 1.5rem; }
  .modal { padding: 2rem 1.5rem; }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card { border-right: none; }
}

/* ---------- 16. Print friendly ---------- */
@media print {
  .nav, .doctolib-float, .hero-scroll, .modal-overlay { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .stats-row, .footer { background: #fff; color: #000; }
}

/* ---------- 17. Accessibilité ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .title-reveal { clip-path: none !important; opacity: 1 !important; }
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* --- Bouton magnétique : transition fluide quand on quitte --- */
.btn-primary,
.doctolib-float {
  transition: transform 400ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

/* --- Reveal de titre avec masque (uniquement si JS chargé) --- */
.js-loaded .title-reveal {
  display: block;
  overflow: hidden;
  position: relative;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transition: clip-path 900ms cubic-bezier(0.22, 0.61, 0.36, 1),
              opacity 600ms ease-out;
}
.js-loaded .title-reveal--visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* --- Parallax sur la photo about --- */
.about-photo {
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
  transition: transform 50ms linear;
}

/* --- Hero entrance (uniquement si JS chargé) --- */
.js-loaded body.preload .hero-badge,
.js-loaded body.preload .hero h1,
.js-loaded body.preload .hero p,
.js-loaded body.preload .hero-cta,
.js-loaded body.preload .hero-scroll {
  opacity: 0;
  transform: translateY(14px);
}
.js-loaded .hero-entrance {
  animation: heroIn 900ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: var(--entrance-delay, 0ms);
  opacity: 0;
  transform: translateY(14px);
}
@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Cycle dots progressifs (JS only) --- */
.js-loaded .cycle-step {
  opacity: 0.35;
  transition: opacity 600ms var(--ease), border-top-color 400ms var(--ease);
}
.js-loaded .cycle-step--active {
  opacity: 1;
  border-top-color: var(--terracotta);
}
.cycle-step--active .cycle-dot {
  background: var(--terracotta);
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(168, 112, 78, 0.15);
}
.js-loaded .cycle-arrow {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease), color 400ms var(--ease);
}
.js-loaded .cycle-arrow--active {
  opacity: 1;
  transform: translateX(0);
  color: var(--terracotta);
}

/* --- Hover cards améliorés avec ligne accent --- */
.pillar-card,
.expertise-card,
.service-card,
.method-card,
.stat-card {
  position: relative;
  overflow: hidden;
}

.pillar-card::after,
.service-card::after,
.method-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--terracotta);
  transition: width 450ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.pillar-card:hover::after,
.service-card:hover::after,
.method-card:hover::after {
  width: 100%;
}

.pillar-card,
.service-card {
  transition: background var(--t) var(--ease), transform 400ms var(--ease);
}
.pillar-card:hover,
.service-card:hover {
  transform: translateY(-3px);
}

/* L'icône des cards tourne légèrement au hover */
.pillar-icon,
.service-icon,
.method-icon,
.expertise-icon {
  transition: transform 500ms cubic-bezier(0.22, 0.61, 0.36, 1), color 300ms var(--ease);
}
.pillar-card:hover .pillar-icon,
.service-card:hover .service-icon,
.method-card:hover .method-icon,
.expertise-card:hover .expertise-icon {
  transform: rotate(-8deg) scale(1.08);
}

/* --- Photo About : reveal avec masque vertical --- */
.about-photo-img {
  transition: filter 800ms var(--ease), transform 1000ms var(--ease);
}
.about-photo:hover .about-photo-img {
  filter: grayscale(0) contrast(1.05);
  transform: scale(1.02);
}

/* --- Lien underline pour les liens contact --- */
.contact-details a {
  position: relative;
  background: linear-gradient(currentColor, currentColor) bottom left/0 1px no-repeat;
  border-bottom: none !important;
  transition: background-size 400ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.contact-details a:hover {
  background-size: 100% 1px;
}

/* --- Nav links underline (déjà existant, on ajoute easing premium) --- */
.nav-links a::after {
  transition: transform 450ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Stat numbers : effet de "draw" au scroll --- */
.stat-number {
  position: relative;
  display: inline-block;
}

/* --- Section labels : petite ligne qui pousse --- */
.section-label {
  position: relative;
  padding-left: 0;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--terracotta);
  margin-right: 0.75rem;
  vertical-align: middle;
  transform: scaleX(0);
  transform-origin: left;
  animation: labelLine 700ms var(--ease) 200ms forwards;
}
.reveal.visible .section-label::before,
.reveal-left.visible .section-label::before {
  animation: labelLine 700ms var(--ease) 100ms forwards;
}
@keyframes labelLine {
  to { transform: scaleX(1); }
}

/* --- Doctolib float : pulse subtil au chargement --- */
@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.doctolib-float {
  animation: floatPulse 4s ease-in-out infinite;
  animation-delay: 2s;
}
.doctolib-float:hover { animation: none; }

/* --- Highlight italic dans le hero h1 : underline qui se trace --- */
.hero h1 .highlight {
  background: linear-gradient(currentColor, currentColor) bottom left/0 2px no-repeat;
  padding-bottom: 0.1em;
  animation: highlightDraw 1200ms cubic-bezier(0.22, 0.61, 0.36, 1) 1400ms forwards;
}
@keyframes highlightDraw {
  to { background-size: 100% 2px; }
}

/* --- Reveal animations existantes : easing premium --- */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  transition: opacity 900ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

