/* ============================================================
   artisan.css — Grizee vertical Artisans & BTP
   Hero, pain points, métiers, workflow — styles spécifiques
   ============================================================ */

/* ── Hero Artisan ────────────────────────────────────────── */
.artisan-hero {
  padding: 120px 0 80px;
  background: var(--bg);
  overflow: hidden;
}

.artisan-hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.artisan-hero__badge { margin-bottom: 24px; }

.artisan-hero__h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
}

.artisan-hero__sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 36px;
}

.artisan-hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.artisan-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}
/* Le hero artisan est sur fond CLAIR, alors que .trust-item (css/home.css) est
   colore pour le hero sombre de l'accueil : rgba(245,245,247,.5), soit du blanc
   sur blanc, donc quatre badges totalement invisibles. Couleur reprise ici. */
.artisan-hero__trust .trust-item { color: var(--muted); }
.artisan-hero__trust .trust-item svg { color: var(--brand-dark); }


/* ── Devis card preview (hero visuel) ───────────────────── */
.devis-card {
  background: var(--white);
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.devis-card__header {
  background: var(--dark);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.devis-card__logo {
  font-weight: 800;
  font-size: 13px;
  color: var(--brand);
  letter-spacing: .08em;
}

.devis-card__status {
  background: rgba(245,184,0,.2);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(245,184,0,.3);
}

.devis-card__body { padding: 20px; }

.devis-card__ref {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 5px;
}

.devis-card__client {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.devis-card__line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.devis-card__line:last-of-type { border-bottom: none; }

.devis-card__line-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.devis-card__line-detail {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.devis-card__line-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.devis-card__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 13px 16px;
  background: var(--brand-light);
  border-radius: var(--r-sm);
  border: 1px solid rgba(245,184,0,.25);
}
.devis-card__total-lbl {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}
.devis-card__total-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
}

.devis-card__footer {
  padding: 14px 20px;
  border-top: 1.5px solid var(--border);
  display: flex;
  gap: 10px;
}

.devis-card__btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--r-xs);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.devis-card__btn--primary { background: var(--brand); color: var(--dark); }
.devis-card__btn--outline { background: none; border: 1.5px solid var(--border); color: var(--text); }

.devis-card__time {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  padding: 8px 20px 14px;
  font-weight: 600;
}

/* ── Pain points ─────────────────────────────────────────── */
.pain-section {
  padding: 80px 0;
  background: var(--white);
}

.pain-section__header { margin-bottom: 48px; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  background: #FFF8F8;
  border: 1.5px solid #FFE4E4;
  border-radius: var(--r);
  padding: 28px 24px;
}

.pain-card__icon {
  width: 42px; height: 42px;
  background: #FFEDED;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: #E53E3E;
}

.pain-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.pain-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.pain-card__solution {
  font-size: 13px;
  font-weight: 600;
  color: #276749;
  background: #F0FFF4;
  border: 1px solid #C6F6D5;
  border-radius: var(--r-xs);
  padding: 9px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}
.pain-card__solution svg { flex-shrink: 0; margin-top: 2px; }

/* ── Métiers ─────────────────────────────────────────────── */
.metiers-section {
  padding: 64px 0;
  background: var(--bg);
}

.metiers-section__header { margin-bottom: 32px; }

.metiers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metier-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition:
    border-color 200ms var(--ease-out),
    color        200ms var(--ease-out),
    transform    160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .metier-tag:hover {
    border-color: var(--brand);
    color: var(--brand-dark);
    transform: translateY(-2px);
  }
}

.metier-tag__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* ── Artisan features (padding override) ────────────────── */
.artisan-features { padding: 80px 0; background: var(--white); }

/* ── Workflow ────────────────────────────────────────────── */
.workflow-section { padding: 80px 0; background: var(--bg); }

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.workflow-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1.5px;
  background: var(--brand);
  opacity: .2;
}

.workflow-step { text-align: center; }

.workflow-step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--brand-light), var(--shadow-sm);
}

.workflow-step__icon {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  background: var(--brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.workflow-step__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.workflow-step__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .artisan-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .artisan-hero__visual { max-width: 480px; }
}

@media (max-width: 768px) {
  .artisan-hero { padding: 100px 0 60px; }
  .pain-grid { grid-template-columns: 1fr; }
  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .workflow-steps::before { display: none; }
}

@media (max-width: 480px) {
  .artisan-hero__ctas { flex-direction: column; }
  .workflow-steps { grid-template-columns: 1fr; }
}
