/* ══════════════════════════════════════
   VARIABLES — Chaleureux & Humain
══════════════════════════════════════ */
:root {
  --cream: #FDFAF6;
  --cream-alt: #F2EBE0;
  --accent: #C2410C;
  --accent-rgb: 194, 65, 12;
  --accent-hover: #9a3009;
  --accent-light: #FED7AA;
  --text: #1C1917;
  --muted: #78716C;
  --border: rgba(28, 25, 23, 0.1);
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(28, 25, 23, 0.07);
  --shadow-lg: 0 8px 48px rgba(28, 25, 23, 0.12);
}

/* ══════════════════════════════════════
   RESET
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ══════════════════════════════════════
   GRAIN
══════════════════════════════════════ */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0.018; width: 100%; height: 100%;
}

/* ══════════════════════════════════════
   TYPO
══════════════════════════════════════ */
h1, h2, h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  line-height: 1.15;
  font-weight: 400;
}
p { line-height: 1.7; }
em { font-style: italic; }

/* ══════════════════════════════════════
   LAYOUT
══════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}
.section { padding: clamp(5rem, 8vw, 7rem) 0; }
.section-alt { background: var(--cream-alt); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.tag::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--accent);
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.3);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.13), transparent);
  animation: shine 5s infinite 1s;
}
@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.45);
  background: var(--accent-hover);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.875rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--cream);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 4rem 2rem 2rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Instrument Serif', serif;
  font-size: 1.85rem;
  color: var(--text);
  transition: color 0.2s;
  line-height: 1;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mm-sub {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}
.mobile-menu .mm-sub:hover { color: var(--text); }
.mobile-menu-sep {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 260px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.55;
}
.mobile-menu-sep::before,
.mobile-menu-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.mobile-menu-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
  background: none;
  border: none;
}

/* ── Dropdown */
.has-dropdown { position: relative; }
.dropdown-trigger {
  display: flex !important;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.dropdown-trigger svg { transition: transform 0.2s ease; flex-shrink: 0; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  padding: 0.4rem;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 200;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover .dropdown-trigger svg {
  transform: rotate(180deg);
}
.nav-dropdown li a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown li a:hover {
  background: rgba(var(--accent-rgb), 0.06);
  color: var(--accent);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  padding: clamp(8rem, 12vw, 10rem) 0 clamp(5rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero .hero-title { max-width: 24ch; }
.hero .hero-sub { max-width: 56ch; }
.hero .hero-actions { justify-content: center; }
.hero .hero-proof { justify-content: center; }
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(var(--accent-rgb), 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2rem;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  line-height: 1.08;
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.hero-title em { color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.proof-check {
  width: 18px; height: 18px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.6rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   STATS
══════════════════════════════════════ */
.stats { background: var(--text); padding: 3.5rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* ══════════════════════════════════════
   POUR QUI
══════════════════════════════════════ */
.section-header { margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(2rem, 3.5vw, 3rem); }

.pour-qui-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pq-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pq-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.pq-card:hover::after { transform: scaleX(1); }
.pq-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.pq-icon {
  width: 48px; height: 48px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.pq-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.pq-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   PROGRAMME
══════════════════════════════════════ */
.prog-tabs {
  display: inline-flex;
  gap: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px;
  margin-top: 2rem;
}
.prog-tab {
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--muted);
  border: none;
  background: none;
  font-family: inherit;
}
.prog-tab.active {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 12px rgba(var(--accent-rgb), 0.3);
}
.prog-content { display: none; }
.prog-content.active {
  display: block;
  animation: fadeUp 0.3s ease;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.prog-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.prog-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
}
.prog-card-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.prog-metas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--cream-alt);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}
.prog-schedule { list-style: none; }
.prog-schedule li {
  display: flex;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.prog-schedule li:last-child { border-bottom: none; }
.prog-time {
  font-size: 0.76rem;
  color: var(--muted);
  min-width: 90px;
  padding-top: 0.15rem;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.prog-label { font-weight: 600; line-height: 1.4; }
.prog-label small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.81rem;
  margin-top: 0.2rem;
}
.atelier-row {
  background: rgba(var(--accent-rgb), 0.05);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
}
.atelier-row .prog-label { color: var(--accent); }

/* Livrables */
.livrables-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.livrable {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}
.livrable-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.livrable strong { display: block; margin-bottom: 0.15rem; }
.livrable span { color: var(--muted); font-size: 0.82rem; }

/* ══════════════════════════════════════
   FORMATEURS
══════════════════════════════════════ */
.formateurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.formateur-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.formateur-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.formateur-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
}
.formateur-avatar {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--cream-alt), rgba(var(--accent-rgb), 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-initials {
  font-family: 'Instrument Serif', serif;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.35;
}
.formateur-body { padding: 2rem; }
.formateur-role {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.formateur-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}
.formateur-title {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.formateur-bio {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}
.formateur-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.ftag {
  font-size: 0.78rem;
  padding: 0.25rem 0.75rem;
  background: var(--cream-alt);
  border-radius: 50px;
  color: var(--muted);
  font-weight: 500;
}

/* ══════════════════════════════════════
   TEMOIGNAGES
══════════════════════════════════════ */
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.temoignage-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.temoignage-quote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  flex: 1;
}
.temoignage-quote::before { content: '\201C'; color: var(--accent); font-size: 1.6rem; font-style: normal; line-height: 0; vertical-align: -0.5rem; margin-right: 0.2rem; }
.temoignage-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.temoignage-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600; color: var(--muted);
  flex-shrink: 0;
}
.temoignage-name { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.temoignage-role { font-size: 0.78rem; color: var(--muted); }
.temoignage-placeholder {
  background: var(--cream-alt);
  border: 1.5px dashed var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 0.5rem; min-height: 180px;
  padding: 2rem; border-radius: var(--radius);
}
.temoignage-placeholder p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; max-width: 22ch; }
@media (max-width: 768px) {
  .temoignages-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   TARIF
══════════════════════════════════════ */
.tarif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.tarif-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
}
.tarif-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}
.tarif-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}
.tarif-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.tarif-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 0;
}
.price-amount {
  font-family: 'Instrument Serif', serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--text);
}
.price-unit {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}
.tarif-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.tarif-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.87rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.tarif-features li:last-child { border-bottom: none; }
.tarif-features .ck { color: var(--accent); font-weight: 700; flex-shrink: 0; }

.qualiopi-box {
  background: rgba(var(--accent-rgb), 0.05);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: var(--radius);
  padding: 2.5rem;
  grid-column: span 3;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.qualiopi-text { flex: 1; min-width: 280px; }
.qualiopi-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.qualiopi-box h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.qualiopi-box p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-details li { display: flex; align-items: flex-start; gap: 1rem; font-size: 0.9rem; }
.contact-icon {
  width: 38px; height: 38px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-details strong { display: block; font-weight: 600; margin-bottom: 0.1rem; }
.contact-details span { color: var(--muted); }
.contact-details a { color: var(--muted); transition: color 0.2s; }
.contact-details a:hover { color: var(--accent); }

/* Form */
.contact-form {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
input, select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  resize: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  background: white;
}
textarea { min-height: 110px; }
.form-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}
.form-note {
  text-align: center;
  font-size: 0.77rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--accent);
  font-size: 1rem;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 3.5rem 0 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.footer-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.6rem;
  color: white;
  margin-bottom: 0.5rem;
}
.footer-logo span { color: var(--accent-light); }
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  max-width: 22ch;
  line-height: 1.6;
}
.footer-col { font-size: 0.82rem; line-height: 2.1; }
.footer-col strong { color: rgba(255,255,255,0.7); }
.footer-col a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-col a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.77rem;
  color: rgba(255,255,255,0.28);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
details[open] .faq-q::after { transform: rotate(45deg); }
details[open] .faq-q { color: var(--accent); }
.faq-a {
  padding: 0 0 1.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 68ch;
}

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .prog-layout { grid-template-columns: 1fr; }
  .tarif-grid { grid-template-columns: 1fr 1fr; }
  .qualiopi-box { grid-column: span 2; }
  .formateurs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .hamburger { display: flex; }
  .pour-qui-grid { grid-template-columns: 1fr; }
  .formateurs-grid { grid-template-columns: 1fr !important; }
  .tarif-grid { grid-template-columns: 1fr; }
  .qualiopi-box { grid-column: span 1; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .prog-tabs { flex-direction: column; border-radius: var(--radius); width: 100%; }
  .prog-tab { border-radius: var(--radius-sm); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Exemples sectoriels (section sur mesure) */
.exemples-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.exemple-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.exemple-card-sector {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.exemple-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
}
.exemple-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 0.75rem;
}
.exemple-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── Référents métier */
.referents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.referent-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.referent-role {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.referent-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0;
}
.referent-bio {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0.25rem 0;
}
.referent-contact {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.9;
}
.referent-contact a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Solution grid (2 colonnes) */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.solution-col {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.solution-col-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.solution-col h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0 0 1.25rem;
}
.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}
.solution-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.45em;
}

/* ── Approche grid (4 colonnes) */
.approche-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.approche-item {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.approche-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.approche-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}
.approche-item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Citation positionnement */
.citation-block {
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.75rem;
  margin: 2rem auto;
  max-width: 600px;
  text-align: left;
  background: rgba(var(--accent-rgb), 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

/* ── Section Problème + Solution fusionnées */
.pb-sol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.pb-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.pb-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── Hover states cards */
.pq-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.tarif-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tarif-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.formateur-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.formateur-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ── Responsive nouvelles sections */
@media (max-width: 900px) {
  .pb-sol-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
  .exemples-grid,
  .referents-grid,
  .solution-grid { grid-template-columns: 1fr; }
}
