/* ===================================
   FORMATION ANGLAIS CPF - WEEKENDUX DESIGN
   Charte graphique respectée
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #1ABC9C;
    --primary-dark: #16A085;
    --text-dark: #2C3E50;
    --text-gray: #7F8C8D;
    --text-light: #95A5A6;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #ECF0F1;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Material Symbols Fix */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* ===================================
   FORMATION SHOWCASE SECTION
   =================================== */

.formation-showcase img {
    transition: transform 0.5s ease;
}

.formation-showcase img:hover {
    transform: scale(1.05);
}

.formation-showcase a:hover {
    background: #1ABC9C !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.4) !important;
}

@media (max-width: 968px) {
    .formation-showcase>div>div {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .formation-showcase img {
        height: 400px !important;
    }

    .formation-showcase>div>div>div:first-child {
        order: 2;
    }

    .formation-showcase>div>div>div:last-child {
        order: 1;
        text-align: center;
    }

    .formation-showcase h2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 640px) {
    .formation-showcase {
        padding: 60px 0 !important;
    }

    .formation-showcase>div>div>div:first-child {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .formation-showcase>div>div>div:first-child>div {
        transform: translateY(0) !important;
    }

    .formation-showcase img {
        height: 300px !important;
    }

    .formation-showcase h2 {
        font-size: 1.75rem !important;
    }

    .formation-showcase p {
        font-size: 1rem !important;
    }
}

/* ===================================
   HEADER MODERN
   =================================== */

.header-modern {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    gap: 0.75rem;
    flex: 1;
    max-width: 400px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    color: var(--text-dark);
    flex: 1;
}

.search-bar input::placeholder {
    color: var(--text-light);
}

.explore-btn {
    background: transparent;
    border: none;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Explorer dropdown */
.explore-dropdown {
    position: relative;
}

.explore-menu {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 1000;
}

.explore-dropdown:hover .explore-menu,
.explore-dropdown:focus-within .explore-menu {
    display: block;
}

.explore-menu li {
    list-style: none;
}

.explore-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.explore-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    list-style: none;
    gap: 1.25rem;
    /* Reduced from 2rem */
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.8rem;
    /* Aggressively reduced from 0.85rem */
    transition: color 0.3s;
    white-space: nowrap;
    /* Prevent wrapping */
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-dark);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-signin {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.btn-signin:hover {
    background: var(--bg-light);
}

.btn-create {
    text-decoration: none;
    background: var(--primary-green);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-create:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
}

/* ===================================
   MEGA MENU STYLES (PREMIUM)
   =================================== */

.nav-item-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item-dropdown>a {
    display: flex;
    align-items: center;
    gap: 4px;
    /* Reduced gap */
    padding: 0.5rem 0;
    /* Increase hit area vertical */
    height: 100%;
    position: relative;
    z-index: 1002;
    font-weight: 600;
    font-size: 0.8rem;
    /* Aggressively reduced */
}

/* Invisible bridge to prevent closing when moving mouse */
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    /* Bridge gap between link and menu */
    background: transparent;
    display: none;
}

.nav-item-dropdown:hover::after {
    display: block;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    /* Offset for clean look */
    left: -20px;
    /* Align slightly left of text */
    background: #ffffff;
    min-width: 700px;
    border-radius: 20px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.12), 0 0 2px rgba(0, 0, 0, 0.05);
    /* Softer, deeper shadow */
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.98);
    transform-origin: top left;
    transition: all 0.25s cubic-bezier(0.1, 0.5, 0.1, 1);
    /* Premium ease */
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Wider links column */
    gap: 32px;
    align-items: stretch;
    /* Ensure equal height */
}

.dropdown-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
    /* Distribute vertically if needed */
}

.dropdown-header {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.65rem;
    /* Reduced from 0.7rem */
    text-transform: uppercase;
    color: #9CA3AF;
    /* Lighter gray */
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    padding-left: 12px;
    /* Align with items */
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    /* Prevent layout shift on hover border */
}

