/* ==========================================================================
   CHAUFFANT.COM — DESIGN SYSTEM ÉDITORIAL & D'INGÉNIERIE THERMIQUE
   Typographie de presse — Fond #fffee378 — Navigation épurée
   Performance Core Web Vitals — 100% Responsive
   ========================================================================== */

:root {
  --font-main: sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial;
  --font-reading: math, Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Palette thermique noble et équilibrée */
  --color-brand-primary: #d94814;
  /* Chaleur braise */
  --color-brand-hover: #b8380b;
  --color-brand-light: #fef3ee;
  --color-brand-dark: #1f1612;

  --color-dark: #0f172a;
  /* Slate profond */
  --color-dark-surface: #1e293b;

  --color-bg: #fffee378;
  /* Fond de page teinté ivoire doux */
  --color-surface: #ffffff;
  /* Carte et conteneur pur */
  --color-surface-soft: #f4f5ec;
  /* Fond secondaire teinté */
  --color-surface-warm: #fffdf5;
  /* Teinte chaude confort */
  --color-border: #d1d5db;

  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-white: #ffffff;

  --color-success: #15803d;
  --color-success-bg: #f0fdf4;
  --color-warning: #b45309;
  --color-warning-bg: #fffbeb;
  --color-danger: #b91c1c;
  --color-danger-bg: #fef2f2;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 9999px;

  /* Système d'ombres */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 7px 7px rgba(0, 0, 0, 0.20);
  --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px -8px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 14px 28px -4px rgba(0, 0, 0, 0.14);
  --shadow-brand: 0 8px 20px -3px rgba(217, 72, 20, 0.3);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  --max-w-content: 1180px;
  --max-w-reading: 780px;
}

/* Reset accessible */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
}

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

a {
  color: var(--color-brand-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 72, 20, 0.35);
  border-radius: var(--radius-xs);
}

/* Utilitaires conteneurs */
.container {
  width: 100%;
  max-width: var(--max-w-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.reading-container {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.25rem 4rem;
}

/* ==========================================================================
   HEADER & NAVIGATION PRINCIPALE (FIN, MONO-LIGNE, SANS MARQUES)
   ========================================================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.85rem;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 28px;
  height: auto;
  max-height: 34px;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(181, 51, 4, 0.25));
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.logo-block:hover .logo-icon {
  transform: translateY(-1px) scale(1.05);
}

.logo-title {
  font-size: 1.30rem;
  font-weight: 800;
  letter-spacing: -0.0567em;
  color: var(--color-dark);
  text-transform: uppercase;
  font-family: sans-serif;
}

.logo-title span {
  color: var(--color-brand-primary);
}

.logo-baseline {
  font-size: 0.650rem;
  color: #0e0e0e;
  font-weight: 500;
  display: none;
  text-transform: none;
}

@media (min-width: 990px) {
  .logo-baseline {
    display: inline-block;
  }
}

/* Menu de navigation desktop : sans Marques, bordure basse 6px */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.80rem;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: -0.030rem;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.25rem;
  border-bottom: 6px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-family: sans-serif;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-brand-primary);
  border-bottom-color: var(--color-brand-primary);
  text-decoration: none;
}

.btn-cta-nav {
  background: var(--color-brand-primary) !important;
  color: var(--color-white) !important;
  padding: 0.45rem 1rem !important;
  border-radius: var(--radius-sm);
  font-size: 0.875rem !important;
  font-weight: 700;
  box-shadow: var(--shadow-brand);
  transition: all 0.2s ease;
  border-bottom: none !important;
  white-space: nowrap;
  font-family: sans-serif;
}

.btn-cta-nav:hover {
  background-color: var(--color-brand-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -2px rgba(217, 72, 20, 0.4);
  text-decoration: none !important;
}

/* Boutons génériques */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: sans-serif;
  border: none;
}

.btn-primary {
  background-color: var(--color-brand-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background-color: var(--color-brand-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(217, 72, 20, 0.4);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--color-surface);
  color: var(--color-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
}

/* Bouton hamburger mobile */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-dark);
  border-radius: var(--radius-sm);
}

