/* ==========================================================
   LevierTek -- feuille de style partagee (audit SEO-13)
   Jetons de conception (--lk-*), composants communs a toutes
   les pages (pied de page, entete de section, hero, boutons)
   et polices auto-hebergees (audit SEO-12).
   Servi comme fichier statique unique, mis en cache par le
   navigateur d'une page a l'autre au lieu d'etre retelecharge
   dans le <style> de chaque page.
   ========================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/leviertek_website/static/src/fonts/bricolage-grotesque-variable.woff2') format('woff2-variations'), url('/leviertek_website/static/src/fonts/bricolage-grotesque-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/leviertek_website/static/src/fonts/figtree-variable.woff2') format('woff2-variations'), url('/leviertek_website/static/src/fonts/figtree-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

:root {
  --lk-primary: #0055A4;
  --lk-primary-dark: #003d7a;
  --lk-primary-light: #3b82f6;
  --lk-secondary: #1f2937;
  --lk-accent: #FFC107;
  --lk-accent-dark: #F59E0B;
  --lk-accent-light: #fef3c7;
  --lk-neutral: #4b5563;
  --lk-neutral-light: #9ca3af;
  --lk-bg: #fafafa;
  --lk-bg-alt: #f3f4f6;
  --lk-white: #ffffff;
  --lk-success: #10b981;
  --lk-success-light: #d1fae5;
  --lk-danger: #ef4444;
  --lk-danger-light: #fee2e2;
  --lk-odoo-purple: #714B67;
  --lk-font-heading: 'Bricolage Grotesque', sans-serif;
  --lk-font-body: 'Figtree', sans-serif;
  --lk-font-mono: 'Figtree', sans-serif;
  --lk-space-xs: 8px;
  --lk-space-sm: 16px;
  --lk-space-md: 24px;
  --lk-space-lg: 32px;
  --lk-space-xl: 48px;
  --lk-space-2xl: 64px;
  --lk-space-3xl: 96px;
  --lk-radius-sm: 8px;
  --lk-radius-md: 12px;
  --lk-radius-lg: 16px;
  --lk-radius-xl: 12px;
  --lk-shadow-sm: 0 2px 4px rgba(0,85,164,0.08);
  --lk-shadow-md: 0 4px 12px rgba(0,85,164,0.12);
  --lk-shadow-lg: 0 8px 24px rgba(0,85,164,0.16);
  --lk-shadow-xl: 0 16px 48px rgba(0,85,164,0.2);
  --lk-transition-fast: 150ms cubic-bezier(0.22, 1, 0.36, 1);
  --lk-transition-base: 300ms cubic-bezier(0.22, 1, 0.36, 1);
  --lk-transition-slow: 500ms cubic-bezier(0.22, 1, 0.36, 1);
  --lk-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Composants communs (pied de page, sections, hero, boutons) ---- */

.lk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--lk-space-xs);
  padding: 14px 28px;
  border-radius: var(--lk-radius-sm);
  font-family: var(--lk-font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--lk-transition-base);
  border: none;
}

.lk-btn svg {
  width: 18px;
  height: 18px;
}

.lk-btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.lk-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.lk-btn-primary {
  background: var(--lk-accent);
  color: var(--lk-secondary);
  box-shadow: var(--lk-shadow-md);
}

.lk-btn-primary:hover {
  background: var(--lk-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--lk-shadow-lg);
}

.lk-challenge-title {
  font-family: var(--lk-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--lk-secondary);
  margin: 0 0 var(--lk-space-sm) 0;
}

.lk-challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lk-space-lg);
}

.lk-challenges-section {
  padding: var(--lk-space-3xl) 0;
  background: var(--lk-white);
}

.lk-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--lk-space-md);
}

.lk-cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--lk-space-sm);
  flex-wrap: wrap;
}

.lk-cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.lk-cta-section {
  padding: var(--lk-space-3xl) 0;
  background: linear-gradient(135deg, var(--lk-primary) 0%, var(--lk-primary-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lk-cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.lk-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,193,7,0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.lk-cta-text {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 var(--lk-space-lg) 0;
  line-height: 1.7;
}

.lk-cta-title {
  font-family: var(--lk-font-heading);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: white;
  margin: 0 0 var(--lk-space-md) 0;
}

.lk-footer {
  background: var(--lk-secondary);
  color: white;
  padding: var(--lk-space-2xl) 0 var(--lk-space-lg);
}

.lk-footer-badge {
  padding: 6px 12px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--lk-radius-sm);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.lk-footer-badges {
  display: flex;
  align-items: center;
  gap: var(--lk-space-md);
}

.lk-footer-bottom {
  padding-top: var(--lk-space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--lk-space-md);
}

.lk-footer-brand { max-width: 300px; }

.lk-footer-column h4 {
  font-family: var(--lk-font-heading);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 var(--lk-space-md) 0;
  color: var(--lk-accent);
}

.lk-footer-copyright { font-size: 14px; color: rgba(255,255,255,0.5); margin: 0; }

.lk-footer-copyright a { color: rgba(255,255,255,0.7); }

.lk-footer-copyright a:hover { color: white; }

.lk-footer-description {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin: 0;
}

.lk-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--lk-space-xl);
  margin-bottom: var(--lk-space-xl);
}

.lk-footer-links { list-style: none; margin: 0; padding: 0; }

.lk-footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: var(--lk-transition-fast);
}

