/* site/style.css — Design System Anamnèse (Style Revolut / Revio Précis & Pro) */
/* Contours nets et modernes (Code 1 résolu) · Immersion Médicale (Code 5) · Scaling Tablette (Code 2) */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Inter", "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;

  /* Couleurs tirées du nouveau logo officiel */
  --navy: #0a2540;            /* Bleu nuit médical profond */
  --navy-dark: #07192c;
  --teal: #00a896;            /* Sarcelle / Cyan médical du stéthoscope */
  --teal-dark: #028074;
  --teal-light: #e6f7f5;      /* Fond pastel teal */
  --teal-border: #a7e8e1;

  /* Palette de fond & surfaces */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --border: #e2e8f0;
  --border-subtle: #edf2f7;

  /* Typographie */
  --text-main: #0a2540;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-faint: #94a3b8;

  /* Dégradés */
  --gradient-brand: linear-gradient(135deg, #0a2540 0%, #00a896 100%);

  /* Rayons d'angles géométriques professionnels (CODE 1 : ADIEU LES PILULES D'IA) */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;          /* Rayon standard moderne pour boutons et cartes */
  --radius-lg: 14px;          /* Rayon maximal pour les grandes fenêtres */

  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.05);
  --shadow-card: 0 4px 16px -2px rgba(10, 37, 64, 0.06), 0 2px 6px -1px rgba(10, 37, 64, 0.03);
  --shadow-hover: 0 12px 28px -6px rgba(10, 37, 64, 0.1), 0 4px 10px -2px rgba(10, 37, 64, 0.04);
  --shadow-showcase: 0 20px 50px -12px rgba(10, 37, 64, 0.12), 0 0 1px 1px rgba(10, 37, 64, 0.06);

  --nav-height: 68px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ----------------------------------------------------
   HEADER FIXE ULTRA-PROPRE (CODE 2 RÉSOLU : SCALING TABLETTE)
---------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.header-container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(10, 37, 64, 0.1);
}

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

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--bg-subtle);
  padding: 3px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.nav-tab {
  padding: 0.42rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;        /* CODE 2 : INTERDIT DE CASSER SUR 3 LIGNES */
  flex-shrink: 0;
}

.nav-tab:hover {
  color: var(--navy);
}