.dropdown-item:hover {
    background: #F3F4F6;
    transform: translateX(4px);
    /* Subtle interaction */
}

.dropdown-icon {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    /* Soft icon shadow */
    border: 1px solid #F3F4F6;
    flex-shrink: 0;
}

.dropdown-item:hover .dropdown-icon {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(26, 188, 156, 0.15);
    /* Tinted shadow on hover */
}

.dropdown-content {
    flex: 1;
}

.dropdown-content h4 {
    color: var(--text-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    /* Reduced from 0.9rem */
    margin-bottom: 2px;
    line-height: 1.2;
}

.dropdown-content p {
    color: var(--text-gray);
    font-size: 0.7rem;
    /* Reduced from 0.8rem */
    line-height: 1.3;
    margin: 0;
    font-weight: 500;
}

/* Featured Image Column */
.dropdown-featured {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Fill grid height */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.dropdown-featured-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.dropdown-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dropdown-featured:hover img {
    transform: scale(1.03);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.dropdown-featured-link {
    display: block;
    height: 100%;
    text-decoration: none;
}

/* ===================================
   HERO MODERN
   =================================== */

.hero-modern {
    padding: 4rem 0 6rem;
    background: #F5F5F5;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.text-gradient {
    color: var(--primary-green);
    font-weight: 800;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Trust badges under hero CTA */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 8px 0 18px;
}

.hero-trust__item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.hero-trust__logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.hero-trust__logo--mcf {
    border-radius: 6px;
}

.hero-trust .trust-stars .star {
    color: #F59E0B;
    font-size: 14px;
    margin-left: 1px;
}

.hero-trust .trust-text {
    color: #374151;
    font-weight: 600;
    font-size: .95rem;
}


.btn-primary-large {
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary-large:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-secondary-large {
    background: transparent;
    color: var(--text-dark);
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary-large:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.feature-item span {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 500;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-top: 0.25rem;
}

/* ===================================
   HERO IMAGE
   =================================== */

.hero-image {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    position: relative;
    width: 600px;
    height: 600px;
}

.student-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    height: 550px;
    background: linear-gradient(135deg, #a8e6cf 0%, #7ed6a8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: visible;
    padding: 40px;
}

.student-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.student-placeholder {
    font-size: 12rem;
    line-height: 1;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 30%;
    left: -15%;
}

.card-2 {
    top: 5%;
    right: 0%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    right: -5%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.card-icon-green {
    width: 48px;
    height: 48px;
    background: var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon-circle {
    width: 48px;
    height: 48px;
    background: white;
    border: 3px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.card-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.card-label {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.decorative-circle {
    position: absolute;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    z-index: 0;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -50px;
    left: -50px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -20px;
    right: -20px;
}

.decorative-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-green);
    border-radius: 50%;
    z-index: 0;
}

.dot-1 {
    top: 10%;
    left: 10%;
}

.dot-2 {
    bottom: 20%;
    right: 15%;
}

/* ===================================
   PARTNERS SECTION
   =================================== */

.partners-section {
    padding: 2rem 0 4rem;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.partners-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.partner-logo {
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #BDC3C7;
    opacity: 0.8;
    transition: all 0.3s;
    letter-spacing: -0.02em;
}

.partner-logo:hover {
    opacity: 1;
    color: var(--text-gray);
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 0.5rem;
    line-height: 1.3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.service-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-icon-modern svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-modern svg {
    transform: scale(1.1) rotateY(10deg);
}

.service-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===================================
   COMPETENCES SECTION
   =================================== */

.competences-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.competences-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary-green);
    color: white;
}

.tab-btn:hover {
    background: var(--primary-green);
    color: white;
}

.competences-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.competences-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.competences-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.competences-content {
    background: #D4F4F0;
    padding: 3rem;
    border-radius: 20px;
}

.competence-block {
    margin-bottom: 2rem;
}

.competence-block h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

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

.competence-list li {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.btn-start-formation {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    margin-top: 1rem;
}

.btn-start-formation:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.3);
}

.btn-start-formation.btn-dark {
    background: var(--text-dark);
}

.btn-start-formation.btn-dark:hover {
    background: #000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        height: 500px;
    }

    .hero-circle {
        width: 400px;
        height: 400px;
    }

    .student-image {
        width: 320px;
        height: 320px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .search-bar {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container-fluid {
        padding: 0 1.5rem;
    }
}

/* ===================================
   FORMULES PREMIUM - STYLE NESPRESSO HAUT DE GAMME
   =================================== */

.formulas-premium-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    position: relative;
}

.formulas-premium-header {
    text-align: center;
    margin-bottom: 5rem;
}

.formulas-premium-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.formulas-premium-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #555;
    font-weight: 400;
}

.formulas-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Carte Premium */
.formula-premium-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.formula-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Capsule 3D avec effet verre */
.capsule-premium {
    width: 140px;
    height: 196px;
    /* ratio 1:1.4 */
    margin: 0 auto 2rem;
    border-radius: 70px;
    position: relative;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.formula-premium-card:hover .capsule-premium {
    transform: scale(1.05);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(255, 255, 255, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
}

/* Effet verre soft-glass */
.capsule-glass-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(-45deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.05) 15px,
            transparent 15px,
            transparent 30px);
    pointer-events: none;
}

/* Lumière diagonale */
.capsule-diagonal-light {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 40%;
    height: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(12px);
    pointer-events: none;
}

/* Section Intensité */
.intensity-section {
    margin-bottom: 1.5rem;
}

.intensity-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.75rem;
}

.intensity-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.intensity-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E5E7EB;
    transition: all 0.3s ease;
}

.intensity-dots .dot.filled {
    background: #00B894;
    box-shadow: 0 0 8px rgba(0, 184, 148, 0.4);
}

/* Animation progressive des points */
@keyframes fillDot {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.formula-premium-card:hover .intensity-dots .dot.filled {
    animation: fillDot 0.3s ease forwards;
}

/* Nom de la formule */
.formula-premium-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Phrase d'accroche */
.formula-premium-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 50px;
}

/* Ligne séparatrice */
.formula-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E5E7EB, transparent);
    margin-bottom: 1.5rem;
}

/* Footer avec CPF et bouton */
.formula-premium-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cpf-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #00B894;
}

