/* ================================================================
   FIDES MÉTHODES CONSEIL — Design System v2
   ================================================================ */

/* ---- TOKENS ---- */
:root {
  --gold-primary: rgba(200,160,75,.8);
  --navy:       #0E2A47;
  --navy-2:     #13315C;
  --navy-soft:  #1c4470;
  --ink:        #152030;
  --text:       #152030;
  --muted:      #5b6b80;
  --border:     #e6ebf2;
  --surface:    #F6F8FB;
  --white:      #FFFFFF;
  --gold:       rgba(200,160,75,.8);
  --gold-soft:  #e7d3a3;
  --emerald:    #1E9E73;
  --emerald-soft: #e6f5ef;

  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', sans-serif;

  --s1: 0.25rem; --s2: 0.5rem;  --s3: 0.75rem; --s4: 1rem;
  --s5: 1.25rem; --s6: 1.5rem;  --s8: 2rem;    --s10: 2.5rem;
  --s12: 3rem;   --s16: 4rem;   --s20: 5rem;   --s24: 6rem;

  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-full: 999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.12);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms var(--ease);
  --t-base: 250ms var(--ease);
  --t-slow: 400ms var(--ease);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p { line-height: 1.7; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--s4);
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s6);
}

.section       { padding: var(--s20) 0; }
.section-light { background: var(--surface); }
.section-dark  { background: var(--ink); color: var(--white); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.7rem var(--s6);
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--t-base);
  white-space: nowrap;
  line-height: 1.4;
  text-decoration: none;
}

.btn-lg   { padding: var(--s4) var(--s8); font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary { background: var(--gold-primary); color: var(--white); border-color: var(--gold-primary); }
.btn-primary:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: var(--white); opacity: 1; }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: var(--emerald-soft); opacity: 1; }

.btn-ghost,
.btn-outline-light { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover,
.btn-outline-light:hover { background: rgba(255,255,255,0.22); opacity: 1; }

/* ---- LANG SWITCHER ---- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 3px;
  margin-left: var(--s2);
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 26px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: all var(--t-fast);
  padding: 0 var(--s2);
  text-decoration: none;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.lang-active {
  background: var(--gold-primary);
  color: var(--white) !important;
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--s4) var(--s6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo {
  width: 38px;
  height: 38px;
  background: var(--gold-primary);
  color: var(--white);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover { color: var(--gold-primary); }

.nav-has-dropdown { position: relative; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
  padding: var(--s3) 0 var(--s2);
  z-index: 10;
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: var(--s3) var(--s5);
  font-size: 0.875rem;
  color: var(--text);
  transition: background var(--t-fast), color var(--t-fast);
  text-decoration: none;
}

.nav-dropdown a:hover { background: var(--surface); color: var(--gold-primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s2);
  border-radius: var(--r-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--t-base);
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(160deg, var(--surface) 0%, var(--white) 60%);
  padding: var(--s24) 0 var(--s20);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--emerald-soft) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.8rem;
  font-weight: 600;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-full);
  margin-bottom: var(--s6);
  letter-spacing: 0.03em;
}

.hero-title { margin-bottom: var(--s5); }

.hero-title .accent { color: var(--gold-primary); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.175rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto var(--s8);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--s4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--s6);
}

.hero-proof {
  display: flex;
  gap: var(--s6);
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--muted);
}

.hero-proof span { display: flex; align-items: center; gap: var(--s2); }

.hero-proof span::before {
  content: '✓';
  color: var(--navy);
  font-weight: 700;
}

/* ---- STATS STRIP ---- */
.stat-strip {
  background: var(--ink);
  padding: var(--s12) 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s8);
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--s2);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

/* ---- PAIN SECTION ---- */
.pain-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--s12);
}

.pain-intro h2 { margin-bottom: var(--s4); }
.pain-intro p { color: var(--muted); font-size: 1.05rem; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
}

.pain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  transition: box-shadow var(--t-base), border-color var(--t-base), transform var(--t-base);
}

.pain-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
  transform: translateY(-4px);
}

.pain-icon { font-size: 2rem; margin-bottom: var(--s4); display: block; }