@media (max-width: 980px) {
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 3.85rem;
    left: 1rem;
    right: 1rem;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid #e2e8f0;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .main-nav a {
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    border-bottom: none;
    border-left: 4px solid transparent;
  }

  .main-nav a:hover,
  .main-nav a.active {
    border-bottom: none;
    border-left-color: var(--color-brand-primary);
  }

  .btn-cta-nav {
    text-align: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem !important;
  }
}

/* ==========================================================================
   HERO & COMPOSANTS ACCUEIL
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  padding: 3.5rem 0 2.5rem;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-brand-light);
  color: var(--color-brand-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  font-family: sans-serif;
}

.hero-title {
  font-size: clamp(1.85rem, 3.8vw, 3.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
  color: #b53304;
  max-width: 860px;
  margin-bottom: 0.85rem;
  font-family: sans-serif;
  background: linear-gradient(180deg, #ff7a24 0%, #d50800 55%, #541500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(181, 51, 4, 0.15));
  padding: 0;
}

/* Variante Décoration intérieure : micro-stries techniques gravées */
.hero-title.is-hatched {
  background: repeating-linear-gradient(-45deg,
      #b53304,
      #b53304 3px,
      #cf4410 3px,
      #cf4410 6px);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Variante Décoration intérieure : ciselure en creux / relief métal */
.hero-title.is-chiseled {
  background: none;
  -webkit-text-fill-color: initial;
  color: #b53304;
  text-shadow:
    1px 1px 0px rgba(255, 255, 255, 0.75),
    -1px -1px 0px rgba(107, 33, 8, 0.35),
    0 2px 4px rgba(0, 0, 0, 0.08);
}

.hero-lead {
  font-size: 1.20rem;
  color: #0e1520;
  max-width: 700px;
  margin-bottom: 2rem;
  line-height: 1.20;
  font-family: var(--font-reading);
}

/* ==========================================================================
   BLOCS DE NAVIGATION DÉCISIONNELLE & CARTES TACTILES ULTRA-VISUELLES
   ========================================================================== */
.diagnostic-selector {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem 2.25rem;
  box-shadow: 0 12px 36px -6px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  margin-top: 2rem;
  position: relative;
}

.diagnostic-selector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.diagnostic-selector-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: sans-serif;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0;
}

.diagnostic-selector-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #ea580c 0%, #b53304 100%);
  border-radius: 2px;
}

.diagnostic-selector-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9a3412;
  background-color: #ffedd5;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-family: sans-serif;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.decision-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.35rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Filet tactile braise supérieur au survol */
.decision-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f97316 0%, #b53304 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.decision-card:hover {
  transform: translateY(-4px);
  border-color: #fdba74;
  box-shadow: 0 16px 32px -8px rgba(181, 51, 4, 0.16), 0 4px 12px rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

.decision-card:hover::before {
  opacity: 1;
}

/* Pastille icône thermique dédiée */
.decision-card-icon {
  width: 100px;
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 0px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.20rem;
  margin-bottom: 1rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.30);
}

.decision-card:hover .decision-card-icon {
  transform: scale(1.08) rotate(-2deg);
  background: linear-gradient(135deg, #ffedd5 0%, #fdba74 100%);
  border-color: #fb923c;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
}

.decision-card-content {
  flex: 1;
}

.decision-card-title {
  font-family: sans-serif;
  font-weight: 700;
  font-size: 1.40rem;
  color: #0f172a;
  margin-bottom: 0.45rem;
  line-height: 1.0;
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
  text-transform: uppercase;
}

.decision-card:hover .decision-card-title {
  color: #b53304;
}

.decision-card-desc {
  font-family: sans-serif;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.45;
  margin-bottom: 1rem;
}

/* Affordance / Indicateur d'action tactile en bas de carte */
.decision-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #b53304;
  transition: transform 0.2s ease, gap 0.2s ease;
  padding-top: 0.65rem;
  border-top: 1px solid #f1f5f9;
}

.decision-card:hover .decision-card-action {
  gap: 0.55rem;
  color: #9a2b03;
}

/* ==========================================================================
   SECTIONS GÉNÉRALES & CARTES DE CONTENUS
   ========================================================================== */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: var(--color-surface-soft);
}

