/* ==================================================================
   1. BANDEAU SUPÉRIEUR & HEADER PRINCIPAL (top-a & top-b)
   ================================================================== */

/* --- Bandeau supérieur LeSollectif (top-a) en pleine largeur --- */
.sollectif-top-banner,
#t4-topbar,
.topbar-section {
    background-color: #1e293b !important;
    color: #cbd5e1;
    padding: 7px 15px !important;
    font-size: 0.875rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.sollectif-top-banner .container,
#t4-topbar .container,
.topbar-section .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.sollectif-top-banner p {
    margin: 0;
    line-height: 1.4;
}

.sollectif-top-banner a {
    color: #d97706;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 6px;
    transition: color 0.2s ease;
}

.sollectif-top-banner a:hover {
    color: #f59e0b;
}

/* --- Header Blanc Conteneur Principal (top-b & Sticky) --- */
#t4-logo-et-telephone,
.t4-header,
.header-main-wrap,
.t4-sticky,
.t4-sticky.affix {
    background-color: #ffffff !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 1000 !important;
}

/* Force le conteneur et les rangées Bootstrap du Header sur une seule ligne continue */
.t4-header .container,
.t4-header .row,
.header-main-wrap .container,
.header-main-wrap .row,
#t4-logo-et-telephone .container,
#t4-logo-et-telephone .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    background-color: #ffffff !important;
}

/* Annulation de la largeur 100% imposée par Bootstrap aux colonnes [col-*] sur mobile */
.t4-header [class*="col-"],
.header-main-wrap [class*="col-"],
#t4-logo-et-telephone [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Dimensionnement, intégration du fond transparent & centrage du Logo MPA */
.navbar-brand,
.logo-control,
.logo-image,
.t4-header .logo,
#t4-logo-et-telephone .logo {
    background-color: transparent !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
}

.logo-control img,
.logo-image img,
.t4-header .logo img,
#t4-logo-et-telephone .logo img {
    max-height: 50px;
    width: auto !important;
}

/* Bloc Groupe Contact Droite */
.header-contact-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 28px;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
}

/* Numéro de téléphone stylisé sur fond blanc */
.header-phone {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    color: #0f172a !important;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.header-phone .phone-icon {
    stroke: #d97706;
}

.header-phone:hover {
    color: #d97706 !important;
}

/* Bouton CTA En-tête */
.btn-strategic {
    background-color: #d97706;
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none !important;
    display: inline-block;
    white-space: nowrap !important;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(217, 119, 6, 0.2);
}

.btn-strategic:hover {
    background-color: #b45309;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(180, 83, 9, 0.3);
}

/* Responsive Mobile / Tablette pour le Header */
@media (max-width: 768px) {
    .sollectif-top-banner {
        font-size: 0.8rem;
        padding: 6px 10px !important;
    }

    #t4-logo-et-telephone,
    .t4-header,
    .header-main-wrap {
        padding: 6px 10px !important;
    }

    .logo-control img,
    .logo-image img,
    .t4-header .logo img,
    #t4-logo-et-telephone .logo img {
        max-height: 36px !important;
    }

    .header-contact-wrapper {
        gap: 8px !important;
    }

    .header-phone {
        font-size: 0.78rem !important;
        gap: 4px !important;
    }

    .header-phone svg,
    .header-phone .phone-icon {
        width: 13px !important;
        height: 13px !important;
    }

    .btn-strategic {
        padding: 5px 10px !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 380px) {
    .logo-control img,
    .logo-image img,
    .t4-header .logo img,
    #t4-logo-et-telephone .logo img {
        max-height: 28px !important;
    }

    .header-contact-wrapper {
        gap: 6px !important;
    }

    .header-phone {
        font-size: 0.72rem !important;
    }

    .btn-strategic {
        padding: 4px 8px !important;
    }
}

/* ==================================================================
   2. HERO SECTION (Compatibilité Module JA ACM & mpa-hero-dark)
   ================================================================== */
.mpa-hero-dark,
.ja-acm-hero, 
[id="t4-conseil-en-stratégie-&-support-opérationnel"],
div[id*="conseil-en-strat"],
div[class*="hero"],
#t4-hero-1,
.t4-section-hero {
    background-color: #1e293b !important;
    color: #ffffff !important;
    padding-top: 50px !important;
    padding-bottom: 25px !important;
    margin: 0 !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1 !important;
}

.mpa-hero-dark .hero-content,
.hero-content {
    padding-bottom: 0 !important;
}

