/* ===== FICHE SERVICE ===== */

/* ----- Hero ----- */
.fiche-hero {
    position: relative;
    background: #1E3A5F;
    padding: 50px 20px 90px 20px;
    overflow: visible;
}
.fiche-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30,58,95,0.65);
    z-index: 0;
}
.fiche-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}
.fiche-hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.fiche-hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,.8);
    max-width: 650px;
    margin-bottom: 24px;
    line-height: 1.7;
}
.fiche-hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}
.fiche-hero-shape svg {
    display: block;
    width: 100%;
    height: 130px;
}
.fiche-categorie-badge {
    display: inline-block;
    background: #2E86AB;
    color: #fff;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 12px;
    margin-bottom: 14px;
    text-decoration: none;
    transition: background .2s;
}
.fiche-categorie-badge:hover {
    background: #1A9CD8;
    color: #fff;
}

/* ----- Infobar ----- */

.fiche-infobar {
    background: transparent;
    position: relative;
	top: 25px;
    z-index: 10;
    padding: 0 24px;
    margin-top: -30px;
}
.fiche-infobar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    max-width: 1250px;
    margin: 0 auto;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(30,58,95,0.25);
}

.infobar-bloc {
    padding: 24px 28px;
    border-right: 1px solid #e2e8f0;
}
.infobar-bloc:last-child {
    border-right: none;
}
.infobar-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2E86AB;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.infobar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.infobar-list li {
    font-size: 0.87rem;
    color: #444;
    padding: 3px 0 3px 18px;
    position: relative;
    line-height: 1.5;
}
.infobar-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2E86AB;
    font-weight: 700;
    font-size: 0.8rem;
}
.infobar-text {
    font-size: 0.9rem;
    color: #444;
    margin: 0;
    line-height: 1.6;
}
.infobar-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 28px;
    background: #f4f7fa;
    min-width: 210px;
}
.infobar-prix {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1E3A5F;
    text-align: center;
}
.infobar-cta .btn-primary {
    width: 100%;
    text-align: center;
    padding: 11px 16px;
    font-size: 0.88rem;
    margin-bottom: 0;
}
.infobar-cta .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
}

/* ----- Body layout ----- */
.fiche-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px;
    align-items: start;
}
 
