/* ===============================================
   LANYSTRA v2 — Direction "Archives Modernes"
   Beige + violet signature — pas d'emoji, pas de mono
   =============================================== */

/* ===== TOKENS ===== */
:root {
  /* Couleurs — palette officielle : beige + violet + rose + orange */
  --bg-base: #F5F0E8;          /* beige chaud */
  --bg-paper: #ECE3D0;         /* beige papier, plus profond */
  --bg-cream: #FAF5EC;         /* crème clair */
  --ink-primary: #2A2620;      /* texte foncé (jamais pur noir) */
  --ink-secondary: #5C574E;    /* gris-brun chaud */
  --ink-muted: #8B847A;        /* gris clair chaud */
  --rule: #D8CFBE;             /* filets */
  --rule-soft: #E5DCC9;

  --violet: #5057E6;           /* accent signature */
  --violet-deep: #3F46D4;
  --violet-soft: #E0E0FA;

  --rose: #F4DCEA;             /* rose dragée */
  --rose-deep: #EBC9DC;
  --rose-soft: #FCEEF5;

  --orange: #E37754;           /* terracotta */
  --orange-soft: #F8DDD0;

  --ivory: #FDFAF4;            /* surface claire, quasi-blanc chaud */

  /* Admin seulement — pas dans la palette publique */
  --bg-ink: #2A2620;

  /* Typo — DM Sans partout, pas de serif, pas d'italique d'accent */
  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Caveat', cursive;

  /* Espacement */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 160px;

  /* Container */
  --container: 1280px;
  --container-narrow: 880px;
  --container-padding: 32px;

  /* Radius — tout doux, jamais pointu */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Ombres — comme du papier qui se superpose */
  --shadow-sm: 0 1px 2px rgba(26,24,21,0.04);
  --shadow-md: 0 2px 8px rgba(26,24,21,0.06), 0 8px 24px rgba(26,24,21,0.04);
  --shadow-lg: 0 4px 16px rgba(26,24,21,0.08), 0 24px 48px rgba(26,24,21,0.06);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-primary);
  background: var(--bg-base);
  /* Subtile texture papier via SVG noise */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0.025 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul { list-style: none; }

/* ===== TYPO ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-primary);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
}
h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
}
/* Classe conservée pour rétro-compat, mais neutralisée : plus d'italique d'accent */
.section-italic { font-style: normal; }
h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  font-weight: 600;
}
h4 { font-size: 18px; line-height: 1.3; font-weight: 600; }

p { color: var(--ink-secondary); }

.italic { font-style: italic; }

.text-secondary { color: var(--ink-secondary); }
.text-muted { color: var(--ink-muted); }
.text-center { text-align: center; }

/* Drop cap — signature éditoriale */
.drop-cap::first-letter {
  font-family: var(--font-display);
  font-size: 4.5em;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.08em 0 0;
  color: var(--violet);
}

/* Annotation manuscrite — pour les touches personnelles */
.script {
  font-family: var(--font-script);
  font-weight: 500;
  color: var(--violet);
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section { padding: var(--space-9) 0; }
.section-sm { padding: var(--space-7) 0; }
.section-lg { padding: var(--space-10) 0; }

@media (max-width: 768px) {
  .section { padding: var(--space-7) 0; }
  .section-sm { padding: var(--space-6) 0; }
  .section-lg { padding: var(--space-9) 0; }
}

/* Filets de séparation — pas de "01 — SERVICES" */
.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}
.rule-thin {
  height: 1px;
  background: var(--rule-soft);
  border: 0;
  margin: 0;
}