.formula-premium-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #00B894;
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
    transform: rotate(90deg);
}

.formula-premium-btn:hover {
    background: #019970;
    transform: rotate(0deg);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .formulas-premium-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .formulas-premium-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .formulas-premium-title {
        font-size: 2rem;
    }

    .capsule-premium {
        width: 98px;
        /* 70% de 140px */
        height: 137px;
        /* 70% de 196px */
    }

    .formula-premium-name {
        font-size: 1.5rem;
    }
}

/* ===================================
   SECTION ACCOMPAGNEMENT AVEC MOSAÏQUE 4 IMAGES
   =================================== */

.section-split {
    padding: 0;
}

.split-row {
    padding: 80px 20px;
}

.split-row-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Premier bloc : fond blanc */
.split-row:nth-child(1) {
    background: #ffffff;
}

/* Deuxième bloc : fond vert clair */
.split-row:nth-child(2) {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

/* Layout inversé pour le 2ème bloc */
.split-row.reverse .split-row-wrapper {
    grid-template-columns: 1fr 1.1fr;
}

.split-row.reverse .split-gallery {
    order: 2;
}

.split-row.reverse .split-content {
    order: 1;
}

/* Mosaïque 2x2 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Texte */
.split-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #0f172a;
}

.split-content p {
    font-size: 16px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 16px;
}

.split-content strong {
    font-weight: 600;
}

.split-list {
    list-style: none;
    margin: 16px 0 18px;
    padding: 0;
}