.mpa-hero-dark h1,
.mpa-hero-dark .hero-heading,
[id="t4-conseil-en-stratégie-&-support-opérationnel"] h1,
div[id*="conseil-en-strat"] h1,
.ja-acm-hero h1, 
div[class*="hero"] h1,
.hero-title {
    color: #ffffff !important;
    font-size: 3.2rem !important;
    font-weight: 700 !important;
    margin: 0 auto 18px auto !important;
    max-width: 950px !important;
    line-height: 1.25 !important;
}

.mpa-hero-dark p,
.mpa-hero-dark .hero-intro,
.ja-acm-hero .lead, 
.ja-acm-hero p, 
div[class*="hero"] p {
    color: #cbd5e1 !important;
    font-size: 1.3rem !important;
    max-width: 880px !important;
    margin: 0 auto 22px auto !important;
    line-height: 1.55 !important;
}

.hero-btn-actions,
div[class*="hero-btn-actions"] {
    padding: 8px 0 0 0 !important;
    margin: 0 !important;
}

/* Bouton CTA Hero */
.btn-hero-action,
.mpa-hero-dark .btn,
.mpa-hero-dark a.btn,
.mpa-hero-dark a[class*="btn"],
[id="t4-conseil-en-stratégie-&-support-opérationnel"] .btn,
div[class*="hero"] .btn-hero-action {
    display: inline-block !important;
    background-color: #d97706 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 13px 30px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    margin-bottom: 0 !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
}

.btn-hero-action:hover,
.mpa-hero-dark .btn:hover,
.mpa-hero-dark a[class*="btn"]:hover {
    background-color: #b45309 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

@media (max-width: 768px) {
    .mpa-hero-dark,
    [id="t4-conseil-en-stratégie-&-support-opérationnel"],
    div[class*="hero"] {
        padding: 35px 15px 20px 15px !important;
    }

    .mpa-hero-dark h1,
    [id="t4-conseil-en-stratégie-&-support-opérationnel"] h1,
    div[class*="hero"] h1 {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }

    .mpa-hero-dark p,
    [id="t4-conseil-en-stratégie-&-support-opérationnel"] p,
    div[class*="hero"] p {
        font-size: 1.05rem !important;
        margin-bottom: 18px !important;
    }

    .btn-hero-action,
    .mpa-hero-dark .btn {
        padding: 11px 22px !important;
        font-size: 1rem !important;
    }
}

/* ==================================================================
   3. BLOC DOULEURS (Superposition & Intégration Flux)
   ================================================================== */
[id="t4-douleurs"],
[id="t4-douleurs"] .t4-section-inner,
[id="t4-douleurs"] .container {
    overflow: visible !important;
}

[id="t4-douleurs"],
.pain-points-section {
    padding: 0 0 45px 0 !important;
    background-color: #f8fafc !important;
    position: relative !important;
    z-index: 2 !important;
}

[id="t4-douleurs"] .container,
.pain-points-section .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
}

.pain-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
    max-width: 1020px !important;
    margin: -60px auto 30px auto !important;
    position: relative !important;
    z-index: 100 !important;
    width: 100% !important;
}

.pain-card {
    background-color: #ffffff !important;
    border-left: 4px solid #d97706 !important;
    border-top: 1px solid #f1f5f9 !important;
    border-right: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 22px 24px !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 95px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.pain-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.12) !important;
}

.pain-card p {
    margin: 0 !important;
    font-style: normal !important;
    color: #1e293b !important;
    font-weight: 500 !important;
    font-size: 1.08rem !important;
    line-height: 1.5 !important;
    position: relative !important;
    z-index: 2 !important;
}

.pain-card::after {
    content: "”" !important;
    position: absolute !important;
    right: 12px !important;
    bottom: -15px !important;
    font-size: 3.8rem !important;
    font-family: Georgia, serif !important;
    color: rgba(217, 119, 6, 0.12) !important;
    line-height: 1 !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.pain-synthesis {
    max-width: 880px !important;
    margin: 0 auto !important;
    background-color: #ffffff !important;
    padding: 30px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

.pain-synthesis p {
    color: #334155 !important;
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    margin-bottom: 15px !important;
}

.pain-synthesis p:last-child {
    margin-bottom: 0 !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

@media (max-width: 768px) {
    [id="t4-douleurs"],
    .pain-points-section {
        padding: 15px 0 35px 0 !important;
    }
    .pain-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-top: 0 !important;
    }
    .pain-card {
        min-height: auto !important;
        padding: 18px 16px !important;
    }
    .pain-card p {
        font-size: 0.98rem !important;
        font-weight: 500 !important;
    }
}

/* ==================================================================
   4. BANDEAU DÉFILANT (Version Inaltérable Joomla & Haute Lisibilité)
   ================================================================== */
#t4-bandeau-mission {
    background-color: #1e293b !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

#t4-bandeau-mission .t4-section-inner,
#t4-bandeau-mission .container {
    max-width: 1140px !important;
    width: 100% !important;
    padding: 0 15px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
}

#t4-bandeau-mission .custom {
    width: 100% !important;
    overflow: hidden !important;
}

