/* Weback 2026 — compléments au thème d'origine (style.css).
   Même palette : --bs-primary #005FD6, --bs-secondary #6610f2. */

:root {
    --wb-primary: #005FD6;
    --wb-primary-dark: #0037AF;
    --wb-violet: #6610f2;
    --wb-soft: rgba(102, 16, 242, 0.05);
    --wb-radius: 16px;
}

body { overflow-x: hidden; color: #636363; }   /* #757575 d'origine : contraste insuffisant sur fond clair */
.accordion-button:not(.collapsed) { color: #b02e5a; }
.hero-header .rotate-img img { width: 58px; height: auto; }

.wb-skip { position: absolute; left: 1rem; top: 1rem; z-index: 10000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }

.text-white-75 { color: rgba(255, 255, 255, .85); }

/* Texte courant plus lisible */
.wb-prose { font-size: 1.1rem; line-height: 1.75; }
.wb-prose p:last-child { margin-bottom: 0; }
.wb-prose ul { padding-left: 1.2rem; }
.wb-prose li { margin-bottom: .4rem; }

/* Navigation : bouton d'appel à l'action */
.navbar .wb-nav-cta { color: #fff !important; white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-light .navbar-nav .nav-link { margin-right: 16px; font-size: 15px; }
}
/* Menu mobile : fond opaque une fois déplié (pages intérieures) */
@media (max-width: 991.98px) {
    nav.navbar.bg-transparent { z-index: 1000; }
    nav.navbar .navbar-collapse {
        background: #fff;
        margin: 15px -1.5rem 0;
        padding: .5rem 1.5rem 1.25rem;
        border-top: 1px solid #eee;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 16px 32px rgba(0, 0, 0, .10);
    }
    nav.navbar .navbar-nav .nav-link { border-bottom: 1px solid #f2f2f2; }
    nav.navbar .dropdown-menu { box-shadow: none; padding-left: .75rem; }
    nav.navbar .wb-nav-cta { margin-top: 1rem !important; align-self: flex-start; }
}

/* Menus déroulants : ouverts au clic sous 1200 px (tablettes, mobiles) */
@media (max-width: 1199.98px) {
    .navbar .dropdown-menu { border: 0; background: var(--bs-light); }
}

/* Hero de l'accueil */
.hero-header .wb-hero-sub { font-size: 1.25rem; }
.wb-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.75rem; font-size: .95rem; color: #555; }
.wb-trust i { color: var(--wb-primary); margin-right: .35rem; }

/* Bloc à icône (pages À propos / services) — responsive */
.wb-block { display: flex; gap: 2rem; align-items: flex-start; }
.wb-block-icon { flex: 0 0 90px; }
.wb-block-icon .icon-bloc i { font-size: 50px; }
.wb-block-body { flex: 1; min-width: 0; }
@media (max-width: 767.98px) {
    .wb-block { flex-direction: column; gap: .5rem; }
    .wb-block-icon .icon-bloc i { font-size: 40px; }
}

/* Liste stylée d'origine : garder le texte à la ligne proprement */
.list-style-custom .list-group-item { align-items: flex-start; }
.list-style-custom .list-group-item::before { margin-top: .2rem; }
.list-style-custom .list-group-item strong { color: var(--bs-dark); margin-right: .25rem; }

/* Cartes */
.service .service-item { position: relative; background: #fff; box-shadow: 0 6px 30px rgba(0, 0, 0, .06); }
.wb-badge { position: absolute; top: 14px; right: 14px; font-size: .75rem; font-weight: 600; background: var(--wb-soft); color: var(--wb-violet); padding: .2rem .7rem; border-radius: 50px; }

/* Problème (cadre PAS) */
.wb-pain { background: #fff; border-radius: var(--wb-radius); padding: 1.75rem; border-left: 4px solid #f74780; box-shadow: 0 6px 24px rgba(0, 0, 0, .05); }
.wb-pain i { color: #f74780; }

/* Étapes */
.wb-steps { margin: 0; }
.wb-step { position: relative; background: #fff; border-radius: var(--wb-radius); padding: 2.25rem 1.5rem 1.5rem; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.wb-step-num { position: absolute; top: -18px; left: 1.5rem; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(45deg, var(--wb-primary), var(--wb-violet)); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Chiffres clés */
.wb-figure { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--wb-primary); line-height: 1.1; }

/* Appel à l'action final */
.wb-cta { background: linear-gradient(45deg, var(--wb-primary), var(--wb-violet)); border-radius: 24px; padding: 3.5rem 1.5rem; }

/* Encadré preuve */
.wb-proof { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--wb-soft); border-radius: var(--wb-radius); padding: 1.75rem; margin: 1rem 0; }

/* Carte produit (page Solutions / accueil) */
.wb-product { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: 0 10px 40px rgba(0, 0, 0, .07); height: 100%; display: flex; flex-direction: column; transition: transform .3s; }
.wb-product:hover { transform: translateY(-6px); }
.wb-product .wb-tag { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--wb-primary); background: rgba(0, 95, 214, .08); padding: .25rem .8rem; border-radius: 50px; margin-bottom: 1rem; }
.wb-product ul { padding-left: 1.1rem; margin-bottom: 1.5rem; }
.wb-product .wb-product-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem; }

/* Tableau comparatif */
.wb-table { background: #fff; border-radius: var(--wb-radius); overflow: hidden; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.wb-table th { background: var(--wb-primary); color: #fff; }
.wb-table td, .wb-table th { padding: 1rem; vertical-align: top; }

/* Contact */
.wb-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.contact .form-floating > textarea.form-control { height: 160px; }

/* Encart chercheur */
.wb-person { display: flex; gap: 1.5rem; align-items: center; background: #fff; border-radius: var(--wb-radius); padding: 1.5rem; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.wb-person img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; }

/* Footer : libellés longs sur plusieurs lignes, sans effet d'espacement au survol */
.footer .footer-item a.wb-footer-long { line-height: 1.5; margin-bottom: .6rem; }
.footer .footer-item a.wb-footer-long:hover { letter-spacing: normal; }

/* Maillage interne */
.wb-related { display: flex; flex-direction: column; gap: .35rem; background: #fff; border-radius: var(--wb-radius); padding: 1.5rem; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); color: var(--bs-dark); border: 1px solid transparent; transition: transform .3s, border-color .3s; }
.wb-related:hover { transform: translateY(-4px); border-color: rgba(0, 95, 214, .25); color: var(--bs-dark); }
.wb-related-kicker { font-size: .8rem; font-weight: 600; color: var(--wb-violet); text-transform: uppercase; letter-spacing: .04em; }
.wb-related-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--wb-primary); }
.wb-related-desc { font-size: .95rem; }

/* Blog */
.wb-article-card { background: #fff; border-radius: var(--wb-radius); overflow: hidden; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.wb-article-img { display: block; background: var(--wb-soft); }
.wb-article-img img { aspect-ratio: 16 / 9; object-fit: contain; padding: 1rem; }
.wb-article { max-width: 780px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; }
.wb-article h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; }
.wb-article h3 { font-size: 1.3rem; margin: 2rem 0 .75rem; }
.wb-article ul, .wb-article ol { padding-left: 1.3rem; margin-bottom: 1.25rem; }
.wb-article li { margin-bottom: .4rem; }
.wb-article .wb-note { background: var(--wb-soft); border-left: 4px solid var(--wb-violet); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.wb-article .wb-toc { background: #fff; border: 1px solid #eee; border-radius: var(--wb-radius); padding: 1.25rem 1.5rem; margin-bottom: 2rem; font-size: 1rem; }
.wb-article .wb-toc ol { margin-bottom: 0; }
.wb-article .table { font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
    .RotateMoveLeft, .RotateMoveRight, .bg-breadcrumb::before, .bg-breadcrumb::after, .breadcrumb-animation li { animation: none !important; }
    .wow { visibility: visible !important; animation: none !important; }
}
