@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600;700&family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg-main: #faf7f2;
  --bg-card: #ffffff;
  --bg-dark: #060e1a;
  --bg-cockpit: #0c1a30;
  --border-subtle: #eae3d8;
  --border-gold: rgba(197, 155, 39, 0.35);
  --border-hairline: #e2dcd0;
  
  --text-main: #1c1917;
  --text-muted: #57534e;
  --text-dim: #78716c;
  --text-light: #a89f91;
  
  --accent-gold: #c59b27;
  --accent-gold-light: #e5c07b;
  --accent-amber: #9a3412;
  --accent-emerald: #059669;
  --accent-rose: #dc2626;
  --navy-deep: #060e1a;
  --navy-surface: #0e1d35;
  
  --font-serif: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-main: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --shadow-sm: 0 1px 3px rgba(6, 14, 26, 0.04);
  --shadow-card: 0 4px 20px rgba(6, 14, 26, 0.05);
  --shadow-hover: 0 14px 32px rgba(6, 14, 26, 0.1);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-main);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .section-title {
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   1. TOPBAR & EN-TÊTE CABINET DE DIRECTION
   ========================================================================== */
.top-announcement-bar {
  background: #030811;
  color: #a89f91;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-bottom: 1px solid rgba(197, 155, 39, 0.25);
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-badge {
  color: var(--accent-gold-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-date {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #8a8274;
}

.site-header {
  border-bottom: 1px solid var(--border-gold);
  background: #060e1a;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #faf7f2;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #c59b27, #9a3412);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(197, 155, 39, 0.35);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #faf7f2;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: #d6cfc5;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover { color: #e5c07b; }

.nav-action-btn {
  background: linear-gradient(135deg, #c59b27, #9a3412);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: 28px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-action-btn:hover {
  background: linear-gradient(135deg, #d4af37, #b45309);
  transform: translateY(-1px);
}

/* ==========================================================================
   2. HERO EXÉCUTIF PREMIÈRE & CONSOLE COCKPIT
   ========================================================================== */
.hero-first-class {
  background: radial-gradient(circle at 75% 20%, #152744 0%, #060e1a 80%);
  color: #faf7f2;
  padding: 64px 0 56px;
  border-bottom: 2px solid #c59b27;
}

.hero-fc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.exec-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #e5c07b;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-fc-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #faf7f2;
}

.gold-gradient {
  background: linear-gradient(90deg, #e5c07b, #c59b27);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-fc-subtitle {
  font-size: 1.05rem;
  color: #d6cfc5;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Console Cockpit AFNOR */
.cockpit-card {
  background: rgba(6, 14, 26, 0.75);
  border: 1px solid rgba(197, 155, 39, 0.35);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(8px);
}

.cockpit-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.cockpit-icon { font-size: 1.4rem; }
.cockpit-title { font-size: 0.95rem; font-weight: 700; color: #faf7f2; letter-spacing: 0.5px; }
.cockpit-desc { font-size: 0.78rem; color: #a89f91; }

.cockpit-inputs {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.cockpit-field {
  width: 100%;
  background: #060e1a;
  border: 1px solid rgba(197, 155, 39, 0.4);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-mono);
}

.btn-gold-exec {
  background: linear-gradient(135deg, #c59b27, #9a3412);
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-gold-exec:hover {
  background: linear-gradient(135deg, #d4af37, #b45309);
  transform: translateY(-1px);
}

.cockpit-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: rgba(6, 14, 26, 0.85);
  border: 1px solid rgba(197, 155, 39, 0.25);
  border-radius: 6px;
  padding: 14px;
}

.readout-cell { text-align: center; }
.readout-label { font-size: 0.7rem; text-transform: uppercase; color: #a89f91; letter-spacing: 0.5px; font-weight: 600; display: block; }
.cockpit-digital { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: #e5c07b; margin: 4px 0; }
.readout-sub { font-size: 0.72rem; color: #8a8274; display: block; line-height: 1.3; }

.hero-photo-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(197, 155, 39, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  position: relative;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.photo-caption-bar {
  background: rgba(6, 14, 26, 0.9);
  padding: 12px 18px;
  border-top: 1px solid rgba(197, 155, 39, 0.3);
}

/* ==========================================================================
   3. PANNEAU NORMATIF D'INGÉNIERIE & DIRECTIVES POSTURALES (AFNOR)
   ========================================================================== */
.ergo-standards-board {
  background: radial-gradient(circle at 80% 20%, #152744 0%, #060e1a 90%);
  border: 1px solid rgba(197, 155, 39, 0.35);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: 0 12px 32px rgba(6, 14, 26, 0.12);
  color: #faf7f2;
}

.standards-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}

.standards-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #e5c07b;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.standards-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.standard-column {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(229, 192, 123, 0.2);
  border-radius: var(--radius-sm);
  padding: 24px;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.standard-column:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(229, 192, 123, 0.5);
  transform: translateY(-2px);
}

.std-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #e5c07b;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.standard-column h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.standard-column p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.65;
}

/* ==========================================================================
   4. FICHES D'INGÉNIERIE & SPEC SHEET D'ARCHITECTE (NOUVELLE IDENTITÉ)
   ========================================================================== */
.ergo-architect-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.ergo-architect-card:hover {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

/* 1. Header Sombre Pleine Largeur */
.ergo-card-header {
  background: linear-gradient(135deg, #091322 0%, #16263f 100%);
  color: #ffffff;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 2px solid #c59b27;
}

.ergo-badge-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.ergo-rank-tag {
  background: #c59b27;
  color: #060e1a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

.ergo-badge-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #e5c07b;
  text-transform: uppercase;
}

.ergo-model-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 6px;
}

.ergo-sub-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #94a3b8;
  font-size: 0.8rem;
}

.ergo-header-right {
  text-align: right;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(229, 192, 123, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

.ergo-tier-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e5c07b;
  font-weight: 700;
}

.ergo-tier-badge {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

/* 2. Corps Technique */
.ergo-card-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  background: #ffffff;
}

@media (max-width: 900px) {
  .ergo-card-body {
    grid-template-columns: 1fr;
  }
}

/* Colonne Cotes & Châssis (Gauche) */
.ergo-blueprint-specs {
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 14px;
}

.bp-spec-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.bp-spec-row:last-child {
  border-bottom: none;
}

.bp-spec-icon {
  font-size: 1.3rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  flex-shrink: 0;
}

.bp-spec-data {
  display: flex;
  flex-direction: column;
}

.bp-spec-name {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 700;
}

.bp-spec-val {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
}

/* Colonne Diagnostic Ergonomique (Droite) */
.ergo-editorial-block {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ergo-verdict-highlight {
  margin-bottom: 20px;
}

.verdict-lead-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b45309;
  margin-bottom: 6px;
}

.verdict-lead-text {
  font-size: 1rem;
  color: #334155;
  line-height: 1.65;
  margin: 0;
}

.ergo-twin-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 650px) {
  .ergo-twin-details {
    grid-template-columns: 1fr;
  }
}

.twin-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f172a;
  margin-bottom: 4px;
}

.twin-text {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* 3. Barre Inférieure Pleine Largeur */
.ergo-card-footer {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal-tag {
  font-size: 0.76rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
}

.footer-cta-group {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-ergo-secondary {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background: #ffffff;
  transition: all 0.2s ease;
}

.btn-ergo-secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.btn-ergo-primary {
  font-size: 0.88rem;
  font-weight: 800;
  color: #060e1a;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #e5c07b, #c59b27);
  box-shadow: 0 2px 8px rgba(197, 155, 39, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-ergo-primary:hover {
  background: linear-gradient(135deg, #f3d79e, #d8ac32);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.35);
}
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(197, 155, 39, 0.4);
  transition: all 0.15s ease;
  margin-bottom: 10px;
}

.btn-primary-action:hover {
  background: #060e1a;
  border-color: #e5c07b;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary-link {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-amber);
  text-decoration: none;
  transition: color 0.15s ease;
}

.btn-secondary-link:hover {
  color: var(--navy-deep);
  text-decoration: underline;
}

/* ==========================================================================
   4. GRAND TABLEAU DE COMPARATIF POSTURAL
   ========================================================================== */
.table-wrap {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
  margin-bottom: 48px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.spec-table th {
  background: #060e1a;
  color: #e5c07b;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-gold);
}

.spec-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: #faf7f2; }

.table-device-name {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy-deep);
  text-decoration: none;
  font-size: 0.98rem;
}

.table-device-name:hover { color: var(--accent-gold); }

/* ==========================================================================
   5. FOOTER INSTITUTIONNEL & TRANSPARENCE
   ========================================================================== */
.site-footer {
  background: #060e1a;
  color: #a89f91;
  padding: 56px 0 36px;
  border-top: 1px solid var(--border-gold);
}

.footer-disclosure-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(197, 155, 39, 0.2);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #d6cfc5;
  margin-bottom: 32px;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #6a645b;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-bar a {
  color: #c59b27;
  text-decoration: none;
}

.footer-bottom-bar a:hover { color: #ffffff; }

/* ==========================================================================
   6. FILS D'ARIANE (BREADCRUMB) & BLOCS ENRICHIS
   ========================================================================== */
.breadcrumb-nav {
  background: rgba(245, 240, 230, 0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.breadcrumb-nav a {
  color: var(--navy-deep);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-nav a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

.breadcrumb-nav span {
  color: var(--text-dark);
  font-weight: 700;
}

.enriched-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.enriched-title {
  font-family: var(--font-serif);
  color: var(--navy-deep);
  font-size: 1.25rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.annoyance-box {
  background: #fffbf0;
  border: 1px solid #f6e0b5;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 18px;
}

.annoyance-box ul {
  padding-left: 20px;
  margin-top: 8px;
}

.annoyance-box li {
  margin-bottom: 6px;
  color: #78350f;
  font-size: 0.9rem;
  line-height: 1.6;
}

.durability-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--navy-deep);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.step-header {
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.step-badge {
  background: var(--navy-deep);
  color: #e5c07b;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 800;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.faq-q {
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.faq-a {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-fc-grid { grid-template-columns: 1fr; }
  .tech-spec-row { grid-template-columns: 1fr; padding: 24px; }
  .spec-metrics-strip { grid-template-columns: 1fr 1fr; }
  .spec-usage-block { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