.split-list li {
    position: relative;
    padding-left: 28px;
    margin: 10px 0;
    color: #0f172a;
}

.split-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.split-note {
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 10px 0 18px;
    color: #065f46;
    font-size: 14px;
}

.btn-primary {
    display: inline-block;
    background: #10b981;
    color: #fff;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0ea371;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-primary-yellow {
    display: inline-block;
    background: linear-gradient(135deg, #E6A800 0%, #CC8800 100%);
    color: #fff;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 168, 0, 0.3);
}

.btn-primary-yellow:hover {
    background: linear-gradient(135deg, #CC8800 0%, #B37700 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(230, 168, 0, 0.4);
}

/* Bouton "Vérifier mon éligibilité" en jaune */
.cta-inline a[href="demande-financement-cpf.html"].btn-primary {
    background: linear-gradient(135deg, #E6A800 0%, #CC8800 100%);
    box-shadow: 0 4px 15px rgba(230, 168, 0, 0.3);
}

.cta-inline a[href="demande-financement-cpf.html"].btn-primary:hover {
    background: linear-gradient(135deg, #CC8800 0%, #B37700 100%);
    box-shadow: 0 6px 20px rgba(230, 168, 0, 0.4);
}

.cpf-legal {
    margin-top: 10px;
    font-size: 12.5px;
    color: #475569;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .split-row-wrapper,
    .split-row.reverse .split-row-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .split-row.reverse .split-gallery,
    .split-row.reverse .split-content {
        order: initial;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid img {
        height: 150px;
    }

    .split-content h2 {
        font-size: 26px;
    }
}

/* ======================
   SECTION POURQUOI APPRENDRE L'ANGLAIS
   ====================== */
.section-why-english {
    padding: 80px 20px;
    background: #ffffff;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 36px;
    align-items: stretch;
}

.why-image {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.why-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.why-content {
    background: #DFF3EF;
    border-radius: 22px;
    padding: 22px 22px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Tabs */
.why-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 6px;
}

.why-tab {
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
    background: #e8f7f4;
    color: #0f3b33;
    transition: all 0.2s ease;
}

.why-tab.active {
    background: #16a34a;
    color: #fff;
}

/* Catégories */
.why-category {
    margin: 10px 0 8px 0;
}

.why-category h3 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25;
    margin: 10px 0 6px;
    color: #0f172a;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
}

.why-list li {
    position: relative;
    padding-left: 26px;
    margin: 8px 0;
    color: #0f172a;
    font-size: 15.5px;
    line-height: 1.55;
}

.why-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 11px;
    height: 11px;
    background: #16a34a;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

/* Message final */
.why-message {
    margin: 6px 0 0 0;
    font-size: 16px;
    font-style: italic;
    color: #0f172a;
    line-height: 1.5;
}

/* Bouton CTA */
.why-cta {
    align-self: flex-start;
    margin-top: 6px;
    background: #16a34a;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.why-cta:hover {
    background: #128c3f;
}

/* Mentions légales */
.why-legal {
    margin: 6px 0 0 0;
    font-size: 12.5px;
    color: #334155;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bouton dark pour entreprises */
.btn-dark {
    background: #2c3e50;
}

.btn-dark:hover {
    background: #1a252f;
}

/* Responsive */
@media (max-width: 1024px) {
    .why-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .why-image img {
        min-height: 260px;
    }
}

@media (max-width: 640px) {
    .section-split {
        padding: 48px 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-gap: 12px;
    }

    .gallery-grid img {
        height: 200px;
    }

    .split-content h2 {
        font-size: 24px;
    }

    .split-content p {
        font-size: 15px;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }
}

/* ======================
   SECTION PARTICULIERS / ENTREPRISES (KP)
   ====================== */
.kp-split {
    max-width: 100%;
    margin: 0;
    padding: 0 0 60px 0;
    background: #f8f9fa;
}

/* Onglets centrés au-dessus */
.kp-tabs-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 0;
    margin-bottom: 0;
    padding-top: 35px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 26.3%;
}

.kp-tab {
    border: 0;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #e0f2f1;
    color: #334155;
}

.kp-tab:first-child {
    border-radius: 8px 0 0 0;
}

.kp-tab:last-child {
    border-radius: 0 8px 0 0;
}

.kp-tab--active {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Container photo + contenu */
.kp-container {
    display: grid;
    grid-template-columns: 46% 54%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 0 auto;
    width: calc(100% - 80px);
}

/* Photo gauche */
.kp-photo {
    margin: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.kp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Contenu droite */
.kp-content {
    padding: 48px 52px 48px 44px;
    position: relative;
    background: #e8f5f3;
}

/* Titres */
.kp-h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    margin: 0 0 8px 0;
    color: #2d3748;
    line-height: 1.3;
}

/* Listes */
.kp-list {
    list-style: none;
    margin: 0 0 14px 0;
    padding: 0;
}

.kp-list li {
    position: relative;
    padding-left: 22px;
    margin: 5px 0;
    color: #4a5568;
    font-size: 13px;
    line-height: 1.5;
}

.kp-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1abc9c;
}

/* Bouton */
.kp-btn {
    display: inline-block;
    background: #1abc9c;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    padding: 11px 28px;
    border-radius: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 4px;
}

.kp-btn:hover {
    background: #16a085;
    transform: translateY(-2px);
}

/* Panes avec transition */
.kp-pane {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 36px 44px 36px 40px;
}

.kp-pane--active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

/* Responsive */
@media (max-width: 1024px) {
    .kp-container {
        grid-template-columns: 1fr;
    }

    .kp-photo img {
        min-height: 300px;
    }

    .kp-content,
    .kp-pane {
        padding: 32px 28px;
    }

    .kp-h3 {
        font-size: 17px;
    }
}

@media (max-width: 640px) {
    .kp-tab {
        padding: 12px 24px;
        font-size: 15px;
    }

    .kp-btn {
        width: 100%;
        text-align: center;
    }
}

/* ======================
   SECTION PACK 360
   ====================== */
.pack360-section {
    padding: 80px 0;
    background: #ffffff;
}

.pack360-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Partie visuelle gauche */
.pack360-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.pack360-circle-container {
    position: relative;
    width: 550px;
    height: 550px;
    animation: rotate360 25s linear infinite;
}

@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Image centrale avec fond beige */
.pack360-center-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    z-index: 5;
    animation: counterRotate360 25s linear infinite;
}

@keyframes counterRotate360 {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

.pack360-bg-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
    border-radius: 50%;
    z-index: 1;
}

.pack360-center-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
}

/* Cercle intérieur - Vert foncé */
.pack360-circle-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    border: 2px solid #15803d;
    border-radius: 50%;
    z-index: 1;
}

/* Cercle extérieur - Vert clair */
.pack360-circle-outer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
    border: 2px solid #4ade80;
    border-radius: 50%;
    z-index: 1;
}

/* Cartes statistiques */
.pack360-stat-card {
    position: absolute;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 120px;
    animation: counterRotate360 25s linear infinite;
    z-index: 10;
}

.pack360-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.pack360-stat-icon i {
    font-size: 22px;
    color: #ffffff;
}

.pack360-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 4px;
}