.section-warm {
  background: linear-gradient(180deg, #fffdf2 0%, #fff7e6 100%);
}

.section-header {
  margin-bottom: 2.25rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-primary);
  margin-bottom: 0.5rem;
  font-family: sans-serif;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  font-family: sans-serif;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 680px;
  line-height: 1.5;
  font-family: var(--font-reading);
}

/* Grille de cartes */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  overflow: hidden;
}

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

.card-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-brand-primary);
  background: var(--color-brand-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  align-self: flex-start;
  margin-bottom: 0.85rem;
  font-family: sans-serif;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
  font-family: sans-serif;
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.card-title a:hover {
  color: var(--color-brand-primary);
}

.card-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.45;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-family: var(--font-reading);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-surface-soft);
  padding: 0.85rem 1.25rem;
  margin: 0 -1.75rem -1.75rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-family: sans-serif;
}

.card-meta-tco {
  font-weight: 700;
  color: var(--color-dark);
}

/* ==========================================================================
   ENCADRÉS TECHNIQUES, FICHES SYNTHÈSE & EXCLUSION
   ========================================================================== */

/* Fiche repère technique d'évaluation et synthèse */
.fiche-synthese {
  background: #fbfbfa;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-xs);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  overflow: visible;
  font-family: sans-serif;
}

.fiche-synthese-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #ececeb;
  background: transparent;
  padding: 0 0 0.65rem;
}

.fiche-synthese-titre {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111827;
  font-family: sans-serif;
}

.fiche-synthese-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background-color: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-family: sans-serif;
}

.fiche-synthese-corps {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #374151;
  font-family: sans-serif;
  padding: 0;
  margin-bottom: 0.75rem;
}

.fiche-synthese-meta {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  font-family: sans-serif;
}

/* Bloc d'avertissement et critères d'exclusion */
.exclusion-box {
  background: #fffaf5;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.08);
}

.exclusion-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #c2410c;
  margin-bottom: -0.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02rem;
  font-family: sans-serif;
}

.exclusion-text {
  font-size: 1rem;
  color: #7c2d12;
  line-height: 1.45;
  margin-top: 0.5rem;
  font-family: var(--font-reading);
}

/* Tableaux de données techniques */
.data-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid #d1d5db;
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
  min-width: 580px;
}

.data-table th,
.data-table td {
  padding: 0.10rem 1.00rem;
  border-bottom: 1px solid #e2e8f0;
}

.data-table th {
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  font-family: sans-serif;
}

.data-table tr:nth-child(even) {
  background-color: #fbfcf8;
}

.data-table tr:hover td {
  background-color: #f4f5ec;
}

.badge-score {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.75rem;
  white-space: nowrap;
  font-family: sans-serif;
}

.badge-score-green {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.badge-score-yellow {
  background: var(--color-warning-bg);
  color: var(--color-warning);
}

/* Bloc Climat & Zone H1/H2/H3 */
.climate-box {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.08);
}

.climate-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 0.45rem;
  font-family: sans-serif;
}

.climate-desc {
  font-size: 0.95rem;
  color: #115e59;
  line-height: 1.5;
  font-family: var(--font-reading);
}

/* ==========================================================================
   MODULE D'ÉTUDE TECHNIQUE ET DE DIMENSIONNEMENT
   ========================================================================== */
.lead-capture-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin: 2.5rem 0;
}

.lead-capture-badge {
  display: inline-block;
  background-color: var(--color-brand-light);
  color: var(--color-brand-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
  font-family: sans-serif;
}

.lead-capture-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  font-family: sans-serif;
}

.lead-capture-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 1.5rem;
  font-family: var(--font-reading);
}

.lead-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.lead-form-group {
  display: flex;
  flex-direction: column;
}

.lead-form-group label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-family: sans-serif;
}

.lead-form-group input,
.lead-form-group select {
  padding: 0.65rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: sans-serif;
  background-color: #ffffff;
}

.lead-form-group input:focus,
.lead-form-group select:focus {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 3px rgba(217, 72, 20, 0.2);
}