/* ===== BOUTONS — moins génériques ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--violet);
  color: var(--ivory);
  box-shadow: 0 1px 0 rgba(26,24,21,0.06), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
  background: var(--violet-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,70,229,0.2);
}

.btn-warm {
  background: var(--orange);
  color: var(--ivory);
}
.btn-warm:hover {
  background: #C75D3E;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink-primary);
  border: 1px solid var(--ink-primary);
}
.btn-outline:hover {
  background: var(--ink-primary);
  color: var(--ivory);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--violet);
  padding: 8px 0;
  border-bottom: 1px solid currentColor;
  transition: gap 0.2s;
}
.btn-text:hover { gap: 14px; }
.btn-text svg { transition: transform 0.2s; }
.btn-text:hover svg { transform: translateX(4px); }

/* ===== HEADER — éditorial, pas SaaS ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 235, 224, 0.9);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.header.scrolled { border-bottom-color: var(--rule); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.logo {
  display: inline-block;
  line-height: 0;
}
.logo img {
  display: block;
  height: 56px;
  width: auto;
}
.footer .logo img { height: 40px; }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav a:hover { color: var(--ink-primary); }
.nav a.active { color: var(--ink-primary); }
.nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--violet);
}

/* ===== NAV DROPDOWN — quick access to all 7 services ===== */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-caret {
  transition: transform 0.2s;
  margin-top: 1px;
}
.nav-dropdown-wrap:hover .nav-caret,
.nav-dropdown-wrap:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  min-width: 380px;
  background: var(--ivory);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(80, 87, 230, 0.12), 0 4px 12px rgba(42, 38, 32, 0.06);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility 0.18s;
  z-index: 100;
}
/* Petit connecteur entre le trigger et le panel */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 28px;
  width: 14px;
  height: 14px;
  background: var(--ivory);
  border-left: 1.5px solid var(--rule);
  border-top: 1.5px solid var(--rule);
  transform: rotate(45deg);
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
  text-decoration: none;
  color: var(--ink-primary);
}
.nav-dropdown-item:hover {
  background: var(--rose-soft);
}
.nav-dropdown-tag {
  display: inline-block;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-primary);
  padding: 4px 10px;
  border-radius: 999px;
  min-width: 90px;
  text-align: center;
}
.nav-dropdown-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-primary);
  line-height: 1.3;
}
.nav-dropdown-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  padding: 10px 12px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 500;
  color: var(--violet);
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.nav-dropdown-foot:hover {
  background: var(--violet-soft);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .nav, .header .btn-primary { display: none; }
  .menu-toggle { display: flex; }
  .header.mobile-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-base);
    padding: 32px;
    border-bottom: 1px solid var(--rule);
  }
  .header.mobile-open .btn-primary {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 280px);
    left: 32px;
  }
  /* Sur mobile : le dropdown devient un sous-menu visible inline */
  .nav-dropdown-wrap { width: 100%; }
  .nav-dropdown-trigger { gap: 6px; }
  .nav-dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 8px 0 4px 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-left: 2px solid var(--rose);
    margin-top: 8px;
    border-radius: 0;
  }
  .nav-dropdown::before { display: none; }
  .nav-dropdown-item { padding: 8px 10px; }
  .nav-dropdown-tag { min-width: 80px; font-size: 10px; }
  .nav-dropdown-title { font-size: 13px; }
  .nav-dropdown-foot { margin-top: 4px; }
  .nav-caret { display: none; }
}

/* ===== HERO — full texte centré + déco SVG ===== */
.hero {
  position: relative;
  padding: var(--space-11) 0 var(--space-10);
  overflow: hidden;
  background: var(--bg-base);
}
.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-deco svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-deco-circle {
  transform-origin: center;
  will-change: transform;
}
.hero-deco-1 { animation: float-a 14s ease-in-out infinite; }
.hero-deco-2 { animation: float-b 18s ease-in-out infinite; }
.hero-deco-3 { animation: float-c 22s ease-in-out infinite; }
@keyframes float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -16px) scale(1.05); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 18px) scale(0.95); }
}
@keyframes float-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(16px, 12px) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-deco-circle { animation: none; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--violet);
  background: var(--rose);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: var(--space-6);
  letter-spacing: 0;
}

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

.hero-sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-secondary);
  max-width: 580px;
  margin: 0 auto var(--space-7);
}

.hero-ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.hero-note {
  font-family: var(--font-script);
  font-size: 26px;
  color: var(--violet);
  display: inline-block;
  margin-top: var(--space-3);
}

/* Tampon signature — élément unique */
.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  border: 2px solid var(--violet);
  border-radius: 50%;
  color: var(--violet);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.05em;
  transform: rotate(-8deg);
  position: relative;
  flex-shrink: 0;
}
.stamp::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--violet);
  border-radius: 50%;
}
.stamp-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stamp-inner strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.stamp-inner small {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet);
  opacity: 0.7;
}

