/**
 * Accueil institutionnel (domaine master uniqué).
 * body.master-platform-home est défini dans index-master.html.
 */

/* Grille type Bootstrap (page sans bootstrap.css) */
body.master-platform-home .container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

body.master-platform-home .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

body.master-platform-home .row > [class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    width: 100%;
}

body.master-platform-home .align-items-center {
    align-items: center;
}

body.master-platform-home .text-center {
    text-align: center;
}

body.master-platform-home .mb-4 {
    margin-bottom: 1.5rem;
}

body.master-platform-home .img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    body.master-platform-home .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    body.master-platform-home .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    body.master-platform-home .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    body.master-platform-home .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

body.master-platform-home {
    --mh-blue: #0f5f9e;
    --mh-blue-deep: #0a4a7a;
    --mh-blue-bright: #1a8dd9;
    --mh-mint: #0d9488;
    --mh-text: #1a1d21;
    --mh-text-muted: #5c6570;
    --mh-surface: #ffffff;
    --mh-surface-soft: #f0f6fc;
    --mh-border: rgba(15, 95, 158, 0.12);
    --mh-radius: 14px;
    --mh-radius-lg: 20px;
    --mh-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --mh-shadow-hover: 0 12px 40px rgba(15, 23, 42, 0.12);
    font-family: "DM Sans", system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--mh-text);
    background: var(--mh-surface-soft);
}

body.master-platform-home .hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #0a4a7a 0%, #0f5f9e 42%, #1577c2 78%, #1a8dd9 100%);
}

body.master-platform-home .hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        linear-gradient(105deg, transparent 60%, rgba(13, 148, 136, 0.12) 100%);
    pointer-events: none;
    z-index: 0;
}

body.master-platform-home .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 40, 70, 0.25) 0%, transparent 55%);
    z-index: 1;
}

body.master-platform-home .hero-content {
    position: relative;
    z-index: 2;
    padding: 5.5rem 0 4.5rem;
}

body.master-platform-home .hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1rem;
}

body.master-platform-home .hero-title {
    font-family: "Outfit", "DM Sans", sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.25rem;
    line-height: 1.15;
}

body.master-platform-home .hero-title-line {
    display: block;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 0.5rem;
    letter-spacing: -0.01em;
}

body.master-platform-home .hero-highlight {
    display: block;
    background: linear-gradient(90deg, #fff 0%, #c8e8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.master-platform-home .hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.75rem;
    line-height: 1.65;
    max-width: 34rem;
}

body.master-platform-home .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 1.75rem;
}

body.master-platform-home .hero-btn-primary {
    background: #fff;
    color: var(--mh-blue) !important;
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.master-platform-home .hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
    color: var(--mh-blue-deep) !important;
}

body.master-platform-home .hero-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

body.master-platform-home .hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff !important;
}

body.master-platform-home .hero-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

body.master-platform-home .hero-trust-list li {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.master-platform-home .hero-trust-list i {
    color: #7dd3c0;
    font-size: 0.85rem;
}

body.master-platform-home .hero-visual-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--mh-radius-lg);
    padding: 1.75rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

body.master-platform-home .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0;
}

body.master-platform-home .stat-item {
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--mh-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.master-platform-home .stat-number {
    font-family: "Outfit", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 0.25rem;
}

body.master-platform-home .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    line-height: 1.3;
}

body.master-platform-home .hero-visual-caption {
    margin: 1.25rem 0 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
    line-height: 1.5;
}

body.master-platform-home .hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    line-height: 0;
}

body.master-platform-home .hero-shape svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Services */
body.master-platform-home .services-section {
    padding: 5rem 0 5.5rem;
    background: var(--mh-surface);
}

body.master-platform-home .master-section-header {
    margin-bottom: 3rem;
}

body.master-platform-home .section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mh-blue-bright);
    margin: 0 0 0.5rem;
}

body.master-platform-home .section-eyebrow--dark {
    color: var(--mh-mint);
}

body.master-platform-home .services-section .section-title {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--mh-text);
    margin-bottom: 0.75rem;
    position: relative;
}

body.master-platform-home .services-section .section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, var(--mh-blue), var(--mh-blue-bright));
    border-radius: 2px;
}

body.master-platform-home .section-title--left::after {
    margin-left: 0;
    margin-right: auto;
}