.btn-lead-submit {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background-color: var(--color-brand-primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-family: sans-serif;
}

.btn-lead-submit:hover {
  background-color: var(--color-brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 72, 20, 0.35);
}

.lead-reassurance {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 0.75rem;
  text-align: center;
  font-family: var(--font-reading);
}

/* Formulaire calculateur */
.calculator-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

input[type="number"],
input[type="text"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
}

input[type="number"]:focus,
input[type="text"]:focus {
  background: #ffffff;
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 3px rgba(217, 72, 20, 0.2);
}

.calculator-results-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-around;
  text-align: center;
}

@media (max-width: 580px) {
  .calculator-inputs-grid {
    grid-template-columns: 1fr;
  }

  .calculator-results-box {
    flex-direction: column;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   TYPOGRAPHIE & MISE EN PAGE DES ARTICLES (MATH & SANS-SERIF)
   ========================================================================== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #000000;
  margin-bottom: 0.50rem;
  padding-top: 1rem;
}

.breadcrumbs a {
  color: #000000;
}

.breadcrumbs a:hover {
  color: var(--color-brand-primary);
}

.article-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.card-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b53304;
  margin-bottom: 0.85rem;
  font-family: sans-serif;
  background: transparent;
  padding: 0;
  border: none;
}

.article-title {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(2.15rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #0b0f14;
  margin-bottom: 6px;
}

.article-deck,
.article-header .section-subtitle {
  font-family: sans-serif;
  font-size: 1.50rem;
  line-height: 1.07;
  color: #0b0f14;
  margin-bottom: 1.0rem;
  font-weight: 400;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.84rem;
  color: #6b7280;
  font-family: sans-serif;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  background: transparent;
  border-left: none;
  border-right: none;
  border-bottom: none;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

.article-meta-bar span:first-child {
  font-weight: 700;
  color: #111827;
}

/* Corps de texte journalistique grand quotidien (Style Washington Post / NYT) */
.article-content {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.30rem;
  line-height: 1.45;
  color: #0f1722;
  letter-spacing: -0.007em;
}

/* Lettrine d'imprimerie (Drop Cap) */
.article-content > p:first-of-type::first-letter {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 4.4rem;
  float: left;
  line-height: 0.82;
  margin-right: 0.75rem;
  margin-top: 0.15rem;
  margin-bottom: -0.1rem;
  font-weight: 700;
  color: #b53304;
}

.article-content h2 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #111827;
  margin: 1.85rem 0 1rem;
  padding-top: 1.50rem;
  border-top: 0px solid #e5e7eb;
}

.article-content h3 {
  font-family: sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #1f2937;
  margin: 1.75rem 0 0.65rem;
  letter-spacing: -0.015em;
}

.article-content p {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.30rem;
  line-height: 1.45;
  color: #0f1722;
  letter-spacing: -0.007em;
  margin-bottom: 1.65rem;
}

.article-content ul,
.article-content ol {
  font-family: sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #1f2937;
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.article-content li {
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 0.65rem;
  color: #1f2937;
}

/* Citation centrale en exergue (Pullquote New York Times) */
.article-content blockquote {
  margin: 1.75rem 0;
  padding: 1.5rem 0;
  border-top: 3px solid #111827;
  border-bottom: 3px solid #111827;
  border-left: none;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2.05rem;
  font-style: italic;
  line-height: 1.00;
  color: #111827;
  text-align: center;
  background: transparent;
}

.article-content blockquote cite {
  display: block;
  font-family: sans-serif;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-top: 0.75rem;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background-color: #f1f5f9;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  color: var(--color-dark);
}

/* Fiche auteur FBox */
.author-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.0rem;
  margin: 1rem 0;
  display: flex;
  gap: 1.05rem;
  align-items: center;
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-dark);
  font-family: sans-serif;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.2rem;
  font-family: sans-serif;
}

.author-info p {
  color: #3e4958;
  margin-bottom: 0.25rem;
  line-height: 1.45;
  font-size: 0.75rem;
  text-transform: lowercase;
  font-family: math;
}

/* Nav links box pour silos et sous-pages */
.nav-links-box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid #d1d5db;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   FOOTER INSTITUTIONNEL
   ========================================================================== */
