/* ======================================
   Kiné Campus — Feuille de style commune
   Identité C-Compass · Noir + Cyan + Coral
   ====================================== */

:root {
  /* Couleurs */
  --black: #0A0A0A;
  --cyan: #00D9F5;
  --coral: #FF6B6B;
  --white: #FFFFFF;
  --gray-soft: #FAFAFA;
  --gray-ink: #6B7280;
  --border: rgba(10, 10, 10, 0.12);

  /* Typo */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --container: 1200px;
  --radius: 14px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}

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

a { color: var(--black); text-decoration: none; }
a:hover { color: var(--cyan); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: 56px; }
h2 { font-size: 40px; line-height: 1.2; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.3; }
h4 { font-size: 16px; font-weight: 600; }

@media (max-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
}

/* Header / Navigation */
header {
  position: sticky; top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { height: 36px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
}
.burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 8px;
}
.burger svg { width: 24px; height: 24px; stroke: var(--black); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
  }
  .burger { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12); }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { color: var(--white); background: #1a1a1a; }
.btn-cyan { background: var(--cyan); color: var(--black); }
.btn-cyan:hover { color: var(--black); }
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--border);
}
.btn-outline:hover { color: var(--black); border-color: var(--black); }
.btn-block { width: 100%; }

/* Pill (label en haut de hero) */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--black); color: var(--white);
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  font-family: var(--font-body);
}
.pill::before {
  content: ''; width: 6px; height: 6px;
  background: var(--coral); border-radius: 50%;
}

/* Hero */
.hero { padding: 96px 0 64px; }
.hero h1 { margin: 20px 0 24px; max-width: 800px; }
.hero-lead { font-size: 20px; color: var(--gray-ink); max-width: 640px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .hero { padding: 56px 0 40px; }
  .hero-lead { font-size: 17px; }
}

/* Sections */
section { padding: 80px 0; }
section .section-head { max-width: 760px; margin-bottom: 48px; }
section h2 { margin-bottom: 16px; }
.section-lead { font-size: 18px; color: var(--gray-ink); }

.bg-soft { background: var(--gray-soft); }
.bg-dark { background: var(--black); color: var(--white); }
.bg-dark h2 { color: var(--white); }
.bg-dark p, .bg-dark li { color: rgba(255, 255, 255, 0.85); }

@media (max-width: 768px) {
  section { padding: 56px 0; }
}

/* Grilles */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 24px; }
}

/* Card */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--gray-ink); font-size: 16px; }
.card .meta { font-size: 14px; color: var(--gray-ink); margin-bottom: 8px; font-weight: 500; }

.bg-dark .card { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.1); }
.bg-dark .card p { color: rgba(255, 255, 255, 0.75); }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex; flex-direction: column;
}
.pricing-card.featured {
  border: 2px solid var(--cyan);
  transform: scale(1.04);
  box-shadow: 0 24px 48px rgba(0, 217, 245, 0.12);
}
@media (max-width: 900px) { .pricing-card.featured { transform: none; } }

.pricing-card .badge {
  display: inline-block;
  background: var(--cyan);
  color: var(--black);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  align-self: flex-start;
}
.pricing-card .tagline {
  color: var(--gray-ink);
  font-style: italic;
  margin-bottom: 4px;
  font-size: 15px;
}
.pricing-card .name { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 500;
  line-height: 1; margin: 16px 0 24px;
}
.pricing-card .price span {
  font-size: 16px; color: var(--gray-ink);
  font-family: var(--font-body); font-weight: 400;
}
.pricing-card ul { list-style: none; margin: 0 0 32px; flex: 1; }
.pricing-card li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.pricing-card li:last-child { border-bottom: 0; }
.pricing-card li::before {
  content: '✓';
  position: absolute; left: 0; top: 10px;
  color: var(--cyan);
  font-weight: 700;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq details:last-child { border-bottom: 0; }
.faq summary {
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 28px;
  font-weight: 300;
  color: var(--gray-ink);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-top: 16px; color: var(--gray-ink); font-size: 16px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step .step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  color: var(--cyan);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--gray-ink); }

/* Stat cards (devenir-formateur) */
.stat-card { padding: 40px; text-align: left; }
.stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 500;
  line-height: 1;
  color: var(--black);
  margin-bottom: 16px;
}
.stat-card .stat-label { color: var(--gray-ink); }

