/**
 * Mamou — charte : noir, bordeaux, blanc
 * Pas de dégradés ni d’ombres portées.
 */
:root {
    --mamou-noir: #0d0d0d;
    --mamou-bordeaux: #c91417;
    --mamou-bordeaux-hover: #a81114;
    --mamou-blanc: #ffffff;
    --mamou-gris-fond: #f4f4f4;
    --mamou-gris-bordure: #e2e2e2;
    --mamou-gris-texte: #3d3d3d;
    --mamou-gris-detail: #5c5c5c;
    --mamou-radius-sm: 10px;
    --mamou-radius: 14px;
    --mamou-radius-lg: 20px;
    --bs-primary: var(--mamou-bordeaux);
    --bs-border-radius: var(--mamou-radius);
    --bs-border-radius-sm: var(--mamou-radius-sm);
    --bs-border-radius-lg: var(--mamou-radius-lg);
    --bs-primary-rgb: 201, 20, 23;
    --bs-danger: var(--mamou-bordeaux);
    --bs-body-font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ——— Reset effets interdits ——— */
body.mamou-site,
body.mamou-site .shadow,
body.mamou-site .shadow-sm,
body.mamou-site .shadow-lg,
body.mamou-site [class*="shadow"] {
    box-shadow: none !important;
}

body.mamou-site *,
body.mamou-dashboard *,
body.mamou-dashboard .shadow,
body.mamou-dashboard .shadow-sm,
body.mamou-dashboard .shadow-lg {
    box-shadow: none !important;
}

body.mamou-site .bg-gradient,
body.mamou-dashboard .bg-gradient {
    background-image: none !important;
}

/* ——— Base ——— */
body.mamou-site {
    font-family: var(--bs-body-font-family);
    color: var(--mamou-noir);
    background-color: var(--mamou-blanc);
}

/* Coins arrondis (cartes, boutons, champs, blocs) */
body.mamou-site .btn,
body.mamou-site .form-control,
body.mamou-site .form-select,
body.mamou-site .input-group-text,
body.mamou-site .card,
body.mamou-site .cardservice,
body.mamou-site .dropdown-menu,
body.mamou-site .alert,
body.mamou-site .badge:not(.rounded-pill),
body.mamou-site .mamou-kicker,
body.mamou-site .mamou-badge,
body.mamou-site .mamou-info-strip,
body.mamou-site .mamou-form-panel,
body.mamou-site .mamou-card-home,
body.mamou-site .mamou-cta-band,
body.mamou-site .mamou-img-frame,
body.mamou-site .mamou-services-sidebar,
body.mamou-site .navbar .dropdown-menu {
    border-radius: var(--mamou-radius) !important;
}

body.mamou-site .btn-lg {
    border-radius: var(--mamou-radius-lg) !important;
}

body.mamou-site .mamou-service-category {
    border-radius: var(--mamou-radius-sm) !important;
}

/* ——— Bandeau urgence ——— */
.mamou-topbar {
    background-color: var(--mamou-noir);
    color: var(--mamou-blanc);
    font-size: 0.9rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: none;
}

.mamou-topbar a {
    color: var(--mamou-blanc);
    border: none;
    font-weight: 600;
}

.mamou-topbar a:hover {
    background-color: var(--mamou-bordeaux);
    border-color: var(--mamou-bordeaux);
    color: var(--mamou-blanc);
}

/* ——— Navigation ——— */
body.mamou-site header {
    position: relative;
    z-index: 1030;
}

body.mamou-site .navbar {
    background-color: var(--mamou-blanc) !important;
    border-bottom: 1px solid var(--mamou-gris-bordure);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ——— Navbar publique (desktop + offcanvas mobile) ——— */
body.mamou-site .mamou-public-navbar__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

body.mamou-site .mamou-public-navbar__brand {
    flex-shrink: 0;
    margin-right: 0;
}

body.mamou-site .mamou-public-navbar__toggle {
    border: 1px solid var(--mamou-gris-bordure);
    border-radius: var(--mamou-radius-sm);
    padding: 0.35rem 0.55rem;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--mamou-noir);
    flex-shrink: 0;
}

body.mamou-site .mamou-public-navbar__toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(201, 20, 23, 0.25);
}

body.mamou-site .mamou-public-navbar__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
}

body.mamou-site .mamou-public-navbar__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

body.mamou-site .mamou-nav-user-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--mamou-gris-bordure);
}

body.mamou-site .mamou-nav-user-mobile__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0;
}

body.mamou-site .mamou-nav-user-mobile__head i {
    font-size: 2rem;
    color: var(--mamou-bordeaux);
    flex-shrink: 0;
}

body.mamou-site .mamou-nav-user-mobile__head strong {
    display: block;
    font-size: 0.95rem;
    color: var(--mamou-noir);
}

body.mamou-site .mamou-nav-user-mobile__head small {
    display: block;
    font-size: 0.8rem;
    color: var(--mamou-gris-detail);
    word-break: break-word;
}

body.mamou-site .offcanvas-nav {
    z-index: 1055;
}