.site-footer {
  background-color: #0b0f14;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  margin-top: auto;
  font-family: sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.25rem 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1.15fr 1.15fr 1.15fr 0.95fr;
  }
}

.footer-col h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 1.1rem;
  font-weight: 800;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(217, 72, 20, 0.45);
  display: inline-block;
}

.footer-col h5 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-xs);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  gap: 1rem;
}

.footer-ethics {
  max-width: 620px;
  line-height: 1.5;
}

/* ==========================================================================
   SOMMAIRE MULTI-PAGES / TOC DE CLUSTER (NAVIGATION INTER-SLUGS)
   ========================================================================== */
.guide-cluster-toc {
  background: var(--color-surface);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.cluster-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f1f5f9;
}

.cluster-toc-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: sans-serif;
}

.cluster-toc-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #c2410c;
  background-color: #fff7ed;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.cluster-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cluster-toc-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-xs);
  text-decoration: none;
  color: var(--color-text-main);
  font-size: 0.95rem;
  font-weight: 500;
  background-color: #f8fafc;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-family: sans-serif;
}

.cluster-toc-item a:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
  color: #b53304;
  transform: translateX(3px);
}

.cluster-toc-item.is-active a {
  background-color: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
  font-weight: 700;
}

.cluster-toc-step {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  margin-right: 0.5rem;
}

.cluster-toc-item.is-active .cluster-toc-step {
  color: #ea580c;
}

/* ==========================================================================
   PAGINATION SÉQUENTIELLE DU DOSSIER (CHAPITRES PRÉCÉDENT / SUIVANT)
   ========================================================================== */
.guide-pagination {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 3rem 0 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.pagination-card {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  background-color: var(--color-surface);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.pagination-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
  text-decoration: none;
}

.pagination-direction {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: sans-serif;
}

.pagination-card.is-next .pagination-direction {
  color: #c2410c;
  justify-content: flex-end;
  text-align: right;
}

.pagination-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.35;
  font-family: sans-serif;
}

.pagination-card.is-next .pagination-title {
  text-align: right;
}

.pagination-card:hover .pagination-title {
  color: #b53304;
}

/* ==========================================================================
   ENCART D'ACCOMPAGNEMENT TECHNIQUE & DIMENSIONNEMENT
   ========================================================================== */
.partenaire-focus {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.partenaire-focus-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.partenaire-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9a3412;
  background-color: #ffedd5;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  font-family: sans-serif;
}

.partenaire-tagline {
  font-size: 0.8125rem;
  color: #64748b;
  font-family: sans-serif;
}

.partenaire-title {
  font-size: 1.20rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  font-family: sans-serif;
}

.partenaire-desc {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #334155;
  margin-bottom: 1.25rem;
  font-family: sans-serif;
}

.partenaire-cta-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.partenaire-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #b53304;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-xs);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(181, 51, 4, 0.25);
  transition: all 0.2s ease;
  font-family: sans-serif;
  border: none;
}

.partenaire-btn:hover {
  background: #9a2b03;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(181, 51, 4, 0.35);
  text-decoration: none;
}

.partenaire-subtext {
  font-size: 0.80rem;
  color: #64748b;
  font-family: sans-serif;
}

/* ==========================================================================
   MISE EN PAGE DUALE : CONTENU PRINCIPAL + COLONNE LATÉRALE STICKY
   ========================================================================== */
.layout-dual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.25rem;
}

@media (min-width: 992px) {
  .layout-dual {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}

.layout-main {
  min-width: 0;
}

.layout-sidebar {
  min-width: 0;
}

@media (min-width: 992px) {
  .sidebar-sticky {
    position: sticky;
    top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   HERO GRID & WIDGET THERMOMÈTRE PLASMA ANIMÉ
   Ambiance thermique vivante · FLIR Mesh Plasma CSS · Météo géolocalisée
   ========================================================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 360px);
    gap: 3.5rem;
  }
}

.hero-content {
  min-width: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

/* Carte Thermomètre Plasma (Inspirée FLIR Thermal Heat Vision) */
.thermal-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1.05;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 24px 48px -12px rgba(181, 51, 4, 0.38),
    0 8px 20px -4px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  flex-direction: column;
  user-select: none;
  background-color: #0b1329;
}