body.master-platform-home .section-subtitle {
    font-size: 1.05rem;
    color: var(--mh-text-muted);
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.6;
}

body.master-platform-home .why-choose-section .section-subtitle {
    margin: 0;
}

body.master-platform-home .service-card {
    background: var(--mh-surface);
    border-radius: var(--mh-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--mh-border);
    box-shadow: var(--mh-shadow);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.master-platform-home .service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--mh-shadow-hover);
    border-color: rgba(26, 141, 217, 0.35);
}

body.master-platform-home .service-card::before {
    display: none;
}

body.master-platform-home .service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--mh-blue) 0%, var(--mh-blue-bright) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #fff;
    font-size: 1.65rem;
    box-shadow: 0 8px 20px rgba(15, 95, 158, 0.25);
}

body.master-platform-home .service-title {
    font-family: "Outfit", sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--mh-text);
    margin-bottom: 0.65rem;
}

body.master-platform-home .service-description {
    color: var(--mh-text-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

body.master-platform-home .feature-badge {
    background: var(--mh-surface-soft);
    color: var(--mh-blue);
    border: 1px solid var(--mh-border);
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Why us */
body.master-platform-home .why-choose-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #e8f2fb 0%, #f0f6fc 100%);
}

body.master-platform-home .why-choose-content .section-title {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--mh-text);
    margin-bottom: 0.5rem;
    text-align: left;
}

body.master-platform-home .why-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1.25rem 1.35rem;
    background: var(--mh-surface);
    border-radius: var(--mh-radius);
    border: 1px solid var(--mh-border);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.master-platform-home .why-item:hover {
    transform: translateX(4px);
    box-shadow: var(--mh-shadow);
}

body.master-platform-home .why-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--mh-blue), var(--mh-blue-bright));
    border-radius: 12px;
    font-size: 1.1rem;
    margin-right: 1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

body.master-platform-home .why-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--mh-text);
    margin-bottom: 0.35rem;
}

body.master-platform-home .why-text p {
    font-size: 0.9rem;
    color: var(--mh-text-muted);
    margin: 0;
    line-height: 1.5;
}

body.master-platform-home .image-container {
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    box-shadow: var(--mh-shadow-hover);
    position: relative;
}

body.master-platform-home .master-image-placeholder {
    min-height: 280px;
    background: linear-gradient(135deg, var(--mh-blue) 0%, var(--mh-mint) 100%);
}

body.master-platform-home .master-image-placeholder-inner {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.35);
}

body.master-platform-home .image-container img {
    transition: transform 0.4s ease;
}

body.master-platform-home .image-container:hover img {
    transform: scale(1.03);
}

body.master-platform-home .image-overlay {
    background: linear-gradient(transparent, rgba(10, 40, 70, 0.88));
}

/* Testimonials */
body.master-platform-home .testimonials-section {
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    background: linear-gradient(180deg, #f4f8fc 0%, var(--mh-surface) 45%, #fff 100%);
}

body.master-platform-home .testimonials-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.25rem;
}

body.master-platform-home .testimonials-trust-pills {
    list-style: none;
    margin: 1.15rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
}

body.master-platform-home .testimonials-trust-pills li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0f5f9e;
    background: rgba(15, 95, 158, 0.08);
    border: 1px solid rgba(15, 95, 158, 0.12);
}

body.master-platform-home .testimonials-trust-pills i {
    font-size: 0.72rem;
    opacity: 0.85;
}

body.master-platform-home .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: stretch;
}

@media (max-width: 1199px) {
    body.master-platform-home .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    body.master-platform-home .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

body.master-platform-home .testimonial-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    border: 1px solid rgba(15, 95, 158, 0.1);
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    padding: 1.35rem 1.35rem 1.2rem;
    height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
    overflow: hidden;
}

body.master-platform-home .testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mh-blue), var(--mh-blue-bright));
    opacity: 0.85;
}