@media (max-width: 991.98px) {
    body.mamou-site .navbar-clone {
        display: none !important;
    }

    body.mamou-site .mamou-public-navbar .offcanvas.offcanvas-nav {
        width: min(20rem, 92vw) !important;
        max-width: 92vw !important;
        background-color: var(--mamou-blanc) !important;
        border-left: 1px solid var(--mamou-gris-bordure) !important;
        z-index: 1060 !important;
    }

    body.mamou-site .offcanvas-backdrop {
        z-index: 1055 !important;
    }

    body.mamou-site .mamou-public-navbar__links {
        width: 100%;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    body.mamou-site .mamou-public-navbar__links .nav-item {
        width: 100%;
    }

    body.mamou-site .mamou-public-navbar__links .nav-link {
        display: block;
        width: 100%;
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid var(--mamou-gris-bordure) !important;
        border-radius: 0 !important;
    }

    body.mamou-site .mamou-public-navbar__links .nav-link.active {
        border-bottom-color: var(--mamou-bordeaux) !important;
    }

    body.mamou-site .mamou-public-navbar__actions {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }

    body.mamou-site .mamou-public-navbar__actions .btn {
        width: 100%;
        justify-content: center;
        margin: 0 !important;
    }
}

@media (min-width: 992px) {
    body.mamou-site .mamou-public-navbar__body {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        flex-grow: 1;
        padding: 0;
        overflow: visible;
    }

    body.mamou-site .mamou-public-navbar__links {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        margin-right: auto;
    }

    body.mamou-site .mamou-public-navbar__actions {
        flex-wrap: nowrap;
        margin-left: auto;
    }
}

body.mamou-site .btn-primary {
    background-color: var(--mamou-bordeaux);
    border: none !important;
    color: var(--mamou-blanc);
    font-weight: 600;
    border-radius: var(--mamou-radius);
}

body.mamou-site .btn-primary:hover,
body.mamou-site .btn-primary:focus {
    background-color: var(--mamou-bordeaux-hover);
    border: none !important;
    color: var(--mamou-blanc);
}

body.mamou-site .btn-outline-primary {
    color: var(--mamou-bordeaux);
    border: none !important;
    font-weight: 600;
    border-radius: var(--mamou-radius);
}

body.mamou-site .btn-outline-primary:hover {
    background-color: var(--mamou-bordeaux);
    border: none !important;
    color: var(--mamou-blanc);
}

body.mamou-site .btn-danger {
    background-color: var(--mamou-bordeaux);
    border: none !important;
    color: var(--mamou-blanc);
}

body.mamou-site .btn-dark {
    background-color: var(--mamou-noir);
    border: none !important;
    color: var(--mamou-blanc);
    font-weight: 600;
}

body.mamou-site .btn-dark:hover,
body.mamou-site .btn-dark:focus {
    background-color: var(--mamou-bordeaux);
    border: none !important;
    color: var(--mamou-blanc);
}

body.mamou-site .btn-light {
    background-color: var(--mamou-blanc);
    border: none !important;
    color: var(--mamou-bordeaux);
    font-weight: 600;
}

body.mamou-site .btn-light:hover {
    background-color: var(--mamou-bordeaux);
    border: none !important;
    color: var(--mamou-blanc);
}

/* text-primary : bordeaux uniquement sur liens / accents, pas les titres fond clair */
body.mamou-site a.text-primary:not(.btn) {
    color: var(--mamou-bordeaux) !important;
}

body.mamou-site .bg-primary {
    background-color: var(--mamou-bordeaux) !important;
}

/* ——— Pied de page ——— */
body.mamou-site footer {
    background-color: var(--mamou-noir) !important;
    color: var(--mamou-blanc);
    border-top: none;
}

body.mamou-site footer h5,
body.mamou-site footer p,
body.mamou-site footer a,
body.mamou-site footer .text-reset {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.mamou-site footer a:hover {
    color: var(--mamou-blanc) !important;
    text-decoration: underline !important;
}

body.mamou-site footer .btn-primary {
    background-color: var(--mamou-bordeaux);
    border-color: var(--mamou-bordeaux);
}

body.mamou-site footer .form-control {
    border: 1px solid var(--mamou-gris-bordure);
    border-radius: var(--mamou-radius);
}

/* ——— Hero Netflix (slider + bandeau KPI) ——— */
.mamou-hero-netflix {
    position: relative;
    background-color: var(--mamou-noir);
}

/* ——— Carousel accueil (slider) ——— */
.mamou-carousel {
    position: relative;
    width: 100%;
    min-height: 520px;
    height: clamp(520px, 72vh, 781px);
    overflow: hidden;
    border-bottom: none;
    background-color: var(--mamou-noir);
}

/* Fondu bas type Netflix : l’image se fond dans le noir */
.mamou-carousel::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62%;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(
        to top,
        var(--mamou-noir) 0%,
        var(--mamou-noir) 12%,
        rgba(13, 13, 13, 0.92) 28%,
        rgba(13, 13, 13, 0.55) 50%,
        rgba(13, 13, 13, 0) 100%
    );
}

.mamou-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
    transform: scale(1);
    z-index: 0;
    pointer-events: none;
}

.mamou-carousel-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 13, 0.82);
    z-index: 0;
}

.mamou-carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    pointer-events: auto;
    animation: mamou-hero-kenburns 7s ease-out forwards;
}

@keyframes mamou-hero-kenburns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.06);
    }
}

.mamou-carousel-slide:not(.active) {
    animation: none;
    transform: scale(1);
}

.mamou-carousel-slide__inner {
    position: relative;
    z-index: 6;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.25rem 7.5rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.mamou-carousel-slide__content {
    max-width: 720px;
    width: 100%;
}

.mamou-carousel-indicators {
    position: absolute;
    bottom: 6.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 12;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mamou-carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: transparent;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: width 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
}

.mamou-carousel-indicators button.active {
    width: 28px;
    background: var(--mamou-bordeaux);
    border-color: var(--mamou-blanc);
}

.mamou-carousel .mamou-hero-title,
.mamou-carousel .mamou-hero-lead {
    color: var(--mamou-blanc) !important;
}

.mamou-carousel .mamou-kicker--light {
    background: var(--mamou-bordeaux);
    color: var(--mamou-blanc) !important;
    border: none;
}

.mamou-hero-title {
    font-size: clamp(1.85rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--mamou-blanc);
    margin-bottom: 1rem;
}

.mamou-hero-lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.95);
    max-width: 42rem;
    line-height: 1.55;
}

/* ——— Cartes services / accueil ——— */
.mamou-section-header {
    background-color: var(--mamou-bordeaux);
    color: var(--mamou-blanc);
    padding: 2.5rem 0;
    border-bottom: none;
}

.mamou-section-muted {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Survol cartes : filtre couleur bordeaux (pas de bordures) */
.mamou-card-service,
.cardservice,
.mamou-card-home,
.cardform {
    position: relative;
    overflow: hidden;
    border: none !important;
    border-radius: var(--mamou-radius);
    background: var(--mamou-blanc);
    transition: none;
}

.mamou-card-service::after,
.cardservice::after,
.mamou-card-home::after,
.cardform::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--mamou-bordeaux);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
}

.mamou-service-link:hover .cardservice::after,
.mamou-card-service:hover::after,
.cardservice:hover::after,
.mamou-card-home:hover::after,
.cardform:hover::after,
.card-hover-with-icon:hover::after {
    opacity: 0.12;
}

.mamou-card-service .card-body,
.cardservice .card-body,
.mamou-card-home .card-body,
.cardform > * {
    position: relative;
    z-index: 2;
}

.mamou-card-service,
.cardservice {
    min-height: 150px;
}

.mamou-card-service:hover,
.cardservice:hover,
.card-hover-with-icon:hover {
    background-color: var(--mamou-blanc) !important;
    transform: none !important;
}

.mamou-card-service .card-title,
.cardservice .card-title {
    color: var(--mamou-noir);
    font-weight: 600;
    font-size: 1rem;
}

.mamou-card-home {
    min-height: 280px;
}

.mamou-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--mamou-bordeaux);
    color: var(--mamou-blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
}

.mamou-badge {
    background-color: var(--mamou-bordeaux);
    color: var(--mamou-blanc);
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: var(--mamou-radius);
}