.pack360-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: capitalize;
}

/* Positions des cartes */
.pack360-stat-1 {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.pack360-stat-2 {
    bottom: 20px;
    left: -20px;
}

.pack360-stat-3 {
    bottom: 20px;
    right: -20px;
}

/* Photos de personnes */
.pack360-person {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: counterRotate360 25s linear infinite;
    z-index: 8;
}

.pack360-person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Positions des photos */
.pack360-person-1 {
    top: 15%;
    right: 8%;
}

.pack360-person-2 {
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
}

.pack360-person-3 {
    top: 15%;
    left: 8%;
}

.pack360-person-4 {
    top: 50%;
    left: -5%;
    transform: translateY(-50%);
}

/* Partie contenu droite */
.pack360-content h6 {
    margin-bottom: 12px;
}

.pack360-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1e293b;
}

.pack360-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 16px;
}

.btn-pack360 {
    display: inline-block;
    padding: 14px 32px;
    background: #16a34a;
    color: #ffffff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.btn-pack360:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .pack360-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pack360-circle-container {
        width: 400px;
        height: 400px;
    }

    .pack360-center-image {
        width: 220px;
        height: 220px;
    }

    .pack360-circle-inner {
        width: 300px;
        height: 300px;
    }

    .pack360-circle-outer {
        width: 390px;
        height: 390px;
    }

    .pack360-stat-card {
        padding: 12px 16px;
        min-width: 100px;
    }

    .pack360-stat-icon {
        width: 40px;
        height: 40px;
    }

    .pack360-stat-icon i {
        font-size: 18px;
    }

    .pack360-stat-number {
        font-size: 20px;
    }

    .pack360-stat-label {
        font-size: 11px;
    }

    .pack360-person {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .pack360-circle-container {
        width: 320px;
        height: 320px;
    }

    .pack360-center-image {
        width: 180px;
        height: 180px;
    }

    .pack360-circle-inner {
        width: 240px;
        height: 240px;
    }

    .pack360-circle-outer {
        width: 310px;
        height: 310px;
    }

    .pack360-stat-card {
        padding: 10px 12px;
        min-width: 90px;
    }

    .pack360-stat-icon {
        width: 35px;
        height: 35px;
    }

    .pack360-stat-icon i {
        font-size: 16px;
    }

    .pack360-stat-number {
        font-size: 18px;
    }

    .pack360-stat-label {
        font-size: 10px;
    }

    .pack360-person {
        width: 45px;
        height: 45px;
    }

    .pack360-content h2 {
        font-size: 26px;
    }
}


