.font-disconnected {
    margin-top: -35px;
    display: block;
}
.nav-link-help-li {
    display: none !important;
}

/* ===================================================================
   PAGES PUBLIQUES — fond blanc, vert en accents
   Override des règles globales de main.css pour les pages marketing
   =================================================================== */

/* Annule margin-right:9vw et text-align:center pour les pages public */
main.main-public {
    text-align: left !important;
}
main.main-public > * {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
}
main.main-public h1,
main.main-public h2,
main.main-public h3 {
    text-align: left !important;
}
/* Rétablit box-sizing:border-box pour Bootstrap (main.css utilise box-sizing:revert) */
main.main-public *,
main.main-public *::before,
main.main-public *::after {
    box-sizing: border-box !important;
}

/* --- Wrapper interne (padding latéral uniforme) --- */
.pub-wrap {
    padding-left: 5%;
    padding-right: 5%;
}

/* --- Hero --- */
.pub-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
    padding: 70px 5% 60px;
    color: #212121;
    margin-bottom: 0;
}
.pub-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.pub-hero .pub-sub {
    font-size: 1.1rem;
    color: #474a5a;
    margin-bottom: 1.75rem;
    line-height: 1.75;
}

/* --- Sections alternées fond blanc / fond gris clair --- */
.pub-section {
    padding: 45px 5%;
    background: #ffffff;
}
.pub-section-grey {
    padding: 45px 5%;
    background: #f7f7f7;
}
.pub-section-green {
    padding: 45px 5%;
    background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
    color: #212121;
}
.pub-section-green h2 {
    color: #212121;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.pub-section-green p {
    color: #474a5a;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

/* --- Titre de section --- */
.pub-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 0.5rem;
}
.pub-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

/* --- Image --- */
.pub-img {
    width: 100%;
    border-radius: 0.75rem;
    object-fit: cover;
}

/* --- Bouton primaire --- */
.pub-btn,
a.pub-btn,
a.pub-btn:link,
a.pub-btn:visited {
    display: inline-block !important;
    background: linear-gradient(135deg, #062316 0%, #00a872 55%, #01fb94 100%) !important;
    color: white !important;
    border: none;
    padding: 10px 30px;
    border-radius: 40px;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
    -webkit-appearance: none;
}
.pub-btn:hover,
a.pub-btn:hover { opacity: 0.85; color: white !important; }

/* Bouton sombre */
.pub-btn-dark,
a.pub-btn-dark,
a.pub-btn-dark:link,
a.pub-btn-dark:visited {
    display: inline-block !important;
    background: #212121 !important;
    color: white !important;
    border: none;
    padding: 10px 30px;
    border-radius: 40px;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
    -webkit-appearance: none;
}
.pub-btn-dark:hover,
a.pub-btn-dark:hover { opacity: 0.8; color: white !important; }

/* Bouton secondaire noir */
.pub-btn-outline,
a.pub-btn-outline,
a.pub-btn-outline:link,
a.pub-btn-outline:visited {
    display: inline-block !important;
    background: #212121 !important;
    color: white !important;
    border: none;
    padding: 10px 30px;
    border-radius: 40px;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
    -webkit-appearance: none;
}
.pub-btn-outline:hover,
a.pub-btn-outline:hover { opacity: 0.8; color: white !important; }

/* --- Carte générique (extension Bootstrap .card) --- */
.pub-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    overflow: hidden;
}
.pub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,209,147,0.18);
}
.pub-card .card-img-top {
    height: 180px;
    object-fit: cover;
}
.pub-card .card-body {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
}
.pub-card .card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #00d193;
    margin-bottom: 0.4rem;
}
.pub-card .card-text {
    font-size: 0.88rem;
    color: #474a5a;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 0.75rem;
}

/* --- Carte PRIX (accueil) --- */
.pub-price-card {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pub-price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,209,147,0.2);
}
.pub-price-header {
    background: linear-gradient(135deg, #062316 0%, #00a872 55%, #01fb94 100%);
    color: white;
    text-align: center;
    padding: 28px 20px 22px;
}
.pub-price-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
    text-align: center !important;
}
.pub-price-amount {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}
.pub-price-sub {
    font-size: 0.8rem;
    opacity: 0.9;
}
.pub-price-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.pub-price-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    flex-grow: 1;
}
.pub-price-body ul li {
    font-size: 0.88rem;
    color: #474a5a;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}
.pub-price-body ul li::before {
    content: '✓ ';
    color: #00d193;
    font-weight: 700;
}
.pub-price-col {
    display: flex;
    flex-direction: column;
}
.pub-price-col .pub-price-card {
    flex: 1;
}
@media (max-width: 575.98px) {
    .pub-price-col {
        margin-block-end: auto;
    }
}

/* --- Tag métier --- */
.metier-tag {
    display: inline-block;
    background: linear-gradient(135deg, #062316 0%, #00a872 55%, #01fb94 100%);
    color: white;
    font-size: 0.73rem;
    padding: 3px 11px;
    border-radius: 20px;
    margin-top: 6px;
    font-weight: 500;
}

/* --- FAQ Accordion --- */
.faq-item {
    border: none;
    border-radius: 0.75rem !important;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    overflow: hidden;
}
.faq-button {
    font-size: 0.97rem;
    font-weight: 600;
    color: #212121;
    background-color: #f8f9fa;
    border: none;
    padding: 16px 22px;
}
.faq-button:not(.collapsed) {
    background: linear-gradient(135deg, #062316 0%, #00a872 55%, #01fb94 100%);
    color: white;
    box-shadow: none;
}
.faq-button:focus {
    box-shadow: 0 0 0 3px rgba(0,209,147,0.25);
}
.faq-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}
.faq-body {
    font-size: 0.93rem;
    color: #474a5a;
    background: white;
    padding: 22px 26px;
    line-height: 1.8;
}
.faq-body-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.faq-body-img {
    width: 180px;
    height: 125px;
    object-fit: cover;
    border-radius: 0.6rem;
    flex-shrink: 0;
}
.faq-body ul, .faq-body ol { padding-left: 18px; margin-top: 6px; }
.faq-body li { margin-bottom: 4px; }
.faq-body p { margin-bottom: 8px; }
.faq-body p:last-child { margin-bottom: 0; }

/* --- Indicateur de page active dans la navigation --- */
@media screen and (min-width: 1024px) {
    .line-menu.nav-active::after {
        position: static;
        display: block;
        width: 100%;
        height: 2px;
        background: #00d193;
        content: ' ';
        margin-block-start: 13px;
    }
    .line-menu-2.nav-active::after {
        position: static;
        display: block;
        width: 100%;
        height: 2px;
        background: #00d193;
        content: ' ';
        margin-block-start: 2px;
    }
}
/* Mobile : fond léger sur l'onglet actif */
@media screen and (max-width: 1023px) {
    .line-menu.nav-active,
    .line-menu-2.nav-active {
        background: rgba(0, 209, 147, 0.06);
    }
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .pub-hero { padding: 50px 5% 45px; }
    .pub-hero h1 { font-size: 1.8rem; }
    .pub-section, .pub-section-grey, .pub-section-green { padding: 45px 5%; }
}
@media (max-width: 767px) {
    .pub-hero { padding: 38px 5% 35px; }
    .pub-hero h1 { font-size: 1.5rem; }
    .faq-body-img { width: 100%; height: 160px; }
    .pub-price-amount { font-size: 2rem; }
}
