/* ============================================================
   Webcomimmo — expertises.css
   Page "Nos expertises" : domaines de conseil + méthode.
   ============================================================ */

.wc-exp-hero { background: var(--wc-marine); color: #fff; padding-block: clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.wc-exp-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 85% -20%, rgba(0,122,140,.35), transparent 60%); }
.wc-exp-hero__inner { position: relative; z-index: 2; max-width: 720px; }
.wc-exp-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin: .6rem 0 1rem; }
.wc-exp-hero p { color: rgba(255,255,255,.8); font-size: var(--wc-fs-lg); max-width: 60ch; }

/* Domaines d'expertise */
.wc-exp-section { padding-block: clamp(48px, 7vw, 88px); }
.wc-exp-section__head { max-width: 640px; margin-bottom: 2.6rem; }
.wc-exp-section__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: .5rem 0 .7rem; }
.wc-exp-section__head p { color: var(--wc-muted); font-size: var(--wc-fs-lg); }

.wc-exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.wc-exp-card { background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-radius); padding: 1.8rem; transition: .2s; }
.wc-exp-card:hover { transform: translateY(-4px); box-shadow: var(--wc-shadow); border-color: transparent; }
.wc-exp-card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--wc-paper-2); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.1rem; color: var(--wc-teal); }
.wc-exp-card h3 { font-size: 1.3rem; margin-bottom: .6rem; color: var(--wc-marine); }
.wc-exp-card p { color: var(--wc-muted); font-size: .92rem; line-height: 1.6; margin: 0; }
.wc-exp-card__tag { display: inline-block; margin-top: 1rem; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--wc-teal); }

/* Méthode d'accompagnement (étapes) */
.wc-method { background: var(--wc-paper-2); }
.wc-method-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.wc-method-step { position: relative; padding-top: 3.2rem; }
.wc-method-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--wc-marine); color: #fff;
  display: grid; place-items: center;
  font-family: var(--wc-font-display); font-size: 1.4rem;
}
.wc-method-step:not(:last-child)::after {
  content: ""; position: absolute; top: 24px; left: 48px; right: -1rem; height: 2px;
  background: linear-gradient(90deg, var(--wc-teal), transparent);
}
.wc-method-step h3 { font-size: 1.1rem; margin: 0 0 .5rem; color: var(--wc-marine); }
.wc-method-step p { font-size: .85rem; color: var(--wc-muted); line-height: 1.55; margin: 0; }

/* Bandeau CTA conseil */
.wc-exp-cta { background: linear-gradient(120deg, var(--wc-teal), var(--wc-marine)); color: #fff; border-radius: 22px; padding: clamp(2rem, 4vw, 3rem); text-align: center; box-shadow: var(--wc-shadow); }
.wc-exp-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .7rem; }
.wc-exp-cta p { color: rgba(255,255,255,.82); max-width: 52ch; margin: 0 auto 1.6rem; }
.wc-exp-cta .wc-btn { background: #fff; color: var(--wc-marine); }
.wc-exp-cta .wc-btn:hover { transform: translateY(-2px); }

@media (max-width: 900px) {
  .wc-exp-grid { grid-template-columns: repeat(2, 1fr); }
  .wc-method-steps { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .wc-method-step::after { display: none; }
}
@media (max-width: 560px) {
  .wc-exp-grid { grid-template-columns: 1fr; }
  .wc-method-steps { grid-template-columns: 1fr; }
}