.pain-card h3 { font-size: 1.1rem; margin-bottom: var(--s3); color: var(--ink); }

.pain-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.65; }

/* ---- SOLUTION ---- */
.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: start;
}

.solution-content h2 { margin-bottom: var(--s8); }

.solution-list {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  margin-bottom: var(--s8);
}

.solution-list li {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
}

.check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--emerald-soft);
  color: var(--emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 2px;
}

.solution-list strong { display: block; font-size: 0.98rem; color: var(--ink); margin-bottom: var(--s1); }
.solution-list p { font-size: 0.875rem; color: var(--muted); margin: 0; }

.solution-visual { display: flex; flex-direction: column; gap: var(--s5); }

.quote-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: var(--s8);
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: -1.5rem;
  left: var(--s5);
  font-size: 7rem;
  color: rgba(255,255,255,0.06);
  font-family: var(--font-display);
  line-height: 1;
}

.quote-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: var(--s4);
  position: relative;
  z-index: 1;
}

.quote-card p strong { color: var(--gold); }

.quote-card cite { font-size: 0.83rem; color: rgba(255,255,255,0.5); font-style: normal; }

.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s6) var(--s8);
}

.price-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: var(--s2);
}

.price-range {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--s2);
}

.price-range span { font-size: 1rem; color: var(--muted); font-weight: 500; }

.price-card > p { font-size: 0.875rem; color: var(--muted); margin: 0; }

/* ---- PROCESS ---- */
.process-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--s12);
}

.process-intro h2 { margin-bottom: var(--s4); }
.process-intro p { color: var(--muted); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s6);
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(12.5% + var(--s4));
  right: calc(12.5% + var(--s4));
  height: 2px;
  background: linear-gradient(to right, var(--border) 0%, var(--emerald-soft) 50%, var(--border) 100%);
}

.process-step { text-align: center; position: relative; z-index: 1; }

.step-number {
  width: 5rem;
  height: 5rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 auto var(--s5);
  transition: var(--t-base);
}

.process-step:hover .step-number {
  background: var(--gold-primary);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 0 0 6px var(--emerald-soft);
}

.process-step h3 { font-size: 0.98rem; margin-bottom: var(--s2); }
.process-step p { font-size: 0.875rem; color: var(--muted); line-height: 1.55; }

/* ---- SERVICES ---- */
.services-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--s12);
}

.services-intro h2 { margin-bottom: var(--s4); }
.services-intro p { color: var(--muted); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s6);
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}

.service-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  color: var(--text);
}

.service-icon { font-size: 1.75rem; margin-bottom: var(--s4); display: block; }

.service-card h3 { font-size: 1rem; color: var(--ink); margin-bottom: var(--s2); }

.service-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--s4);
  flex: 1;
}

.service-link { font-size: 0.875rem; font-weight: 600; color: var(--gold-primary); margin-top: auto; }

/* ---- LEAD FORM ---- */
.lead-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: start;
}

.cta-badge {
  display: inline-block;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 700;
  padding: var(--s1) var(--s3);
  border-radius: var(--r-full);
  margin-bottom: var(--s4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lead-cta-content h2 { margin-bottom: var(--s4); }
.lead-cta-content > p { color: var(--muted); margin-bottom: var(--s6); font-size: 1.05rem; }

.cta-guarantees { display: flex; flex-direction: column; gap: var(--s2); }

.cta-guarantees li {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 0.95rem;
  color: var(--text);
}

.cta-guarantees li::before { content: "✓"; color: var(--gold-primary); font-weight: 700; }

.lead-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s8);
  box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: var(--s5); }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--s2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--s3) var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--emerald-soft);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }

.form-group textarea { resize: vertical; min-height: 100px; }

.form-legal { margin-top: var(--s3); font-size: 0.78rem; color: var(--muted); text-align: center; }
.form-legal a { color: var(--navy); }

/* ---- FAQ ---- */
.faq-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--s10);
}

