/* ==========================================================================
   GLOBAL PIÈCE AUTO - MODERN AUTOMOTIVE EDITORIAL & OPEN COLOR DESIGN SYSTEM
   Professional Light Theme (Couleurs Fat7in) & Framed Sections (Cadres & Sections)
   Optimized for High-Performance SEO, Core Web Vitals & Traffic Acquisition
   ========================================================================== */

:root {
  /* --- OPEN COLOR PALETTE (https://yeun.github.io/open-color/) --- */
  --oc-gray-0: #f8f9fa;
  --oc-gray-1: #f1f3f5;
  --oc-gray-2: #e9ecef;
  --oc-gray-3: #dee2e6;
  --oc-gray-4: #ced4da;
  --oc-gray-5: #adb5bd;
  --oc-gray-6: #868e96;
  --oc-gray-7: #495057;
  --oc-gray-8: #343a40;
  --oc-gray-9: #212529;

  --oc-blue-0: #e7f5ff;
  --oc-blue-1: #d0ebff;
  --oc-blue-2: #a5d8ff;
  --oc-blue-3: #74c0fc;
  --oc-blue-5: #339af0;
  --oc-blue-6: #228be6;
  --oc-blue-7: #1c7ed6;
  --oc-blue-8: #1971c2;
  --oc-blue-9: #1864ab;

  --oc-cyan-0: #e3fafc;
  --oc-cyan-1: #c5f6fa;
  --oc-cyan-2: #99e9f2;
  --oc-cyan-6: #15aabf;
  --oc-cyan-7: #1098ad;
  --oc-cyan-8: #0c8599;

  --oc-teal-0: #e6fcf5;
  --oc-teal-1: #c3fae8;
  --oc-teal-6: #12b886;
  --oc-teal-7: #0ca678;
  --oc-teal-8: #099268;

  --oc-green-0: #ebfbee;
  --oc-green-1: #d3f9d8;
  --oc-green-6: #40c057;
  --oc-green-7: #2f9e44;

  --oc-yellow-0: #fff9db;
  --oc-yellow-1: #fff3bf;
  --oc-yellow-6: #fab005;
  --oc-yellow-7: #f59f00;

  --oc-orange-0: #fff4e6;
  --oc-orange-1: #ffe8cc;
  --oc-orange-6: #fd7e14;
  --oc-orange-7: #f76707;

  --oc-red-0: #fff5f5;
  --oc-red-1: #ffe3e3;
  --oc-red-6: #fa5252;
  --oc-red-7: #e03131;

  /* --- SEMANTIC THEME TOKENS (LIGHT & LUMINOUS) --- */
  --bg-main: #f8f9fa;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f3f5;
  --bg-subtle: #f1f3f5;
  --bg-accent-light: #e7f5ff;

  --border-light: #e9ecef;
  --border-card: #dee2e6;
  --border-focus: #228be6;
  --border-cyan: #15aabf;
  --border-blue: #228be6;
  --border-amber: #fab005;

  --cyan: #1098ad;
  --cyan-light: #15aabf;
  --cyan-glow: rgba(16, 152, 173, 0.2);

  --amber: #f59f00;
  --amber-light: #fab005;
  --amber-glow: rgba(245, 159, 0, 0.2);

  --red: #fa5252;
  --emerald: #12b886;

  --text-main: #212529;
  --text-body: #495057;
  --text-muted: #6c757d;
  --text-dim: #868e96;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 28px rgba(33, 37, 41, 0.08);
  --shadow-hover: 0 16px 36px rgba(34, 139, 230, 0.12);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
}

body {
  background-color: var(--bg-main);
  color: var(--text-body);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--oc-blue-7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--oc-blue-9);
}

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

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOP TICKER BAR */
.top-ticker {
  background: var(--oc-gray-1);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
  font-size: 13px;
  color: var(--oc-gray-7);
}
.top-ticker .ticker-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.ticker-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--oc-blue-0);
  color: var(--oc-blue-8);
  border: 1px solid var(--oc-blue-2);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-pill.amber {
  background: var(--oc-yellow-0);
  color: var(--oc-orange-7);
  border-color: var(--oc-yellow-1);
}

/* HEADER & NAVIGATION (CRISP WHITE STICKY HEADER) */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.brand-logo .brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--oc-blue-6), var(--oc-blue-8));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(34, 139, 230, 0.25);
  color: #fff;
}
.brand-logo span.auto-highlight {
  color: var(--oc-blue-6);
}

/* NAV LINKS & DROPDOWNS */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--oc-gray-8);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.nav-link:hover {
  color: var(--oc-blue-7);
  background: var(--oc-blue-0);
}
.nav-link.active {
  color: var(--oc-blue-8);
  background: var(--oc-blue-0);
  font-weight: 700;
}

