/* Artilib.fr — feuille de style complète et autonome */

/* =====================================================================
   RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #202124;
  background: #f8f9fa;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--theme-color); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; font-weight: 700; color: #202124; }

/* =====================================================================
   VARIABLES (fallbacks si le head inline ne les définit pas)
   ===================================================================== */
:root {
  --theme-color: #0284c7;
  --theme-hover: #0369a1;
  --theme-rgb: 2,132,199;
}

/* =====================================================================
   LAYOUT — container & grid Bootstrap-compatible
   ===================================================================== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
[class*="col-"] { padding: 0 12px; width: 100%; }

/* 12-col grid — md breakpoint (≥992px) */
@media (min-width: 992px) {
  .col-md-2  { width: 16.666%; }
  .col-md-3  { width: 25%; }
  .col-md-4  { width: 33.333%; }
  .col-md-6  { width: 50%; }
  .col-md-8  { width: 66.666%; }
  .col-md-10 { width: 83.333%; }
  .col-md-12 { width: 100%; }
  .col-md-offset-1  { margin-left: 8.333%; }
  .col-md-offset-2  { margin-left: 16.666%; }
}
/* lg breakpoint (≥1200px) */
@media (min-width: 1200px) {
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333%; }
  .col-lg-9 { width: 75%; }
}
/* sm breakpoint (≥768px) */
@media (min-width: 768px) {
  .col-sm-6  { width: 50%; }
  .col-sm-12 { width: 100%; }
}
.text-center { text-align: center; }
.hidden-xs { display: block; }
@media (max-width: 767px) { .hidden-xs { display: none !important; } }
.visible-xs { display: none; }
@media (max-width: 767px) { .visible-xs { display: block !important; } }
@media (max-width: 991px) {
  .hidden-md { display: none !important; }
  .visible-md { display: block !important; }
  .hidden-sm { display: none !important; }
  .visible-sm { display: block !important; }
}

/* =====================================================================
   UTILITIES
   ===================================================================== */
.flex-middle { display: flex; align-items: center; }
.ali-right { margin-left: auto; }
.flex-column { flex-direction: column; }

/* =====================================================================
   SITE STRUCTURE
   ===================================================================== */