.faq-intro h2 { margin-bottom: var(--s4); }
.faq-intro p { color: var(--muted); }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.faq-item.is-open,
.faq-item:hover { border-color: rgba(14, 42, 71, 0.3); }

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: var(--s5) var(--s6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
}

.faq-question:hover { background: var(--surface); }

.faq-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform var(--t-base), background var(--t-base), color var(--t-base);
  color: var(--muted);
}

.faq-item.is-open .faq-arrow {
  transform: rotate(180deg);
  background: var(--gold-primary);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}

.faq-answer-inner {
  padding: 0 var(--s6) var(--s5);
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.faq-answer-inner strong { color: var(--text); }

.faq-item.is-open .faq-answer { max-height: 600px; }

/* ---- FINAL CTA ---- */
.final-cta {
  background: var(--ink);
  color: var(--white);
  padding: var(--s24) 0;
  text-align: center;
}

.final-cta h2 { color: var(--white); margin-bottom: var(--s4); }

.final-cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin: 0 auto var(--s8);
}

/* ---- FOOTER ---- */
.site-footer {
  background: #090910;
  color: rgba(255,255,255,0.65);
  padding: var(--s20) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s12);
  margin-bottom: var(--s16);
}

.footer-brand { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }

.footer-logo {
  width: 30px;
  height: 30px;
  background: var(--gold-primary);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--s5);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: var(--s4);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--s3); }

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--t-fast);
  text-decoration: none;
}

.footer-col a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--s3);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: var(--s6) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.25); margin: 0; }

.footer-legal { display: flex; gap: var(--s5); }

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  transition: color var(--t-fast);
  text-decoration: none;
}

.footer-legal a:hover { color: var(--white); }

/* ---- SUCCESS / ERROR ---- */
.success-message {
  background: #D1FAE5;
  border: 1px solid #6EE7B7;
  color: #065F46;
  padding: var(--s5) var(--s6);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  line-height: 1.5;
}

.error-message {
  background: #FEE2E2;
  border: 1px solid #FECACA;
  color: #991B1B;
  padding: var(--s4);
  border-radius: var(--r-md);
  margin-top: var(--s3);
  font-size: 0.875rem;
}

/* ---- BASE PAGES (service, article, prose) ---- */
.main-content { min-height: 60vh; }

/* Prose-style rendering for raw markdown pages */
.main-content > h1,
.main-content > h2,
.main-content > h3,
.main-content > h4,
.main-content > p,
.main-content > ul,
.main-content > ol,
.main-content > blockquote,
.main-content > hr,
.main-content > table {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--s6);
}

.main-content > h1:first-child { margin-top: var(--s12); }
.main-content > *:last-child   { margin-bottom: var(--s12); }
.main-content > h1 { margin-top: var(--s12); margin-bottom: var(--s4); }
.main-content > h2 { margin-top: var(--s10); margin-bottom: var(--s3); }
.main-content > h3 { margin-top: var(--s8);  margin-bottom: var(--s2); }
.main-content > p  { margin-bottom: var(--s4); color: var(--text); }
.main-content > ul,
.main-content > ol { margin-bottom: var(--s4); padding-left: calc(var(--s6) + var(--s4)); list-style: disc; }
.main-content > ul li,
.main-content > ol li { margin-bottom: var(--s2); color: var(--text); }
.main-content > blockquote {
  border-left: 4px solid var(--navy);
  padding-left: var(--s5);
  color: var(--muted);
  font-style: italic;
  margin: var(--s6) 0;
}
.main-content > hr { border: none; border-top: 1px solid var(--border); margin: var(--s8) auto; }
.main-content a { color: var(--navy); }

/* Service page layout */
.service-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  padding: var(--s16) 0;
}

.service-header h1 { color: var(--white); margin: 0 0 var(--s4); }
.service-header .lead { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin: 0; max-width: 640px; }

.service-content {
  padding: var(--s16) var(--s6);
  max-width: 800px;
  margin: 0 auto;
}

.service-content h2 { margin-top: var(--s10); margin-bottom: var(--s4); }
.service-content h3 { margin-top: var(--s8); margin-bottom: var(--s3); }
.service-content p { margin-bottom: var(--s4); color: var(--text); }
.service-content ul { padding-left: var(--s6); list-style: disc; margin-bottom: var(--s4); }
.service-content ul li { margin-bottom: var(--s2); }