/* ===== TRUST BAR — version éditoriale ===== */
.trust {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--space-5) 0;
  background: var(--bg-cream);
}
.trust-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-secondary);
}
.trust-item strong {
  color: var(--ink-primary);
  font-weight: 500;
}
.trust-item svg { color: var(--violet); flex-shrink: 0; }

/* ===== SECTIONS ===== */
.section-head {
  margin-bottom: var(--space-8);
  max-width: 720px;
}
.section-head h2 { margin-bottom: var(--space-4); }
.section-head p {
  font-size: 18px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* ===== POUR QUI — liste éditoriale, pas de cards ===== */
.personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
}
@media (max-width: 1100px) { .personas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .personas { grid-template-columns: 1fr; gap: var(--space-6); } }

/* Variante compacte : pour la page /services/ (7 services à afficher) */
.personas--compact { gap: 20px; }
.personas--compact .persona { padding: var(--space-4); }
.personas--compact .persona h3 { font-size: 22px; }
.personas--compact .persona p { font-size: 15px; }
.personas--compact .persona-tagline { font-size: 14px; margin-top: -4px; margin-bottom: 8px; }
.personas--compact .svc-illu-wrap--lg { padding: 20px; margin-bottom: 12px; }

.persona {
  position: relative;
  display: block;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  background: transparent;
  transition: background 0.3s, border-color 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.persona:hover {
  background: var(--ivory);
  border-color: var(--violet);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(80, 87, 230, 0.12);
}
.persona:hover .persona-link { gap: 10px; }
.persona-num {
  position: absolute;
  top: -14px;
  left: 0;
  background: var(--bg-base);
  padding: 0 8px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--violet);
  font-weight: 500;
}
.persona h3 {
  font-size: 28px;
  margin-bottom: var(--space-3);
  line-height: 1.1;
}
.persona h3 .italic {
  color: var(--violet);
}
.persona p {
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: var(--space-4);
}
.persona-tagline {
  font-size: 16px;
  font-weight: 500;
  color: var(--violet);
  margin-top: -8px;
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.persona-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--violet);
  font-size: 15px;
  font-weight: 500;
  transition: gap 0.2s;
}
.persona-link:hover { gap: 10px; }

/* ===== ILLUSTRATIONS SVG SERVICES ===== */
.svc-illu {
  display: block;
  color: var(--ink-primary);
  width: 48px;
  height: 48px;
}
.svc-illu--sm { width: 48px; height: 48px; }
.svc-illu--lg { width: 96px; height: 96px; color: var(--violet); }

.svc-illu-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rose);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}
.svc-illu-wrap--sm { padding: 16px; }
.svc-illu-wrap--lg { padding: 28px; background: var(--rose-soft); }
.svc-illu-wrap:hover {
  transform: translateY(-4px) rotate(-3deg);
  background: var(--violet-soft);
}
.svc-illu-wrap:hover .svc-illu { color: var(--violet-deep); }

/* ===== PERSONA CARD HOVER WRAPPER ===== */
.persona-link::after {
  content: '→';
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.3s;
}
.persona:hover .persona-link::after {
  transform: translateX(4px);
}

/* Stroke-draw on load */
.illu-stroke {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: illu-draw 1.2s ease-out 0.1s forwards;
}
.illu-d1 { animation-delay: 0.15s; }
.illu-d2 { animation-delay: 0.3s; }
.illu-d3 { animation-delay: 0.45s; }
@keyframes illu-draw {
  to { stroke-dashoffset: 0; }
}