/* ——— Formulaires publics ——— */
.mamou-form-panel {
    background: var(--mamou-blanc);
    border: none;
    border-radius: var(--mamou-radius);
    padding: 2rem;
}

.mamou-form-panel__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mamou-noir);
    margin-bottom: 0.35rem;
}

.mamou-form-panel__lead {
    color: var(--mamou-gris-texte);
    margin-bottom: 1.5rem;
}

.mamou-form-panel .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--mamou-noir);
    margin-bottom: 0.35rem;
}

body.mamou-site .mamou-form-panel .form-control,
body.mamou-site .mamou-form-panel .form-select {
    border: 1px solid var(--mamou-gris-bordure);
    border-radius: var(--mamou-radius-sm);
    padding: 0.65rem 0.85rem;
}

body.mamou-site .mamou-form-panel .form-control:focus,
body.mamou-site .mamou-form-panel .form-select:focus {
    border-color: var(--mamou-bordeaux);
    box-shadow: none !important;
    outline: none;
}

.cardform {
    cursor: pointer;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.col-md-7.mamou-service-scroll,
.col-lg-7.mamou-service-scroll {
    max-height: 80vh;
    overflow-y: auto;
}

/* ——— Page formulaire (layout 2 colonnes) ——— */
.mamou-page-form {
    background-color: var(--mamou-gris-fond);
    min-height: 60vh;
}

.mamou-services-sidebar {
    background: var(--mamou-noir);
    border: none;
    border-radius: var(--mamou-radius);
    padding: 0;
    position: sticky;
    top: 1rem;
    overflow: hidden;
}

.mamou-services-sidebar__head {
    position: relative;
    z-index: 2;
    background: var(--mamou-noir);
    color: var(--mamou-blanc);
    padding: 1rem 1.25rem;
    border-bottom: none;
}

.mamou-services-sidebar .mamou-services-compact {
    position: relative;
    z-index: 2;
}

.mamou-bg-bordeaux-decor.mamou-services-sidebar .mamou-services-compact,
.mamou-bg-noir-decor.mamou-services-sidebar .mamou-services-compact {
    background: transparent;
}

.mamou-services-sidebar__head h2 {
    color: var(--mamou-blanc);
    font-weight: 700;
}

.mamou-services-compact {
    padding: 0.75rem;
    background: var(--mamou-noir);
}

/* Grille latérale formulaire : cartes sur fond noir */
.mamou-services-sidebar .mamou-services-compact .cardservice {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mamou-services-sidebar .mamou-services-compact .cardservice--sidebar-idle {
    background: rgba(255, 255, 255, 0.08) !important;
}

.mamou-services-sidebar .mamou-services-compact .cardservice--sidebar-idle:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
}

.mamou-services-sidebar .mamou-services-compact .cardservice--sidebar-active {
    background: var(--mamou-bordeaux) !important;
    border-color: var(--mamou-bordeaux) !important;
}

.mamou-services-sidebar .mamou-services-compact .cardservice--sidebar-idle .card-title,
.mamou-services-sidebar .mamou-services-compact .cardservice--sidebar-active .card-title {
    color: var(--mamou-blanc) !important;
}

.mamou-services-sidebar .mamou-services-compact .mamou-service-card-icon img {
    filter: brightness(0) invert(1);
}

.mamou-services-sidebar .mamou-services-compact .cardservice::after {
    display: none;
}

.mamou-services-sidebar .mamou-service-link--current {
    pointer-events: none;
    cursor: default;
}

.mamou-services-compact .cardservice {
    min-height: 110px;
}

.mamou-services-compact .card-body {
    padding: 0.65rem !important;
}

.mamou-services-compact .card-title {
    font-size: calc(0.8rem + 7px) !important;
    line-height: 1.25;
}

.mamou-service-card-icon img {
    max-width: 100%;
    height: auto;
}

.mamou-section-header .cardservice,
.mamou-section-header .mamou-card-service {
    background: var(--mamou-blanc) !important;
}

.mamou-section-header .card-title {
    color: var(--mamou-noir) !important;
}

/* ——— Auth ——— */
.mamou-logo--on-dark {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.mamou-logo-footer {
    max-width: 140px;
}

.mamou-auth-aside {
    background-color: var(--mamou-noir);
    color: var(--mamou-blanc);
    min-height: 100vh;
}

.mamou-auth-aside h2 {
    font-weight: 600;
    max-width: 22rem;
}

.mamou-auth-form,
body.mamou-site .mamou-auth-panel {
    background: var(--mamou-blanc);
}

body.mamou-site .mamou-auth-panel {
    max-width: 440px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

body.mamou-site .mamou-auth-panel h4,
body.mamou-site .mamou-auth-panel .fw-bolder {
    color: var(--mamou-noir) !important;
    font-weight: 700 !important;
}

body.mamou-site .mamou-auth-panel .text-gray-500,
body.mamou-site .mamou-auth-panel .text-gray-900 {
    color: var(--mamou-gris-detail) !important;
}

.mamou-auth-form .form-control,
body.mamou-site .mamou-auth-panel .form-control {
    border: 1px solid var(--mamou-gris-bordure);
    border-radius: var(--mamou-radius-sm);
    padding: 0.65rem 0.85rem;
}

.mamou-auth-form .form-control:focus,
body.mamou-site .mamou-auth-panel .form-control:focus {
    border-color: var(--mamou-bordeaux);
    box-shadow: none !important;
    outline: 2px solid var(--mamou-bordeaux);
    outline-offset: 0;
}

/* Champs avec icônes : un seul bloc arrondi (login, register, reset) */
body.mamou-site .mamou-auth-panel .input-group,
body.mamou-site .mamou-auth-form .input-group {
    border: 1px solid var(--mamou-gris-bordure);
    border-radius: var(--mamou-radius-sm) !important;
    overflow: hidden;
    background: var(--mamou-blanc);
    flex-wrap: nowrap;
    align-items: stretch;
}

body.mamou-site .mamou-auth-panel .input-group:focus-within,
body.mamou-site .mamou-auth-form .input-group:focus-within {
    border-color: var(--mamou-bordeaux);
    outline: 2px solid var(--mamou-bordeaux);
    outline-offset: 0;
}

body.mamou-site .mamou-auth-panel .input-group .form-control,
body.mamou-site .mamou-auth-panel .input-group .input-group-text,
body.mamou-site .mamou-auth-form .input-group .form-control,
body.mamou-site .mamou-auth-form .input-group .input-group-text {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0.7rem 0.85rem;
}

body.mamou-site .mamou-auth-panel .input-group .input-group-text,
body.mamou-site .mamou-auth-form .input-group .input-group-text {
    padding-left: 0.85rem;
    padding-right: 0.5rem;
    color: var(--mamou-gris-texte);
    display: flex;
    align-items: center;
}

body.mamou-site .mamou-auth-panel .input-group .input-group-text.cursor-pointer,
body.mamou-site .mamou-auth-form .input-group .input-group-text.cursor-pointer {
    padding-right: 0.85rem;
    padding-left: 0.5rem;
    cursor: pointer;
}

body.mamou-site .mamou-auth-panel .input-group .form-control:focus,
body.mamou-site .mamou-auth-form .input-group .form-control:focus {
    outline: none !important;
    box-shadow: none !important;
}

body.mamou-site .mamou-auth-panel .link-primary,
body.mamou-site .mamou-auth-form .link-primary {
    color: var(--mamou-bordeaux) !important;
}

body.mamou-site .mamou-auth-panel .btn-primary {
    width: 100%;
    padding: 0.75rem;
    font-weight: 700;
}

body.mamou-site .mamou-page-hero {
    background-color: var(--mamou-noir);
    color: var(--mamou-blanc);
    padding: 3rem 0;
    border-bottom: none;
}

body.mamou-site .mamou-page-hero__title {
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
}

body.mamou-site .mamou-page-hero__lead {
    color: rgba(255, 255, 255, 0.92);
    max-width: 36rem;
}

.mamou-hero-netflix .mamou-trust-band {
    position: relative;
    z-index: 8;
    margin-top: -5.5rem;
    padding: 3.25rem 0 1.5rem;
    background: linear-gradient(
        180deg,
        rgba(13, 13, 13, 0) 0%,
        var(--mamou-noir) 22%,
        var(--mamou-noir) 100%
    );
    color: var(--mamou-blanc);
    border: none;
    border-bottom: 4px solid var(--mamou-bordeaux);
}

.mamou-trust-band {
    background: var(--mamou-noir);
    color: var(--mamou-blanc);
    padding: 2rem 0;
    border: none;
}

.mamou-trust-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--mamou-blanc);
    line-height: 1.2;
}

.mamou-trust-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

body.mamou-site footer {
    background-color: var(--mamou-noir) !important;
    color: rgba(255, 255, 255, 0.9);
    border-top: none;
    padding-top: 2.5rem;
}

body.mamou-site footer h5 {
    color: var(--mamou-blanc);
    font-weight: 700;
    margin-bottom: 1rem;
}

body.mamou-site footer a {
    color: rgba(255, 255, 255, 0.88);
}

body.mamou-site footer a:hover {
    color: var(--mamou-blanc);
}

/* ——— Utilitaires ——— */
.mamou-border-accent {
    border-left: none;
}

.mamou-img-frame {
    border: none;
    border-radius: var(--mamou-radius);
}

.mamou-cta-band {
    background-color: var(--mamou-bordeaux);
    color: var(--mamou-blanc);
    border: none;
    border-radius: var(--mamou-radius);
}

.mamou-cta-band .btn-light {
    color: var(--mamou-bordeaux);
    font-weight: 700;
    border: 2px solid var(--mamou-blanc);
}

.mamou-cta-band .btn-light:hover {
    background-color: var(--mamou-noir);
    color: var(--mamou-blanc);
    border-color: var(--mamou-noir);
}

.mamou-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--mamou-radius);
    background-color: var(--mamou-noir);
    color: var(--mamou-blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ——— Kicker & libellés ——— */
.mamou-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: var(--mamou-radius);
    margin-bottom: 0.75rem;
}