/* === Global CTA inline row === */
.cta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}

/* === Media strip image grid (used after hero) === */
.media-strip .image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.media-strip .image-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .media-strip .image-grid {
        grid-template-columns: 1fr;
    }

    .media-strip .image-grid img {
        height: 180px;
    }
}

/* === Local pages soft styles (no heavy blocks) === */
.local-info-box,
.sidebar .sidebar-box,
.cta-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.local-info-box h3,
.sidebar .sidebar-box h3,
.cta-box h3 {
    margin-top: 0;
}

.content-with-sidebar {
    gap: 32px;
}

.sidebar .sidebar-box+.sidebar-box {
    margin-top: 22px;
}

/* Buttons minor tweaks for consistency */
.btn-primary-large,
.btn-secondary-large {
    border-radius: 10px;
}


/* === Program Section Tabs === */
.program-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.program-tab {
    background: transparent;
    border: 2px solid #E5E7EB;
    color: #6B7280;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.program-tab.active {
    background: #1ABC9C;
    border-color: #1ABC9C;
    color: #fff;
}

.program-tab:hover {
    border-color: #1ABC9C;
    color: #1ABC9C;
}

.program-panel {
    display: block;
}

/* Program image sizing to ensure visibility */
.program-image {
    min-height: 420px;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
    .program-image {
        min-height: 240px;
    }
}


/* Responsive grid for program section */
@media (max-width: 900px) {
    .program-grid {
        grid-template-columns: 1fr !important;
    }
}

/* === Floating Info Button === */
.floating-info-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #1ABC9C 0%, #16A085 100%);
    color: #fff;
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(26, 188, 156, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.floating-info-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 188, 156, 0.5);
}

@media (max-width: 768px) {
    .floating-info-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
        font-size: 0.9rem;
    }
}


/* ===================================
   SECTION BACKGROUND ALTERNANCE (gris ↔ blanc)
   =================================== */
/* Conserve le fond gris global de la zone de contenu */
.content-section {
    background: #F9FAFB;
}