/* Fond Plasma animé en CSS pur */
.plasma-backdrop {
  position: absolute;
  inset: -25px;
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 18%, #eab308 42%, #f97316 68%, #dc2626 92%, #7f1d1d 100%);
  filter: blur(26px);
  z-index: 1;
}

.plasma-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: hard-light;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
}

.plasma-blob-1 {
  width: 240px;
  height: 240px;
  top: -50px;
  right: -40px;
  background: radial-gradient(circle, #38bdf8 0%, rgba(56, 189, 248, 0) 70%);
  animation: floatPlasma1 10s infinite;
}

.plasma-blob-2 {
  width: 280px;
  height: 280px;
  bottom: -50px;
  left: -30px;
  background: radial-gradient(circle, #ff2600 0%, #b53304 60%, rgba(181, 51, 4, 0) 80%);
  animation: floatPlasma2 12s infinite;
}

.plasma-blob-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  left: 20%;
  background: radial-gradient(circle, #fde047 0%, #ea580c 65%, rgba(234, 88, 12, 0) 80%);
  animation: floatPlasma3 15s infinite;
}

@keyframes floatPlasma1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-35px, 45px) scale(1.18);
  }

  100% {
    transform: translate(25px, 30px) scale(0.92);
  }
}

@keyframes floatPlasma2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(45px, -35px) scale(1.12);
  }

  100% {
    transform: translate(-25px, 25px) scale(0.94);
  }
}

@keyframes floatPlasma3 {
  0% {
    transform: translate(0, 0) scale(0.92);
  }

  50% {
    transform: translate(-30px, -25px) scale(1.22);
  }

  100% {
    transform: translate(35px, 35px) scale(1.06);
  }
}

/* Couche de verre dépoli & typographie de haute lisibilité */
.thermal-card-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(15, 23, 42, 0.08);
  color: #ffffff;
}

.thermal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.thermal-card-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.thermal-beacon {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseBeacon 2.2s infinite;
}

@keyframes pulseBeacon {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(1.35);
  }
}

.thermal-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-family: sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.thermal-icon {
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Métriques Principales (Grand format percutant) */
.thermal-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0.65rem 0;
}

.thermal-metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  line-height: 1.0;
}

.thermal-num {
  font-size: clamp(3.2rem, 6.5vw, 4.3rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.055em;
  color: #ffffff;
  font-family: sans-serif;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
  font-variant-numeric: tabular-nums;
}

.thermal-unit {
  font-size: 3.0rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-left: 0.35rem;
  font-family: sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

/* Footer & Statut Décisionnel */
.thermal-card-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 0.75rem 0.95rem;
  border: 0px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thermal-status-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.thermal-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #f97316;
  box-shadow: 0 0 8px #f97316;
  flex-shrink: 0;
}

.thermal-status-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  font-family: sans-serif;
  line-height: 1.25;
}

.thermal-location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: sans-serif;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.thermal-location {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
}