.service-cta {
  background: var(--surface);
  padding: var(--s16) var(--s6);
  text-align: center;
}

.service-cta h2 { margin-bottom: var(--s4); }
.service-cta p { color: var(--muted); margin-bottom: var(--s6); }

/* Article page */
.article-header { background: var(--surface); padding: var(--s12) var(--s6); }
.article-header .container h1 { margin: 0 0 var(--s4); }

.article-meta {
  display: flex;
  gap: var(--s4);
  font-size: 0.875rem;
  color: var(--muted);
}

.article-content {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--s12) var(--s6);
}

.article-content h2 { margin-top: var(--s10); margin-bottom: var(--s4); }
.article-content p { margin-bottom: var(--s4); }
.article-content ul { padding-left: var(--s6); list-style: disc; margin-bottom: var(--s4); }

.article-sidebar { max-width: 780px; margin: 0 auto; padding: 0 var(--s6) var(--s12); }

.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s6);
  text-align: center;
}

.cta-box h3 { margin-bottom: var(--s3); }
.cta-box p  { color: var(--muted); margin-bottom: var(--s5); }

/* Legacy compat */
.cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem var(--s6);
  background: var(--gold-primary);
  color: var(--white);
  border: none;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--t-base);
  text-decoration: none;
}

.cta-primary:hover { background: var(--navy-soft); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  max-width: 900px;
  margin: var(--s12) auto 0;
  padding: 0 var(--s6);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }
}

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

  /* Nav mobile */
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--s6);
    gap: var(--s2);
    overflow-y: auto;
    border-top: 1px solid var(--border);
    z-index: 99;
  }

  .nav-links.is-open { display: flex; }

  .nav-link { font-size: 1.05rem; padding: var(--s3) 0; display: block; width: 100%; }

  .nav-has-dropdown { width: 100%; }

  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: var(--s2) 0 var(--s2) var(--s4);
    background: var(--surface);
    border-radius: var(--r-sm);
    margin-top: var(--s2);
    min-width: 0;
  }

  .nav-links .btn { width: 100%; justify-content: center; margin-top: var(--s3); }

  /* Hero */
  .hero { padding: var(--s16) 0 var(--s12); }
  .hero::before { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-proof { flex-direction: column; gap: var(--s2); align-items: center; }

  /* Stats */
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s6); }

  /* Pain */
  .pain-grid { grid-template-columns: 1fr; }

  /* Solution */
  .solution-inner { grid-template-columns: 1fr; gap: var(--s8); }

  /* Process */
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }

  /* Lead form */
  .lead-cta-inner { grid-template-columns: 1fr; gap: var(--s8); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  .stat-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .container { padding: 0 var(--s4); }
  .hero-inner { padding: 0 var(--s4); }
}

/* ================================================================
   CRÉATION D'ENTREPRISE — Page layout
   ================================================================ */

/* Breadcrumb */
.breadcrumb-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--s3) 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--navy); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--navy-soft); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text); font-weight: 500; }

/* Hero creation */
.creation-hero {
  background: linear-gradient(135deg, var(--ink) 0%, #1a1a2e 100%);
  color: var(--white);
  padding: var(--s16) 0 var(--s12);
  position: relative;
  overflow: hidden;
}
.creation-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(14,42,71,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.creation-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.creation-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(14,42,71,0.2);
  border: 1px solid rgba(14,42,71,0.4);
  color: #7FB3D5;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--s1) var(--s3);
  border-radius: var(--r-full);
  margin-bottom: var(--s5);
}
.creation-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--white);
  margin-bottom: var(--s5);
  line-height: 1.1;
}
.creation-hero h1 em {
  font-style: normal;
  color: #7FB3D5;
}
.creation-hero-lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin-bottom: var(--s8);
  line-height: 1.65;
}
.creation-hero-actions {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
}

