﻿/* =========================================================
   INDEX.HTML — CSS CLEAN (uniquement ce qui est utilisé)
   Dépend de Bootstrap 5.3 + Bootstrap Icons
   ========================================================= */

/* Variables */
:root {
    --brand: #0B0F14;
    --brand-2: #111827;
    --accent: #DC2626;
    --accent-2: #991B1B;
    --ink: #0B0F14;
    --muted: #6B7280;
    --radius: 14px;
    --soft: #f5f6f8;
}
.text-muted {
    color: rgb(0, 0, 0) !important;
}
/* Base */
body {
    color: var(--ink);
    letter-spacing: .1px;
}

.page-bg {
    background: #fff;
}

/* Fix anti-chevauchement (hero + sections) */
header.hero,
.section {
    position: relative;
    overflow: hidden;
}

header.hero {
    z-index: 1;
}

.section {
    z-index: 2;
    padding: 4rem 0;
}

/* Sections */
.section-white {
    background: #fff;
}

.section-soft {
    background: var(--soft);
    border-top: 1px solid rgba(15,23,42,.06);
}

/* Topbar */
.topbar {
    background: var(--brand);
    color: rgba(255,255,255,.85);
}

.topbar-link {
    color: rgba(255,255,255,.85);
    text-decoration: none;
}

    .topbar-link:hover {
        color: #fff;
        text-decoration: underline;
    }

/* Navbar */
.navbar {
    border-bottom: 1px solid rgba(15,23,42,.08);
}

    .navbar .nav-link {
        font-weight: 600;
    }

        .navbar .nav-link:hover {
            color: var(--accent) !important;
        }

.brand-logo {
    height: 34px;
    width: auto;
}

.brand-text {
    font-weight: 800;
    letter-spacing: .2px;
}

/* Buttons */
.btn-brand {
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-bg: #be123c;
    --bs-btn-hover-border-color: #be123c;
    --bs-btn-color: #fff;
}

/* Hero dark */
.hero-dark {
    background: radial-gradient(1200px 600px at 15% 20%, rgba(225,29,72,.25), transparent 55%), radial-gradient(900px 500px at 85% 30%, rgba(0,0,0,.55), transparent 55%), linear-gradient(180deg, #05070A, var(--brand));
    padding-bottom: 0;
}

.hero-badge {
    background: rgba(225,29,72,.15);
    color: #fff;
    border: 1px solid rgba(225,29,72,.35);
}

.text-accent {
    color: var(--accent);
}

/* Courbe uniquement sur le hero */
.hero-sep {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 80px;
    pointer-events: none;
    z-index: 2;
}

    .hero-sep svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    .hero-sep path {
        fill: #fff;
    }

/* Hero card */
.hero-card {
    border-radius: var(--radius);
    position: relative;
    z-index: 3;
}

    .hero-card.dark {
        background: rgba(15,15,20,.85);
        border: 1px solid rgba(255,255,255,.12);
        box-shadow: 0 25px 60px rgba(0,0,0,.6);
        backdrop-filter: blur(6px);
    }

/* Icon badge dark (emoji 🔥 dans ton HTML) */
.icon-badge.dark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(225,29,72,.18);
    border: 1px solid rgba(225,29,72,.35);
}

/* Pills dark */
.pill.dark {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    border-radius: 999px;
    padding: .35rem .6rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .9rem;
}

/* Mini stats */
.mini-stat {
    border-radius: var(--radius);
    padding: .9rem 1rem;
}

.mini-stat__kpi {
    font-weight: 900;
    font-size: 1.25rem;
}

.mini-stat__label {
    font-size: .9rem;
}

.mini-stat.dark {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
}

    .mini-stat.dark .mini-stat__kpi {
        color: #fff;
    }

    .mini-stat.dark .mini-stat__label {
        color: rgba(255,255,255,.75);
    }

