/* =========================================================
   INDUSTRY DETAIL PAGE  —  assets/css/industries.css
   (reprend le système visuel de solutions.css : cartes, listes,
   couleurs — voir sol-card / sol-square-icon / highlight)
========================================================= */

:root {
    --breadcrumb-bg : #EDF2F5;
    --blue-mkba     : #005FAC;
    --blue-light    : #E6F0FA;
    --orange-mkba   : #ED6A18;
    --dark-mkba     : #111827;
    --muted-mkba    : #6b7280;
    --grey-bg       : #F3F4F6;
    --purple-ref    : #6A1FE0;
}

/* =========================================================
   HERO — PHOTO PLEINE LARGEUR
========================================================= */

.ind-hero {
    position: relative;
    height: 340px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ind-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,40,90,0.55) 0%, rgba(0,40,90,0.75) 100%);
}

.ind-hero-content {
    position: relative;
    z-index: 1;
}

.ind-hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    color: #ffffff;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    max-width: 620px;
}

/* =========================================================
   INTRO — TITRE + TEXTE
========================================================= */

.ind-intro {
    background: #ffffff;
    padding: 44px 0 8px;
}

.ind-intro-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-mkba);
    margin-bottom: 20px;
    line-height: 1.4;
}

.ind-intro-title .highlight {
    background: rgba(237,106,24,0.35);
    padding: 0 4px;
    border-radius: 3px;
}

.ind-intro-text {
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.85;
}

/* =========================================================
   TITRES DE SECTION
========================================================= */

.ind-section {
    background: #ffffff;
    padding: 40px 0 8px;
}

.ind-section-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark-mkba);
    margin-bottom: 26px;
}

/* =========================================================
   CARTES (services / produits liés) — reprend sol-card
========================================================= */

.ind-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ind-card {
    border: 1px solid #e5e7eb;
    border-radius: 0px;
    padding: 24px 24px 26px;
    background: #ffffff;
    transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.ind-card:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,0.09);
    transform: translateY(-3px);
}

.ind-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--dark-mkba);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.45;
    margin-bottom: 8px;
}

.ind-card-divider {
    width: 90px;
    height: 3px;
    background: var(--blue-mkba);
    border-radius: 2px;
    margin-bottom: 16px;
}

.ind-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ind-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.55;
}

.ind-check-icon {
    color: #16a34a;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* =========================================================
   RÉFÉRENCES LIÉES À CETTE INDUSTRIE
========================================================= */

.ind-references {
    background: #ffffff;
    padding: 40px 0 60px;
}

.ind-ref-card {
    border: 1px solid #e5e7eb;
    border-radius: 0px;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 24px;
    transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.ind-ref-card:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,0.09);
    transform: translateY(-3px);
}

.ind-ref-image {
    position: relative;
    height: 150px;
    background: var(--purple-ref);
}

.ind-ref-flag {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 30px;
    height: 20px;
    border-radius: 0px;
    border: #ffffff 3px solid;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.ind-ref-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ind-ref-body {
    padding: 16px 18px 18px;
    background: #FAFAFA;
}

.ind-ref-text {
    font-size: 0.85rem;
    color: var(--dark-mkba);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ind-ref-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ind-ref-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--blue-mkba);
    border-radius: 0px;
    padding: 7px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blue-mkba);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.ind-ref-link:hover {
    background: var(--blue-mkba);
    color: #ffffff;
}

.ind-ref-badge {
    flex-shrink: 0;
    height: 30px;
    width: auto;
}

.ind-ref-badge img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
    .ind-hero {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .ind-hero {
        height: 260px;
    }
    .ind-hero-title {
        font-size: 1.5rem;
    }
    .ind-intro-title {
        font-size: 1.25rem;
    }
    .ind-card {
        padding: 20px 18px 22px;
    }
}
