/* ==========================================================================
   DUERP GO ! • FEUILLE DE STYLE MODERNE SAAS B2B (2026)
   Conforme Code du travail L. 4121-3 et réglementation en vigueur & Charte Graphique Pro
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-dark: #075985;
  --secondary: #0f172a;
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-light: #ecfdf5;
  --warning: #f59e0b;
  --danger: #ef4444;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-focus: #38bdf8;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
}

.gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* TOP ANNOUNCEMENT BANNER */
.top-banner {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-banner strong {
  color: #38bdf8;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

.brand-badge {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--primary);
}

/* BUTTONS */
.btn-cta {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white !important;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
}

.btn-hero-secondary {
  background: white;
  color: var(--secondary) !important;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

/* HERO SECTION */
.hero {
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* SECTION COMMONS */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-tag {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* CALCULATOR BOX */
.calculator-box {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 2.75rem 3rem;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .calculator-box {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin: 1.25rem 0 0.5rem;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
  transition: transform 0.1s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-values-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.calc-result-panel {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.calc-fine-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #991b1b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.calc-fine-amount {
  font-size: 2.75rem;
  font-weight: 900;
  color: #b91c1c;
  line-height: 1;
  margin-bottom: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
}

.calc-solution-comparison {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #fca5a5;
  font-size: 0.85rem;
  color: #7f1d1d;
}

/* WIZARD CONTAINER */
.wizard-box {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  margin-bottom: 3rem;
}

.wizard-steps-header {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.wizard-step-tab {
  flex: 1;
  min-width: 200px;
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.wizard-step-tab.active {
  background: white;
  border-bottom-color: var(--primary);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.wizard-step-tab.active .step-num {
  background: var(--primary);
  color: white;
}

.wizard-step-tab.completed .step-num {
  background: var(--accent);
  color: white;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
}

.step-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.wizard-content {
  padding: 2.5rem;
}

@media (max-width: 768px) {
  .wizard-content {
    padding: 1.25rem;
  }
}

.wizard-step-pane {
  display: none;
}

.wizard-step-pane.active {
  display: block;
}

/* FORM CONTROLS */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
}

.form-control {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: white;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* SECTOR SELECTOR CARDS */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.sector-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sector-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.sector-card.selected {
  border-color: var(--primary);
  background: #f0f9ff;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.sector-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.sector-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.sector-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Réglementation du travail TABLE 1 & TABLE 2 STYLES */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  background: white;
}

.risk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.risk-table th {
  background: #f1f5f9;
  color: var(--secondary);
  font-weight: 700;
  padding: 0.75rem 0.85rem;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.risk-table td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.risk-table tr:hover {
  background: #f8fafc;
}

/* Réglementation du travail HIERARCHY BADGES (1, 2, 3) */
.badge-p1 {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.badge-p2 {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.badge-p3 {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

/* WIZARD ACTIONS BAR */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}

.btn-secondary {
  background: white;
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-success {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-success:hover {
  background: var(--accent-hover);
}

/* PRICING CARDS */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xl);
}

.badge-popular {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.35rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 44px;
}

.plan-price-wrapper {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.plan-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
}

.plan-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.35rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.check {
  color: var(--accent);
  font-weight: 800;
}

/* FAQ ACCORDION */
.faq-box {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-item summary {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.05rem;
  outline: none;
}

.faq-item p {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FOOTER */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-title {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.modal-close:hover {
  color: var(--secondary);
}

.modal-body {
  padding: 1.5rem;
}

/* TOAST NOTIFICATION */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   PRINT MEDIA QUERIES (ÉDITION DUERP OFFICIEL A4 PUR SANS GRILLE NI ÉTAPES)
   ========================================================================== */

/* TABLE COLUMNS & SIZING ENHANCEMENTS */
.risk-table-fluid {
  width: 100% !important;
  table-layout: fixed !important;
}

.risk-table-fluid td.col-num {
  width: 35px !important;
  text-align: center !important;
  font-weight: 800 !important;
  color: #0284c7 !important;
}

.risk-table-fluid td.col-unite {
  word-break: break-word;
}

.risk-table-fluid td.col-danger {
  word-break: break-word;
}

.risk-table-fluid td.col-proba,
.risk-table-fluid td.col-gravite {
  text-align: center !important;
  padding: 4px 2px !important;
}

.risk-table-fluid td.col-proba select,
.risk-table-fluid td.col-gravite select {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 4px 2px !important;
  width: 100% !important;
  text-align: center !important;
}

.risk-table-fluid td.col-hierarchie {
  text-align: center !important;
  white-space: nowrap !important;
  padding: 4px !important;
}

.risk-table-fluid td.col-action {
  text-align: center !important;
  width: 55px !important;
  padding: 4px !important;
}

.btn-delete-row {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-delete-row:hover {
  background: #fecaca;
  color: #991b1b;
  border-color: #f87171;
  transform: scale(1.08);
}

/* ==========================================================================
   NOUVEAUX COMPOSANTS : SPÉCIMEN DUERP, WORKSPACE 100% & PAYWALL INTERMÉDIAIRE
   ========================================================================== */

/* WORKSPACE PLEINE LARGEUR */
.container-fluid {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container-fluid {
    padding: 0 1rem;
  }
}

.workspace-header {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.workspace-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
}

.workspace-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

/* SPÉCIMEN STYLISÉ SUR LA PAGE D'ACCUEIL */
.specimen-wrapper {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  margin: 2rem 0;
  position: relative;
}

.specimen-nav {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.specimen-tab {
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.specimen-tab:hover {
  color: var(--primary);
  background: #f8fafc;
}

.specimen-tab.active {
  color: var(--primary);
  background: #ffffff;
  border-bottom-color: var(--primary);
}

.specimen-body {
  padding: 2.5rem;
  position: relative;
}

.specimen-watermark {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(2, 132, 199, 0.05);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.specimen-header-card {
  border: 2px solid #0f172a;
  border-radius: 8px;
  padding: 1.5rem;
  background: #f8fafc;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.specimen-stamp {
  border: 2px dashed #0284c7;
  color: #0284c7;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  transform: rotate(-2deg);
}

/* PAYWALL & ÉTAPE INTERMÉDIAIRE FLOUTÉE */
.paywall-container {
  position: relative;
  min-height: 720px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  background: #ffffff;
}

.blurred-preview {
  filter: blur(7px);
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
  padding: 2.5rem;
  background: white;
}

.paywall-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}

.paywall-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 780px;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: modalFadeIn 0.3s ease-out;
}

.paywall-lock-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

.paywall-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.paywall-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 1.75rem;
}

.paywall-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .paywall-plans {
    grid-template-columns: 1fr;
  }
}

.paywall-plan-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.paywall-plan-option:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.paywall-plan-option.selected {
  border-color: var(--primary);
  background: #f0f9ff;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

/* ENCART JURIDIQUE SANCTIONS 2026 */
.legal-alert-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 5px solid #ea580c;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2.5rem 0;
}

.legal-alert-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #9a3412;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.legal-alert-content {
  font-size: 0.95rem;
  color: #7c2d12;
  line-height: 1.6;
}

.legal-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffedd5;
  color: #9a3412;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
  text-decoration: underline;
}

.legal-link-pill:hover {
  background: #fed7aa;
}
/* ==========================================================================
   AJUSTEMENTS ERGONOMIQUES ET DESIGN 2026 (V2)
   ========================================================================== */

/* FIX TABLEAUX : ZÉRO SCROLL HORIZONTAL */
.table-fluid-wrap {
  width: 100%;
  overflow-x: visible;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: white;
  margin-bottom: 1.5rem;
}

.risk-table-fluid {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.risk-table-fluid th {
  background: #f1f5f9;
  color: var(--secondary);
  font-weight: 700;
  padding: 0.75rem 0.65rem;
  border-bottom: 2px solid var(--border);
  font-size: 0.8rem;
  line-height: 1.3;
}

.risk-table-fluid td {
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  word-wrap: break-word;
}

.risk-table-fluid tr:hover {
  background: #f8fafc;
}

/* GUIDE PÉDAGOGIQUE COTATION */
.cotation-guide-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .cotation-guide-box {
    grid-template-columns: 1fr;
  }
}

.guide-col-title {
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #334155;
}

/* FIX PAYWALL OVERFLOW & CLIPPING (ÉTAPE 4) */
.paywall-container {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #ffffff;
  margin: 1.5rem 0;
  overflow: visible;
}

.blurred-preview {
  filter: blur(8px);
  opacity: 0.25;
  pointer-events: none;
  user-select: none;
  padding: 2rem;
  background: white;
  max-height: 380px;
  overflow: hidden;
}

.paywall-overlay {
  position: relative;
  margin-top: -360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 2.5rem;
  z-index: 10;
}

.paywall-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.25);
  max-width: 820px;
  width: 100%;
  padding: 2.25rem 2rem;
  text-align: center;
  border: 1px solid #cbd5e1;
}

/* CANVAS DE SIGNATURE ÉLECTRONIQUE (ÉTAPE 5) */
.signature-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.signature-canvas-wrapper {
  background: white;
  border: 2px dashed #0284c7;
  border-radius: 8px;
  position: relative;
  display: inline-block;
  cursor: crosshair;
}

#signatureCanvas {
  display: block;
  touch-action: none;
}

.signature-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
  user-select: none;
}

/* FICHE SPÉCIMEN STYLISÉE SUR INDEX.HTML */
.specimen-sheet {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  position: relative;
  max-width: 1050px;
  margin: 0 auto;
}

.specimen-marianne-band {
  border-bottom: 2px solid #0f172a;
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
  text-align: center;
}

.specimen-fictive-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}


/* ==========================================================================
   SPÉCIMEN DUERP : VISUELS D'ÉCRANS (SCREENS) SANS OVERFLOW
   ========================================================================== */
.screen-tabs-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 960px;
  margin: 0 auto 1.25rem;
  flex-wrap: wrap;
}

.screen-tab-btn {
  background: white;
  border: 1px solid var(--border);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.screen-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8fafc;
}

.screen-tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.screen-frame-wrapper {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  box-sizing: border-box;
}

.screen-browser-bar {
  background: #f1f5f9;
  border-bottom: 1px solid #cbd5e1;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.screen-browser-dots {
  display: flex;
  gap: 6px;
}

.screen-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.screen-browser-dots span:nth-child(1) { background: #ef4444; }
.screen-browser-dots span:nth-child(2) { background: #f59e0b; }
.screen-browser-dots span:nth-child(3) { background: #10b981; }

.screen-browser-title {
  color: #475569;
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.screen-viewport {
  padding: 2rem;
  background: #ffffff;
  box-sizing: border-box;
  min-height: 480px;
}

/* ==========================================================================
   GRILLE TARIFAIRE ÉLARGIE & COMPACTE (MOINS DE HAUTEUR, ZÉRO VIDE)
   ========================================================================== */
.pricing-grid-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 860px) {
  .pricing-grid-wide {
    grid-template-columns: 1fr;
  }
}

.pricing-card-wide {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card-wide:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pricing-card-wide.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.15);
}

.plan-header-wide {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.plan-price-block {
  text-align: right;
}

.plan-price-block .plan-price {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.plan-price-block .plan-period {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

.plan-features-columns {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.25rem 0;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #334155;
}

.plan-features-list .check {
  color: #10b981;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-features-list .feature-text {
  flex: 1;
}

.tier-toggle-group {
  display: flex;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
  margin: 0.85rem 0;
}

.tier-toggle-btn {
  flex: 1;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  color: #475569;
  transition: all 0.2s ease;
  text-align: center;
}

.tier-toggle-btn.active {
  background: #0284c7;
  color: white;
  box-shadow: 0 2px 4px rgba(2, 132, 199, 0.25);
}

.plan-footer-wide {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   SIGNATURE ÉLECTRONIQUE PAR CODE OTP (100% EMAIL SOUVERAIN LWS)
   ========================================================================== */
.otp-signature-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 1.75rem;
  margin: 1.5rem 0;
}

.otp-inputs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.otp-code-input {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  letter-spacing: 6px;
  text-align: center;
  font-weight: 800;
  color: #0f172a;
  max-width: 220px;
  padding: 0.5rem 0.75rem;
}

.signature-cert-stamp {
  background: #f0fdf4;
  border: 2px solid #16a34a;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
  text-align: left;
}

/* ==========================================================================
   STRICT TABLE WIDTH & OVERFLOW PROTECTION (TABLEAUX DE SAISIE 1 & 2)
   ========================================================================== */
.risk-table-fluid {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.risk-table-fluid th,
.risk-table-fluid td {
  padding: 0.5rem 0.4rem !important;
  box-sizing: border-box !important;
  vertical-align: middle;
}

.risk-table-fluid select {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.4rem 0.35rem !important;
  font-size: 0.82rem !important;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.risk-table-fluid textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 80px !important;
  font-size: 0.82rem !important;
  padding: 0.45rem !important;
  line-height: 1.4 !important;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* Dedicated column constraints for zero squishing */
.col-num {
  width: 38px !important;
  min-width: 38px !important;
  max-width: 42px !important;
  text-align: center !important;
}

.col-action {
  width: 55px !important;
  min-width: 55px !important;
  max-width: 60px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.col-hierarchie {
  width: 110px !important;
  min-width: 110px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.col-proba, .col-gravite {
  width: 100px !important;
  min-width: 95px !important;
  text-align: center !important;
}

.col-unite {
  min-width: 135px !important;
}

.col-danger {
  min-width: 125px !important;
}

.badge-p1, .badge-p2, .badge-p3 {
  white-space: nowrap !important;
  display: inline-block !important;
  font-size: 0.75rem !important;
  padding: 3px 8px !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
}

.badge-p1 {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
}

.badge-p2 {
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

.badge-p3 {
  background: #f0fdf4 !important;
  color: #166534 !important;
  border: 1px solid #bbf7d0 !important;
}

.table-fluid-wrap {
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 1100px) {
  .table-fluid-wrap {
    overflow-x: auto !important;
  }
}

/* ==========================================================================
   OFFICIAL DUERP MULTI-PAGE PRINT ARCHITECTURE (ZÉRO PAGE VIERGE)
   ========================================================================== */

@page {
  size: A4 portrait;
  margin: 10mm 12mm;
}

@page tableLandscape {
  size: A4 landscape;
  margin: 8mm 10mm;
}

@page duerpPortrait {
  size: A4 portrait;
  margin: 10mm 12mm;
}

.pdf-page-cover {
  page: duerpPortrait;
  page-break-after: always !important;
  break-after: page !important;
  margin: 0 !important;
}

.pdf-page-landscape {
  page: tableLandscape;
  page-break-before: always !important;
  break-before: page !important;
  page-break-after: always !important;
  break-after: page !important;
  width: 100% !important;
  margin: 0 !important;
}

.pdf-page-final {
  page: duerpPortrait;
  page-break-before: always !important;
  break-before: page !important;
  margin: 0 !important;
}

.table-paraphe-cell {
  border: none !important;
  padding: 8px 4px 4px 4px !important;
  background: transparent !important;
}

.paraphe-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  font-size: 8pt;
  font-weight: 700;
  color: #334155;
  margin-top: 6px;
}

.paraphe-stamp {
  display: inline-block;
  border: 1.5px solid #0f172a;
  background: #f8fafc;
  padding: 2px 12px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5pt;
  font-weight: 900;
  color: #0f172a;
}

@media print {
  html, body {
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 9.5pt !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Isolation stricte : masquer tout le chrome UI et les panneaux non finaux */
  header, nav, footer, .workspace-header, .site-footer,
  .no-print, .wizard-header, .wizard-steps-header, .wizard-actions,
  .autosave-bar, #draftNotificationBanner, #cookieNoticeBanner, #toastNotice,
  #reviewDuerpDocument, .wizard-step-pane,
  .badge-popular, .tier-toggle-group, .btn-cta, .btn-primary, .btn-secondary,
  .btn-hero-secondary, .toast, #otpSignatureModule, .otp-signature-box,
  .pricing-container-wide, .pricing-grid, .calculator-box, .section-header,
  .paywall-container, #vaultCertContainer, .retrouver-box, .container-sm,
  .btn-group {
    display: none !important;
  }

  main, .container-fluid, .container, #workspaceWizardBox, .wizard-box, .wizard-content {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  /* Afficher strictement step6Pane et le document officiel sans espace superflu */
  #step6Pane {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }

  #step6Pane > .no-print {
    display: none !important;
  }

  #officialDuerpDocument {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
  }

  /* Tableaux multi-pages haute fidélité (50+ risques prêts) */
  .risk-table-fluid {
    width: 100% !important;
    border-collapse: collapse !important;
    page-break-inside: auto !important;
    font-size: 7.5pt !important;
    line-height: 1.25 !important;
  }

  .risk-table-fluid thead {
    display: table-header-group !important;
  }

  .risk-table-fluid tfoot {
    display: table-footer-group !important;
  }

  .risk-table-fluid tr {
    page-break-inside: avoid !important;
    page-break-after: auto !important;
  }

  .risk-table-fluid th {
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 7.5pt !important;
    font-weight: 700 !important;
    padding: 5px 6px !important;
    border: 1px solid #334155 !important;
    text-transform: uppercase !important;
  }

  .risk-table-fluid td {
    padding: 5px 6px !important;
    border: 1px solid #cbd5e1 !important;
    vertical-align: top !important;
  }

  .risk-table-fluid tr:nth-child(even) td {
    background: #f8fafc !important;
  }
}

/* ----------------------------------------------------
   HERO SECTION WIDE (TEXT BESIDE ANIMATION, BUTTONS UNDERNEATH)
   ---------------------------------------------------- */
header.hero.hero-split-section {
  max-width: 1440px !important;
  width: 96% !important;
  margin: 0 auto !important;
  padding: 2.5rem 1.5rem 2.5rem !important;
  text-align: left !important;
  background: radial-gradient(circle at 85% 25%, rgba(56, 189, 248, 0.10) 0%, transparent 55%),
              radial-gradient(circle at 15% 75%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
}

/* TOP ROW: TEXT BESIDE ANIMATION */
.hero-main-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

@media (max-width: 1080px) {
  .hero-main-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* LEFT BLOCK: COMMERCIAL TEXT */
.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

@media (max-width: 1080px) {
  .hero-text-block {
    align-items: center;
    text-align: center;
  }
}

.hero-compliance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hero-text-block h1 {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  color: #0f172a;
}

@media (max-width: 640px) {
  .hero-text-block h1 { font-size: 1.95rem; }
}

.hero-text-block .hero-pitch {
  font-size: 1.08rem;
  color: #475569;
  line-height: 1.68;
  margin-bottom: 0;
  max-width: 640px;
}

/* RIGHT BLOCK: THE ANIMATION (PROJECTOR IN FRONT, LIGHT BEAM, RIGID SCREEN, STATIC CHAR) */
.hero-anim-block {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.projection-scene-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  padding-bottom: 0.5rem;
  width: auto;
}

/* PROJECTEUR MATÉRIEL : POSITIONNÉ STRICTEMENT DEVANT LE RAYON DE LUMIÈRE */
.projector-emitter-wrap {
  position: absolute;
  left: -35px;
  bottom: 22px;
  z-index: 25; /* DEVANT LE RAYON DE LUMIÈRE (qui est à z-index 2) */
  display: flex;
  align-items: center;
}

@media (max-width: 680px) {
  .projector-emitter-wrap { display: none; }
}

.projector-svg {
  position: relative;
  z-index: 5; /* LE PROJECTEUR EST DEVANT */
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
  display: block;
}

/* RAYON DE LUMIÈRE DOUCE : ÉMIS DEPUIS LA LENTILLE DU PROJECTEUR, EN ARRIÈRE-PLAN DU PROJECTEUR */
.projector-soft-beam {
  position: absolute;
  left: 72px; /* Aligné sur la lentille optique */
  bottom: 12px; /* Base alignée sur la lentille */
  width: 380px;
  height: 250px;
  background: linear-gradient(105deg, 
              rgba(255, 255, 255, 0.95) 0%, 
              rgba(56, 189, 248, 0.35) 35%, 
              rgba(56, 189, 248, 0.06) 80%, 
              transparent 100%);
  clip-path: polygon(0% 86%, 100% 0%, 100% 88%, 0% 92%);
  filter: blur(6px);
  pointer-events: none;
  opacity: 0.75;
  z-index: 2; /* STRICTEMENT DERRIÈRE LE PROJECTEUR (qui est z-index 5) */
}

/* ÉCRAN DE PROJECTION : TAILLE STRICTEMENT INDÉFORMABLE */
.projection-screen-assembly {
  width: 480px !important;
  min-width: 480px !important;
  max-width: 480px !important;
  flex-shrink: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 15;
  margin-left: 20px;
}

@media (max-width: 680px) {
  .projection-screen-assembly {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-left: 0;
  }
}

.screen-roller-top {
  width: 102%;
  height: 12px;
  background: linear-gradient(180deg, #334155 0%, #0f172a 100%);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  position: relative;
}
.screen-roller-top::before, .screen-roller-top::after {
  content: '';
  position: absolute;
  top: -2px;
  width: 8px;
  height: 16px;
  background: #64748b;
  border-radius: 3px;
}
.screen-roller-top::before { left: -4px; }
.screen-roller-top::after { right: -4px; }

/* TOILE BLANCHE DE PROJECTION : VERROUILLÉE, AUCUNE DÉFORMATION */
.screen-white-canvas {
  width: 480px !important;
  min-width: 480px !important;
  max-width: 480px !important;
  height: 240px !important;
  min-height: 240px !important;
  max-height: 240px !important;
  background: #ffffff !important;
  border-left: 10px solid #0f172a !important;
  border-right: 10px solid #0f172a !important;
  border-radius: 4px;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.18), 0 0 24px rgba(56, 189, 248, 0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

@media (max-width: 680px) {
  .screen-white-canvas {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    border-left-width: 6px !important;
    border-right-width: 6px !important;
  }
}

.screen-roller-bottom {
  width: 102%;
  height: 10px;
  background: #1e293b;
  border-radius: 4px;
  position: relative;
  display: flex;
  justify-content: center;
}
.screen-pull-ring {
  width: 16px;
  height: 8px;
  border: 2px solid #64748b;
  border-top: none;
  border-radius: 0 0 8px 8px;
  position: absolute;
  bottom: -8px;
}

/* PIED & TRÉPIED */
.screen-stand-pole {
  width: 8px;
  height: 45px;
  background: linear-gradient(90deg, #475569 0%, #1e293b 100%);
}
.screen-stand-tripod {
  width: 90px;
  height: 7px;
  background: #334155;
  border-radius: 4px;
}

/* DIAPOSITIVES RIGIDES (AUCUNE DÉFORMATION) */
.duerp-projection-slide {
  display: none;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
}
.duerp-projection-slide.active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Diapo 1 : "Le DUERP ?" */
.slide-intro-box {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.slide-intro-title {
  font-size: 2.8rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
  margin: 0 !important;
}

/* Diapos 2 à 6 : Disposition strictement rigide sans déformation */
.slide-acronym-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 1.5rem !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 2.5rem !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

@media (max-width: 680px) {
  .slide-acronym-row {
    padding: 0 1.2rem !important;
    gap: 1rem !important;
  }
}

.slide-grand-bleu {
  font-family: var(--font-mono, 'JetBrains Mono', monospace) !important;
  font-size: 5.2rem !important;
  font-weight: 900 !important;
  color: #0284c7 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  width: 80px !important;
  min-width: 80px !important;
  max-width: 80px !important;
  text-align: center !important;
}

@media (max-width: 680px) {
  .slide-grand-bleu {
    font-size: 3.8rem !important;
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
  }
}

.slide-text-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.slide-mot-cle {
  font-size: 2.1rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

@media (max-width: 680px) {
  .slide-mot-cle { font-size: 1.6rem !important; }
}

.slide-definition-italique {
  font-size: 1.2rem !important;
  font-style: italic !important;
  color: #475569 !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

@media (max-width: 680px) {
  .slide-definition-italique { font-size: 0.95rem !important; }
}

/* PUCES DE NAVIGATION DISCRÈTES (6 DOTS) */
.screen-dots-bar {
  position: absolute !important;
  bottom: 8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: 6px !important;
  z-index: 20 !important;
}
.s-dot-pill {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.s-dot-pill:hover { background: #94a3b8; }
.s-dot-pill.active {
  background: #0284c7;
  width: 18px;
  border-radius: 9999px;
}

/* PERSONNAGE BD STATIQUE (STRICTEMENT AUCUN MOUVEMENT) */
.presenter-bd-char {
  width: 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
  flex-shrink: 0 !important;
  margin-left: 12px !important;
  margin-bottom: 25px !important;
  animation: none !important; /* AUCUNE ANIMATION */
  transform: none !important;
  transition: none !important;
}

@media (max-width: 680px) {
  .presenter-bd-char { display: none; }
}

.presenter-bd-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  animation: none !important;
  transform: none !important;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18)) !important;
}

/* ==============================================================================
   BOTTOM ROW: LES BOUTONS EN-DESSOUS DES DEUX (TEXTE & ANIMATION)
   ============================================================================== */
.hero-bottom-actions-row {
  margin-top: 2.8rem !important;
  padding-top: 2rem !important;
  border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 1.25rem !important;
  width: 100% !important;
}

.hero-bottom-actions-row .hero-actions {
  display: flex !important;
  gap: 1.25rem !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  margin-bottom: 0 !important;
}

.hero-bottom-actions-row .hero-trust {
  display: flex !important;
  gap: 2rem !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  font-size: 0.88rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
}