.mission-ticker {
    background-color: transparent !important;
    padding: 22px 0 !important;
    overflow: hidden !important;
    width: 100% !important;
    display: block;
}

.ticker-track {
    display: flex !important;
    width: max-content !important;
    will-change: transform;
    animation: marquee-smooth 22s linear infinite !important;
}

.ticker-group {
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ticker-group li {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    padding-right: 50px !important;
    color: #ffffff !important;
    text-transform: uppercase;
    display: inline-flex !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
}

.ticker-group li::after {
    content: "•";
    margin-left: 50px;
    color: #d97706;
    font-size: 1.5rem;
}

.mission-ticker:hover .ticker-track {
    animation-play-state: paused !important;
}

@keyframes marquee-smooth {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 768px) {
    .mission-ticker {
        padding: 16px 0 !important;
    }
    .ticker-group li {
        font-size: 1.05rem !important;
        padding-right: 30px !important;
    }
    .ticker-group li::after {
        margin-left: 30px;
    }
}

/* ==================================================================
   5. COMMENT NOUS AVANÇONS ENSEMBLE
   ================================================================== */
.method-section {
    padding: 90px 0;
    background-color: #f8fafc;
}

.method-section .section-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 55px auto;
}

.method-section .section-header h2 {
    color: #0f172a;
    font-size: 2.45rem !important;
    font-weight: 700;
    margin-bottom: 18px;
}