/* ----- Sidebar nav ----- */
.fiche-nav {
    position: sticky;
    top: 200px;
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 30px;
	margin-left: -100px;
}
.fiche-nav-title {
    background: #1E3A5F;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 12px 16px;
}
.fiche-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #eef1f4;
    transition: all .18s;
}
.fiche-nav-item i { color: #2E86AB; width: 14px; font-size: 13px; }
.fiche-nav-item:hover { background: #f4f7fa; color: #1E3A5F; }
.fiche-nav-item.active {
    background: #f0f8ff;
    color: #1E3A5F;
    font-weight: 600;
    border-left: 3px solid #2E86AB;
}
.fiche-nav-item:last-child { border-bottom: none; }
.fiche-nav-sub {
    background: #f0f8ff;
    border-left: 3px solid #2E86AB;
    padding: 4px 0;
}
.fiche-nav-sub-item {
    display: block;
    padding: 8px 16px 8px 24px;
    font-size: 12px;
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #eef1f4;
    transition: all .18s;
}
.fiche-nav-sub-item:hover { background: #e0f0ff; color: #1E3A5F; }
.fiche-nav-sub-item.current {
    color: #1A9CD8;
    font-weight: 600;
    background: #e0f0ff;
}

/* ----- Main content ----- */
.fiche-main { min-width: 0; }

/* ----- Contenu enrichi ----- */
.fiche-contenu-enrichi {
    margin-bottom: 40px;
}
.fiche-contenu-enrichi h2 {
    font-size: 1.45rem;
    color: #1E3A5F;
    font-weight: 700;
    margin: 36px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}
.fiche-contenu-enrichi h2:first-child {
    margin-top: 0;
}
.fiche-contenu-enrichi p {
    font-size: 0.96rem;
    color: #444;
    line-height: 1.85;
    margin-bottom: 14px;
}

/* ----- FAQ ----- */
.fiche-faq {
    background: #f4f7fa;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 40px;
}
.fiche-faq h2 {
    font-size: 1.2rem;
    color: #1E3A5F;
    font-weight: 700;
    margin: 0 0 24px;
}
.faq-item {
    border-left: 3px solid #2E86AB;
    padding: 14px 16px 14px 18px;
    margin-bottom: 14px;
    border-radius: 0 8px 8px 0;
    background: #fff;
    cursor: default;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s, box-shadow 0.2s;
}
.faq-item:last-child { margin-bottom: 0; }
.faq-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.faq-item:hover {
    background: #e8f4ff;
    transform: scale(1.015) translateX(0);
    box-shadow: 0 4px 16px rgba(30,58,95,0.08);
}
.faq-item.is-visible:hover {
    transform: scale(1.015);
}
.faq-question {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1E3A5F;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 8px;
}
.faq-reponse {
    font-size: 0.93rem;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

/* ----- Services liés ----- */
.fiche-services-lies { margin-bottom: 0; }
.fiche-services-lies h3 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #2E86AB;
    margin-bottom: 16px;
    padding-bottom: 6px;
    border-bottom: 2px solid #2E86AB;
}
.services-lies-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}
.service-lie-card {
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 10px;
    padding: 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all .2s;
}
.service-lie-card:hover {
    border-color: #2E86AB;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(30,58,95,.08);
}
.slc-cat { font-size: 10px; color: #2E86AB; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.slc-title { font-size: 14px; font-weight: 600; color: #1E3A5F; }
.slc-desc { font-size: 12px; color: #666; line-height: 1.5; flex: 1; }
.slc-arrow { font-size: 14px; color: #2E86AB; text-align: right; }

/* ----- Boutons ----- */
.btn-primary {
    display: block;
    background: linear-gradient(135deg, #0072ba, #0a2068);
    color: #fff;
    text-align: center;
    padding: 13px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background .2s;
}
.btn-primary:hover { color: #fff; }
.btn-secondary {
    display: block;
    border: 2px solid #1E3A5F;
    color: #1E3A5F;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s;
}
.btn-secondary:hover { background: #1E3A5F; color: #fff; }

/* ----- CTA final ----- */
.fiche-cta-clouds {
    background: #f4f7fa;
    line-height: 0;
    display: block;
    margin-bottom: -1px;
}
.fiche-cta-clouds svg {
    display: block;
    width: 100%;
    height: 40px;
}
.fiche-cta-final {
    background: #fff;
    padding: 60px 20px;
    text-align: center;
}
.fiche-cta-final-inner {
    max-width: 680px;
    margin: 0 auto;
}
.cta-final-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(30,58,95,0.15);
    color: rgba(30,58,95,0.9);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.fiche-cta-final h2 { color: #1E3A5F; font-size: 28px; margin-bottom: 10px; }
.fiche-cta-final p { color: #666; font-size: 16px; margin-bottom: 24px; }
.cta-final-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0072ba, #0a2068);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
	color: #fff;
}
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #1E3A5F;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid rgba(30,58,95,0.5);
    text-decoration: none;
    transition: border-color .2s, background .2s;
}
.btn-cta-secondary:hover {
    border-color: #fff;
    background: #1E3A5F; 
	color: #fff;
}
.cta-final-reassurance {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-final-reassurance span {
    color: rgba(30,58,95,0.7);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .fiche-infobar-inner {
        grid-template-columns: 1fr 1fr;
    }
    .infobar-cta {
        grid-column: 1 / -1;
        border-top: 1px solid #e2e8f0;
        border-right: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .infobar-cta .btn-primary,
    .infobar-cta .btn-secondary {
        width: auto;
    }
    .fiche-body {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    .fiche-nav {
        position: static;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 24px;
    }
    .fiche-nav-sub { display: none; }
    .fiche-nav-item.active + .fiche-nav-sub { display: block; }
    .services-lies-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .infobar-cta {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .infobar-prix {
        width: 100%;
        text-align: center;
    }
    .fiche-infobar-inner { grid-template-columns: 1fr; }
    .infobar-bloc {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .fiche-hero h1 { font-size: 24px; }
    .fiche-hero-desc { font-size: 15px; }
    .fiche-cta-final h2 { font-size: 1.5rem; }
    .cta-final-actions { flex-direction: column; align-items: center; }
}