.thermal-locate-btn {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 0.70rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.thermal-locate-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* ==========================================================================
   OPTIMISATIONS MOBILE HERO & WIDGET THERMIQUE (GAIN DE PLACE & ALIGNEMENT)
   ========================================================================== */
@media (max-width: 768px) {
  .hero {
    padding: 1.35rem 0 1.25rem;
  }

  .hero-tagline {
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
    margin-bottom: 0.65rem;
    letter-spacing: 0.03em;
  }

  .hero-title {
    font-size: clamp(1.65rem, 7.2vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
    margin-bottom: 0.65rem;
    padding: 10px;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.45;
    margin-bottom: 1.25rem;
  }

  .hero-grid {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  /* Thermomètre compact sur mobile */
  .thermal-card {
    max-width: 300px;
    border-radius: 22px;
    box-shadow:
      0 16px 36px -8px rgba(181, 51, 4, 0.32),
      0 6px 14px -3px rgba(0, 0, 0, 0.12);
  }

  .thermal-card-inner {
    padding: 1.15rem 1.25rem;
  }

  .thermal-num {
    font-size: 2.85rem;
  }

  .thermal-unit {
    font-size: 1.35rem;
  }

  .thermal-card-footer {
    padding: 0.55rem 0.75rem;
    gap: 0.35rem;
  }

  .thermal-status-text {
    font-size: 0.75rem;
  }

  .diagnostic-selector {
    padding: 1.25rem 1rem;
    margin-top: 1.25rem;
  }
}


/* ==========================================================================
   STYLE JOURNALISTIQUE D'ÉDITION (INSPIRÉ WASHINGTON POST & NEW YORK TIMES)
   Typographie d'enquête · Byline de presse · Lettrine (Drop Cap) · Pullquotes
   ========================================================================== */
.press-article-container {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.25rem;
}

.press-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.press-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b53304;
  margin-bottom: 0.85rem;
  font-family: sans-serif;
}

.press-headline {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(2.15rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #0b0f14;
  margin-bottom: 6px;
}

.press-deck {
  font-family: sans-serif;
  font-size: 1.50rem;
  line-height: 1.07;
  color: #0b0f14;
  margin-bottom: 1.0rem;
  font-weight: 400;
}

.press-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.84rem;
  color: #6b7280;
  font-family: sans-serif;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
}

.press-author {
  font-weight: 700;
  color: #111827;
}

.press-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Corps de texte de grand quotidien (The Story) */
.press-story {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.30rem;
  line-height: 1.45;
  color: #0f1722;
  letter-spacing: -0.007em;
}

/* Lettrine d'imprimerie (Drop Cap) */
.press-story>p:first-of-type::first-letter {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 4.4rem;
  float: left;
  line-height: 0.82;
  margin-right: 0.75rem;
  margin-top: 0.15rem;
  margin-bottom: -0.1rem;
  font-weight: 700;
  color: #b53304;
}

.press-story p {
  margin-bottom: 1.65rem;
}

.press-story h2 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #111827;
  margin: 1.10rem 0 1rem;
  padding-top: 1.50rem;
  border-top: 0px solid #e5e7eb;
}

.press-story h3 {
  font-family: sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #1f2937;
  margin: 1.75rem 0 0.65rem;
  letter-spacing: -0.015em;
}

/* Citation centrale en exergue (Pullquote New York Times) */
.press-pullquote {
  margin: 1.75rem 0;
  padding: 1.5rem 0;
  border-top: 3px solid #111827;
  border-bottom: 3px solid #111827;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2.05rem;
  font-style: italic;
  line-height: 1.00;
  color: #111827;
  text-align: center;
}

.press-pullquote cite {
  display: block;
  font-family: sans-serif;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-top: 0.75rem;
}

/* Encadré "Les Faits Clés" / "L'Essentiel" (Style Washington Post) */
.press-takeaways {
  background: #fbfbfa;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-xs);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.press-takeaways-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #ececeb;
}

.press-takeaways-title {
  font-family: sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.press-takeaways-list {
  font-family: sans-serif;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.press-takeaways-list li {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #374151;
  position: relative;
  padding-left: 1.5rem;
}

.press-takeaways-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #b53304;
}

/* ==========================================================================
   MODULE DE GESTION DU CONSENTEMENT & COOKIES (RGPD & CNIL 2026)
   Vanilla CSS — 0 dépendance — Respect strict parité Acceptation / Refus
   ========================================================================== */

/* Bandeau flottant inférieur */
.consent-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1.35rem 1.5rem;
  z-index: 99990;
  font-family: sans-serif;
  box-sizing: border-box;
  animation: consentSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes consentSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.consent-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.consent-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.consent-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #fed7aa;
}

.consent-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.consent-text a {
  color: #b53304;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Boutons d'action du bandeau (Parité stricte CNIL : même niveau visuel) */
.consent-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.consent-btn {
  font-family: sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

/* Tout accepter : Action primaire chaude */
.consent-btn-accept {
  background: #b53304;
  color: #ffffff;
  border: 1px solid #b53304;
}

.consent-btn-accept:hover {
  background: #9a2b03;
  border-color: #9a2b03;
}

/* Tout refuser : Parité CNIL stricte (même hauteur, bordure nette, police grasse) */
.consent-btn-refuse {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
}

.consent-btn-refuse:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* Personnaliser : Bouton neutre */
.consent-btn-customize {
  background: transparent;
  color: #64748b;
  border: 1px solid transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.65rem 0.85rem;
}

.consent-btn-customize:hover {
  color: #0f172a;
  background: #f8fafc;
}

/* ==========================================================================
   MODAL DE PERSONNALISATION GRANULAIRE
   ========================================================================== */
.consent-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  animation: consentFadeIn 0.2s ease-out;
}

@keyframes consentFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.consent-modal {
  background: #ffffff;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 24px 48px -8px rgba(0, 0, 0, 0.28);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: sans-serif;
  animation: consentModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes consentModalPop {
  from {
    transform: scale(0.96);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.consent-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.consent-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}

.consent-modal-close {
  background: transparent;
  border: none;
  font-size: 1.35rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 4px;
}

.consent-modal-close:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.consent-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.consent-intro-text {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Carte catégorie de traceurs */
.consent-category-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem 1.15rem;
  transition: border-color 0.15s ease;
}

.consent-category-card:hover {
  border-color: #cbd5e1;
}

.consent-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.consent-category-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.consent-badge-locked {
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid #a7f3d0;
}

.consent-category-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Switch Toggle CSS pur */
.consent-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.consent-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.consent-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: 0.25s;
  border-radius: 24px;
}

.consent-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.consent-switch input:checked+.consent-slider {
  background-color: #b53304;
}

.consent-switch input:focus+.consent-slider {
  box-shadow: 0 0 1px #b53304;
}

.consent-switch input:checked+.consent-slider:before {
  transform: translateX(20px);
}

/* Pied de page du modal */
.consent-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 1.15rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.consent-modal-actions-right {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Bloc d'appel dans la page mentions-legales */
.consent-settings-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #b53304;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-family: sans-serif;
}

.consent-settings-info {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.45;
  max-width: 480px;
}

.consent-trigger-btn {
  font-family: sans-serif;
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.consent-trigger-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #b53304;
}

/* Adaptations mobiles */
@media (max-width: 640px) {
  .consent-banner {
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    padding: 1.15rem;
  }

  .consent-actions {
    flex-direction: column;
    width: 100%;
  }

  .consent-actions .consent-btn {
    width: 100%;
  }

  .consent-modal-footer {
    flex-direction: column-reverse;
  }

  .consent-modal-actions-right {
    width: 100%;
    flex-direction: column;
  }

  .consent-modal-footer .consent-btn {
    width: 100%;
  }
}

/* ==========================================================================
   TITRES DE NIVEAU CATÉGORIE / SILOS (INSPIRÉ DU HERO TITLE HOMEPAGE)
   Dégradé thermique flamme · Typographie sans-serif dense · Ombre portée douce
   ========================================================================== */
.category-title {
  font-family: sans-serif;
  font-size: clamp(2.0rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.10;
  letter-spacing: -0.045em;
  color: #b53304;
  max-width: 880px;
  margin-top: 0.25rem;
  margin-bottom: 0.85rem;
  background: linear-gradient(180deg, #ff7a24 0%, #d50800 55%, #541500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(181, 51, 4, 0.15));
  padding: 0;
}

.category-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.category-subtitle,
.category-header .section-subtitle {
  font-family: sans-serif;
  font-size: 1.18rem;
  line-height: 1.5;
  color: #334155;
  max-width: 840px;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .category-title {
    font-size: clamp(1.65rem, 6.8vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
    margin-bottom: 0.65rem;
  }
}


/* ==========================================================================
   BOUTON FLOTTANT RETOUR EN HAUT (SCROLL TO TOP)
   ========================================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(17, 24, 39, 0.94);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 0.6rem 0.95rem 0.6rem 0.8rem;
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: #0f172a;
  border-color: #f97316;
  color: #ffedd5;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.32), 0 2px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.scroll-to-top:focus-visible {
  outline: 2px solid #f97316;
  outline-offset: 2px;
}

.scroll-to-top svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.scroll-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .logo-icon {
    width: 24px;
    max-height: 29px;
  }
  .scroll-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.55rem 0.85rem 0.55rem 0.7rem;
    font-size: 0.75rem;
  }
}