.mamou-kicker--light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--mamou-blanc);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.mamou-kicker--dark {
    background: var(--mamou-blanc);
    color: var(--mamou-noir);
    border: 1px solid var(--mamou-bordeaux);
}

body.mamou-site .btn-outline-light {
    color: var(--mamou-blanc);
    border: 2px solid var(--mamou-blanc);
    font-weight: 600;
}

body.mamou-site .btn-outline-light:hover {
    background: var(--mamou-blanc);
    color: var(--mamou-bordeaux);
    border-color: var(--mamou-blanc);
}

/* ——— Bandeau confiance ——— */
.mamou-trust-band {
    background: var(--mamou-noir);
    color: var(--mamou-blanc);
    padding: 1.5rem 0;
    border-bottom: 3px solid var(--mamou-bordeaux);
}

.mamou-hero-netflix .mamou-trust-item {
    padding: 0.65rem 0.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: default;
}

.mamou-hero-netflix .mamou-trust-item:hover {
    transform: scale(1.06);
    opacity: 1;
}

.mamou-hero-netflix .mamou-trust-value {
    transition: color 0.3s ease;
}

.mamou-hero-netflix .mamou-trust-item:hover .mamou-trust-value {
    color: var(--mamou-blanc);
}

.mamou-trust-item {
    padding: 0.5rem;
}

.mamou-trust-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--mamou-blanc);
    line-height: 1.2;
}

.mamou-trust-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.85;
    margin-top: 0.25rem;
}

/* ——— Décor BTP animé (fonds bordeaux / noir, site public) ——— */
.mamou-bg-bordeaux-decor,
.mamou-bg-noir-decor {
    position: relative;
    overflow: hidden;
}

.mamou-bg-bordeaux-decor > *:not(.mamou-btp-bg),
.mamou-bg-bordeaux-decor__content,
.mamou-bg-noir-decor > *:not(.mamou-btp-bg),
.mamou-bg-noir-decor__content {
    position: relative;
    z-index: 2;
}

.mamou-btp-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.mamou-btp-bg__item {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.32);
    line-height: 1;
    animation: mamou-btp-drift 12s ease-in-out infinite;
    will-change: transform, opacity;
}

.mamou-bg-bordeaux-decor .mamou-btp-bg__item,
.mamou-bg-noir-decor .mamou-btp-bg__item {
    color: rgba(255, 255, 255, 0.36);
}

.mamou-btp-bg__item i {
    display: block;
    color: inherit;
}

.mamou-btp-bg__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.55;
}