/* Pop-in (cases, sigle, cœurs) */
.illu-pop {
  opacity: 0;
  transform: scale(0.4);
  transform-origin: center;
  transform-box: fill-box;
  animation: illu-pop 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.illu-p1 { animation-delay: 0.7s; }
.illu-p2 { animation-delay: 0.8s; }
.illu-p3 { animation-delay: 0.9s; }
.illu-p4 { animation-delay: 1.0s; }
.illu-p5 { animation-delay: 1.1s; }
.illu-p6 { animation-delay: 1.2s; }
@keyframes illu-pop {
  to { opacity: 1; transform: scale(1); }
}

/* Balance de justice : oscillation douce infinie */
.illu-balance {
  transform-origin: 32px 18px;
  transform-box: view-box;
  animation: illu-swing 5s ease-in-out 1.4s infinite;
}
@keyframes illu-swing {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

/* Cœur : battement infini */
.illu-heart {
  transform-origin: 55px 24px;
  transform-box: view-box;
  animation: illu-beat 1.4s ease-in-out 1.6s infinite;
}
@keyframes illu-beat {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.18); }
  60% { transform: scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .illu-stroke { stroke-dashoffset: 0; animation: none; }
  .illu-pop { opacity: 1; transform: scale(1); animation: none; }
  .illu-balance, .illu-heart { animation: none; }
}

/* ===== BOOKING — calendrier & créneaux ===== */
.booking-step {
  max-width: 880px;
  margin: 0 auto var(--space-8);
  padding: var(--space-7);
  background: var(--ivory);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-md);
}
.booking-step-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  margin-bottom: var(--space-5);
}
.booking-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--ivory);
  font-size: 16px;
  font-weight: 600;
}
.booking-step-help {
  font-size: 14px;
  color: var(--ink-muted);
  margin-top: var(--space-4);
}
.booking-step-summary {
  text-align: center;
  font-size: 16px;
  color: var(--ink-secondary);
  margin-bottom: var(--space-6);
  padding: 14px 20px;
  background: var(--rose-soft);
  border-radius: var(--radius-sm);
}
.booking-step-summary strong { color: var(--violet); }
.booking-change {
  font-size: 13px;
  color: var(--ink-muted);
  border-bottom: 1px dashed currentColor;
  padding-bottom: 1px;
  margin-left: 4px;
}
.booking-change:hover { color: var(--violet); }

.booking-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
@media (max-width: 900px) { .booking-days { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .booking-days { grid-template-columns: repeat(3, 1fr); } }

.booking-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px;
  background: var(--bg-cream);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all 0.2s;
  color: var(--ink-primary);
}
.booking-day:hover {
  border-color: var(--violet);
  background: var(--rose-soft);
  transform: translateY(-2px);
}
.booking-day.is-selected {
  background: var(--violet);
  color: var(--ivory);
  border-color: var(--violet);
}
.booking-day-week {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  opacity: 0.8;
}
.booking-day-num {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}
.booking-day-mon {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  opacity: 0.8;
}

.booking-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 600px) { .booking-slots { grid-template-columns: repeat(2, 1fr); } }

.booking-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  background: var(--bg-cream);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-primary);
  transition: all 0.2s;
  text-decoration: none;
}
.booking-slot:hover {
  border-color: var(--violet);
  background: var(--rose-soft);
  transform: translateY(-2px);
}
.booking-slot.is-selected {
  background: var(--violet);
  color: var(--ivory);
  border-color: var(--violet);
}
.booking-slot.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
  pointer-events: none;
}

/* ===== "Comment" — éditorial, pas de cards ===== */
.how {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-9);
  align-items: start;
}
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }

.how-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.how-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.how-item:last-child { border-bottom: 1px solid var(--rule); }
.how-num {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--violet);
  font-weight: 400;
}
/* Variante pour années (timeline / parcours) — 4 chiffres sinon ça déborde */
.how-list--years .how-item {
  grid-template-columns: 140px 1fr;
  gap: var(--space-6);
}
.how-list--years .how-num {
  font-size: 48px;
  letter-spacing: -0.02em;
}
.how-item h3 {
  font-size: 22px;
  margin-bottom: var(--space-2);
}
.how-item p {
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.55;
}

/* ===== TÉMOIGNAGES — grille de 3 cartes ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--ivory);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover {
  border-color: var(--violet);
  transform: translateY(-4px);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--orange);
  margin-bottom: var(--space-4);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-primary);
  letter-spacing: -0.01em;
  flex: 1;
  margin-bottom: var(--space-5);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-primary);
  line-height: 1.2;
}
.testimonial-author span {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.3;
  margin-top: 2px;
}

/* Legacy single-quote layout (conservé pour rétro-compat) */
.featured-quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 900px) { .featured-quote { grid-template-columns: 1fr; } }