/* Profession pills */
.profession-pills-section {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--s5) 0;
}
.profession-pills-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s3);
}
.profession-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.pill {
  display: inline-block;
  padding: var(--s1) var(--s3);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
  transition: all var(--t-fast);
}
.pill:hover { border-color: var(--navy); color: var(--navy); }

/* Definition + characteristics */
.creation-def-section {
  padding: var(--s16) 0;
}
.creation-def-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--s10);
  align-items: start;
}
.creation-def-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--s5);
}
.creation-def-text p {
  color: var(--text);
  line-height: 1.75;
  margin-bottom: var(--s4);
}
.chars-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 90px;
}
.chars-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s5);
  padding-bottom: var(--s3);
  border-bottom: 2px solid var(--navy);
}
.chars-list { display: flex; flex-direction: column; gap: var(--s3); }
.chars-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chars-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.chars-item-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

/* Pros / Cons */
.creation-pros-cons-section {
  background: var(--surface);
  padding: var(--s16) 0;
}
.creation-pros-cons-section > .container > h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--s10);
  text-align: center;
}
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
}
.pros-col, .cons-col {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--s6);
  box-shadow: var(--shadow-sm);
}
.pros-col { border-top: 4px solid #22c55e; }
.cons-col { border-top: 4px solid var(--navy); }
.pros-col h3, .cons-col h3 {
  font-size: 1.1rem;
  margin-bottom: var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.pros-col h3 { color: #16a34a; }
.cons-col h3 { color: var(--navy-soft); }
.pros-cons-list { display: flex; flex-direction: column; gap: var(--s3); }
.pros-cons-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}
.pros-cons-list li::before {
  content: '✓';
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}
.pros-col .pros-cons-list li::before { color: #16a34a; }
.cons-col .pros-cons-list li::before { content: '✗'; color: var(--navy); }

/* Creation steps */
.creation-steps-section {
  padding: var(--s16) 0;
}
.creation-steps-section > .container > h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--s4);
}
.creation-steps-section > .container > p.section-sub {
  color: var(--muted);
  max-width: 600px;
  margin-bottom: var(--s10);
}
.creation-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s6);
}
.creation-step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base);
}
.creation-step-card:hover { box-shadow: var(--shadow-md); }
.creation-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--gold-primary);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: var(--r-full);
  margin-bottom: var(--s4);
}
.creation-step-body h3 {
  font-size: 1.1rem;
  margin-bottom: var(--s2);
  color: var(--ink);
}
.creation-step-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: var(--s3);
  line-height: 1.6;
}
.creation-step-items {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.creation-step-items li {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.85rem;
  color: var(--text);
}
.creation-step-items li::before {
  content: '→';
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
}

/* Mid-page CTA (dark) */
.creation-mid-cta {
  background: linear-gradient(135deg, var(--ink) 0%, #1a1a2e 100%);
  padding: var(--s12) 0;
  text-align: center;
}
.creation-mid-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--white);
  margin-bottom: var(--s4);
}
.creation-mid-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: var(--s8);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.creation-mid-cta-actions {
  display: flex;
  gap: var(--s4);
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ section (creation) */
.creation-faq-section {
  background: var(--surface);
  padding: var(--s16) 0;
}
.creation-faq-section > .container > h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--s10);
  text-align: center;
}

/* Other types grid */
.other-types-section {
  padding: var(--s16) 0;
}
.other-types-section > .container > h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--s4);
}
.other-types-section > .container > p.section-sub {
  color: var(--muted);
  margin-bottom: var(--s10);
}
.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}
.type-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s5);
  box-shadow: var(--shadow-xs);
  transition: all var(--t-base);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.type-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.type-card-code {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
}
.type-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.type-card-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}
.type-card-arrow {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
}