.mamou-btp-bg--full .mamou-btp-bg__item--1 { top: 8%; left: 4%; font-size: 4.5rem; animation-duration: 16s; }
.mamou-btp-bg--full .mamou-btp-bg__item--2 { top: 18%; right: 6%; font-size: 3.25rem; animation-duration: 19s; animation-delay: -3s; }
.mamou-btp-bg--full .mamou-btp-bg__item--3 { bottom: 22%; left: 8%; font-size: 3.75rem; animation-duration: 17s; animation-delay: -6s; }
.mamou-btp-bg--full .mamou-btp-bg__item--4 { top: 42%; right: 12%; font-size: 2.75rem; animation-duration: 21s; animation-delay: -2s; }
.mamou-btp-bg--full .mamou-btp-bg__item--5 { bottom: 12%; right: 18%; font-size: 4rem; animation-duration: 18s; animation-delay: -8s; }
.mamou-btp-bg--full .mamou-btp-bg__item--6 { top: 55%; left: 2%; font-size: 2.5rem; animation-duration: 22s; animation-delay: -5s; }
.mamou-btp-bg--full .mamou-btp-bg__item--7 { top: 6%; right: 28%; font-size: 2.35rem; animation-duration: 20s; animation-delay: -11s; }
.mamou-btp-bg--full .mamou-btp-bg__item--8 { bottom: 38%; left: 22%; font-size: 2.15rem; animation-duration: 15s; animation-delay: -4s; }
.mamou-btp-bg--full .mamou-btp-bg__item--svg-1 { top: 28%; left: 14%; width: 5.5rem; height: 5.5rem; animation-duration: 24s; animation-delay: -7s; }
.mamou-btp-bg--full .mamou-btp-bg__item--svg-2 { bottom: 8%; left: 38%; width: 4.75rem; height: 4.75rem; animation-duration: 23s; animation-delay: -9s; }
.mamou-btp-bg--full .mamou-btp-bg__item--svg-3 { top: 12%; right: 4%; width: 4.25rem; height: 4.25rem; animation-duration: 26s; animation-delay: -12s; }
.mamou-btp-bg--full .mamou-btp-bg__item--13 { top: 70%; right: 12%; font-size: 2.5rem; animation-delay: -14s; }
.mamou-btp-bg--full .mamou-btp-bg__item--14 { top: 24%; left: 48%; font-size: 2rem; animation-delay: -15s; }
.mamou-btp-bg--full .mamou-btp-bg__item--15 { bottom: 18%; left: 42%; font-size: 2.35rem; animation-delay: -16s; }
.mamou-btp-bg--full .mamou-btp-bg__item--16 { top: 48%; right: 4%; font-size: 2.15rem; animation-delay: -17s; }
.mamou-btp-bg--full .mamou-btp-bg__item--17 { top: 62%; left: 18%; font-size: 2rem; animation-delay: -18s; }
.mamou-btp-bg--full .mamou-btp-bg__item--18 { top: 10%; left: 32%; font-size: 2.4rem; animation-delay: -19s; }
.mamou-btp-bg--full .mamou-btp-bg__item--19 { bottom: 32%; right: 32%; font-size: 2.25rem; animation-delay: -20s; }
.mamou-btp-bg--full .mamou-btp-bg__item--20 { top: 36%; left: 8%; font-size: 1.9rem; animation-delay: -21s; }
.mamou-btp-bg--full .mamou-btp-bg__item--21 { top: 52%; right: 42%; font-size: 2.1rem; animation-delay: -22s; }
.mamou-btp-bg--full .mamou-btp-bg__item--22 { top: 78%; left: 52%; font-size: 1.85rem; animation-delay: -23s; }
.mamou-btp-bg--full .mamou-btp-bg__item--23 { top: 16%; right: 22%; font-size: 2.3rem; animation-delay: -24s; }
.mamou-btp-bg--full .mamou-btp-bg__item--24 { bottom: 6%; left: 12%; font-size: 2rem; animation-delay: -25s; }
.mamou-btp-bg--full .mamou-btp-bg__item--25 { top: 44%; left: 62%; font-size: 1.75rem; animation-delay: -26s; }
.mamou-btp-bg--full .mamou-btp-bg__item--26 { top: 86%; right: 8%; font-size: 2.15rem; animation-delay: -27s; }
.mamou-btp-bg--full .mamou-btp-bg__item--27 { top: 30%; left: 2%; font-size: 1.95rem; animation-delay: -28s; }
.mamou-btp-bg--full .mamou-btp-bg__item--28 { bottom: 42%; left: 58%; font-size: 2.05rem; animation-delay: -29s; }

/* Bloc « Nos services » : décor BTP discret */
.mamou-btp-bg--services .mamou-btp-bg__item--1 { top: 5%; left: 3%; font-size: 5rem; }
.mamou-btp-bg--services .mamou-btp-bg__item--2 { top: 14%; right: 5%; font-size: 3.5rem; animation-delay: -2s; }
.mamou-btp-bg--services .mamou-btp-bg__item--3 { top: 38%; left: 6%; font-size: 4rem; animation-delay: -5s; }
.mamou-btp-bg--services .mamou-btp-bg__item--4 { top: 32%; right: 14%; font-size: 3rem; animation-delay: -1s; }
.mamou-btp-bg--services .mamou-btp-bg__item--5 { top: 58%; right: 8%; font-size: 4.5rem; animation-delay: -7s; }
.mamou-btp-bg--services .mamou-btp-bg__item--6 { top: 52%; left: 2%; font-size: 2.75rem; animation-delay: -4s; }
.mamou-btp-bg--services .mamou-btp-bg__item--7 { top: 22%; left: 42%; font-size: 2.5rem; animation-delay: -9s; }
.mamou-btp-bg--services .mamou-btp-bg__item--8 { top: 68%; left: 28%; font-size: 2.35rem; animation-delay: -3s; }
.mamou-btp-bg--services .mamou-btp-bg__item--9 { top: 72%; right: 22%; font-size: 3.25rem; animation-delay: -6s; }
.mamou-btp-bg--services .mamou-btp-bg__item--10 { top: 48%; left: 18%; font-size: 2.85rem; animation-delay: -11s; }
.mamou-btp-bg--services .mamou-btp-bg__item--11 { top: 82%; left: 10%; font-size: 2.6rem; animation-delay: -8s; }
.mamou-btp-bg--services .mamou-btp-bg__item--12 { top: 78%; right: 4%; font-size: 3rem; animation-delay: -10s; }
.mamou-btp-bg--services .mamou-btp-bg__item--13 { top: 62%; right: 38%; font-size: 2.75rem; animation-delay: -12s; }
.mamou-btp-bg--services .mamou-btp-bg__item--14 { top: 12%; left: 22%; font-size: 2.2rem; animation-delay: -13s; }
.mamou-btp-bg--services .mamou-btp-bg__item--15 { top: 44%; right: 2%; font-size: 3.75rem; animation-delay: -14s; }
.mamou-btp-bg--services .mamou-btp-bg__item--16 { top: 88%; left: 48%; font-size: 2.5rem; animation-delay: -15s; }
.mamou-btp-bg--services .mamou-btp-bg__item--svg-1 { top: 26%; left: 12%; width: 6rem; height: 6rem; animation-duration: 20s; }
.mamou-btp-bg--services .mamou-btp-bg__item--svg-2 { top: 64%; left: 52%; width: 5.25rem; height: 5.25rem; animation-duration: 22s; animation-delay: -6s; }
.mamou-btp-bg--services .mamou-btp-bg__item--svg-3 { top: 8%; right: 18%; width: 5rem; height: 5rem; animation-duration: 24s; animation-delay: -9s; }
.mamou-btp-bg--services .mamou-btp-bg__item--17 { top: 35%; left: 55%; font-size: 2.4rem; animation-delay: -16s; }
.mamou-btp-bg--services .mamou-btp-bg__item--18 { top: 18%; right: 32%; font-size: 2.85rem; animation-delay: -17s; }
.mamou-btp-bg--services .mamou-btp-bg__item--19 { top: 90%; right: 30%; font-size: 3.1rem; animation-delay: -18s; }
.mamou-btp-bg--services .mamou-btp-bg__item--20 { top: 55%; left: 8%; font-size: 2.15rem; animation-delay: -19s; }
.mamou-btp-bg--services .mamou-btp-bg__item--21 { top: 8%; left: 58%; font-size: 2rem; animation-delay: -20s; }
.mamou-btp-bg--services .mamou-btp-bg__item--22 { top: 50%; left: 48%; font-size: 1.85rem; animation-delay: -21s; }
.mamou-btp-bg--services .mamou-btp-bg__item--23 { top: 76%; left: 4%; font-size: 2.2rem; animation-delay: -22s; }
.mamou-btp-bg--services .mamou-btp-bg__item--24 { top: 40%; left: 72%; font-size: 1.9rem; animation-delay: -23s; }
.mamou-btp-bg--services .mamou-btp-bg__item--25 { top: 92%; left: 32%; font-size: 2rem; animation-delay: -24s; }
.mamou-btp-bg--services .mamou-btp-bg__item--26 { top: 24%; right: 8%; font-size: 1.75rem; animation-delay: -25s; }
.mamou-btp-bg--services .mamou-btp-bg__item--27 { top: 64%; left: 62%; font-size: 1.95rem; animation-delay: -26s; }
.mamou-btp-bg--services .mamou-btp-bg__item--28 { top: 16%; left: 8%; font-size: 2.1rem; animation-delay: -27s; }
.mamou-btp-bg--demande .mamou-btp-bg__item { animation-name: mamou-btp-drift-services; animation-duration: 11s; }

