/* =========================================================
   PROXIMUS NETWORK - HOMEPAGE
   Base CSS pour la page d'accueil
   Bootstrap 5 + Font Awesome Free
========================================================= */

/* =========================
   Variables
========================= */
:root {
    --primary: #5b56f7;
    --primary-dark: #2d364b;
    --secondary: #af8b55;
    --light: #f7f8fc;
    --text: #1f2430;
    --muted: #677286;
    --white: #ffffff;
    --border: rgba(31, 36, 48, 0.08);
    --shadow: 0 20px 60px rgba(31, 36, 48, 0.08);
    --radius: 22px;
}

/* =========================
   Base
========================= */
body {
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.navbar-brand {
    letter-spacing: -0.02em;
}

.section-space {
    padding: 5rem 0;
}

.soft-section {
    background: var(--light);
}

.muted {
    color: var(--muted);
}

/* =========================
   Boutons
========================= */
.btn-main {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    padding: 0.9rem 1.4rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-main:hover,
.btn-main:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-main {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 0.9rem 1.4rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-main:hover,
.btn-outline-main:focus {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
}

/* Variante claire utile dans les CTA foncés */
.btn-light-custom {
    background: #fff;
    color: var(--primary-dark);
    border: 1px solid #fff;
    padding: 0.9rem 1.4rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-light-custom:hover,
.btn-light-custom:focus {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

/* =========================
   Header / navigation
========================= */
.site-header,
.header-site {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--border);
}

.navbar-brand strong {
    color: var(--primary-dark);
}

.site-header .nav-link,
.header-site .nav-link,
.menu-principal a {
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-header .nav-link:hover,
.header-site .nav-link:hover,
.menu-principal a:hover {
    color: var(--primary);
}

/* =========================
   Hero
========================= */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(91, 86, 247, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(175, 139, 85, 0.18), transparent 28%),
        linear-gradient(135deg, #242d42 0%, #34405c 55%, #5b56f7 100%);
    color: #fff;
    padding: 7rem 0 5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    line-height: 1.03;
    font-weight: 700;
    margin-bottom: 1.25rem;
    max-width: 12ch;
}

.hero p.lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    max-width: 42rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.1rem;
}

.hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.hero-card {
    background: #fff;
    color: var(--text);
    border-radius: 26px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-card-image,
.placeholder-image {
    min-height: 260px;
    background:
        linear-gradient(135deg, rgba(91, 86, 247, 0.55), rgba(45, 54, 75, 0.65)),
        url('../images/faux-visuel.jpg') center/cover;
    position: relative;
}

.hero-card-image::after,
.placeholder-image::after {
    content: "Image d'ambiance à remplacer";
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.88);
    color: var(--primary-dark);
    font-weight: 600;
}

.hero-card-body {
    padding: 1.5rem;
}

/* =========================
   Titres / intro de sections
========================= */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}

.section-intro {
    color: var(--muted);
    max-width: 46rem;
}

/* =========================
   Cards génériques
========================= */
.info-card,
.member-card,
.testimonial-card,
.cta-panel,
.step-card,
.result-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(31, 36, 48, 0.04);
    height: 100%;
}

.info-card,
.step-card,
.result-card,
.testimonial-card,
.cta-panel {
    padding: 1.6rem;
}

.icon-wrap {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(91, 86, 247, 0.1);
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* =========================
   Étapes
========================= */
.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-dark);
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* =========================
   Membres
========================= */
.member-card {
    overflow: hidden;
}

.member-photo {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.member-card .card-body,
.member-card-body {
    padding: 1.4rem;
}

.member-role {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Si tu fais un slider Joomla */
.members-slider .member-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.members-slider .member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(31, 36, 48, 0.08);
}

/* =========================
   Résultats
========================= */
.result-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

/* =========================
   Témoignages
========================= */
.testimonial-card blockquote {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-dark);
}

/* =========================
   CTA principal
========================= */
.cta-band {
    background: linear-gradient(135deg, #2d364b 0%, #5b56f7 100%);
    color: #fff;
    border-radius: 28px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: auto -60px -60px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.cta-band .eyebrow {
    color: #fff;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.82);
}

/* =========================
   FAQ
========================= */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.faq-item:last-child {
    border-bottom: 0;
}

/* =========================
   Footer
========================= */
.footer,
.site-footer {
    background: #171c27;
    color: rgba(255, 255, 255, 0.8);
}

.footer {
    padding: 3rem 0 2rem;
}

.site-footer a,
.footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.site-footer a:hover,
.footer a:hover {
    color: #fff;
}

/* =========================
   CTA sticky mobile
========================= */
.sticky-mobile-cta {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1030;
    display: none;
}

/* =========================
   Offcanvas menu
========================= */
.offcanvas-fullscreen {
    width: 100vw !important;
    max-width: 100%;
}

.offcanvas-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.offcanvas-nav a:hover {
    color: var(--primary);
}

/* =========================
   Responsive
========================= */
@media (max-width: 991.98px) {
    .hero {
        padding-top: 5.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .section-space {
        padding: 4.5rem 0;
    }
}

@media (max-width: 767.98px) {
    .section-space {
        padding: 4rem 0;
    }

    .sticky-mobile-cta {
        display: block;
    }

    body {
        padding-bottom: 5.5rem;
    }

    .hero h1 {
        max-width: none;
    }

    .hero-card-image,
    .placeholder-image {
        min-height: 220px;
    }

    .cta-band {
        padding: 2rem 1.4rem;
    }
}