/* Chaque sous‑section alterne: les sections paires sont en blanc (plein écran) */
.content-section article>section {
    position: relative;
    z-index: 0;
}

.content-section article>section:nth-of-type(even)::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    /* Pleine largeur viewport */
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    background: #FFFFFF;
    z-index: -1;
}

/* Optionnel: légère séparation visuelle */
.content-section article>section:nth-of-type(even) {
    /* un peu d'air vertical afin que le bandeau blanc respire */
    padding-top: 8px;
    padding-bottom: 8px;
    box-shadow: inset 0 -1px 0 #F3F4F6, inset 0 1px 0 #F3F4F6;
}

/* CTA plus compacts et mieux alignés dans les sections de contenu */
.content-section .btn-primary-large,
.content-section .btn-secondary-large {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 10px;
}

/* Alignement du groupe de CTA (centré par défaut et responsive) */
.content-section .cta-row {
    justify-content: center;
    align-items: center;
    gap: 10px;
}

@media (min-width: 1024px) {
    .content-section .cta-row {
        justify-content: center;
    }
}


/* ===================================
   TRUSTBAR (badges d'avis + CTA top)
   =================================== */
.trustbar {
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
}

.trustbar .trustbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    flex-wrap: wrap;
}

.trustbar__group {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 18px;
}

.trust-logo--google {
    background: conic-gradient(#4285F4 0 25%, #DB4437 0 50%, #F4B400 0 75%, #0F9D58 0);
}

.trust-badge--mcf {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2B64D3, #1546A0);
    position: relative;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.trust-badge--mcf::after {
    content: "MCF";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .5px;
}

.trust-stars .star {
    color: #F59E0B;
    font-size: 16px;
    margin-left: 1px;
}

.trust-text {
    color: #6B7280;
    font-weight: 600;
    font-size: .95rem;
}

.trustbar__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-left: auto;
}

/* CTA plus compacts dans la trustbar */
.trustbar .btn-primary-large,
.trustbar .btn-secondary-large {
    padding: .55rem 1rem;
    font-size: .95rem;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .trustbar .trustbar__inner {
        justify-content: center;
    }

    .trustbar__cta {
        width: 100%;
        justify-content: center;
    }
}


/* === Media + Cards UX for Certification / Durées / Niveaux / Méthode / Publics === */
.media-block {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 22px;
    align-items: center;
    margin-top: 12px
}

.media-block.reverse {
    grid-template-columns: .85fr 1.15fr
}

.media-figure {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    min-height: 320px;
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%)
}

.media-figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 8px
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px
}

.checklist li::before {
    content: "✓";
    color: #16A34A;
    font-weight: 800;
    margin-top: 2px
}

.note {
    color: #6B7280;
    font-size: .9rem;
    margin-top: 8px
}

.duration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 12px
}

.duration-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .04)
}

.duration-card h3 {
    margin: 0 0 6px;
    font-size: 1.1rem
}

.duration-card p {
    margin: 0;
    color: #6B7280
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 12px
}

.level-card {
    background: linear-gradient(180deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 1px solid #A7F3D0;
    border-radius: 14px;
    padding: 16px
}

.level-card h3 {
    margin: 0 0 6px;
    color: #065F46;
    font-size: 1.05rem
}

.level-card p {
    margin: 0;
    color: #0F172A;
    font-size: .95rem
}

.publics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 12px
}

.public-chip {
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 12px 14px;
    color: #111827;
    font-weight: 600
}

@media (max-width:900px) {

    .media-block,
    .media-block.reverse {
        grid-template-columns: 1fr
    }

    .media-figure {
        min-height: 260px
    }
}


/* === CTA spécial: bloc Certification (bouton centré) === */
.section--certification .media-figure .btn-primary-large {
    background: #0FA46E;
    /* vert Cabinet Action */
    color: #fff;
    padding: .9rem 1.75rem;
    /* un peu plus grand que CTA contenu */
    font-size: 1rem;
    font-weight: 700;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(15, 164, 110, .25);
}