.mamou-btp-bg--compact .mamou-btp-bg__item--1 { top: 52%; left: -4%; font-size: 3.5rem; animation-duration: 17s; }
.mamou-btp-bg--compact .mamou-btp-bg__item--2 { top: 68%; right: -6%; font-size: 2.75rem; animation-duration: 20s; animation-delay: -4s; }
.mamou-btp-bg--compact .mamou-btp-bg__item--3 { bottom: 8%; left: 20%; font-size: 2.25rem; animation-duration: 18s; animation-delay: -7s; }
.mamou-btp-bg--compact .mamou-btp-bg__item--4 { top: 78%; right: 12%; font-size: 2rem; animation-duration: 22s; animation-delay: -2s; }
.mamou-btp-bg--compact .mamou-btp-bg__item--5 { top: 58%; left: 35%; font-size: 2.5rem; animation-duration: 19s; animation-delay: -9s; }
.mamou-btp-bg--compact .mamou-btp-bg__item--6 { bottom: 28%; right: 2%; font-size: 1.85rem; animation-duration: 21s; animation-delay: -5s; }
.mamou-btp-bg--compact .mamou-btp-bg__item--7 { top: 18%; left: 8%; font-size: 2.35rem; animation-duration: 16s; animation-delay: -3s; }
.mamou-btp-bg--compact .mamou-btp-bg__item--8 { top: 42%; right: 4%; font-size: 2rem; animation-duration: 19s; animation-delay: -8s; }
.mamou-btp-bg--compact .mamou-btp-bg__item--9 { bottom: 42%; left: 4%; font-size: 2.5rem; animation-duration: 18s; animation-delay: -6s; }
.mamou-btp-bg--compact .mamou-btp-bg__item--10 { top: 72%; left: 42%; font-size: 2.15rem; animation-duration: 20s; animation-delay: -11s; }
.mamou-btp-bg--compact .mamou-btp-bg__item--11 { top: 8%; left: 28%; font-size: 1.75rem; animation-delay: -12s; }
.mamou-btp-bg--compact .mamou-btp-bg__item--12 { top: 48%; left: 12%; font-size: 1.65rem; animation-delay: -13s; }
.mamou-btp-bg--compact .mamou-btp-bg__item--13 { bottom: 18%; left: 48%; font-size: 1.8rem; animation-delay: -14s; }
.mamou-btp-bg--compact .mamou-btp-bg__item--14 { top: 32%; right: 8%; font-size: 1.7rem; animation-delay: -15s; }
.mamou-btp-bg--compact .mamou-btp-bg__item { animation-name: mamou-btp-drift-services; }

.mamou-btp-bg__item:nth-child(even) {
    animation-direction: alternate-reverse;
}

@keyframes mamou-btp-drift {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.24;
    }
    33% {
        transform: translate(14px, -18px) rotate(8deg) scale(1.06);
        opacity: 0.42;
    }
    66% {
        transform: translate(-12px, 14px) rotate(-7deg) scale(0.98);
        opacity: 0.3;
    }
}

.mamou-btp-bg--services .mamou-btp-bg__item,
.mamou-btp-bg--demande .mamou-btp-bg__item {
    animation-name: mamou-btp-drift-services;
    animation-duration: 11s;
}

@keyframes mamou-btp-drift-services {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.26;
    }
    50% {
        transform: translate(20px, -24px) rotate(12deg) scale(1.06);
        opacity: 0.45;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mamou-btp-bg__item {
        animation: none;
        opacity: 0.28;
    }
}

/* ——— Bloc services (fond noir, cartes blanches) ——— */
.mamou-services-block {
    background-color: var(--mamou-noir);
    border-bottom: none;
}

.mamou-bg-bordeaux-decor.mamou-services-block .mamou-services-block__header,
.mamou-bg-bordeaux-decor.mamou-services-block .mamou-services-block__body,
.mamou-bg-noir-decor.mamou-services-block .mamou-services-block__header,
.mamou-bg-noir-decor.mamou-services-block .mamou-services-block__body {
    background-color: transparent;
}

.mamou-services-block__header {
    background-color: var(--mamou-noir);
    color: var(--mamou-blanc);
    padding: 2.5rem 0 1.5rem;
    border-bottom: none;
}

.mamou-services-block__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--mamou-blanc);
    margin-bottom: 0.5rem;
}