body.master-platform-home .testimonial-card--shop::before {
    background: linear-gradient(90deg, #be185d, #f472b6);
}

body.master-platform-home .testimonial-card--tech::before {
    background: linear-gradient(90deg, #0d9488, #2dd4bf);
}

body.master-platform-home .testimonial-card--platform::before {
    background: linear-gradient(90deg, #1d4ed8, #60a5fa);
}

body.master-platform-home .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    border-color: rgba(15, 95, 158, 0.2);
}

body.master-platform-home .testimonial-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

body.master-platform-home .testimonial-stars {
    display: inline-flex;
    gap: 0.12rem;
    color: #f59e0b;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}

body.master-platform-home .testimonial-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
    white-space: nowrap;
}

body.master-platform-home .testimonial-quote {
    margin: 0 0 1.1rem;
    padding: 0;
    border: none;
    font-size: 0.94rem;
    line-height: 1.65;
    color: #334155;
    flex: 1 1 auto;
}

body.master-platform-home .testimonial-quote::before {
    content: "\201C";
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.1rem;
    line-height: 1;
    color: var(--mh-blue-bright);
    opacity: 0.35;
    margin-bottom: 0.15rem;
}

body.master-platform-home .testimonial-quote strong {
    color: #0f5f9e;
    font-weight: 700;
}

body.master-platform-home .testimonial-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.95rem;
    border-top: 1px solid #eef2f7;
}

body.master-platform-home .testimonial-avatar {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(145deg, var(--mh-blue), var(--mh-blue-bright));
    box-shadow: 0 4px 12px rgba(15, 95, 158, 0.25);
}

body.master-platform-home .testimonial-card--shop .testimonial-avatar {
    background: linear-gradient(145deg, #be185d, #ec4899);
    box-shadow: 0 4px 12px rgba(190, 24, 93, 0.22);
}

body.master-platform-home .testimonial-card--tech .testimonial-avatar {
    background: linear-gradient(145deg, #0f766e, #14b8a6);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.22);
}

body.master-platform-home .testimonial-card--platform .testimonial-avatar {
    background: linear-gradient(145deg, #1e40af, #3b82f6);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.22);
}

body.master-platform-home .testimonial-avatar--brand {
    font-size: 1rem;
}

body.master-platform-home .testimonial-meta {
    min-width: 0;
    flex: 1;
}

body.master-platform-home .testimonial-name {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f1111;
    line-height: 1.25;
}

body.master-platform-home .testimonial-role {
    margin: 0.12rem 0 0;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.35;
}

body.master-platform-home .testimonial-site-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0f5f9e;
    text-decoration: none;
    transition: color 0.15s ease, gap 0.15s ease;
}

body.master-platform-home .testimonial-site-link:hover {
    color: var(--mh-blue-bright);
    gap: 0.45rem;
    text-decoration: none;
}

body.master-platform-home .testimonial-site-link i {
    font-size: 0.68rem;
}

body.master-platform-home .testimonials-cta-wrap {
    text-align: center;
    margin: 2rem 0 0;
}

body.master-platform-home .testimonials-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.72rem 1.35rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--mh-blue) 0%, var(--mh-blue-bright) 100%);
    box-shadow: 0 8px 22px rgba(15, 95, 158, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.master-platform-home .testimonials-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 95, 158, 0.34);
    color: #fff;
    text-decoration: none;
}

/* CTA */
body.master-platform-home .cta-section {
    padding: 4.5rem 1.5rem;
    background: linear-gradient(135deg, var(--mh-blue-deep) 0%, var(--mh-blue) 50%, #135a8c 100%);
    color: #fff;
}

body.master-platform-home .cta-content h2 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

body.master-platform-home .cta-content > p {
    font-size: 1.05rem;
    opacity: 0.92;
    max-width: 32rem;
    margin: 0 auto 1.75rem;
    line-height: 1.55;
}

body.master-platform-home .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    justify-content: center;
    align-items: center;
}

body.master-platform-home .cta-btn {
    background: #fff;
    color: var(--mh-blue) !important;
    border: none;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

body.master-platform-home .cta-btn:hover {
    transform: translateY(-2px);
    color: var(--mh-blue-deep) !important;
}

body.master-platform-home .cta-btn-outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.55);
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

body.master-platform-home .cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff !important;
}