.fq-stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-5);
  color: var(--orange);
}
.fq-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.25;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}
.fq-quote::before {
  content: '“';
  color: var(--violet);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.2em;
  margin-right: 4px;
}
.fq-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fq-author-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}
.fq-author-info strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
}
.fq-author-info span {
  font-size: 14px;
  color: var(--ink-muted);
}
.fq-side {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  padding: var(--space-7);
  border: 1px solid var(--rule);
}
.fq-side h4 {
  font-size: 20px;
  margin-bottom: var(--space-4);
}
.fq-side ul { display: flex; flex-direction: column; gap: 12px; }
.fq-side li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.5;
}
.fq-side li svg { color: var(--violet); flex-shrink: 0; margin-top: 4px; }

/* ===== CTA FINAL — fond clair, palette officielle ===== */
.cta {
  background: var(--rose);
  color: var(--ink-primary);
  padding: var(--space-10) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(80, 87, 230, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(80, 87, 230, 0.05);
  border-radius: 50%;
  pointer-events: none;
}
.cta .container { position: relative; z-index: 1; }

.cta-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

.cta h2 {
  color: var(--ink-primary);
  margin-bottom: var(--space-5);
}
.cta-sub {
  color: var(--ink-secondary);
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: var(--space-6);
  max-width: 520px;
}
.cta-buttons {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}
.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-secondary);
  font-size: 15px;
  transition: color 0.2s;
}
.cta-contact:hover { color: var(--ink-primary); }
.cta-contact svg { color: var(--violet); flex-shrink: 0; }
.cta-contact strong { color: var(--ink-primary); font-weight: 500; }

/* ===== FOOTER — éditorial ===== */
.footer {
  background: var(--bg-paper);
  padding: var(--space-8) 0 var(--space-6);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand p {
  font-size: 15px;
  color: var(--ink-secondary);
  margin-top: var(--space-3);
  max-width: 320px;
  line-height: 1.55;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: var(--space-4);
  font-weight: 500;
}
.footer li { margin-bottom: 10px; }
.footer a {
  color: var(--ink-secondary);
  font-size: 15px;
  transition: color 0.2s;
}
.footer a:hover { color: var(--violet); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-5);
  font-size: 13px;
  color: var(--ink-muted);
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer-bottom a { color: var(--ink-muted); }
.footer-bottom a:hover { color: var(--ink-primary); }

/* ===== FORMS — palette officielle ===== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: var(--space-4); }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--ink-primary);
}
.form-help {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 6px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-primary);
  background: var(--bg-cream);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-muted); }
.form-input:hover, .form-textarea:hover, .form-select:hover {
  border-color: var(--violet);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px var(--rose-soft);
  background: var(--ivory);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235057E6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form-textarea { resize: vertical; min-height: 140px; font-family: var(--font-body); }

/* ===== CONTACT — layout spécifique ===== */
.contact-hero {
  padding: var(--space-9) 0 var(--space-7);
  text-align: center;
}
.contact-hero h1 {
  max-width: 800px;
  margin: var(--space-4) auto var(--space-5);
}
.contact-hero p {
  font-size: 19px;
  max-width: 580px;
  margin: 0 auto;
}
.contact-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: var(--space-5);
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}
@media (max-width: 900px) { .contact-options { grid-template-columns: 1fr; } }

.contact-option {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.contact-option:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--violet);
}
.contact-option.featured {
  background: var(--bg-cream);
  border-color: var(--violet);
}
.contact-option.featured::before {
  content: 'Recommandé';
  position: absolute;
  top: -10px;
  right: 24px;
  background: var(--violet);
  color: var(--ivory);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}
.contact-option-icon {
  width: 48px;
  height: 48px;
  color: var(--violet);
  margin-bottom: var(--space-4);
}
/* Variante par option (3 couleurs de la palette) */
.contact-option:nth-child(1) .contact-option-icon { color: var(--violet); }
.contact-option:nth-child(2) .contact-option-icon { color: var(--rose-deep); }
.contact-option:nth-child(3) .contact-option-icon { color: var(--orange); }
.contact-option:nth-child(1):hover { border-color: var(--violet); }
.contact-option:nth-child(2):hover { border-color: var(--rose-deep); }
.contact-option:nth-child(3):hover { border-color: var(--orange); }
.contact-option h3 {
  font-size: 24px;
  margin-bottom: var(--space-2);
}
.contact-option p {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: var(--space-5);
}

.contact-form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--ivory);
  border: 1.5px solid var(--rose);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(to right, var(--violet), var(--rose), var(--orange));
  border-radius: 0 0 4px 4px;
}
@media (max-width: 600px) { .contact-form-card { padding: var(--space-5); } }