/* DROPDOWN SUBMENU */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-smooth);
  z-index: 100;
  list-style: none;
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--oc-gray-8);
  transition: all var(--transition-fast);
}
.dropdown-menu li a:hover {
  background: var(--oc-blue-0);
  color: var(--oc-blue-8);
  padding-left: 22px;
}

/* CTA BUTTONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-whatsapp {
  background: linear-gradient(135deg, var(--oc-blue-6), var(--oc-blue-8));
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(34, 139, 230, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 6px 18px rgba(34, 139, 230, 0.35);
}
.btn-tel {
  background: #ffffff;
  color: var(--oc-blue-7);
  border: 1px solid var(--border-card);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
.btn-tel:hover {
  background: var(--oc-blue-0);
  border-color: var(--oc-blue-5);
  transform: translateY(-2px);
  color: var(--oc-blue-8);
}

/* MOBILE TOGGLE */
.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* HERO SECTION (LUMINOUS & CLEAN) */
.hero-section {
  position: relative;
  padding: 60px 0 40px;
  background: radial-gradient(circle at 50% 0%, var(--oc-blue-0) 0%, var(--bg-main) 70%);
  border-bottom: 1px solid var(--border-light);
}
.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--oc-blue-0);
  border: 1px solid var(--oc-blue-2);
  color: var(--oc-blue-8);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-title .text-gradient {
  background: linear-gradient(135deg, var(--oc-blue-8) 0%, var(--oc-cyan-7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--oc-gray-7);
  max-width: 760px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* VEHICLE & SPARE PARTS SELECTOR (FRAMED CADRE) */
.selector-card {
  background: #ffffff;
  border: 2px solid var(--oc-blue-3);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}
.selector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--oc-blue-6), var(--oc-cyan-6), var(--oc-yellow-6));
}
.selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.selector-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}
.selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--oc-gray-8);
  margin-bottom: 8px;
}
.form-select, .form-input {
  width: 100%;
  background: var(--oc-gray-0);
  border: 1.5px solid var(--border-card);
  color: var(--text-main);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
}
.form-select:focus, .form-input:focus {
  border-color: var(--oc-blue-6);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(34, 139, 230, 0.15);
}
.btn-search {
  background: linear-gradient(135deg, var(--oc-blue-6), var(--oc-blue-8));
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(34, 139, 230, 0.25);
  transition: all var(--transition-fast);
}
.btn-search:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.selector-results {
  margin-top: 24px;
  background: var(--oc-gray-0);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  display: none;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* POSITION 0 DOMINATOR (FRAMED GOLDEN SNIPPET) */
.position-0-box {
  background: #ffffff;
  border: 2px solid var(--oc-blue-6);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 50px 0;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.p0-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--oc-blue-0);
  color: var(--oc-blue-8);
  border: 1px solid var(--oc-blue-2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.p0-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.3;
}
.p0-paragraph {
  font-size: 16px;
  line-height: 1.8;
  color: var(--oc-gray-8);
  background: var(--oc-gray-0);
  border-left: 4px solid var(--oc-blue-6);
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 30px;
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.p0-list-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--oc-blue-8);
  margin-bottom: 16px;
}
.p0-ordered-list {
  padding-left: 24px;
  color: var(--oc-gray-7);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 30px;
}
.p0-ordered-list li {
  margin-bottom: 8px;
}
.p0-ordered-list strong {
  color: var(--text-main);
}
.p0-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}
.p0-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  background: #ffffff;
}
.p0-table thead {
  background: var(--oc-gray-1);
}
.p0-table th {
  padding: 14px 18px;
  color: var(--oc-blue-9);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--border-card);
}
.p0-table td {
  padding: 14px 18px;
  color: var(--oc-gray-8);
  border-bottom: 1px solid var(--border-light);
}
.p0-table tr:hover td {
  background: var(--oc-blue-0);
}
.price-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--oc-orange-7);
  background: var(--oc-yellow-0);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--oc-yellow-1);
}

/* SECTION HEADERS (STRUCTURATION EN SECTIONS) */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 60px auto 40px;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--oc-blue-8);
  background: var(--oc-blue-0);
  border: 1px solid var(--oc-blue-2);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 16px;
  color: var(--oc-gray-7);
  line-height: 1.6;
}

