/* =========================================================
   MEDIWALK - CLUSTER FIN 2G / TELEASSISTANCE 4G
   Compatible avec les classes mw2g-* de la page HTML
   ========================================================= */

.mw2g-section,
.mw2g-cta {
    box-sizing: border-box;
}

/* =========================================================
   SECTIONS PRINCIPALES
   ========================================================= */

.mw2g-section {
    position: relative;
    background: #ffffff;
    border: 1px solid #ebe9ef;
    border-radius: 18px;
    padding: 34px 36px;
    margin: 30px 0;
    box-shadow: 0 8px 28px rgba(33, 25, 45, 0.055);
}

.mw2g-section h2 {
    margin: 0 0 20px;
    color: #24212b;
    font-size: 1.7rem;
    line-height: 1.3;
}

.mw2g-section h3 {
    margin: 28px 0 11px;
    color: #513269;
    font-size: 1.18rem;
    line-height: 1.4;
}

.mw2g-section p {
    margin: 0 0 17px;
    line-height: 1.75;
}

.mw2g-section p:last-child {
    margin-bottom: 0;
}

.mw2g-section a {
    color: #6600cc;
    font-weight: 650;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.mw2g-section a:hover {
    color: #cc08f4;
}


.mw2g-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid #ead8f0;
    border-radius: 50px;
    background: #faf5fc;
    color: #6600cc;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: .02em;
}

/* =========================================================
   CALENDRIER OPÉRATEURS
   ========================================================= */

.mw2g-calendar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 27px 0 28px;
}

.mw2g-operator {
    position: relative;
    overflow: hidden;
    min-height: 185px;
    padding: 24px 23px;
    border: 1px solid #e7e3eb;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(30, 20, 40, .05);
}

.mw2g-operator::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6600cc, #cc08f4);
}

.mw2g-operator h3 {
    margin: 2px 0 10px;
    color: #29232e;
    font-size: 1.25rem;
}

.mw2g-date {
    display: inline-block;
    margin-bottom: 15px;
    padding: 6px 10px;
    border-radius: 8px;
    background: #f6eff9;
    color: #6600cc;
    font-size: .88rem;
    font-weight: 750;
}

.mw2g-operator p {
    margin: 0;
    color: #57515d;
    font-size: .96rem;
    line-height: 1.65;
}

/* =========================================================
   NOTES
   ========================================================= */

.mw2g-note {
    position: relative;
    margin: 26px 0;
    padding: 20px 22px 20px 60px;
    border: 1px solid #e4dcec;
    border-radius: 14px;
    background: #faf7fc;
    line-height: 1.7;
}

.mw2g-note::before {
    content: "i";
    position: absolute;
    left: 19px;
    top: 19px;
    display: flex;
    width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #6600cc;
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: bold;
}

.mw2g-note strong {
    color: #51226d;
}

.mw2g-note-tech {
    border-color: #d7e2f3;
    background: #f5f8fd;
}

.mw2g-note-tech::before {
    background: #3266a8;
}

.mw2g-note-tech strong {
    color: #244e85;
}

.mw2g-note-warning {
    border-color: #efdaad;
    background: #fffaf0;
}

.mw2g-note-warning::before {
    content: "!";
    background: #af6700;
}

.mw2g-note-warning strong {
    color: #835000;
}

/* =========================================================
   QUESTIONS / CHECK
   ========================================================= */

.mw2g-check {
    margin: 26px 0;
    padding: 25px 26px;
    border-left: 5px solid #cc08f4;
    border-radius: 0 15px 15px 0;
    background: #faf8fb;
}

.mw2g-check h3 {
    margin: 0 0 17px;
    color: #352b3b;
}

.mw2g-check p {
    margin: 10px 0;
}

.mw2g-check strong {
    color: #5b176f;
}

/* =========================================================
   ÉTAPES MIGRATION
   ========================================================= */

.mw2g-step {
    position: relative;
    margin: 22px 0;
    padding: 2px 0 2px 56px;
}