.section--certification .media-figure .btn-primary-large:hover {
    background: #0C8C5B;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(12, 140, 91, .28);
}


/* Icône du bouton certification */
.section--certification .media-figure .btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px
}

.section--certification .btn-icon {
    margin-left: 4px;
    transition: transform .2s ease
}

.section--certification .btn-primary-large:hover .btn-icon {
    transform: translateX(3px)
}


/* === THEME OVERRIDES: green + yellow (no blue) === */
.media-figure {
    background: linear-gradient(180deg, #ECFDF5 0%, #FEF3C7 100%) !important;
}

.trust-badge--mcf {
    background: linear-gradient(135deg, #16A34A, #0C8C5B) !important;
}


/* === Site-wide Benefits Block (tabs + two-column, green theme) === */
.site-benefits {
    padding: 3rem 0
}

.site-benefits .benefits-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 0 auto 1rem auto
}

.site-benefits .benefit-tab {
    appearance: none;
    border: 1px solid #d1fae5;
    background: #ecfdf5;
    color: #065F46;
    padding: .6rem 1.1rem;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease
}

.site-benefits .benefit-tab:hover {
    border-color: #16A34A;
    box-shadow: 0 4px 14px rgba(22, 163, 74, .15)
}

.site-benefits .benefit-tab.is-active {
    background: #16A34A;
    color: #fff;
    border-color: #16A34A;
    box-shadow: 0 8px 22px rgba(22, 163, 74, .28)
}

.site-benefits .benefits-box {
    background: #ecfdf5;
    border-radius: 28px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center
}

.site-benefits .media img {
    width: 100%;
    display: block;
    border-radius: 20px
}

.site-benefits .benefit-head {
    font-size: 1rem;
    margin: .5rem 0 .25rem 0;
    color: #0f172a
}

.site-benefits .benefit-list {
    list-style: none;
    margin: .25rem 0 1rem 0;
    padding: 0
}

.site-benefits .benefit-item {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    margin: .35rem 0;
    color: #334155
}

.site-benefits .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #16A34A;
    margin-top: .45rem;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, .16)
}

.site-benefits .benefits-cta {
    margin-top: .75rem
}

.site-benefits .btn-benefit {
    display: inline-block;
    background: #16A34A;
    color: #fff;
    padding: .9rem 1.25rem;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: all .25s ease
}

.site-benefits .btn-benefit:hover {
    background: #0C8C5B;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(12, 140, 91, .25)
}

@media (max-width: 992px) {
    .site-benefits .benefits-box {
        grid-template-columns: 1fr
    }

    .site-benefits {
        padding: 2rem 0
    }
}


/* === AISO helpers: TLDR, Q&A, Sources, Tables === */
.aiso-tldr {
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-left: 6px solid #F59E0B;
    padding: 16px 18px;
    border-radius: 12px;
    color: #0f172a
}

.aiso-tldr h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem
}

.aiso-qas .qa-item {
    margin: 12px 0
}

.aiso-qas .qa-item h3 {
    margin: .2rem 0 .25rem 0;
    font-size: 1.05rem
}

.aiso-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: .5rem 0 1rem 0
}

.aiso-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem
}

.aiso-table-wrap th,
.aiso-table-wrap td {
    border: 1px solid #E5E7EB;
    padding: 10px 12px;
    text-align: left
}

.sources-list {
    list-style: decimal;
    padding-left: 1.2rem;
    color: #334155
}

.sources-list a {
    color: #0ea5e9;
    text-decoration: none
}

.sources-list a:hover {
    text-decoration: underline
}


/* === Responsive hero tweaks === */
@media (max-width: 768px) {
    .article-hero .hero-text {
        align-items: center;
        text-align: center
    }
}


/* === Overrides: hide legacy floating info button on blog pages === */
.floating-info-btn {
    display: none !important
}