.contact-direct {
  margin-top: var(--space-8);
  text-align: center;
}
.contact-direct-inner {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  color: var(--ink-secondary);
}
.contact-direct-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.contact-direct-item svg { color: var(--violet); }
.contact-direct-item a {
  color: var(--ink-primary);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.contact-direct-item a:hover { border-bottom-color: var(--violet); }

/* ===== SERVICE PAGE — éditorial ===== */
.service-hero {
  padding: var(--space-9) 0 var(--space-7);
  position: relative;
}
.service-hero-illu-band {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-8);
}
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-9);
  align-items: center;
}
@media (max-width: 900px) { .service-hero-grid { grid-template-columns: 1fr; } }

.service-hero h1 {
  margin: 0 0 var(--space-4);
}
.service-hero h1 .italic { color: var(--violet); }
.service-hero-quote {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  color: var(--violet);
  line-height: 1.3;
  margin-bottom: var(--space-5);
  max-width: 600px;
}
.service-hero-sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin-bottom: var(--space-6);
  max-width: 540px;
}
.service-hero-side {
  background: var(--bg-cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.service-hero-side h4 {
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}
.service-hero-side-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-secondary);
}
.service-hero-side-item svg {
  color: var(--violet);
  flex-shrink: 0;
  margin-top: 2px;
}
.service-hero-side-item strong { color: var(--ink-primary); font-weight: 500; }

.service-section h2 {
  margin-bottom: var(--space-6);
}
.service-section h2 .italic { color: var(--violet); }

.service-tasks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 768px) { .service-tasks { grid-template-columns: 1fr; } }
.service-task {
  padding: var(--space-5) var(--space-5) var(--space-5) 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.service-task:nth-child(even) {
  padding-left: var(--space-5);
  padding-right: 0;
  border-left: 1px solid var(--rule);
}
@media (max-width: 768px) {
  .service-task:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }
}
.service-task-icon {
  width: 24px;
  height: 24px;
  color: var(--violet);
  flex-shrink: 0;
  margin-top: 4px;
}
.service-task-text {
  font-size: 16px;
  color: var(--ink-primary);
  line-height: 1.5;
}

.service-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 768px) { .service-pricing { grid-template-columns: 1fr; } }

.pricing-card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: var(--space-7);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  background: var(--violet);
  color: var(--ivory);
  border-color: var(--violet);
}
.pricing-card.featured h3,
.pricing-card.featured .pricing-amount,
.pricing-card.featured p { color: var(--ivory); }
.pricing-tag {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: var(--space-3);
}
.pricing-card.featured .pricing-tag { color: rgba(251,247,239,0.6); }
.pricing-card h3 {
  font-size: 28px;
  margin-bottom: var(--space-3);
}
.pricing-card p {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: var(--space-5);
  color: var(--ink-secondary);
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  color: var(--violet);
  margin: var(--space-4) 0 var(--space-2);
  letter-spacing: -0.03em;
}
.pricing-card.featured .pricing-amount { color: var(--orange); }
.pricing-detail {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: auto;
  padding-top: var(--space-4);
}
.pricing-card.featured .pricing-detail { color: rgba(251,247,239,0.6); }

/* ===== UTILS ===== */
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* ===== ANIMATIONS — sobres ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.fade-in.d1 { animation-delay: 0.1s; }
.fade-in.d2 { animation-delay: 0.2s; }
.fade-in.d3 { animation-delay: 0.3s; }

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

/* ===============================================
   EXTENSIONS — popup, admin, blog
   =============================================== */

/* ===== POPUP ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 21, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.3s ease;
}
.popup-overlay[hidden] { display: none; }
.popup-card {
  background: var(--ivory);
  border-radius: var(--radius-md);
  padding: var(--space-7);
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink-muted);
  transition: background 0.2s;
}
.popup-close:hover { background: var(--bg-paper); color: var(--ink-primary); }
.popup-title {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--ink-primary);
}
.popup-content {
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 24px;
}

/* ===== BLOG ARTICLE ===== */
.article-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-primary);
}
.article-content h2 {
  font-size: 32px;
  margin: 48px 0 20px;
}
.article-content h3 {
  font-size: 24px;
  margin: 40px 0 16px;
}
.article-content p {
  margin-bottom: 20px;
  color: var(--ink-primary);
}
.article-content ul, .article-content ol {
  margin: 20px 0;
  padding-left: 24px;
}
.article-content li { margin-bottom: 8px; }