.method-section .section-lead {
    color: #475569;
    font-size: 1.15rem !important;
    line-height: 1.65;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.step-badge {
    display: block;
    color: #d97706;
    font-size: 0.95rem !important;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.step-card h3 {
    color: #0f172a;
    font-size: 1.45rem !important;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.35;
}

.step-card p {
    color: #64748b;
    font-size: 1.10rem !important;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 768px) {
    .method-section {
        padding: 60px 0;
    }
    .method-section .section-header h2 {
        font-size: 1.85rem !important;
    }
    .method-section .section-lead {
        font-size: 1.05rem !important;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================================
   6. 3 AXES D'INTERVENTION
   ================================================================== */
.axes-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.axes-main-title,
.axes-section h2 {
    text-align: center !important;
    color: #0f172a !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

.axes-subtitle,
.subtitle-axes,
.axes-section .section-lead,
.axes-section > .container > p:first-of-type,
.axes-section .container > p.lead {
    text-align: center !important;
    color: #0f172a !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    max-width: 850px !important;
    margin: 0 auto 45px auto !important;
    display: block !important;
}

.axes-grid,
.axes-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    margin-top: 30px !important;
}

.axe-column,
.axes-section .col-md-4,
.axes-section [class*="col-"] {
    flex: 1 1 calc(33.333% - 20px) !important;
    min-width: 260px !important;
    text-align: left !important;
}

.axe-column h3,
.axes-section .col-md-4 h3,
.axes-grid h3 {
    color: #0f172a !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
}

.axe-column p,
.axes-section .col-md-4 p,
.axes-grid p {
    color: #64748b !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .axes-grid,
    .axes-section .row {
        flex-direction: column !important;
        gap: 25px !important;
    }
    .axe-column,
    .axes-section [class*="col-"] {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}

/* ==================================================================
   7. COORDINATION
   ================================================================== */
.orchestra-section {
    padding: 80px 0;
    background-color: #f8fafc;
    text-align: center;
}

.orchestra-title {
    color: #0f172a;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.orchestra-body {
    max-width: 850px;
    margin: 0 auto;
}

.orchestra-lead {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.orchestra-text {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .orchestra-section {
        padding: 50px 15px;
    }
    .orchestra-title {
        font-size: 1.8rem;
    }
}

/* ==================================================================
   8. EXEMPLES D'ACCOMPAGNEMENTS RÉCENTS
   ================================================================== */
.cases-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.cases-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.cases-section .section-header h2 {
    color: #0f172a;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cases-section .section-lead {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.case-card {
    background-color: #ffffff;
    border: none;
    border-left: 5px solid #0f172a;
    border-radius: 12px;
    padding: 40px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.case-category {
    display: block;
    color: #d97706;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.case-card h3 {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.35;
}

.case-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
    .case-card {
        padding: 30px 20px;
    }
}

/* ==================================================================
   9. À PROPOS
   ================================================================== */
.about-section {
    padding: 80px 0;
    background-color: #0b1329;
    color: #f8fafc;
}

.about-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.about-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.about-lead {
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.6;
}

.about-sublead {
    color: #cbd5e1;
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.about-list li {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-list li strong {
    color: #ffffff;
    font-weight: 700;
}

.about-quote-box {
    background-color: #162038;
    border-left: 4px solid #d97706;
    padding: 25px 30px;
    border-radius: 4px;
    margin-bottom: 35px;
}

.about-quote-box p {
    color: #e2e8f0;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.about-quote-box em {
    font-style: italic;
}

.about-objective {
    color: #d97706;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .about-section {
        padding: 50px 20px;
    }
    .about-quote-box {
        padding: 20px 15px;
    }
}

/* ==================================================================
   10. FAQ
   ================================================================== */
.faq-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.faq-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.faq-section .section-header h2 {
    color: #0f172a;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-section .section-lead {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-card {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 35px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.faq-card h3 {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.faq-card p {
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 50px 15px;
    }
    .faq-card {
        padding: 25px 20px;
    }
}

/* ==================================================================
   11. GUIDE DE RESSOURCE & AUTO-DIAGNOSTIC TPE
   ================================================================== */
.resource-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.resource-section .section-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px auto;
}

.resource-badge {
    display: inline-block;
    background-color: #1e293b;
    color: #f8fafc;
    font-size: 0.9rem !important;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.resource-section .section-header h2 {
    color: #0f172a !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 18px !important;
    line-height: 1.25 !important;
}

.resource-section .section-lead {
    color: #475569 !important;
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
}

.resource-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.resource-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.resource-card h3 {
    color: #0f172a !important;
    font-size: 1.55rem !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    line-height: 1.35 !important;
}

.resource-axis {
    margin-bottom: 22px;
}

.resource-axis:last-child {
    margin-bottom: 0;
}

.resource-axis h4 {
    color: #0f172a !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.resource-axis p {
    color: #475569 !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    margin: 0;
}

.card-action {
    background-color: #f8fafc;
    justify-content: space-between;
}

.card-action p {
    color: #475569 !important;
    font-size: 1.15rem !important;
    line-height: 1.65 !important;
    margin-bottom: 30px !important;
}

.resource-cta-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.btn-primary-action {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #d97706;
    color: #ffffff !important;
    font-size: 1.08rem !important;
    font-weight: 700;
    padding: 15px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-primary-action:hover {
    background-color: #b45309;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-secondary-action {
    display: inline-block;
    color: #0f172a !important;
    font-weight: 600;
    font-size: 1.05rem !important;
    text-decoration: none;
    padding: 9px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #ffffff;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-secondary-action:hover {
    border-color: #0f172a;
    color: #0f172a !important;
}

@media (max-width: 768px) {
    .resource-section {
        padding: 50px 15px;
    }
    .resource-section .section-header h2 {
        font-size: 1.85rem !important;
    }
    .resource-section .section-lead {
        font-size: 1.05rem !important;
    }
    .resource-card h3 {
        font-size: 1.35rem !important;
    }
    .resource-axis h4 {
        font-size: 1.1rem !important;
    }
    .resource-axis p,
    .card-action p {
        font-size: 1rem !important;
    }
    .resource-grid {
        grid-template-columns: 1fr;
    }
    .resource-card {
        padding: 30px 20px;
    }
}

/* ==================================================================
   12. FORMULAIRE DE CONTACT & SIDEBAR
   ================================================================== */
div.contact-form-wrap,
#contact-form-container,
#contact-form {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    box-sizing: border-box !important;
}

.contact .card,
.contact .card-body,
.contact .well,
.com-contact .card,
.com-contact .card-body {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.contact-title,
.contact legend,
.com-contact legend {
    display: none !important;
}

.contact-form .form-control, 
.contact-form input[type="text"], 
.contact-form input[type="email"], 
.contact-form input[type="tel"], 
.contact-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-size: 1.05rem !important;
    padding: 13px 16px !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.contact-form textarea#jform_contact_message {
    height: 165px !important;
    min-height: 165px !important;
    resize: none !important;
}

.contact-form .form-control:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #d97706 !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
    outline: none !important;
}

.contact-form label,
.com-contact label {
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    margin-bottom: 6px !important;
    display: block !important;
}

#jform_consentbox-lbl, 
.control-label[for="jform_consentbox"],
#jform_consentbox-desc,
.contact-form .contact-title {
    display: none !important;
}

.contact-form fieldset#default {
    margin-bottom: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.contact-form button[type="submit"] {
    background-color: #d97706 !important;
    border: none !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    padding: 15px 36px !important;
    letter-spacing: 1px !important;
    font-size: 1.05rem !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

.contact-form button[type="submit"]:hover {
    background-color: #b45309 !important;
    transform: translateY(-2px) !important;
}

.contact-sidebar-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    height: 100%;
    box-sizing: border-box;
}

.contact-sidebar-card h3 {
    color: #0f172a;
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.contact-sidebar-card .sidebar-lead {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info-item .info-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #d97706;
}

.contact-info-item .info-value {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-sidebar-card .btn-calendar {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #d97706;
    color: #ffffff;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.contact-sidebar-card .btn-calendar:hover {
    background-color: #b45309;
    color: #ffffff;
    transform: translateY(-1px);
}

.sidebar-reassurance p {
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

.sidebar-reassurance strong {
    color: #0f172a;
}

@media (max-width: 992px) {
    .contact, 
    .com-contact,
    .contact-sidebar-card {
        padding: 25px 20px;
    }
}

/* ==================================================================
   13. FOOTER
   ================================================================== */
#t4-footer,
.t4-footer,
.site-footer-inner {
    background-color: #0f172a !important;
    color: #94a3b8 !important;
    padding: 50px 0 30px 0 !important;
    border-top: 1px solid #1e293b !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3,
.footer-title {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    letter-spacing: 0.02em !important;
}

.footer-desc,
.footer-ecosystem {
    color: #cbd5e1 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}

.footer-ecosystem a {
    color: #d97706 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    transition: color 0.2s ease !important;
}

.footer-ecosystem a:hover {
    color: #f59e0b !important;
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 10px !important;
}

.footer-links a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: color 0.2s ease !important;
}

.footer-links a:hover {
    color: #d97706 !important;
    text-decoration: underline !important;
}

.footer-bottom-info {
    margin-top: 25px !important;
    padding-top: 20px !important;
    border-top: 1px solid #1e293b !important;
}

.footer-bottom-info p {
    color: #64748b !important;
    font-size: 0.85rem !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* ==================================================================
   FORCE OVERRIDE T4 BUILDER : BANDEAU & HERO / DOULEURS
   ================================================================== */

/* 1. Remontée forcée de la section Douleurs */
html body #t4-douleurs,
html body .pain-points-section {
    position: relative !important;
    z-index: 100 !important;
    margin-top: -65px !important;
    padding-top: 0 !important;
    background-color: transparent !important;
}

html body #t4-douleurs .container,
html body .pain-points-section .container {
    position: relative !important;
    z-index: 101 !important;
}

html body .pain-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
    max-width: 1020px !important;
    margin: 0 auto 30px auto !important;
    position: relative !important;
    z-index: 102 !important;
}

/* 2. Réglage de la hauteur du Hero pour créer le champ d'accueil */
html body #t4-hero-1,
html body .t4-section-hero,
html body .mpa-hero-dark,
html body [id*="conseil-en-strat"] {
    padding-bottom: 90px !important;
    position: relative !important;
    z-index: 1 !important;
}

/* 3. Bandeau supérieur (top-a) */
html body #t4-topbar,
html body .topbar-section,
html body .sollectif-top-banner {
    display: block !important;
    background-color: #1e293b !important;
    position: relative !important;
    z-index: 1000 !important;
}

/* 4. Correctif Mobile */
@media (max-width: 768px) {
    html body #t4-douleurs,
    html body .pain-points-section {
        margin-top: 0 !important;
    }
    html body #t4-hero-1,
    html body .t4-section-hero,
    html body .mpa-hero-dark,
    html body [id*="conseil-en-strat"] {
        padding-bottom: 35px !important;
    }
}

/* ==================================================================
   STICKY HEADER FIX (PC & MOBILE)
   ================================================================== */

/* Forcer le conteneur du logo/header à rester fixé en haut */
html body #t4-header,
html body .t4-header,
html body [id*="logo-et-telephone"],
html body .t4-section-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important; /* Passe au-dessus de toutes les autres sections */
    background-color: #ffffff !important; /* Évite la transparence au défilement */
    transition: all 0.3s ease !important;
}

/* Sécuriser l'affichage sur mobile */
@media (max-width: 768px) {
    html body #t4-header,
    html body .t4-header,
    html body [id*="logo-et-telephone"],
    html body .t4-section-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
    }
}