.lk-footer-links a:hover { color: white; }

.lk-footer-links li { margin-bottom: var(--lk-space-sm); }

.lk-footer-logo {
  display: flex;
  align-items: center;
  gap: var(--lk-space-sm);
  margin-bottom: var(--lk-space-md);
}

.lk-footer-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--lk-primary-light), var(--lk-primary));
  border-radius: var(--lk-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--lk-font-heading);
  font-size: 18px;
}

.lk-footer-logo-text {
  font-family: var(--lk-font-heading);
  font-size: 22px;
  font-weight: 700;
}

.lk-footer-social {
  display: flex;
  gap: var(--lk-space-sm);
  margin-top: var(--lk-space-md);
}

.lk-footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--lk-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--lk-transition-fast);
}

.lk-footer-social a:hover {
  background: var(--lk-primary);
  color: white;
}

.lk-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--lk-space-xs);
  padding: 8px 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--lk-space-md);
  backdrop-filter: blur(10px);
}

.lk-hero-badge svg {
  width: 16px;
  height: 16px;
}

.lk-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--lk-space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.lk-hero-content {
  max-width: 600px;
}

.lk-hero-ctas {
  display: flex;
  gap: var(--lk-space-sm);
  flex-wrap: wrap;
}

.lk-hero-title {
  font-family: var(--lk-font-heading);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0 0 var(--lk-space-md) 0;
}

.lk-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lk-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.lk-section-header {
  text-align: center;
  margin-bottom: var(--lk-space-2xl);
}

.lk-section-subtitle {
  font-size: 17px;
  color: var(--lk-neutral);
  max-width: 600px;
  margin: 0 auto;
}

.lk-section-title {
  font-family: var(--lk-font-heading);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: var(--lk-secondary);
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 var(--lk-space-sm) 0;
}

/* ---- Maillage interne en fin de page industrie (audit SEO-11) ---- */

.lk-related-section {
  padding: var(--lk-space-2xl) 0;
  background: var(--lk-bg-alt);
}

.lk-related-heading {
  font-family: var(--lk-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--lk-secondary);
  margin: 0 0 var(--lk-space-lg) 0;
}

.lk-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--lk-space-md);
}

.lk-related-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--lk-space-md) var(--lk-space-lg);
  background: var(--lk-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--lk-radius-md);
  text-decoration: none;
  transition: var(--lk-transition-base);
}

.lk-related-card:hover {
  border-color: var(--lk-primary);
  box-shadow: var(--lk-shadow-md);
  transform: translateY(-2px);
}

.lk-related-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lk-primary);
}

.lk-related-title {
  font-family: var(--lk-font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--lk-secondary);
}

.lk-related-desc {
  font-size: 14px;
  color: var(--lk-neutral);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .lk-related-grid {
    grid-template-columns: 1fr;
  }
}

.lk-showcase-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--lk-transition-slow);
}

.lk-showcase-card:hover img {
  transform: scale(1.03);
}

.lk-showcase-label h3 {
  font-family: var(--lk-font-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: white;
}

.lk-showcase-label p {
  font-size: 13px;
  margin: 0;
  color: rgba(255,255,255,0.8);
}

.lk-showcase-section {
  padding: var(--lk-space-3xl) 0 var(--lk-space-2xl);
  background: linear-gradient(180deg, var(--lk-bg-alt) 0%, var(--lk-white) 100%);
  overflow: hidden;
}

.lk-solution-content {
  flex: 1;
}

.lk-solution-icon svg {
  width: 24px;
  height: 24px;
}

.lk-solution-title {
  font-family: var(--lk-font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--lk-secondary);
  margin: 0 0 var(--lk-space-xs) 0;
}

.lk-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--lk-space-lg);
}

.lk-solutions-section {
  padding: var(--lk-space-3xl) 0;
  background: var(--lk-bg);
}