/* CATEGORIES GRID (CADRES PROFESSIONNELS & ELEVATION) */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}
.category-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--oc-blue-6);
  box-shadow: var(--shadow-hover);
}
.category-card .icon-box {
  width: 52px;
  height: 52px;
  background: var(--oc-blue-0);
  border: 1px solid var(--oc-blue-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.category-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}
.category-card p {
  font-size: 14px;
  color: var(--oc-gray-7);
  margin-bottom: 20px;
  line-height: 1.6;
}
.category-card .card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--oc-blue-7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* AUTOMOTIVE JOURNAL & BLOG GRID (CADRES DE MAGAZINE) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}
.article-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--oc-blue-6);
  box-shadow: var(--shadow-hover);
}
.article-banner {
  height: 190px;
  background: linear-gradient(135deg, var(--oc-blue-0), var(--oc-gray-1));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  border-bottom: 1px solid var(--border-light);
}
.article-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--oc-blue-8);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.article-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.article-meta {
  font-size: 12px;
  color: var(--oc-gray-6);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.article-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 12px;
}
.article-title a {
  color: var(--text-main);
}
.article-title a:hover {
  color: var(--oc-blue-7);
}
.article-excerpt {
  font-size: 14px;
  color: var(--oc-gray-7);
  line-height: 1.6;
  margin-bottom: 20px;
}
.article-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.article-author {
  font-size: 12px;
  color: var(--oc-gray-6);
}

/* POPULAR MAKES STRIP */
.makes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  margin-bottom: 50px;
}
.make-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.make-card:hover {
  border-color: var(--oc-blue-6);
  background: var(--oc-blue-0);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.make-icon {
  font-size: 26px;
  margin-bottom: 8px;
}
.make-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}
.make-count {
  font-size: 11px;
  color: var(--oc-gray-6);
}

/* FAQ ACCORDION SECTION */
.faq-container {
  max-width: 900px;
  margin: 0 auto 60px;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  background: #ffffff;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-fast);
}
.faq-question:hover {
  color: var(--oc-blue-7);
  background: var(--oc-gray-0);
}
.faq-arrow {
  font-size: 14px;
  transition: transform var(--transition-smooth);
}
.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background: var(--oc-gray-0);
  color: var(--oc-gray-7);
  font-size: 14px;
  line-height: 1.8;
  padding: 0 24px;
}
.faq-item.active .faq-answer {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border-light);
  max-height: 300px;
}

/* ENGINE & BROWSER BADGES STRIP */
.audit-badges-bar {
  background: var(--oc-gray-1);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  padding: 28px 0;
  margin: 50px 0;
}
.badges-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.badges-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--oc-gray-7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.engines-pills, .browsers-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.engine-tag, .browser-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  color: var(--oc-gray-8);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.engine-tag.verified, .browser-tag.verified {
  border-color: var(--oc-teal-6);
  color: var(--oc-teal-8);
  background: var(--oc-teal-0);
}

/* BACKLINK NETWORK & FOOTER (CLEAN LIGHT DESIGN) */
footer.site-footer {
  background: var(--oc-gray-1);
  border-top: 1px solid var(--border-card);
  padding: 60px 0 30px;
  color: var(--oc-gray-7);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links li a {
  color: var(--oc-gray-7);
  font-size: 13px;
}
.footer-links li a:hover {
  color: var(--oc-blue-7);
}

/* 18-PARTNER MESH SECTION (FRAMED NETWORK CADRE) */
.partner-mesh-container {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}
.partner-mesh-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--oc-blue-8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 16px;
}
.partner-tags-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  line-height: 1.8;
}
.partner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--oc-gray-8);
  background: var(--oc-gray-0);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-card);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
.partner-tag:hover {
  color: var(--oc-blue-8);
  border-color: var(--oc-blue-6);
  background: var(--oc-blue-0);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(34, 139, 230, 0.15);
}

/* COPYRIGHT BAR & IMTIDAD TECH DEDICATION */
.copyright-bar {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--oc-gray-6);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.agency-dedication {
  color: var(--oc-gray-8);
  font-size: 13px;
}
.agency-dedication a {
  color: var(--oc-blue-7);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.agency-dedication a:hover {
  color: var(--oc-blue-9);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-card);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    gap: 12px;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--oc-gray-0);
    border: 1px solid var(--border-light);
    box-shadow: none;
    padding-left: 14px;
  }
  .mobile-toggle {
    display: block;
  }
  .header-actions .btn-tel {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .selector-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SUBPAGE STYLES — Category pages, Blog, Magazine Hub
   ========================================================================== */

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--oc-gray-6);
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--oc-gray-7);
}
.breadcrumb a:hover {
  color: var(--oc-blue-7);
}
.breadcrumb span {
  color: var(--oc-blue-8);
  font-weight: 600;
}

/* CATEGORY HERO */
.category-hero {
  text-align: center;
  padding: 20px 0 40px;
  max-width: 860px;
  margin: 0 auto;
}
.page-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
  margin: 14px 0 18px;
  letter-spacing: -0.02em;
}
.lead-text {
  font-size: 17px;
  color: var(--oc-gray-7);
  line-height: 1.7;
}