.mw2g-step-number {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: linear-gradient(135deg, #6600cc, #a100dc);
    color: #ffffff;
    font-weight: 800;
}

.mw2g-step h3 {
    margin: 0 0 7px;
}

.mw2g-step p {
    margin-bottom: 0;
}

/* =========================================================
   MAILLAGE CLUSTER
   ========================================================= */

.mw2g-cluster {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.mw2g-cluster-link {
    display: block;
    padding: 19px 20px;
    border: 1px solid #e8e2eb;
    border-radius: 13px;
    background: #ffffff;
    color: #37293e !important;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mw2g-cluster-link:hover {
    transform: translateY(-2px);
    border-color: #d7b8e1;
    box-shadow: 0 8px 22px rgba(57, 27, 75, .08);
}

.mw2g-cluster-link strong {
    display: block;
    margin-bottom: 5px;
    color: #6600cc;
}

.mw2g-cluster-link span {
    color: #655f68;
    font-size: .92rem;
    line-height: 1.5;
}

/* =========================================================
   CTA MEDIWALK
   ========================================================= */

.mw2g-cta {
    position: relative;
    overflow: hidden;
    margin: 34px 0;
    padding: 38px 34px;
    border: 1px solid #e2d7e8;
    border-radius: 21px;
    text-align: center;
    background:
        radial-gradient(circle at 90% 0%, rgba(204, 8, 244, .14), transparent 38%),
        linear-gradient(135deg, #f8f4fa, #ffffff);
}

.mw2g-cta h2 {
    margin: 0 0 14px;
    color: #29202f;
}

.mw2g-cta p {
    max-width: 820px;
    margin: 0 auto 18px;
    line-height: 1.7;
}

.mw2g-buttons {
    margin-top: 22px;
}

.mw2g-btn {
    display: inline-block;
    margin: 5px;
    padding: 13px 21px;
    border-radius: 10px;
    background: #6600cc;
    color: #ffffff !important;
    font-weight: 750;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.mw2g-btn:hover {
    transform: translateY(-2px);
    background: #7b00dc;
    box-shadow: 0 8px 20px rgba(102, 0, 204, .20);
}

.mw2g-btn-secondary {
    background: #ffffff;
    color: #6600cc !important;
    border: 1px solid #d9bee5;
}

.mw2g-btn-secondary:hover {
    background: #faf5fc;
}

/* =========================================================
   FAQ
   ========================================================= */

.mw2g-faq dl {
    margin: 0;
}

.mw2g-faq dt {
    position: relative;
    margin-top: 15px;
    padding: 18px 44px 18px 20px;
    border: 1px solid #e7e2ea;
    border-radius: 12px 12px 0 0;
    background: #faf9fb;
    color: #302735;
    font-weight: 750;
    line-height: 1.5;
}

.mw2g-faq dd {
    margin: 0 0 16px;
    padding: 18px 20px;
    border-right: 1px solid #e7e2ea;
    border-bottom: 1px solid #e7e2ea;
    border-left: 1px solid #e7e2ea;
    border-radius: 0 0 12px 12px;
    background: #ffffff;
    line-height: 1.7;
}

/* =========================================================
   SOURCES
   ========================================================= */

.mw2g-sources {
    background: #f7f7f9;
    box-shadow: none;
}

.mw2g-sources h2 {
    font-size: 1.35rem;
}

.mw2g-sources p {
    font-size: .94rem;
    line-height: 1.65;
}

.mw2g-update {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    background: #eeeeF2;
    color: #55515b;
    font-size: .85rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .mw2g-calendar {
        grid-template-columns: 1fr;
    }

    .mw2g-cluster {
        grid-template-columns: 1fr;
    }

    .mw2g-operator {
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .mw2g-section {
        margin: 22px 0;
        padding: 24px 20px;
        border-radius: 14px;
    }

    .mw2g-hero {
        padding: 29px 22px 27px;
        border-radius: 16px;
    }

    .mw2g-hero h2 {
        font-size: 1.75rem;
    }

    .mw2g-hero h3 {
        font-size: 1.05rem;
    }

    .mw2g-section h2 {
        font-size: 1.4rem;
    }

    .mw2g-note {
        padding: 18px 17px 18px 53px;
    }

    .mw2g-note::before {
        left: 15px;
        top: 17px;
    }

    .mw2g-step {
        padding-left: 49px;
    }

    .mw2g-step-number {
        width: 34px;
        height: 34px;
    }

    .mw2g-cta {
        padding: 28px 19px;
    }

    .mw2g-btn {
        display: block;
        margin: 10px 0 0;
    }
}