.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.article-cover {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 32px 0;
  background: var(--bg-paper);
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: block;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--violet);
}
.blog-card-media {
  aspect-ratio: 16/9;
  background: var(--bg-paper);
  overflow: hidden;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-body {
  padding: var(--space-5);
}
.blog-card-cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--violet);
  margin-bottom: 8px;
}
.blog-card-title {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.25;
}
.blog-card-excerpt {
  font-size: 15px;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}
.blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ===== GALLERY (sections humaines avec photos) ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-paper);
}
.gallery-item.tall { aspect-ratio: 3/4; }
.gallery-item.wide { aspect-ratio: 4/3; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(26,24,21,0.7), transparent);
  color: var(--ivory);
  font-size: 14px;
  font-family: var(--font-display);
}

/* ===== MES VALEURS — manifeste en grand format ===== */
.section-valeurs {
  background: var(--rose);
  padding: var(--space-11) 0;
  text-align: center;
}
.section-valeurs .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
}
.valeur-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: var(--space-7);
  padding: 8px 18px;
  background: var(--ivory);
  border-radius: 999px;
}
.valeur-manifeste {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: var(--space-7);
  max-width: 800px;
}
.valeur-signature {
  font-family: var(--font-script);
  font-size: 28px;
  color: var(--violet);
  display: inline-block;
  margin-top: var(--space-3);
}

/* ===== SPLIT IMAGE+TEXT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-flip { direction: rtl; }
.split-flip > * { direction: ltr; }
.split-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-paper);
  box-shadow: var(--shadow-md);
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-content h2 {
  margin-bottom: var(--space-5);
}
.split-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ===== ALERTS / MESSAGES ===== */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.alert-success {
  background: var(--ivory);
  border: 1px solid var(--violet);
  color: var(--ink-primary);
}
.alert-error {
  background: #F5E0D2;
  border: 1px solid var(--warm);
  color: var(--ink-primary);
}

/* ===============================================
   ADMIN
   =============================================== */

body.admin {
  background: var(--bg-base);
}

.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .admin-layout { grid-template-columns: 1fr; }
}

.admin-sidebar {
  background: var(--bg-ink);
  color: var(--ivory);
  padding: 24px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
@media (max-width: 768px) {
  .admin-sidebar { position: relative; height: auto; }
}
.admin-logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 32px;
  filter: brightness(0) invert(1);
}
.admin-logo img {
  display: block;
  height: 36px;
  width: auto;
}
.admin-login-logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 24px;
}
.admin-login-logo img {
  display: block;
  height: 48px;
  width: auto;
}
.admin-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: rgba(251,247,239,0.7);
  transition: background 0.2s, color 0.2s;
}
.admin-nav a:hover { background: rgba(255,255,255,0.06); color: var(--ivory); }
.admin-nav a.active { background: var(--violet); color: var(--ivory); }
.admin-nav svg { flex-shrink: 0; }
.admin-user {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(251,247,239,0.6);
}
.admin-user a {
  display: block;
  margin-top: 8px;
  color: var(--ivory);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
}

.admin-main {
  padding: 40px;
  max-width: 1200px;
}
@media (max-width: 768px) { .admin-main { padding: 24px; } }

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.admin-head h1 {
  font-size: 36px;
  margin: 0;
}
.admin-card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th, .admin-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--rule);
}
.admin-table th {
  font-weight: 500;
  color: var(--ink-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.admin-table tr:hover { background: var(--bg-cream); }
.admin-table .actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 768px) { .admin-stats { grid-template-columns: 1fr 1fr; } }
.admin-stat {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 20px;
}
.admin-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--violet);
  letter-spacing: -0.02em;
}
.admin-stat-label {
  font-size: 13px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-top: 4px;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 13px;
}
.btn-danger {
  background: #c25450;
  color: white;
}
.btn-danger:hover { background: #a04540; }

.login-card {
  max-width: 420px;
  margin: 80px auto;
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.login-card h1 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 8px;
}
.login-card p { text-align: center; color: var(--ink-muted); font-size: 14px; margin-bottom: 32px; }
