/* ============================================================
   URGENCE SOS ARTISAN — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
  --red: #D62828;
  --red-dark: #A61B1B;
  --red-light: #FF3D3D;
  --blue: #003049;
  --blue-mid: #004e7c;
  --blue-light: #0077B6;
  --orange: #F77F00;
  --yellow: #FCBF49;
  --white: #FFFFFF;
  --off: #F8F9FA;
  --gray-1: #EEF0F2;
  --gray-2: #D1D5DB;
  --gray-3: #9CA3AF;
  --gray-4: #6B7280;
  --text: #111827;
  --text-light: #4B5563;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 4px 20px rgba(0,48,73,0.10);
  --shadow-lg: 0 12px 48px rgba(0,48,73,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  padding-top: 80px; /* sticky bar height */
}
h1,h2,h3,h4,h5 { font-family: 'Barlow Condensed', sans-serif; line-height: 1.1; }
a { color: var(--blue-light); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── STICKY BAR ── */
.sticky-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: var(--blue);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 3px 20px rgba(0,0,0,0.3);
}
.brand-link { display: flex; align-items: center; gap: 8px; text-decoration: none !important; }
.brand-icon { font-size: 22px; }
.brand-text { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; color: white; letter-spacing:.03em; }
.brand-text strong { color: var(--red-light); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 14px; font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,0.12); color: white; text-decoration: none; }

.dropdown { position: relative; }
.dd-trigger { cursor: pointer; }
.dd-menu {
  position: absolute; top: 100%; left: 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 6px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .2s;
  z-index: 100;
}
.dropdown:hover .dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-item {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text) !important;
  font-weight: 600;
  transition: background .15s;
}
.dd-item:hover { background: var(--gray-1); text-decoration: none !important; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  background: var(--red);
  color: white !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px; font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none !important;
  letter-spacing: .02em;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.nav-phone:hover { background: var(--red-dark); transform: scale(1.03); }

.burger {
  display: none; background: none; border: none;
  color: white; font-size: 22px; cursor: pointer;
}

/* ── URGENCY TICKER ── */
.urgency-ticker {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 9998;
  background: var(--red);
  padding: 5px 0;
  overflow: hidden;
  height: 28px;
  display: flex; align-items: center;
}
.urgency-ticker span {
  display: inline-block;
  white-space: nowrap;
  color: white; font-size: 12px; font-weight: 700;
  padding: 0 60px;
  animation: ticker 18s linear infinite;
}
.urgency-ticker span:nth-child(2) { animation-delay: 6s; }
.urgency-ticker span:nth-child(3) { animation-delay: 12s; }
@keyframes ticker {
  0% { transform: translateX(100vw); opacity:0; }
  5% { opacity:1; }
  30% { transform: translateX(0); opacity:1; }
  45% { transform: translateX(-30%); opacity:0; }
  100% { transform: translateX(-100vw); opacity:0; }
}
body { padding-top: 92px; }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section-alt { background: var(--off); }
.section-dark { background: var(--blue); color: white; }
.section-red { background: var(--red); color: white; }

.label {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 8px;
}
.section-dark .label, .section-red .label { color: var(--yellow); }

.title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px,4.5vw,48px);
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 14px;
  line-height: 1.05;
}
.section-dark .title, .section-red .title { color: white; }
.title em { color: var(--red); font-style: normal; }
.section-dark .title em { color: var(--yellow); }

.subtitle {
  font-size: 17px; color: var(--text-light);
  max-width: 680px; line-height: 1.7;
  margin-bottom: 48px;
}
.section-dark .subtitle { color: rgba(255,255,255,.75); }

/* ── BUTTONS ── */
.btn-red {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: white !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: .04em;
  padding: 14px 30px; border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(214,40,40,0.35);
  transition: transform .2s, box-shadow .2s, background .2s;
  border: none; cursor: pointer;
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(214,40,40,0.45); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: white !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: .04em;
  padding: 13px 30px; border-radius: 50px;
  border: 2.5px solid rgba(255,255,255,.6);
  text-decoration: none !important;
  transition: background .2s, border-color .2s;
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: white; }

.btn-blue {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: white !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: .04em;
  padding: 14px 30px; border-radius: 50px;
  text-decoration: none !important;
  transition: background .2s, transform .2s;
}
.btn-blue:hover { background: var(--blue-mid); transform: translateY(-2px); }

/* ── CARDS ── */
.card {
  background: white;
  border: 1.5px solid var(--gray-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-light); }

/* ── HERO SHARED ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 55%, #005a8e 100%);
  color: white; padding: 64px 0 52px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 40px,
    rgba(255,255,255,.015) 40px, rgba(255,255,255,.015) 80px
  );
}
.page-hero-inner { position: relative; z-index:1; }
.page-hero .label { color: var(--yellow); }
.page-hero .title { color: white; font-size: clamp(32px,5vw,60px); }
.page-hero .title em { color: var(--yellow); }
.page-hero .subtitle { color: rgba(255,255,255,.85); margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── PHONE DISPLAY ── */
.phone-big {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px; font-weight: 900;
  color: var(--yellow);
  text-decoration: none !important;
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: .03em;
}
.phone-big:hover { color: white; }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--gray-4); border-bottom: 1px solid var(--gray-1); }
.breadcrumb a { color: var(--blue-mid); }
.breadcrumb span { margin: 0 6px; color: var(--gray-3); }