/* Responsive */
@media (max-width: 991px) {
    body.master-platform-home .hero-section {
        min-height: auto;
    }

    body.master-platform-home .hero-content {
        padding: 4rem 0 3rem;
    }

    body.master-platform-home .hero-visual-card {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    body.master-platform-home .hero-stats {
        grid-template-columns: 1fr;
    }

    body.master-platform-home .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    body.master-platform-home .hero-btn-primary,
    body.master-platform-home .hero-btn-secondary {
        justify-content: center;
    }

    body.master-platform-home .why-item {
        flex-direction: column;
        text-align: center;
    }

    body.master-platform-home .why-icon {
        margin-right: 0;
        margin-left: auto;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 576px) {
    body.master-platform-home .hero-title {
        font-size: 1.85rem;
    }

    body.master-platform-home .stat-number {
        font-size: 1.5rem;
    }
}

/* --- Page tarification : une carte par bloc --- */
.pricing-master-page {
    position: relative;
    background: linear-gradient(180deg, #dceaf7 0%, #eef4fb 28%, #f5f8fc 100%);
    min-height: 72vh;
    padding: 2.25rem 0 4rem;
    overflow: hidden;
}

.pricing-master-page .pricing-page-bg {
    position: absolute;
    inset: -15% -8% auto -8%;
    height: 50%;
    pointer-events: none;
    background:
        radial-gradient(ellipse 65% 50% at 12% 18%, rgba(26, 141, 217, 0.12), transparent 52%),
        radial-gradient(ellipse 45% 40% at 92% 12%, rgba(13, 148, 136, 0.1), transparent 48%);
}

.pricing-master-page .pricing-master-inner {
    position: relative;
    z-index: 1;
}

.pricing-master-page .pricing-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Carte section générique */
.pricing-master-page .pricing-section-card {
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 32px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.pricing-master-page .pricing-section-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 1.5rem 0.85rem;
    border-bottom: 1px solid rgba(15, 95, 158, 0.08);
}

.pricing-master-page .pricing-section-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
    color: var(--mh-blue);
    background: linear-gradient(145deg, #e8f4fc, #dff6f3);
    border: 1px solid rgba(15, 95, 158, 0.12);
}

.pricing-master-page .pricing-section-card__head-text {
    min-width: 0;
}

.pricing-master-page .pricing-section-card__title {
    margin: 0;
    font-family: "Outfit", "DM Sans", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--mh-blue-deep);
    letter-spacing: -0.02em;
}

.pricing-master-page .pricing-section-card__subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--mh-text-muted);
}

.pricing-master-page .pricing-section-card__subtitle .mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.78rem;
}

.pricing-master-page .pricing-section-card__body {
    padding: 1rem 1.5rem 1.5rem;
}

.pricing-master-page .pricing-section-card__body--toolbar {
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 1.65rem;
}

.pricing-master-page .pricing-section-card__body--plans {
    margin: 0 0.5rem 0.65rem;
    padding: 1.5rem 1.15rem 1.65rem;
    background: #eef1f6;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
    .pricing-master-page .pricing-section-card__body--plans {
        margin: 0 0.85rem 0.85rem;
        padding: 1.65rem 1.5rem 1.75rem;
    }
}

/* Intro : carte blanche + dalle dégradée intérieure */
.pricing-master-page .pricing-section-card--intro {
    padding: 10px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.pricing-master-page .pricing-section-card__intro-slab {
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #073a5f 0%, #0f5f9e 45%, #1577c2 78%, #0d9488 115%);
    color: #fff;
    padding: 2rem 1.5rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pricing-master-page .pricing-hero-grid {
    display: grid;
    grid-template-columns: 1fr minmax(200px, 270px);
    gap: 1.75rem;
    align-items: start;
}

@media (max-width: 991px) {
    .pricing-master-page .pricing-hero-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-master-page .pricing-master-eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.pricing-master-page .pricing-hero-copy h1 {
    margin: 0 0 0.9rem;
    font-family: "Outfit", "DM Sans", sans-serif;
    font-size: clamp(1.65rem, 4vw, 2.2rem);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.02em;
}

.pricing-master-page .pricing-master-lead {
    margin: 0 0 1.2rem;
    line-height: 1.72;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.94);
    max-width: 38rem;
}

.pricing-master-page .pricing-master-lead strong {
    color: #fff;
    font-weight: 700;
}

.pricing-master-page .pricing-hero-trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
}

.pricing-master-page .pricing-hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.93);
    background: rgba(0, 0, 0, 0.14);
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.pricing-master-page .pricing-hero-aside {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pricing-master-page .pricing-hero-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-master-page .pricing-hero-stat-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.pricing-master-page .pricing-hero-stat-text {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.97);
}