.nav-tab.active {
  background: var(--bg-surface);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.nav-tab-short {
  display: none;
}

.nav-counter {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 5px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: var(--radius-xs);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-search-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.btn-search-nav:hover {
  background: var(--bg-surface);
  color: var(--navy);
  border-color: var(--teal);
}

.btn-nav-beta {
  background: var(--navy);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.15);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-nav-beta:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

/* ----------------------------------------------------
   CONTENEUR PRINCIPAL & SECTIONS
---------------------------------------------------- */
.main-content {
  flex: 1;
  width: 100%;
}

.view-section {
  display: none;
}

.view-section.active {
  display: block;
}

/* ----------------------------------------------------
   PAGE 1 : LE HERO IMMERSIF (CODE 5 RÉSOLU : PLONGÉE DANS LE SUJET)
---------------------------------------------------- */
.hero-wrapper-immersive {
  position: relative;
  background-image: 
    linear-gradient(180deg, rgba(248, 250, 252, 0.84) 0%, rgba(248, 250, 252, 0.94) 75%, #f8fafc 100%),
    url('bg-medical-hero.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 3.5rem 1.25rem 3rem;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: var(--teal-dark);
  border: 1px solid var(--teal-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero-pill-badge span.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.12;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.035em;
  margin-bottom: 1.2rem;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 1.8rem;
}

/* ----------------------------------------------------
   BARRE DE CHOIX INTERACTIVE (CODE 4 RÉSOLU)
---------------------------------------------------- */
.hero-selector-bar {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
}

.selector-btn {
  padding: 0.5rem 1rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.selector-btn:hover {
  color: var(--navy);
}

.selector-btn.active {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.2);
}

.selector-dynamic-desc {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-top: -1.2rem;
  margin-bottom: 1.8rem;
  min-height: 24px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

/* Boutons nets & professionnels (Code 1 résolu : finis les pilules) */
.btn-hero-primary {
  background: var(--navy);
  color: #ffffff !important;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.18);
  transition: all 0.2s ease;
}

.btn-hero-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.25);
}

.btn-hero-secondary {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid var(--border);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  transform: translateY(-1px);
}

.hero-proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

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

.proof-check {
  color: var(--teal);
  font-weight: 900;
}

/* ----------------------------------------------------
   SHOWCASE VISUEL (L'APPLICATION CLINIQUE EN RELIEF)
---------------------------------------------------- */
.app-showcase-wrapper {
  margin: -1.5rem auto 4.5rem;
  max-width: 940px;
  padding: 0 1.25rem;
}

.showcase-window {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-showcase);
  overflow: hidden;
}

.showcase-topbar {
  background: #f8fafc;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.w-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.w-dot-1 { background: #ff5f56; }
.w-dot-2 { background: #ffbd2e; }
.w-dot-3 { background: #27c93f; }

.showcase-title-center {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.showcase-security-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.showcase-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  padding: 1.5rem;
  gap: 1.5rem;
  align-items: center;
  background: #ffffff;
}

.showcase-patient-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  background: #ffffff;
}

.patient-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.patient-avatar-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.metrics-live-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.metric-live-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-xs);
  padding: 0.5rem;
  text-align: center;
  border: 1px solid var(--border-subtle);
}

.m-val {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.2;
}

.m-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}

.showcase-report-preview {
  background: #f8fafc;
  border-left: 3px solid var(--navy);
  padding: 0.75rem 0.9rem;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ----------------------------------------------------
   BENTO GRID (CODE 5 & CODE 1 : NETTETÉ GÉOMÉTRIQUE)
---------------------------------------------------- */
.bento-section-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4.5rem;
  scroll-margin-top: calc(var(--nav-height) + 1.5rem);
}

.bento-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.bento-tag {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.bento-heading {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.bento-sub {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.bento-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--teal-border);
}

.bento-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}

.bento-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.bento-card-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ----------------------------------------------------
   WORKSHOP CATALOGUE ÉPURÉ
---------------------------------------------------- */
.workshop-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.workshop-top-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.workshop-heading-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.workshop-pills-filter {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.w-pill {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.w-pill:hover {
  border-color: var(--teal);
  color: var(--navy);
}

.w-pill.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.catalog-search-revolut {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 500;
  outline: none;
  width: 260px;
  transition: all 0.15s ease;
}

.catalog-search-revolut:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(0, 168, 150, 0.15);
}

/* Grille des cartes modèles */
.models-grid-revolut {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.1rem;
}

.model-card-revio {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
  cursor: pointer;
}

.model-card-revio:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: var(--shadow-hover);
}

.card-revio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.card-revio-slug {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
}

.badge-certified-revio {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

.card-revio-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.card-revio-fac {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.card-revio-desc {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-revio-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.pill-block-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--bg-subtle);
  color: var(--navy);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.card-revio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-card-preview {
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.15s ease;
}

.btn-card-preview:hover {
  background: var(--navy-dark);
}

/* ----------------------------------------------------
   MODALES (NETTES ET GÉOMÉTRIQUES)
---------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 37, 64, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px -10px rgba(10, 37, 64, 0.2);
  overflow: hidden;
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}

.modal-close {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.modal-close:hover {
  background: var(--bg-subtle);
  color: var(--navy);
}

.modal-body-split {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  flex: 1;
  overflow: hidden;
}

.modal-left-content {
  padding: 1.5rem;
  overflow-y: auto;
  border-right: 1px solid var(--border);
  max-height: calc(90vh - 75px);
}

.modal-right-install {
  padding: 1.5rem;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  overflow-y: auto;
}

/* Modale Recherche Ctrl+K */
.search-dialog {
  max-width: 560px;
}

.search-input-box {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-main-input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  outline: none;
}

.search-results-list {
  padding: 0.5rem;
  max-height: 380px;
  overflow-y: auto;
  list-style: none;
}

.search-result-item {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s ease;
}

.search-result-item:hover {
  background: var(--teal-light);
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy);
  color: #ffffff;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.25);
  z-index: 300;
  display: none;
  animation: slideUp 0.2s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 2.2rem 1.25rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ----------------------------------------------------
   RESPONSIVE TABLETTE & MOBILE (CODE 2 RÉSOLU)
---------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .showcase-content-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-body-split {
    grid-template-columns: 1fr;
  }
  .nav-tab-full {
    display: none;
  }
  .nav-tab-short {
    display: inline;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 0.85rem;
  }
  .btn-search-nav span:not(.search-icon) {
    display: none;
  }
  .hero-title {
    font-size: 2rem;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .models-grid-revolut {
    grid-template-columns: 1fr;
  }
  .hero-selector-bar {
    width: 100%;
    justify-content: flex-start;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
}