/* Hub page */
.creation-hub-hero {
  background: linear-gradient(135deg, var(--ink) 0%, #1a1a2e 100%);
  color: var(--white);
  padding: var(--s20) 0 var(--s16);
  text-align: center;
}
.creation-hub-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--white);
  margin-bottom: var(--s5);
}
.creation-hub-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto var(--s8);
  line-height: 1.65;
}
.creation-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s6);
  padding: var(--s16) 0;
}
.creation-hub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.creation-hub-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.creation-hub-card-header {
  display: flex;
  align-items: center;
  gap: var(--s4);
}
.creation-hub-card-code {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  min-width: 80px;
}
.creation-hub-card-titles { display: flex; flex-direction: column; gap: 2px; }
.creation-hub-card-name { font-size: 1rem; font-weight: 700; color: var(--ink); }
.creation-hub-card-full { font-size: 0.8rem; color: var(--muted); }
.creation-hub-card-desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
}
.creation-hub-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.creation-hub-card-tag {
  display: inline-block;
  padding: 2px var(--s3);
  background: var(--emerald-soft);
  color: var(--emerald);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.creation-hub-card-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s2);
}

/* ================================================================
   QUIZ DIAGNOSTIC — EI vers Société
   ================================================================ */

.quiz-page {
  min-height: 100vh;
  background: var(--surface);
}

/* Hero quiz */
.quiz-hero {
  background: linear-gradient(135deg, var(--ink) 0%, #1a1a2e 100%);
  padding: var(--s16) 0 var(--s12);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quiz-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(14,42,71,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.quiz-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.quiz-hero-badge {
  display: inline-block;
  background: rgba(14,42,71,0.2);
  border: 1px solid rgba(14,42,71,0.4);
  color: #7FB3D5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--s1) var(--s4);
  border-radius: var(--r-full);
  margin-bottom: var(--s5);
}
.quiz-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: var(--white);
  margin-bottom: var(--s4);
  line-height: 1.1;
}
.quiz-hero h1 em { font-style: normal; color: #7FB3D5; }
.quiz-hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--s8);
  line-height: 1.6;
}
.quiz-hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--s6);
  flex-wrap: wrap;
}
.quiz-hero-stat {
  display: flex;
  align-items: center;
  gap: var(--s2);
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}
.quiz-hero-stat strong { color: var(--white); }

/* Quiz container */
.quiz-container {
  max-width: 680px;
  margin: 0 auto;
  padding: var(--s10) var(--s6) var(--s16);
}

/* Progress */
.quiz-progress {
  margin-bottom: var(--s8);
}
.quiz-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s3);
}
.quiz-progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.quiz-progress-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}
.quiz-progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: var(--r-full);
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--navy-soft));
  border-radius: var(--r-full);
  transition: width 0.5s var(--ease);
}

/* Question card */
.quiz-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--s8);
  box-shadow: var(--shadow-md);
  display: none;
  animation: quizSlideIn 0.35s var(--ease);
}
.quiz-card.is-active { display: block; }

@keyframes quizSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes quizSlideOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-24px); }
}
.quiz-card.is-leaving {
  display: block;
  animation: quizSlideOut 0.25s var(--ease) forwards;
}

.quiz-question-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--s3);
}
.quiz-question-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: var(--s2);
}
.quiz-question-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: var(--s6);
  line-height: 1.5;
}

/* Answer options */
.quiz-options { display: flex; flex-direction: column; gap: var(--s3); }
.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: left;
  width: 100%;
  font-family: var(--font-sans);
}
.quiz-option:hover {
  border-color: var(--navy);
  background: var(--emerald-soft);
}
.quiz-option.is-selected {
  border-color: var(--navy);
  background: var(--emerald-soft);
}
.quiz-option-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.quiz-option-body { flex: 1; }
.quiz-option-label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.quiz-option-sub {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.quiz-option-check {
  width: 22px;
  height: 22px;
  border-radius: var(--r-full);
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  font-size: 0.7rem;
  color: transparent;
}
.quiz-option.is-selected .quiz-option-check {
  background: var(--gold-primary);
  border-color: var(--navy);
  color: var(--white);
}

/* Nav bouton */
.quiz-nav {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--s6);
}
.quiz-next-btn {
  background: var(--gold-primary);
  color: var(--white);
  border: none;
  border-radius: var(--r-md);
  padding: var(--s3) var(--s6);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--t-fast);
  display: none;
}
.quiz-next-btn:hover { background: var(--navy-soft); transform: translateY(-1px); }
.quiz-next-btn.is-visible { display: inline-flex; align-items: center; gap: var(--s2); }

