/* ============================================================
   Déclic-e média — Page Télémaintenance
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.tm-hero {
    padding: 7rem 0 3.5rem;
    position: relative;
    background: linear-gradient(135deg, #0f2a5a 0%, #1b4a8a 80%);
    border-bottom: 1px solid var(--bordure);
    isolation: isolate;
}
.tm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/helpdesk2.png') center/cover no-repeat;
    opacity: .40;
    z-index: -1;
}
.tm-hero .sec-title,
.tm-hero .sec-subtitle { color: #fff; }
.tm-hero .sec-title em { color: #f0a070; font-style: normal; }

.tm-breadcrumb {
    display: flex; align-items: center; gap: .5rem;
    font-size: .82rem; color: rgba(255,255,255,.65);
    margin-bottom: 1.5rem;
}
.tm-breadcrumb a { color: rgba(255,255,255,.65); }
.tm-breadcrumb a:hover { color: #fff; }
.tm-breadcrumb span[aria-hidden] { color: rgba(255,255,255,.3); }

.tm-hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    margin-top: 1.5rem;
    padding: .5rem 1rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    color: rgba(255,255,255,.85);
    font-size: .82rem;
}

/* ── Section principale ───────────────────────────────────── */
.tm-section { background: var(--gris-clair); }

.tm-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ── Étapes ───────────────────────────────────────────────── */
.tm-steps {
    list-style: none;
    padding: 0; margin: 0 0 3rem;
    display: flex; flex-direction: column; gap: 1.25rem;
    counter-reset: steps;
}

.tm-step {
    display: flex;
    gap: 1.5rem;
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(27,74,138,.07);
    align-items: flex-start;
}

.tm-step-num {
    flex-shrink: 0;
    width: 2.5rem; height: 2.5rem;
    background: var(--bleu-primaire, #1b4a8a);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    margin-top: .1rem;
}

.tm-step-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--texte-principal, #111827);
    margin: 0 0 .5rem;
}
.tm-step-body p {
    margin: 0;
    color: var(--texte-secondaire, #4b5563);
    line-height: 1.65;
}
.tm-step-body a {
    color: var(--bleu-primaire, #1b4a8a);
    font-weight: 600;
}

.tm-dl-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    margin-top: 1rem;
    font-size: .9rem;
}

/* ── CTA principal ────────────────────────────────────────── */
.tm-cta-box {
    background: var(--bleu-primaire, #1b4a8a);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.tm-cta-text h2 {
    color: #fff;
    font-size: 1.4rem;
    margin: 0 0 .4rem;
}
.tm-cta-text p {
    color: rgba(255,255,255,.78);
    margin: 0;
}
.tm-start-btn {
    display: inline-flex; align-items: center; gap: .6rem;
    white-space: nowrap;
    flex-shrink: 0;
    background: #fff !important;
    color: var(--bleu-primaire, #1b4a8a) !important;
}
.tm-start-btn:hover {
    background: #f0f4ff !important;
}

/* ── Facturation ──────────────────────────────────────────── */
.tm-facturation {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(245,158,11,.08);
}
.tm-facturation-icon {
    flex-shrink: 0;
    color: #d97706;
    margin-top: .1rem;
}
.tm-facturation h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 .5rem;
}
.tm-facturation p {
    margin: 0 0 .5rem;
    color: var(--texte-secondaire, #4b5563);
    line-height: 1.65;
    font-size: .92rem;
}
.tm-facturation p:last-child { margin-bottom: 0; }
.tm-facturation a {
    color: var(--bleu-primaire, #1b4a8a);
    font-weight: 600;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.tm-faq { margin-bottom: 1rem; }

.tm-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.tm-faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(27,74,138,.07);
}
.tm-faq-item h3 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--bleu-primaire, #1b4a8a);
    margin: 0 0 .6rem;
}
.tm-faq-item p {
    margin: 0;
    font-size: .88rem;
    color: var(--texte-secondaire, #4b5563);
    line-height: 1.65;
}

/* ── CTA Contact ──────────────────────────────────────────── */
.tm-contact-cta {
    background: var(--gris-clair);
    border-top: 1px solid var(--bordure);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
    .tm-step { flex-direction: column; gap: 1rem; }
    .tm-cta-box { flex-direction: column; text-align: center; }
    .tm-cta-box .tm-start-btn { width: 100%; justify-content: center; }
    .tm-facturation { flex-direction: column; gap: 1rem; }
}
