/* Sivaco Quebec K2 - Industrial Intelligence | Modular CSS | SEO 2026 */
:root {
  --color-steel: #2c3e50;
  --color-steel-light: #34495e;
  --color-blue: #1a5276;
  --color-blue-accent: #2980b9;
  --color-metal: #5d6d7e;
  --color-bg: #f8f9fa;
  --color-white: #ffffff;
  --color-text: #2c3e50;
  --color-text-muted: #5d6d7e;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, monospace;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --radius: 4px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
picture img { width: 100%; }
a { color: var(--color-blue-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-blue); }
a:focus-visible { outline: 2px solid var(--color-blue-accent); outline-offset: 2px; }

/* Layout */
.site-header {
  background: var(--color-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.logo-link img { height: 40px; width: auto; }
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
}
.nav-list a {
  color: var(--color-steel);
  font-weight: 500;
}
.nav-list a:hover { color: var(--color-blue-accent); }

/* Banner */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, var(--color-steel) 0%, var(--color-blue) 100%);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-xl);
  color: var(--color-white);
}
.page-banner-content h1 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
}
.page-banner-content .breadcrumb {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}
.page-banner-content .breadcrumb a { color: rgba(255,255,255,0.95); }
.page-banner-content .breadcrumb a:hover { color: var(--color-white); text-decoration: underline; }

/* Main content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}
.section { margin-bottom: var(--space-2xl); }
.section h2 {
  margin: 0 0 var(--space-md);
  font-size: 1.5rem;
  color: var(--color-steel);
}
.section p { margin: 0 0 var(--space-md); color: var(--color-text-muted); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-lg);
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.card h3 { margin: 0 0 var(--space-sm); font-size: 1.15rem; color: var(--color-steel); }
.card p { margin: 0; font-size: 0.95rem; }

/* CTA */
.cta-section {
  background: var(--color-steel);
  color: var(--color-white);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
}
.cta-section a {
  color: var(--color-white);
  text-decoration: underline;
}
.cta-section a:hover { opacity: 0.9; }
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-blue-accent);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.btn:hover { background: var(--color-blue); }

/* Footer */
.site-footer {
  background: var(--color-steel);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-2xl);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-lg);
}
.footer-inner a { color: rgba(255,255,255,0.9); }
.footer-inner a:hover { color: var(--color-white); }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-md); list-style: none; margin: 0; padding: 0; }

/* Forms */
input, textarea, select {
  font: inherit;
  width: 100%;
  max-width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-metal);
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
}
label { display: block; margin-bottom: var(--space-xs); font-weight: 500; }
form button[type="submit"] { margin-top: var(--space-sm); }

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* Responsive */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .nav-list { margin-top: var(--space-sm); }
  .page-banner { min-height: 220px; }
  .footer-inner { flex-direction: column; }
}

/* Preload hint for LCP image */
.page-banner img[fetchpriority="high"] { content-visibility: auto; }