.mamou-services-block__subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 36rem;
}

.mamou-services-block__body {
    background-color: var(--mamou-noir);
    padding: 0 0 3rem;
}

.mamou-service-category {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mamou-bordeaux);
    background: rgba(123, 15, 30, 0.08);
    padding: 0.2rem 0.5rem;
    border-radius: var(--mamou-radius);
    margin-bottom: 0.25rem;
}

.mamou-service-category--corner {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 3;
    margin-bottom: 0;
}

.mamou-service-desc {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--mamou-gris-detail) !important;
}

.mamou-service-cta {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--mamou-bordeaux);
}

.mamou-service-link:hover .mamou-service-cta {
    text-decoration: underline;
}

.mamou-card-service {
    min-height: 220px;
}

.mamou-info-strip {
    background: var(--mamou-blanc);
    border: none;
    padding: 1rem 1.25rem;
    border-radius: var(--mamou-radius);
}

/* ——— Hero page demande ——— */
.mamou-page-hero {
    background-color: var(--mamou-noir);
    color: var(--mamou-blanc);
    padding: 2.5rem 0;
    border-bottom: none;
}

.mamou-page-hero--with-bg {
    position: relative;
    background-color: var(--mamou-noir);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.mamou-page-hero--with-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(13, 13, 13, 0.82);
}

.mamou-page-hero--with-bg.mamou-page-hero--netflix-bottom:not(.mamou-page-hero--no-netflix-fade) {
    padding-bottom: 5.5rem;
    overflow: visible;
}

/* Fondu bas type Netflix (vers section noire par défaut) */
.mamou-page-hero--with-bg.mamou-page-hero--netflix-bottom:not(.mamou-page-hero--no-netflix-fade)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to top,
        var(--mamou-noir) 0%,
        var(--mamou-noir) 12%,
        rgba(13, 13, 13, 0.92) 28%,
        rgba(13, 13, 13, 0.55) 50%,
        rgba(13, 13, 13, 0) 100%
    );
}

/* Fondu vers fond clair (contact, sections gris clair) */
.mamou-page-hero--netflix-bottom:has(+ .mamou-contact-section)::after,
.mamou-page-hero--netflix-bottom:has(+ .mamou-section-muted)::after {
    background: linear-gradient(
        to top,
        #f8f9fa 0%,
        #f8f9fa 12%,
        rgba(248, 249, 250, 0.92) 28%,
        rgba(248, 249, 250, 0.55) 50%,
        rgba(248, 249, 250, 0) 100%
    );
}

.mamou-page-hero--netflix-bottom + .mamou-services-block {
    margin-top: -5.5rem;
    position: relative;
    z-index: 3;
}

.mamou-page-hero--netflix-bottom + .mamou-services-block .mamou-services-block__header {
    padding-top: calc(2.5rem + 4.25rem);
}

.mamou-page-hero--netflix-bottom + .mamou-services-block.mamou-services-block--no-header .mamou-services-block__body {
    padding-top: calc(3rem + 4.25rem);
}

.mamou-page-hero--netflix-bottom + .mamou-contact-section,
.mamou-page-hero--netflix-bottom + .mamou-section-muted {
    margin-top: -4.5rem;
    position: relative;
    z-index: 3;
    padding-top: 1.5rem;
}

.mamou-page-hero--with-bg > .container {
    position: relative;
    z-index: 3;
}

.mamou-page-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.mamou-page-hero__lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 36rem;
}

.mamou-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mamou-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.95rem;
}

.mamou-steps-list li:last-child {
    border-bottom: none;
}

.mamou-steps-list__num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--mamou-bordeaux);
    color: var(--mamou-blanc);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mamou-radius);
}

.mamou-page-hero .mamou-kicker {
    background: rgba(123, 15, 30, 0.5);
    color: var(--mamou-blanc);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ——— Nav ——— */
body.mamou-site .navbar .nav-link {
    color: var(--mamou-noir);
    font-weight: 600;
}

body.mamou-site .navbar .nav-link:hover {
    color: var(--mamou-bordeaux);
}

/* ——— Règles texte : fond clair = noir / gris foncé ——— */
body.mamou-site main,
body.mamou-site .navbar,
body.mamou-site .mamou-section-muted,
body.mamou-site .mamou-form-panel,
body.mamou-site .mamou-card-home,
body.mamou-site .mamou-card-service,
body.mamou-site .mamou-info-strip {
    color: var(--mamou-noir);
}

body.mamou-site .text-secondary,
body.mamou-site .text-muted,
body.mamou-site .mamou-service-desc,
body.mamou-site .form-text {
    color: var(--mamou-gris-detail) !important;
}

body.mamou-site .mamou-section-muted .h1,
body.mamou-site .mamou-section-muted .h2,
body.mamou-site .mamou-section-muted .h3,
body.mamou-site .mamou-section-muted .h4,
body.mamou-site .mamou-section-muted .h5,
body.mamou-site .mamou-section-muted .fw-bold,
body.mamou-site .mamou-form-panel h1,
body.mamou-site .mamou-form-panel h2,
body.mamou-site main section h1.fw-bold,
body.mamou-site main section h2.fw-bold,
body.mamou-site main section h3.fw-bold,
body.mamou-site main section h4.fw-bold,
body.mamou-site main section h5.fw-bold,
body.mamou-site main .fw-bold.text-primary {
    color: var(--mamou-noir) !important;
}

body.mamou-site .form-label {
    color: var(--mamou-noir);
    font-weight: 600;
}

/* ——— Fond bordeaux / noir = texte blanc ——— */
.mamou-services-block__header,
.mamou-services-block__header *,
.mamou-cta-band,
.mamou-cta-band h2,
.mamou-cta-band p,
.mamou-cta-section,
.mamou-cta-section h2,
.mamou-cta-section p,
.mamou-trust-band,
.mamou-trust-band *,
.mamou-topbar,
.mamou-topbar *,
.mamou-page-hero,
.mamou-page-hero *,
.mamou-section-header,
.mamou-section-header * {
    color: var(--mamou-blanc);
}

.mamou-services-block__header .btn-light {
    color: var(--mamou-bordeaux) !important;
    background: var(--mamou-blanc) !important;
}

.mamou-cta-band .badge.bg-white {
    color: var(--mamou-bordeaux) !important;
    background: var(--mamou-blanc) !important;
}

/* Cartes services : fond blanc, texte noir (sur zone bordeaux) */
.mamou-services-block .cardservice {
    background: var(--mamou-blanc) !important;
    min-height: 0;
}

.mamou-services-block .mamou-card-service {
    min-height: 0;
}

.mamou-services-block .cardservice .card-body {
    padding: 0.75rem 0.65rem !important;
}

.mamou-services-block .mamou-service-card-icon {
    margin-top: 0.15rem !important;
    margin-bottom: 0.35rem !important;
}

.mamou-services-block .mamou-service-card-icon img {
    width: 52px !important;
    height: auto;
}

.mamou-services-block .cardservice .card-title {
    margin-bottom: 0 !important;
    font-size: calc(0.92rem + 7px);
    line-height: 1.25;
}

.mamou-services-block .cardservice .mamou-service-desc {
    display: block;
    margin-top: 0.45rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    font-size: calc(0.78rem + 3px);
    line-height: 1.4;
    color: var(--mamou-gris-detail) !important;
}

.mamou-services-block .mamou-service-category {
    font-size: 0.6rem;
    padding: 0.15rem 0.45rem;
}

.mamou-services-block .mamou-service-category--corner {
    top: 0.5rem;
    right: 0.5rem;
}

.mamou-services-block .cardservice,
.mamou-services-block .cardservice .card-title,
.mamou-services-block .cardservice h5,
.mamou-services-block .cardservice h6 {
    color: var(--mamou-noir) !important;
}

.mamou-services-block .cardservice .mamou-service-cta {
    color: var(--mamou-bordeaux) !important;
}

.mamou-services-block .mamou-service-link:hover .cardservice::after {
    opacity: 0.14;
}

.mamou-services-block .cardservice:hover {
    background-color: var(--mamou-blanc) !important;
}

.mamou-services-block .mamou-info-strip {
    background: var(--mamou-blanc);
    color: var(--mamou-noir);
    border-color: rgba(255, 255, 255, 0.35);
    border-left-color: var(--mamou-noir);
}

/* Icônes cercle : blanc sur bordeaux */
.mamou-icon-circle,
.mamou-icon-circle i {
    color: var(--mamou-blanc) !important;
}

.mamou-feature-icon,
.mamou-feature-icon i {
    color: var(--mamou-blanc) !important;
}

/* Footer : liens footer .text-primary restent visibles */
body.mamou-site footer .text-primary a {
    color: var(--mamou-blanc) !important;
}

/* ——— Navigation active (soulignement bordeaux, sans fond gris) ——— */
body.mamou-site .navbar-nav .nav-link,
body.mamou-site .navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--mamou-noir);
    padding-bottom: 0.35rem;
    border-bottom: 3px solid transparent;
    background-color: transparent !important;
    border-radius: 0;
}