/* ── TABLES ── */
table.prix {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
table.prix thead th {
  background: var(--blue); color: white;
  padding: 14px 20px;
  text-align: left;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
}
table.prix tbody tr:nth-child(odd) td { background: white; }
table.prix tbody tr:nth-child(even) td { background: var(--off); }
table.prix tbody tr:hover td { background: #EBF5FF; }
table.prix tbody td { padding: 12px 20px; font-size: 15px; border-bottom: 1px solid var(--gray-2); }
table.prix tbody tr:last-child td { border-bottom: none; }
.prix-val { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; color: var(--red); }
table.prix tfoot td { background: var(--gray-1); padding: 10px 20px; font-size: 13px; color: var(--gray-4); }

/* ── FAQ ── */
.faq-item { background: white; border: 1.5px solid var(--gray-2); border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 700; color: var(--blue);
  text-align: left; transition: background .15s;
}
.faq-q:hover { background: var(--off); }
.faq-q.open { background: var(--blue); color: white; }
.faq-icon { width: 26px; height: 26px; border-radius: 50%; border: 2px solid; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink:0; transition: transform .25s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-body.open { max-height: 500px; }
.faq-body-inner { padding: 18px 22px; font-size: 15px; color: var(--text-light); line-height: 1.7; border-top: 1px solid var(--gray-2); }

/* ── AVIS CARD ── */
.avis-card { background: white; border: 1.5px solid var(--gray-2); border-radius: var(--radius-lg); padding: 22px; }
.stars { color: var(--orange); letter-spacing: 2px; font-size: 16px; margin-bottom: 10px; }
.avis-text { font-size: 15px; font-style: italic; color: var(--text); line-height: 1.6; margin-bottom: 14px; }
.avis-author { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gray-4); }
.avis-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: white; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ── CONTACT FORM ── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-2); border-radius: var(--radius);
  font-family: 'Nunito', sans-serif; font-size: 15px; color: var(--text);
  background: white; transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--blue-light); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── STICKY MOBILE PHONE ── */
#sticky-phone { display: none; }
.sticky-phone-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px;
  background: var(--red); color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800; letter-spacing: .04em;
  text-decoration: none !important;
}

/* ── FOOTER ── */
.site-footer { background: #021520; color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 900; color: white; margin-bottom: 12px; }
.footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.footer-phone { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 900; color: var(--yellow) !important; text-decoration: none !important; }
.site-footer h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 800; color: white; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { display: block; color: rgba(255,255,255,.6); font-size: 13px; margin-bottom: 8px; transition: color .15s; text-decoration: none; }
.site-footer a:hover { color: white; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px; text-align: center; font-size: 12px; color: rgba(255,255,255,.4); }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 20px; }

/* ── STAT BOX ── */
.stat-box { text-align: center; padding: 28px 20px; }
.stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 54px; font-weight: 900; color: var(--red); line-height: 1; }
.stat-unit { font-size: 22px; }
.stat-label { font-size: 14px; color: var(--text-light); margin-top: 4px; }
.section-dark .stat-label { color: rgba(255,255,255,.7); }
.section-dark .stat-num { color: var(--yellow); }

/* ── PROCESS STEP ── */
.step { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px dashed var(--gray-2); }
.step:last-child { border-bottom: none; }
.step-num { width: 52px; height: 52px; flex-shrink:0; background: var(--red); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family:'Barlow Condensed',sans-serif; font-size:22px; font-weight:900; }
.step-body h3 { font-size: 20px; color: var(--blue); margin-bottom: 6px; }
.step-body p { font-size: 15px; color: var(--text-light); }

/* ── DEPT MAP CARD ── */
.dept-card {
  background: white; border: 2px solid var(--gray-2); border-radius: var(--radius-lg);
  padding: 24px; text-decoration: none !important; display: block;
  transition: all .2s;
}
.dept-card:hover { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-3px); text-decoration: none !important; }
.dept-num { font-family: 'Barlow Condensed', sans-serif; font-size: 48px; font-weight: 900; color: var(--red); line-height: 1; }
.dept-name { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 800; color: var(--blue); }
.dept-city { font-size: 13px; color: var(--gray-4); margin-top: 4px; margin-bottom: 12px; }
.dept-badge { display: inline-block; background: var(--off); color: var(--text-light); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 50px; }

/* ── TAG ── */
.tag { display: inline-block; background: var(--gray-1); color: var(--text-light); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; margin: 3px; }
.tag-red { background: #FEE2E2; color: var(--red-dark); }
.tag-blue { background: #DBEAFE; color: var(--blue); }
.tag-green { background: #D1FAE5; color: #065F46; }

/* ── ALERT BOX ── */
.alert-urgent { background: #FEF2F2; border: 2px solid var(--red); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.alert-urgent strong { color: var(--red); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--blue); padding: 12px 0; z-index:9997; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; border-radius: 0; }
  .dropdown { width: 100%; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(0,0,0,.2); border-radius: 0; }
  .burger { display: block; }
  .nav-phone { font-size: 14px; padding: 6px 12px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  #sticky-phone { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998; }
  .section { padding: 52px 0; }
  body { padding-bottom: 56px; }
}