#wrapper-container { display: flex; flex-direction: column; min-height: 100vh; }
#page { display: flex; flex-direction: column; flex: 1; }
#content { flex: 1; }
.site-content { background: #f8f9fa; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header { background: #fff; border-bottom: 1px solid #e8ecef; position: sticky; top: 0; z-index: 100; }
.apus-header-sticky { padding: 0; }
.apus-header-inner { height: 64px; gap: 32px; }
.logo a { display: flex; align-items: center; font-size: 1.1rem; font-weight: 700; color: var(--theme-color); text-decoration: none; }
.navbar-wrapper { flex: 1; }
#menu-main-menu { display: flex; gap: 4px; list-style: none; }
#menu-main-menu .menu-item a {
  display: block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 500;
  color: #5f6368;
  text-decoration: none;
  transition: color .15s, background .15s;
}
#menu-main-menu .menu-item a:hover,
#menu-main-menu .current-menu-item a { color: var(--theme-color); background: rgba(var(--theme-rgb),.07); }
.btn-toggle-canvas {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 6px; cursor: pointer;
  color: #5f6368; font-size: 1.1rem;
}
.btn-toggle-canvas:hover { background: #f1f5f9; }

/* Mobile offcanvas */
.apus-offcanvas { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: #fff; z-index: 999; transition: left .3s; overflow-y: auto; box-shadow: 4px 0 20px rgba(0,0,0,.12); }
.apus-offcanvas.open { left: 0; }
.header-offcanvas { padding: 16px 0; border-bottom: 1px solid #f1f5f9; }
.offcanvas-content { padding: 16px 0; }
#menu-main-menu-mobile { list-style: none; }
#menu-main-menu-mobile .menu-item a { display: block; padding: 10px 24px; font-size: .9375rem; color: #202124; text-decoration: none; border-bottom: 1px solid #f8f9fa; }
#menu-main-menu-mobile .menu-item a:hover { color: var(--theme-color); background: rgba(var(--theme-rgb),.05); }
.apus-page-loading { display: none; }
.hidden-lg { display: none; }
@media (max-width: 991px) { .hidden-lg { display: block; } }

/* =====================================================================
   INNER BANNER / HERO
   ===================================================================== */
.inner-banner { position: relative; color: #fff; overflow: hidden; }
.banner-home-v1 { padding: 80px 0 70px; }
.inner-banner .container { position: relative; z-index: 1; }
.banner-title { font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.banner-title span { color: var(--theme-color); }
.banner-desc { font-size: 1.0625rem; color: rgba(255,255,255,.8); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.banner-counters { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px; font-size: .875rem; color: rgba(255,255,255,.7); }
.banner-counters strong { color: #fff; font-weight: 700; }
.counter-sep { opacity: .4; }
.banner-category { padding: 56px 0 36px; }
.banner-category .page-title { font-size: 2rem; font-weight: 800; color: #fff; margin: 8px 0 6px; }
.banner-category .banner-desc { font-size: .9375rem; color: rgba(255,255,255,.75); margin-bottom: 0; text-align: left; }

/* =====================================================================
   BREADCRUMB
   ===================================================================== */
.apus-breadcrumb { background: rgba(0,0,0,.18); }
.apus-breadcrumb .breadcrumb {
  list-style: none;
  margin: 0; padding: 10px 0;
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px; background: none;
}
.apus-breadcrumb .breadcrumb li { display: flex; align-items: center; gap: 4px; font-size: .8125rem; }
.apus-breadcrumb .breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.apus-breadcrumb .breadcrumb a:hover { color: #fff; text-decoration: underline; }
.apus-breadcrumb .breadcrumb .bread-current { color: #fff; font-weight: 500; }
.apus-breadcrumb .breadcrumb .separator { color: rgba(255,255,255,.35); font-size: .7rem; }
/* ti-angle-right as CSS arrow */
.ti-angle-right::before { content: "›"; }
.ti-close::before { content: "✕"; }
.ti-menu::before { content: "☰"; }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section-popular-categories { padding: 64px 0 48px; background: #fff; }
.section-seo-content { padding: 48px 0 64px; background: #f8f9fa; }
.section-content { padding: 48px 0 64px; }
.section-header { margin-bottom: 40px; }
.section-title { font-size: 1.75rem; font-weight: 800; color: #202124; margin-bottom: 10px; }
.section-desc { font-size: 1rem; color: #6b7280; }

/* =====================================================================
   CATEGORY CARDS (homepage trade grid)
   ===================================================================== */
.category-item-2 {
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow .2s, border-color .2s, transform .2s;
  margin-bottom: 24px;
  height: calc(100% - 24px);
}
.category-item-2:hover {
  box-shadow: 0 8px 32px rgba(var(--theme-rgb),.12);
  border-color: var(--theme-color);
  transform: translateY(-2px);
}
.category-item-2 a { text-decoration: none; display: block; }
.icon-box {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(var(--theme-rgb),.08);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.5rem;
  color: var(--theme-color);
}
.category-name { font-size: 1rem; font-weight: 700; color: #202124; margin-bottom: 4px; }
.category-item-2 .number { font-size: .8125rem; color: var(--theme-color); font-weight: 500; display: block; margin-bottom: 8px; }
.category-item-2 p { font-size: .875rem; color: #6b7280; line-height: 1.5; }

/* =====================================================================
   LOCATION / DEPARTMENT CARDS (trade index page)
   ===================================================================== */
.location-item { margin-bottom: 12px; }
.location-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s;
}
.location-link:hover {
  border-color: var(--theme-color);
  box-shadow: 0 2px 12px rgba(var(--theme-rgb),.1);
}
.location-info { display: flex; flex-direction: column; }
.location-name { font-size: .9375rem; font-weight: 600; color: #202124; }
.location-link:hover .location-name { color: var(--theme-color); }
.location-number { font-size: .75rem; color: #9aa0a6; margin-top: 2px; }

/* =====================================================================
   ARTISAN CARDS
   ===================================================================== */
.job-item-2 {
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 14px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow .2s, border-color .2s;
}
.job-item-2:hover {
  box-shadow: 0 4px 20px rgba(var(--theme-rgb),.1);
  border-color: rgba(var(--theme-rgb),.3);
}
.employer-logo { border-radius: 8px; overflow: hidden; flex-shrink: 0; width: 56px; height: 56px; background: rgba(var(--theme-rgb),.07); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--theme-color); }
.employer-content { flex: 1; min-width: 0; }
.employer-content .name { font-size: 1rem; font-weight: 600; color: #202124; margin: 0 0 4px; }
.employer-content .description { font-size: .875rem; color: #5f6368; margin: 6px 0; }
.employer-content .rating { display: flex; align-items: center; gap: 6px; font-size: .8125rem; color: #5f6368; }
.employer-content .rating .stars { color: #fbbc04; letter-spacing: -1px; }
.employer-content .job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.employer-content .job-tag {
  background: rgba(var(--theme-rgb),.07);
  color: var(--theme-color);
  border: 1px solid rgba(var(--theme-rgb),.15);
  border-radius: 4px; padding: 2px 8px; font-size: .75rem;
}
.employer-content .job-metas { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.employer-content .job-metas li { display: flex; align-items: center; gap: 4px; font-size: .8125rem; color: #5f6368; }
.employer-content .job-metas li a { color: var(--theme-color); text-decoration: none; }
.employer-content .job-metas li a:hover { text-decoration: underline; }
.featured-badge { background: #fef9c3; border: 1px solid #fde047; color: #854d0e; font-size: .6875rem; font-weight: 500; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

/* =====================================================================
   CITY GRID
   ===================================================================== */
.city-listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.city-listing-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid #e8ecef;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  transition: all .2s;
}
.city-listing-item:hover { border-color: var(--theme-color); box-shadow: 0 2px 8px rgba(var(--theme-rgb),.1); }
.city-listing-item .city-name { font-weight: 500; color: #202124; font-size: .9375rem; display: block; }
.city-listing-item:hover .city-name { color: var(--theme-color); }
.city-listing-item .city-code { font-size: .75rem; color: #9aa0a6; margin-top: 2px; display: block; }

/* =====================================================================
   SIDEBAR
   ===================================================================== */
.sidebar-info-box { background: #fff; border: 1px solid #e8ecef; border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.sidebar-info-box .box-header { padding: 14px 18px; background: #f8f9fa; border-bottom: 1px solid #e8ecef; font-weight: 600; color: #202124; font-size: .9375rem; }
.sidebar-info-box .box-body { padding: 0; }
.sidebar-info-row { display: flex; align-items: flex-start; padding: 10px 18px; border-bottom: 1px solid #f1f5f9; font-size: .875rem; }
.sidebar-info-row:last-child { border-bottom: none; }
.sidebar-info-row .label { color: #9aa0a6; min-width: 90px; flex-shrink: 0; font-size: .8125rem; padding-top: 1px; }
.sidebar-info-row .value { color: #202124; font-weight: 500; }
.sidebar-city-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 18px;
  font-size: .875rem; color: #5f6368;
  border-bottom: 1px solid #f8f9fa;
  text-decoration: none;
  transition: all .15s;
}
.sidebar-city-link:hover { background: #f8f9fa; color: var(--theme-color); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-section { background: #fff; border: 1px solid #e8ecef; border-radius: 10px; overflow: hidden; }
.faq-section .faq-item { border-bottom: 1px solid #f1f5f9; }
.faq-section .faq-item:last-child { border-bottom: none; }
.faq-section .faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 16px 20px;
  cursor: pointer; list-style: none;
  font-weight: 500; color: #202124;
  font-size: .9375rem;
}
.faq-section .faq-item summary::-webkit-details-marker { display: none; }
.faq-section .faq-item summary:hover { background: #f8f9fa; }
.faq-section .faq-item .faq-icon { flex-shrink: 0; font-size: .75rem; color: #9aa0a6; transition: transform .2s; }
details[open] .faq-icon { transform: rotate(180deg); }
.faq-section .faq-item .faq-answer { padding: 0 20px 18px; font-size: .875rem; color: #5f6368; line-height: 1.75; }

/* =====================================================================
   SEO TEXT BLOCK
   ===================================================================== */
.seo-text-block { color: #5f6368; font-size: .9375rem; line-height: 1.85; }
.seo-text-block h2 { font-size: 1.25rem; font-weight: 700; color: #202124; margin: 28px 0 12px; }
.seo-text-block h3 { font-size: 1.0625rem; font-weight: 600; color: #202124; margin: 22px 0 8px; }
.seo-text-block p { margin-bottom: 16px; }
.seo-text-block ul, .seo-text-block ol { padding-left: 24px; margin-bottom: 16px; }
.seo-text-block ul { list-style: disc; }
.seo-text-block ol { list-style: decimal; }
.seo-text-block li { margin-bottom: 6px; }
.seo-text-block strong { color: #202124; }
.seo-text-block a { color: var(--theme-color); }

/* =====================================================================
   PAGINATION
   ===================================================================== */
.pagination-wrapper { display: flex; justify-content: center; gap: 6px; padding: 32px 0; flex-wrap: wrap; }
.pagination-wrapper a, .pagination-wrapper span {
  padding: 8px 14px; border-radius: 6px; font-size: .875rem;
  border: 1px solid #e8ecef; color: #5f6368;
  text-decoration: none; transition: all .15s;
  min-width: 38px; text-align: center;
}
.pagination-wrapper a:hover { border-color: var(--theme-color); color: var(--theme-color); background: rgba(var(--theme-rgb),.05); }
.pagination-wrapper .current { background: var(--theme-color); color: #fff; border-color: var(--theme-color); }

/* =====================================================================
   HERO BANNER
   ===================================================================== */
.hero-banner {
  background: radial-gradient(ellipse at 70% 50%, rgba(180,40,40,.18) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(60,20,80,.25) 0%, transparent 55%),
              #0a0f1a;
  padding: 72px 24px 64px;
  text-align: left;
  max-width: 860px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.75);
  font-size: .8125rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
  letter-spacing: .01em;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-highlight {
  color: #e05252;
  transition: opacity .3s;
}
.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 36px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.8);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.hero-cta-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; text-decoration: none; }
.hero-cta-btn.active { background: var(--theme-color); border-color: var(--theme-color); color: #fff; }

/* hero wrapper (full-bleed dark bg) */
.site-content > .hero-banner { max-width: 100%; padding: 72px 0 64px; }
.site-content > .hero-banner > * { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.hero-banner .hero-badge,
.hero-banner .hero-title,
.hero-banner .hero-desc,
.hero-banner .hero-cta-row { display: block; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.hero-banner .hero-badge { display: inline-block; margin-left: 24px; }
@media (min-width: 1248px) {
  .hero-banner .hero-badge { margin-left: calc((100% - 1200px)/2); }
  .hero-banner .hero-title,
  .hero-banner .hero-desc,
  .hero-banner .hero-cta-row { padding-left: calc((100% - 1200px)/2); padding-right: calc((100% - 1200px)/2); }
}

/* dept context bar (breadcrumb + subtitle below hero) */
.dept-context-bar { background: #fff; border-bottom: 1px solid #e8ecef; padding: 14px 0 12px; }
.dept-subtitle { font-size: 1.1rem; font-weight: 600; color: #202124; margin-top: 6px; }
.dept-tags { margin-top: 8px; }

/* =====================================================================
   TRADES BAR (cross-trade navigation)
   ===================================================================== */
.trades-other-bar { background: #fff; border-bottom: 1px solid #e8ecef; padding: 10px 0; }
.trades-other-bar .bar-inner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.trades-other-bar .bar-label { font-size: .75rem; font-weight: 600; color: #9aa0a6; white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.trades-other-bar .bar-link {
  font-size: .8125rem; padding: 4px 12px;
  border-radius: 999px; border: 1px solid #e8ecef;
  color: #5f6368; background: #f8f9fa;
  text-decoration: none; transition: all .15s;
}
.trades-other-bar .bar-link:hover { border-color: var(--theme-color); color: var(--theme-color); background: rgba(var(--theme-rgb),.05); }

/* =====================================================================
   PAGE TITLE & CONTENT LAYOUT
   ===================================================================== */
.page-title { font-size: 1.875rem; font-weight: 800; color: #fff; margin: 16px 0 6px; }
.content-area { padding: 40px 0; }
.contact-info-box { background: #fff; border: 1px solid #e8ecef; border-radius: 10px; padding: 32px; }
.contact-info-box p { color: #5f6368; margin-bottom: 16px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: #0d1b2a; color: rgba(255,255,255,.75); }
.footer-main { padding: 56px 0 40px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo a { font-size: 1.15rem; font-weight: 700; color: #fff; text-decoration: none; }
.footer-desc { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 280px; margin-top: 12px; }
.footer-email { color: var(--theme-color) !important; font-size: .875rem; margin-top: 8px; }
.widget { margin-bottom: 32px; }
.widget-title { font-size: .875rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.widget_nav_menu ul { list-style: none; }
.widget_nav_menu ul li { margin-bottom: 8px; }
.widget_nav_menu ul li a { font-size: .875rem; color: rgba(255,255,255,.55); text-decoration: none; transition: color .15s; }
.widget_nav_menu ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom .row { align-items: center; }
.copyright { font-size: .8125rem; color: rgba(255,255,255,.4); }
.footer-links { display: flex; gap: 20px; list-style: none; justify-content: flex-end; }
.footer-links li a { font-size: .8125rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color .15s; }
.footer-links li a:hover { color: rgba(255,255,255,.8); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991px) {
  .banner-title { font-size: 2rem; }
  .footer-links { justify-content: flex-start; margin-top: 8px; }
}
@media (max-width: 767px) {
  .banner-home-v1 { padding: 52px 0 44px; }
  .banner-title { font-size: 1.625rem; }
  .banner-desc { font-size: .9375rem; }
  .job-item-2 { flex-direction: column; }
  .city-listing-grid { grid-template-columns: repeat(2, 1fr); }
  .section-popular-categories { padding: 40px 0 28px; }
  .section-title { font-size: 1.375rem; }
  .footer-main { padding: 40px 0 24px; }
}
@media (max-width: 480px) {
  .city-listing-grid { grid-template-columns: 1fr; }
  .banner-counters { flex-direction: column; gap: 4px; }
}

/* =====================================================================
   SERVICE TAGS
   ===================================================================== */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 4px;
}
.service-tag {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  line-height: 1.5;
}