body.mamou-site .navbar-nav .nav-link:hover,
body.mamou-site .navbar-light .navbar-nav .nav-item .nav-link:hover {
    color: var(--mamou-bordeaux);
    background-color: transparent !important;
    border-bottom-color: transparent;
}

body.mamou-site .navbar-nav .nav-link.active,
body.mamou-site .navbar-light .navbar-nav .nav-item .nav-link.active,
body.mamou-site .navbar .navbar-nav .nav-item .nav-link.active {
    color: var(--mamou-bordeaux) !important;
    background-color: transparent !important;
    border-bottom: 3px solid var(--mamou-bordeaux) !important;
    border-radius: 0 !important;
    font-weight: 700;
    box-shadow: none !important;
}

.mamou-page-hero--compact {
    padding: 2rem 0;
}

.mamou-page-hero--compact .mamou-page-hero__title {
    font-size: clamp(1.5rem, 3.5vw, 2.15rem);
}

.mamou-legal-page {
    background: var(--mamou-blanc);
    padding-top: 0;
}

body.mamou-site .btn-pill {
    border-radius: 999px !important;
    padding: 0.65rem 1.75rem !important;
    font-weight: 600 !important;
}

/* ——— Section « Pourquoi nous choisir » (maquette) ——— */
.mamou-why-section {
    padding: 4rem 0;
    background: var(--mamou-blanc);
}

.mamou-why-section .mamou-badge {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
}

.mamou-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    text-align: center;
}

@media (max-width: 767.98px) {
    .mamou-why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.mamou-why-item__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: var(--mamou-radius);
    background: var(--mamou-noir);
    color: var(--mamou-blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.mamou-why-item h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mamou-why-item p {
    color: var(--mamou-gris-texte);
    font-size: 0.95rem;
    margin: 0;
}

/* ——— Bandeau CTA pleine largeur ——— */
.mamou-cta-section {
    background: var(--mamou-bordeaux);
    color: var(--mamou-blanc);
    padding: 3.5rem 0;
    text-align: center;
}

.mamou-cta-section .container-custom {
    position: relative;
    z-index: 2;
}

.mamou-cta-section h2,
.mamou-cta-section p {
    color: var(--mamou-blanc) !important;
}

.mamou-cta-section .badge {
    background: var(--mamou-blanc) !important;
    color: var(--mamou-bordeaux) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.7rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--mamou-radius-sm);
}

.mamou-cta-section h2 {
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 1rem 0;
}

.mamou-cta-section p {
    opacity: 0.95;
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.mamou-cta-section .btn-cta-pill {
    background: var(--mamou-blanc);
    color: var(--mamou-bordeaux);
    border: none;
    border-radius: 999px;
    font-weight: 700;
    padding: 0.75rem 2rem;
    text-decoration: none;
    display: inline-block;
}

.mamou-cta-section .btn-cta-pill:hover {
    background: var(--mamou-noir);
    color: var(--mamou-blanc);
}

.mamou-contact-section {
    background: #f8f9fa;
    padding: 3rem 0 4rem;
}

/* ——— Pages légales ——— */
.mamou-legal-page {
    background: var(--mamou-blanc);
}

.mamou-legal-content {
    max-width: 820px;
    margin: 0 auto;
}

.mamou-legal-content__title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--mamou-noir);
    margin-bottom: 0.5rem;
}

.mamou-legal-content__lead {
    color: var(--mamou-gris-texte);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    max-width: 40rem;
}

.mamou-legal-content__meta {
    font-size: 0.9rem;
    color: var(--mamou-gris-texte);
    margin-bottom: 2rem;
}

.mamou-legal-back {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--mamou-bordeaux);
    text-decoration: none;
}

.mamou-legal-back:hover {
    color: var(--mamou-bordeaux-hover);
    text-decoration: underline;
}

.mamou-legal-body h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--mamou-noir);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.mamou-legal-body p,
.mamou-legal-body li {
    color: var(--mamou-gris-texte);
    line-height: 1.65;
    font-size: 0.95rem;
}

.mamou-legal-body ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.mamou-legal-body a {
    color: var(--mamou-bordeaux);
    font-weight: 600;
}

.mamou-legal-body a:hover {
    color: var(--mamou-bordeaux-hover);
}
