/* Refonte progressive : accueil et navigation, sans modifier les pages métier. */
.header .logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header .forum-brand-icon { display: block; width: 52px; height: 52px; object-fit: contain; border-radius: 12px; }
.header .logo .forum-brand-name { color: inherit; line-height: 1.25; }
.header .forum-brand-name > span { display: block; }
@media (max-width: 560px) {
  .header .forum-brand-icon { width: 44px; height: 44px; }
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 1000;
  padding: 14px 20px;
  background: #fff;
  color: #122b49;
  border: 2px solid #155eab;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #2684d9;
  outline-offset: 4px;
}
.header .nav a { min-height: 44px; display: inline-flex; align-items: center; }
.page-home { --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.page-home .home-hero {
  padding: clamp(44px, 7vw, 96px) 0 60px;
  background: #102c4b;
  color: #fff;
  border-bottom: 6px solid #36c4c0;
}
.page-home .home-hero-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 56px; align-items: center; }
.page-home .home-hero h1 { max-width: 760px; font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.08; letter-spacing: -.035em; color: #fff; }
.page-home .home-hero .lead { max-width: 620px; font-size: 1.125rem; line-height: 1.75; color: #dce9f5; }
.page-home .home-hero .badge { background: transparent; color: #8de5e0; border-color: #56788f; font-size: .875rem; }
.page-home .home-hero .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-home .home-hero .button { min-height: 48px; padding: 14px 20px; border-radius: 8px; font-size: 1rem; }
.page-home .home-hero .button.primary { background: #8de5e0; color: #102c4b; border: 1px solid #8de5e0; }
.page-home .home-hero .button.secondary { background: transparent; color: #fff; border: 1px solid #8ba3b9; }
.page-home .home-hero .button:hover { background: #fff; color: #102c4b; }
.page-home .home-hero-panel { padding: 12px 26px; background: #193b5c; border: 1px solid #53718c; border-radius: 16px; box-shadow: none; }
.page-home .home-hero-panel .panel-line { background: transparent; padding: 22px 0; border: 0; border-bottom: 1px solid #53718c; border-radius: 0; }
.page-home .home-hero-panel .panel-line:last-child { border-bottom: 0; }
.page-home .home-hero-panel strong { color: #fff; font-size: 1.125rem; }
.page-home .home-hero-panel span { color: #dce9f5; font-size: .9375rem; line-height: 1.6; }
.page-home .home-metrics { padding: 28px 0; gap: 32px; border-bottom: 1px solid #dbe3ee; }
.page-home .home-metrics strong { font-size: 1.125rem; }
.page-home .home-metrics span { font-size: 1rem; line-height: 1.6; }
.page-home .home-section { padding: 60px 0; }
.page-home .section-header { max-width: 760px; margin-bottom: 28px; }
.page-home .section-header h2, .page-home .home-two-cols h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: -.025em; }
.page-home .section-header p, .page-home .home-text { font-size: 1.0625rem; line-height: 1.75; }
.page-home .home-pillar-grid-wide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.page-home .pillar-card, .page-home .solution-card, .page-home .preview-card { padding: 28px; border-radius: 12px; box-shadow: none; }
.page-home .pillar-number { display: none; }
.page-home .pillar-card h3, .page-home .preview-card h3 { font-size: 1.25rem; line-height: 1.4; }
.page-home .pillar-card p, .page-home .solution-card p, .page-home .preview-card p { font-size: 1rem; line-height: 1.7; }
.page-home .pillar-card:hover, .page-home .preview-card:hover { border-color: #25828d; box-shadow: 0 8px 24px #102c4b12; }
.page-home .home-section-journal { border-top: 1px solid #dbe3ee; }
.page-home .home-section-journal .preview-card { border-top: 4px solid #25828d; }
.page-home .home-section-final-cta { padding: 36px; margin-top: 24px; margin-bottom: 60px; border-radius: 16px; }
@media (max-width: 900px) {
  .header .header-inner { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 16px; padding-bottom: 10px; }
  .header .nav { width: 100%; gap: 4px 18px; flex-wrap: wrap; font-size: .9375rem; }
  .page-home .home-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .page-home .home-pillar-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .header { position: relative; }
  .page-home .home-hero { padding: 36px 0; }
  .page-home .home-hero .button-row { flex-direction: column; align-items: stretch; }
  .page-home .home-hero .button { text-align: center; justify-content: center; }
  .page-home .home-pillar-grid-wide { grid-template-columns: 1fr; }
  .page-home .home-section { padding: 36px 0; }
  .page-home .home-metrics { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .page-home .home-section-final-cta { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-home *, .page-home *::before, .page-home *::after { transition: none !important; animation: none !important; }
}

/* Direction de la maquette fournie le 25 novembre : blanc, marine, turquoise. */
.page-home { background: #fff; color: #102442; }
.page-home.theme-dark { background: #fff; color: #102442; }
.page-home .home-hero::before, .page-home .home-hero::after { content: none; }
.page-home .home-hero h1 { text-shadow: none; }
.page-home .home-hero-inner { transform: none; }
.page-home .home-metrics > div { background: #f7fafc; color: #102442; border: 1px solid #dbe5ed; }
.page-home .home-metrics span { color: #34475d; }
.page-home .header { background: #fff; color: #102442; border-bottom: 1px solid #dbe5ed; }
.page-home .logo span { color: #007f86; }
.page-home .nav { color: #102442; }
.page-home .nav a.active { color: #007f86; box-shadow: inset 0 -3px #25bdb4; }
.page-home .home-hero {
  background: linear-gradient(90deg, #fffffffa 0%, #fffffff0 34%, #ffffff24 80%), url('/uploads/fond-blanchisserie-accueil.webp') center 60% / cover;
  color: #102442;
  border-bottom: 0;
  padding: 48px 0 24px;
}
.page-home .home-hero-inner { grid-template-columns: 1fr; gap: 28px; }
.page-home .home-hero-content { max-width: 680px; }
.page-home .home-hero h1 { color: #102442; max-width: 580px; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.page-home .home-hero .lead { color: #102442; max-width: 570px; line-height: 1.5; }
.page-home .home-hero .badge { color: #006970; border-color: #9fcfce; background: #ffffffbf; }
.page-home .home-hero .button.primary { background: #064673; color: #fff; border-color: #064673; }
.page-home .home-hero .button.secondary { background: #ffffffed; color: #102442; border-color: #b4c5d6; }
.page-home .home-hero .button:hover { background: #007d85; color: #fff; }
.page-home .home-hero-panel { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding: 0; background: transparent; border: 0; }
.page-home .home-hero-panel .panel-line { display: flex; gap: 16px; align-items: center; padding: 22px; background: #fffffff5; border: 1px solid #e0e8f0; border-radius: 14px; }
.page-home .home-hero-panel .panel-line strong { color: #102442; }
.page-home .home-hero-panel .panel-line span { color: #34475d; }
.page-home .home-hero-panel .home-panel-icon-img { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
.page-home .home-section { padding: 28px 0; background: #fff; }
.page-home .home-section .badge { color: #006970; background: #e2f6f3; border-color: #b6e2dd; }
.page-home h2 { color: #102442; }
.page-home .section-header { max-width: none; margin-bottom: 20px; }
.page-home .section-header h2 { font-size: clamp(1.5rem, 2.7vw, 2rem); }
.page-home .section-header h2::after { content: ''; display: block; width: 48px; height: 3px; border-radius: 50%; background: #14b8a6; margin-top: 10px; }
.page-home .pillar-card, .page-home .solution-card, .page-home .preview-card { color: #102442; background: #f9fbfd; border: 1px solid #dbe5ed; padding: 22px; }
.page-home .pillar-card h3, .page-home .solution-card h3, .page-home .preview-card h3 { color: #102442; }
.page-home .pillar-card p, .page-home .solution-card p, .page-home .preview-card p { color: #34475d; }
.page-home .solution-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 16px; }
.page-home .home-software-image { width: 100%; height: 140px; object-fit: contain; background: #fff; border-radius: 8px; margin-bottom: 16px; }
.page-home .home-product-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; }
.page-home .home-product-card { min-width: 0; border: 1px solid #dbe5ed; border-radius: 10px; overflow: hidden; background: #f6f9fc; }
.page-home .home-product-card img { width: 100%; height: 140px; object-fit: contain; background: #fff; }
.page-home .home-product-card h3 { color: #102442; font-size: .9375rem; line-height: 1.4; padding: 12px; margin: 0; overflow-wrap: anywhere; }
.page-home .home-article-image { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
.page-home .home-section-final-cta { background: #e6f4f4; border: 1px solid #cce7e5; color: #102442; }
.page-home .footer { background: #103653; color: #fff; }
@media (max-width: 900px) {
  .page-home .home-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .page-home .home-hero-panel { grid-template-columns: 1fr; gap: 10px; }
  .page-home .home-hero-panel .panel-line { padding: 16px; }
}
@media (max-width: 560px) {
  .page-home .home-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-home .home-hero { background: linear-gradient(#fffffff0,#ffffffdb), url('/uploads/fond-blanchisserie-accueil.webp') center / cover; }
}