/* Période : pas de double bordure header/body */
.pricing-master-page .pricing-section-card:not(.pricing-section-card--intro) .pricing-section-card__header {
    padding-bottom: 1rem;
}

.pricing-master-page .pricing-billing-toggle {
    display: inline-flex;
    background: #e8eef5;
    border-radius: 999px;
    padding: 5px;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.45);
}

.pricing-master-page .pricing-toggle-btn {
    border: none;
    background: transparent;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--mh-text-muted);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, color 0.2s ease;
}

.pricing-master-page .pricing-toggle-btn.is-active {
    background: linear-gradient(135deg, #1a8dd9 0%, #0f5f9e 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 95, 158, 0.32);
}

.pricing-master-page .pricing-toggle-hint {
    margin: 0.85rem auto 0;
    max-width: 34rem;
    font-size: 0.8125rem;
    color: var(--mh-text-muted);
    line-height: 1.5;
}

.pricing-master-page .pricing-cards-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.pricing-master-page .pricing-cards-row--odoo {
    gap: 1.25rem;
}

@media (max-width: 991px) {
    .pricing-master-page .pricing-cards-row {
        grid-template-columns: 1fr;
    }
}

/* Grille type vitrine tarifaire : barre colorée + gros montant */
.pricing-master-page .is-hidden,
.pricing-master-page [hidden] {
    display: none !important;
}

.pricing-master-page .pricing-odoo-card {
    --odoo-bar: #38bdf8;
    --odoo-price: #0284c7;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    border-top: 7px solid var(--odoo-bar);
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.05),
        0 14px 32px rgba(15, 23, 42, 0.09);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.pricing-master-page .pricing-odoo-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.06),
        0 16px 40px rgba(15, 23, 42, 0.1);
}

.pricing-master-page .pricing-odoo-card--sky {
    --odoo-bar: #38bdf8;
    --odoo-price: #0ea5e9;
}

.pricing-master-page .pricing-odoo-card--coral {
    --odoo-bar: #fb7185;
    --odoo-price: #e11d48;
}

.pricing-master-page .pricing-odoo-card--teal {
    --odoo-bar: #2dd4bf;
    --odoo-price: #0f766e;
}

.pricing-master-page .pricing-odoo-card--popular {
    border-top-color: var(--odoo-bar);
    box-shadow:
        0 1px 2px rgba(244, 63, 94, 0.08),
        0 12px 36px rgba(244, 63, 94, 0.12);
}

.pricing-master-page .pricing-odoo-card__ribbon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #fb7185, #e11d48);
    padding: 0.28rem 0.55rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);
}

.pricing-master-page .pricing-odoo-card__title {
    margin: 0;
    padding-right: 4.5rem;
    font-family: "Outfit", "DM Sans", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.pricing-master-page .pricing-odoo-card__tagline {
    margin: 0.4rem 0 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #64748b;
    min-height: 2.6rem;
}

.pricing-master-page .pricing-odoo-card__tagline .mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.78rem;
}

.pricing-master-page .pricing-odoo-card__price-block {
    margin-top: 1.15rem;
}

.pricing-master-page .pricing-odoo-card__price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem 0.5rem;
    line-height: 1;
}

.pricing-master-page .pricing-odoo-card__currency {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--odoo-price);
    margin-top: 0.35rem;
}

.pricing-master-page .pricing-odoo-card__amount {
    font-size: clamp(2.35rem, 4.8vw, 2.95rem);
    font-weight: 700;
    color: var(--odoo-price);
    letter-spacing: -0.04em;
}

.pricing-master-page .pricing-sectors-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 0.85rem;
    margin: 0 0 1.35rem;
}

.pricing-master-page .pricing-sector-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.95rem;
    background: #fff;
    border: 1px solid rgba(15, 95, 158, 0.14);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.pricing-master-page .pricing-sector-chip__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e8f4fc, #ecfeff);
    color: var(--mh-blue);
    font-size: 0.95rem;
}

.pricing-master-page .pricing-sector-chip__text {
    font-size: 0.875rem;
    color: #0f172a;
    line-height: 1.25;
}

.pricing-master-page .pricing-sector-chip__hint {
    font-weight: 500;
    color: #64748b;
    font-size: 0.78rem;
}