/* Cards services */
.card-service {
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .card-service:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
        border-color: rgba(177, 18, 23, 0.35);
    }

    .card-service .icon-bubble {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        background: rgba(177, 18, 23, 0.08);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #b11217;
        font-size: 1.5rem;
        transition: transform .25s ease, background .25s ease;
    }

    .card-service:hover .icon-bubble {
        transform: translateY(-2px);
        background: rgba(177, 18, 23, 0.12);
    }


.icon-bubble {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(220,38,38,.10);
    border: 1px solid rgba(220,38,38,.20);
    font-size: 1.2rem;
}

/* Feature list */
.feature {
    display: flex;
    gap: .9rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 26px rgba(2,6,23,.06);
}

    .feature i {
        font-size: 1.25rem;
        color: var(--accent);
        margin-top: .1rem;
    }

/* Panel + stats */
.panel {
    background: #fff;
    border: 1px solid rgba(15,23,42,.10);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.stat {
    background: rgba(17,24,39,.03);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 14px;
    padding: .9rem 1rem;
}

.stat-number {
    font-weight: 900;
    font-size: 1.4rem;
}

.stat-label {
    color: var(--muted);
    font-size: .9rem;
}

/* CTA (panel + classe cta) */
.cta {
    background: radial-gradient(900px 400px at 20% 20%, rgba(225,29,72,.16), transparent 55%), linear-gradient(135deg, rgba(11,15,20,.06), rgba(225,29,72,.06));
    border: 1px solid rgba(15,23,42,.10);
    border-radius: var(--radius);
}

/* Footer */
.footer {
    background: var(--brand) !important;
}

.footer-logo {
    height: 34px;
    width: auto;
}

.footer-link {
    color: rgba(255,255,255,.78);
    text-decoration: none;
}

    .footer-link:hover {
        color: #fff;
        text-decoration: underline;
    }


/* =========================
   Article pages (scoped)
   ========================= */
.article-page .page-header.article-hero {
    min-height: 560px; /* cohérent avec tes hero */
    display: flex;
    align-items: flex-start; /* contenu en haut */
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

/* Cover image card */
.article-page .article-cover {
    border-radius: 1.25rem;
    overflow: hidden;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    min-height: 220px;
}

    .article-page .article-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.article-page .article-cover-fallback {
    display: grid;
    place-items: center;
}

.article-page .article-cover-fallback-text {
    display: none;
    padding: 2.5rem 1.5rem;
    color: rgba(255,255,255,.9);
}

.article-page .article-cover-fallback .article-cover-fallback-text {
    display: block;
}

/* Content typography */
.article-page .article-content {
    /*max-width: 880px;*/
    margin-inline: auto;
}

    .article-page .article-content p {
        line-height: 1.75;
        margin-bottom: 1.1rem;
    }

    .article-page .article-content h2 {
        margin-top: 2.5rem;
    }
/* =========================================
   Section : Votre besoin
   ========================================= */

.section-needs {
    position: relative;
}

.need-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 2rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: all 0.25s ease;
}

    .need-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
        border-color: rgba(177, 18, 23, 0.35);
    }

.need-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(177, 18, 23, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b11217;
    font-size: 1.5rem;
}

.need-card h3 {
    margin-top: 0.5rem;
}

/* =========================================
   Pourquoi choisir l’IS – hover features
   ========================================= */

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    border: 1px solid transparent;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

    .feature i {
        font-size: 1.4rem;
        color: #b11217;
        transition: transform .25s ease;
    }

    .feature:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
        border-color: rgba(177, 18, 23, 0.25);
        background: #ffffff;
    }

        .feature:hover i {
            transform: translateY(-2px);
        }


.stat {
    padding: 1rem;
    border-radius: 14px;
    background: #f8fafc;
    transition: background .25s ease, transform .25s ease;
}

    .stat:hover {
        background: rgba(177, 18, 23, 0.06);
        transform: translateY(-2px);
    }


.navbar .nav-link {
    white-space: nowrap;
}