/* TOP ANNOUNCEMENT BAR */
.top-announcement-bar {
  background: var(--oc-gray-1);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 16px;
  font-size: 12px;
  color: var(--oc-gray-7);
  text-align: center;
}
.top-announcement-bar a {
  color: var(--oc-blue-7);
  font-weight: 700;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo-icon {
  font-size: 26px;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-main {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.logo-accent {
  color: var(--oc-blue-6);
}
.logo-sub {
  font-size: 10px;
  color: var(--oc-gray-6);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* PAGE CONTENT CONTAINER */
.page-content {
  padding-bottom: 80px;
}

/* PRODUCT TABLE ON SUBPAGES (CLEAN & FRAMED) */
.product-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}
.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #ffffff;
}
.product-table thead {
  background: var(--oc-gray-1);
}
.product-table th {
  padding: 16px 18px;
  color: var(--oc-blue-9);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--border-card);
  white-space: nowrap;
}
.product-table td {
  padding: 14px 18px;
  color: var(--oc-gray-8);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.product-table tr:hover td {
  background: var(--oc-blue-0);
}
.product-table .stock-ok {
  color: var(--oc-teal-7);
  font-weight: 600;
  font-size: 12px;
}
.product-table .btn-order {
  background: linear-gradient(135deg, var(--oc-blue-6), var(--oc-blue-8));
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(34, 139, 230, 0.2);
}
.product-table .btn-order:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* BLOG ARTICLE CONTENT */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--oc-gray-8);
  font-size: 16px;
  line-height: 1.8;
}
.article-content h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--text-main);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--oc-blue-6);
}
.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--oc-blue-8);
  margin: 28px 0 12px;
}
.article-content p {
  margin-bottom: 20px;
}
.article-content ul, .article-content ol {
  padding-left: 28px;
  margin-bottom: 20px;
}
.article-content li {
  margin-bottom: 8px;
}
.article-content strong {
  color: var(--text-main);
}
.article-content .tip-box {
  background: var(--oc-blue-0);
  border: 1px solid var(--oc-blue-2);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--oc-blue-9);
}
.article-content .warn-box {
  background: var(--oc-yellow-0);
  border: 1px solid var(--oc-yellow-1);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--oc-orange-7);
}

/* CTA BOX FOR BLOG & PAGES (CADRE BLEU LUMINEUX) */
.cta-box-page {
  background: linear-gradient(135deg, var(--oc-blue-0) 0%, #ffffff 100%);
  border: 2px solid var(--oc-blue-2);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  margin: 40px 0;
  box-shadow: var(--shadow-md);
}
.cta-box-page h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--oc-blue-9);
  margin-bottom: 12px;
}
.cta-box-page p {
  font-size: 15px;
  color: var(--oc-gray-7);
  max-width: 650px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.btn-cta-green {
  background: linear-gradient(135deg, var(--oc-blue-6), var(--oc-blue-8));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(34, 139, 230, 0.25);
  transition: all var(--transition-fast);
}
.btn-cta-green:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 8px 24px rgba(34, 139, 230, 0.35);
}

/* CONTACT & MAGAZINE HUB CARDS */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  margin: 40px 0;
}
.contact-info-block h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
.contact-info-item:hover {
  border-color: var(--oc-blue-6);
  box-shadow: var(--shadow-md);
}
.contact-icon {
  font-size: 26px;
  flex-shrink: 0;
}
.contact-info-text strong {
  display: block;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-info-text span {
  font-size: 14px;
  color: var(--oc-gray-7);
}
.contact-info-text a {
  color: var(--oc-blue-7);
}
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.contact-form-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form-card .form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--oc-gray-8);
  margin-bottom: 8px;
}
.form-textarea {
  width: 100%;
  background: var(--oc-gray-0);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
  resize: vertical;
  min-height: 130px;
}
.form-textarea:focus {
  border-color: var(--oc-blue-6);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(34, 139, 230, 0.15);
}
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--oc-blue-6), var(--oc-blue-8));
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(34, 139, 230, 0.25);
  transition: all var(--transition-fast);
}
.btn-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.whatsapp-cta-card {
  background: var(--oc-teal-0);
  border: 1px solid var(--oc-teal-1);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-top: 24px;
}
.whatsapp-cta-card p {
  color: var(--oc-gray-7);
  font-size: 14px;
  margin-bottom: 14px;
}
.btn-whatsapp-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--oc-blue-7);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 18px rgba(34, 139, 230, 0.3);
  transition: transform var(--transition-fast);
}
.btn-whatsapp-big:hover {
  color: #fff;
  transform: translateY(-3px);
}

/* Map placeholder */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  margin-top: 40px;
  background: var(--oc-gray-0);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--oc-gray-6);
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .header-container {
    padding: 0 16px;
  }
  .contact-form-card {
    padding: 24px 18px;
  }
}