/* Score result */
.quiz-result { display: none; }
.quiz-result.is-active { display: block; }

.quiz-result-teaser {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--s8);
  box-shadow: var(--shadow-md);
  text-align: center;
  margin-bottom: var(--s6);
}
.quiz-result-score-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
  margin-bottom: var(--s6);
}
.quiz-score-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  position: relative;
}
.quiz-score-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 8px solid var(--border);
}
.quiz-score-ring-fill {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 8px solid transparent;
  border-top-color: var(--navy);
  border-right-color: var(--navy);
}
.quiz-score-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  position: relative;
  z-index: 1;
}
.quiz-score-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.quiz-result-verdict {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s3);
}
.quiz-result-verdict.verdict-low  { color: #16a34a; }
.quiz-result-verdict.verdict-mid  { color: var(--gold); }
.quiz-result-verdict.verdict-high { color: var(--navy); }

.quiz-result-teaser-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: var(--s6);
}

/* Blurred detail */
.quiz-detail-blurred {
  position: relative;
  margin-bottom: var(--s6);
}
.quiz-detail-blur-content {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s5);
}
.quiz-detail-blur-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.quiz-detail-blur-item:last-child { border-bottom: none; }
.quiz-blur-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(247,247,250,0.1) 0%, rgba(247,247,250,0.95) 40%);
  border-radius: var(--r-lg);
  padding: var(--s6);
  text-align: center;
}
.quiz-blur-lock {
  font-size: 2rem;
  margin-bottom: var(--s3);
}
.quiz-blur-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s2);
}
.quiz-blur-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: var(--s5);
}

/* Gate form */
.quiz-gate-form {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--s8);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--navy);
}
.quiz-gate-form h3 {
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: var(--s2);
}
.quiz-gate-form p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: var(--s6);
}
.quiz-gate-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  margin-bottom: var(--s4);
}
.quiz-gate-fields .form-group:last-child {
  grid-column: 1 / -1;
}

/* Result unlocked */
.quiz-unlocked { display: none; }
.quiz-unlocked.is-active {
  display: block;
  animation: quizSlideIn 0.4s var(--ease);
}
.quiz-breakdown {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--s8);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--s6);
}
.quiz-breakdown h3 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: var(--s6);
  padding-bottom: var(--s4);
  border-bottom: 2px solid var(--border);
}
.quiz-breakdown-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--border);
}
.quiz-breakdown-item:last-child { border-bottom: none; }
.quiz-breakdown-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.dot-red    { background: var(--gold-primary); }
.dot-orange { background: var(--gold); }
.dot-green  { background: #22c55e; }
.quiz-breakdown-text { flex: 1; }
.quiz-breakdown-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.quiz-breakdown-detail {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.5;
}
.quiz-cta-box {
  background: linear-gradient(135deg, var(--ink), #1a1a2e);
  border-radius: var(--r-xl);
  padding: var(--s8);
  text-align: center;
  color: var(--white);
}
.quiz-cta-box h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: var(--s3);
}
.quiz-cta-box p {
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--s6);
  font-size: 0.95rem;
}
.quiz-cta-box .btn { margin: 0 auto; }

/* Responsive quiz */
@media (max-width: 600px) {
  .quiz-container { padding: var(--s6) var(--s4) var(--s12); }
  .quiz-card { padding: var(--s6); }
  .quiz-gate-fields { grid-template-columns: 1fr; }
  .quiz-gate-fields .form-group:last-child { grid-column: 1; }
  .quiz-hero-stats { flex-direction: column; gap: var(--s2); }
}

/* Creation responsive */
@media (max-width: 900px) {
  .creation-def-grid { grid-template-columns: 1fr; }
  .chars-card { position: static; }
  .pros-cons-grid { grid-template-columns: 1fr; }
  .creation-steps-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .creation-hero-actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .types-grid { grid-template-columns: 1fr; }
  .creation-mid-cta-actions { flex-direction: column; align-items: center; }
}