/* Banner block (CTA dark) */
.banner-block {
  background: var(--black);
  color: var(--white);
  padding: 64px;
  border-radius: 20px;
  text-align: center;
}
.banner-block h2 { color: var(--white); margin-bottom: 16px; }
.banner-block p { color: rgba(255, 255, 255, 0.85); margin: 0 auto 32px; max-width: 600px; }
@media (max-width: 768px) {
  .banner-block { padding: 40px 24px; }
}

/* Mantra */
.mantra {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  background: rgba(0, 217, 245, 0.08);
  padding: 32px;
  border-radius: var(--radius);
  border-left: 4px solid var(--cyan);
  margin: 32px 0;
  line-height: 1.4;
}
@media (max-width: 768px) { .mantra { font-size: 22px; padding: 24px; } }

/* Footer */
footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 32px;
  margin-top: 0;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { footer .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 600px) { footer .footer-grid { grid-template-columns: 1fr; } }

footer h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
footer ul { list-style: none; }
footer ul li { padding: 6px 0; }
footer ul a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}
footer ul a:hover { color: var(--cyan); }
footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  text-align: center;
}
footer .footer-tag { font-family: var(--font-display); font-style: italic; margin-bottom: 4px; color: rgba(255, 255, 255, 0.85); }

/* Legal pages */
.legal {
  padding: 64px 0;
}
.legal .container { max-width: 800px; }
.legal h1 {
  font-size: 40px;
  margin-bottom: 32px;
  font-family: var(--font-display);
}
.legal h2 {
  font-size: 22px;
  font-family: var(--font-body);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.3;
}
.legal h3 {
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 12px;
}
.legal p { margin: 12px 0; }
.legal ul { margin: 12px 0 12px 24px; }
.legal ul li { margin: 6px 0; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.legal th, .legal td {
  padding: 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.legal th { background: var(--gray-soft); font-weight: 600; }
.legal code, .legal .placeholder {
  background: rgba(255, 107, 107, 0.1);
  color: #d44a4a;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.legal .alert {
  background: rgba(255, 107, 107, 0.08);
  border-left: 4px solid var(--coral);
  padding: 20px;
  margin: 0 0 40px;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
}
.legal .alert strong { color: #d44a4a; }
.legal .meta {
  color: var(--gray-ink);
  font-size: 14px;
  margin-bottom: 32px;
}

/* Utilities */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

/* Form (devenir-formateur) */
.form-placeholder {
  background: var(--gray-soft);
  border: 2px dashed var(--border);
  padding: 64px 32px;
  border-radius: var(--radius);
  text-align: center;
}
.form-placeholder h3 { margin-bottom: 12px; }
.form-placeholder p { color: var(--gray-ink); max-width: 500px; margin: 0 auto 24px; }

/* ======================================
   Édition Fondateur (offre limitée 20 places)
   ====================================== */
.founder-block {
  margin-top: 48px;
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 20px;
  padding: 56px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(255, 107, 107, 0.08);
}
.founder-block::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 280px; height: 280px;
  background: radial-gradient(circle at top right, rgba(255, 107, 107, 0.18), transparent 70%);
  pointer-events: none;
}

.founder-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: var(--coral);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.founder-dot {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
  animation: founderPulse 2s infinite;
}
@keyframes founderPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(255, 107, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

.founder-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .founder-block { padding: 40px 28px; }
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
}

.founder-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.founder-title strong { color: var(--coral); font-weight: 500; }
@media (max-width: 768px) { .founder-title { font-size: 26px; } }

.founder-lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  max-width: 560px;
}

.founder-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.founder-features li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.founder-features li:last-child { border-bottom: 0; }
.founder-features li::before {
  content: '◆';
  position: absolute;
  left: 0; top: 10px;
  color: var(--coral);
  font-size: 12px;
}

.btn-founder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--coral);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-founder:hover {
  color: var(--white);
  background: #ff5252;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(255, 107, 107, 0.3);
}

.founder-fine {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.founder-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.founder-counter {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 107, 107, 0.4);
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  width: 100%;
}
.founder-counter-num {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 500;
  line-height: 1;
  color: var(--coral);
  margin-bottom: 8px;
}
.founder-counter-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.founder-saving {
  text-align: center;
  width: 100%;
  padding: 20px;
}
.founder-saving-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}
.founder-saving-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 4px;
}
.founder-saving-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