.pricing-master-page .pricing-odoo-card__audience {
    margin: 0.5rem 0 0.85rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.01em;
}

.pricing-master-page .pricing-pill--pharma {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(15, 95, 158, 0.08));
    border-color: rgba(34, 197, 94, 0.35);
    color: #166534;
}

.pricing-master-page .pricing-odoo-card__unit {
    margin: 0.45rem 0 0;
    font-size: 0.8125rem;
    color: #94a3b8;
    font-weight: 500;
}

.pricing-master-page .pricing-odoo-card__feats {
    list-style: none;
    margin: 1.35rem 0 0.85rem;
    padding: 1rem 0 0;
    border-top: 1px solid #f1f5f9;
    flex-grow: 1;
}

.pricing-master-page .pricing-odoo-card__feats li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #334155;
    border-bottom: 1px solid #f8fafc;
}

.pricing-master-page .pricing-odoo-card__feats li:last-child {
    border-bottom: none;
}

.pricing-master-page .pricing-odoo-card__vendor {
    margin: 0 0 1rem;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.pricing-master-page .pricing-odoo-card__cta {
    display: block;
    margin-top: auto;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.72rem 1rem;
    border-radius: 8px;
    background: var(--odoo-price);
    color: #fff !important;
    border: none;
    transition: filter 0.2s ease, transform 0.15s ease;
}

.pricing-master-page .pricing-odoo-card__cta:hover {
    filter: brightness(1.08);
    color: #fff !important;
}

.pricing-master-page .pricing-odoo-card__cta--ghost {
    background: #fff;
    color: var(--odoo-price) !important;
    border: 2px solid var(--odoo-price);
}

.pricing-master-page .pricing-odoo-card__cta--ghost:hover {
    background: #f8fafc;
    color: var(--odoo-price) !important;
}

/* Carte Teranga : dégradé pleine carte */
.pricing-master-page .pricing-section-card--teranga {
    background: linear-gradient(128deg, #064e3b 0%, #0c5c4d 38%, #0f5f9e 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 48px rgba(13, 148, 136, 0.22);
}

.pricing-master-page .pricing-section-card--teranga .pricing-section-card__header {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.pricing-master-page .pricing-section-card__header--on-dark .pricing-section-card__title {
    color: #fff;
}

.pricing-master-page .pricing-section-card__header--on-dark .pricing-section-card__subtitle {
    color: rgba(255, 255, 255, 0.88);
}

.pricing-master-page .pricing-section-card__icon--on-dark {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.pricing-master-page .pricing-teranga-body {
    padding: 0 1.5rem 1.5rem;
}

.pricing-master-page .pricing-teranga-lead {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.93);
}

.pricing-master-page .pricing-teranga-lead strong {
    color: #fff;
}

.pricing-master-page .pricing-teranga-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-master-page .pricing-teranga-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.pricing-master-page .pricing-teranga-bullets i {
    margin-top: 0.12rem;
    color: #5eead4;
}

.pricing-master-page .pricing-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pricing-master-page .pricing-pill {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    background: #f4f9fd;
    border: 1px solid rgba(15, 95, 158, 0.12);
    color: #2f3b4a;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.pricing-master-page .pricing-pill--accent {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.14), rgba(15, 95, 158, 0.1));
    border-color: rgba(13, 148, 136, 0.32);
    color: var(--mh-blue-deep);
}

.pricing-master-page .pricing-faq-item {
    background: #f8fafc;
    border: 1px solid rgba(15, 95, 158, 0.1);
    border-radius: 14px;
    padding: 0.15rem 1rem;
    margin-bottom: 0.55rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.pricing-master-page .pricing-faq-item:hover {
    border-color: rgba(15, 95, 158, 0.22);
    background: #fff;
}

.pricing-master-page .pricing-faq-item summary {
    font-weight: 600;
    cursor: pointer;
    padding: 0.68rem 0;
    color: var(--mh-text);
    list-style: none;
    font-size: 0.9rem;
}

.pricing-master-page .pricing-faq-item summary::-webkit-details-marker {
    display: none;
}

.pricing-master-page .pricing-faq-item summary::after {
    content: "\002B";
    float: right;
    font-weight: 700;
    color: var(--mh-blue);
    opacity: 0.65;
}

.pricing-master-page .pricing-faq-item[open] summary::after {
    content: "\2212";
}

.pricing-master-page .pricing-faq-item p {
    margin: 0 0 0.85rem;
    padding-top: 0.05rem;
    color: #2f3b4a;
    line-height: 1.65;
    font-size: 0.875rem;
}

.pricing-master-page .pricing-section-card--cta {
    padding: 1.35rem 1.5rem 1.5rem;
    background: linear-gradient(180deg, #fafdff 0%, #fff 55%);
}

.pricing-master-page .pricing-section-card--cta .pricing-footnote {
    font-size: 0.78rem;
    color: var(--mh-text-muted);
    line-height: 1.6;
    margin: 0 0 1.15rem;
}

.pricing-master-page .pricing-master-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.pricing-master-page .pricing-master-actions a {
    text-decoration: none;
    padding: 0.72rem 1.15rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.15s ease, filter 0.2s ease;
}

.pricing-master-page .pricing-master-actions a:hover {
    transform: translateY(-1px);
}

.pricing-master-page .pricing-master-actions .primary {
    background: linear-gradient(135deg, #1a8dd9 0%, #0f5f9e 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(15, 95, 158, 0.28);
}

.pricing-master-page .pricing-master-actions .secondary {
    background: #fff;
    border: 1px solid rgba(15, 95, 158, 0.28);
    color: #0f5f9e;
}

/* Modes forfait / crédits commande */
.pricing-master-page .pricing-billing-modes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .pricing-master-page .pricing-billing-modes-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-master-page .pricing-billing-mode {
    border-radius: 14px;
    padding: 1.15rem 1.2rem 1.25rem;
    border: 1px solid #e5e7eb;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 100%;
}

.pricing-master-page .pricing-billing-mode--forfait {
    border-color: rgba(15, 95, 158, 0.22);
    background: linear-gradient(165deg, #f8fbff 0%, #fff 70%);
}

.pricing-master-page .pricing-billing-mode--credits {
    border-color: rgba(6, 125, 98, 0.28);
    background: linear-gradient(165deg, #f0fdf9 0%, #fff 72%);
}

.pricing-master-page .pricing-billing-mode__label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
}

.pricing-master-page .pricing-billing-mode__title {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f1111;
}

.pricing-master-page .pricing-billing-mode__lead {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #4b5563;
}

.pricing-master-page .pricing-billing-mode__feats {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    font-size: 0.82rem;
    color: #374151;
}

.pricing-master-page .pricing-billing-mode__feats li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.pricing-master-page .pricing-billing-mode__feats i {
    color: #0f5f9e;
    margin-top: 0.15rem;
}

.pricing-master-page .pricing-billing-mode__price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.35rem;
    margin: 0.25rem 0 0;
}

.pricing-master-page .pricing-billing-mode__currency {
    font-size: 0.8rem;
    font-weight: 700;
    color: #067d62;
}

.pricing-master-page .pricing-billing-mode__amount {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #064e3b;
    line-height: 1;
}

.pricing-master-page .pricing-billing-mode__unit {
    font-size: 0.78rem;
    color: #6b7280;
    width: 100%;
}

.pricing-master-page .pricing-billing-mode__examples {
    list-style: none;
    margin: 0.15rem 0 0;
    padding: 0;
    font-size: 0.82rem;
}

.pricing-master-page .pricing-billing-mode__examples li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.28rem 0;
    border-bottom: 1px dashed #e5e7eb;
    color: #4b5563;
}

.pricing-master-page .pricing-billing-mode__examples li:last-child {
    border-bottom: none;
}

.pricing-master-page .pricing-billing-mode__examples strong {
    color: #0f1111;
    font-weight: 700;
}

.pricing-master-page .pricing-billing-mode__note {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.45;
}

.pricing-master-page .pricing-billing-mode__link {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f5f9e;
    text-decoration: none;
}

.pricing-master-page .pricing-billing-mode__link:hover {
    text-decoration: underline;
}

.pricing-master-page .pricing-billing-mode__cta {
    margin-top: auto;
    display: inline-block;
    text-align: center;
    padding: 0.62rem 1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    background: #067d62;
    color: #fff !important;
}

.pricing-master-page .pricing-billing-mode__cta:hover {
    filter: brightness(1.05);
}
