/* ===================================
   Variables CSS - Charte graphique
   =================================== */
:root {
    --vert-nexus: #2FA248;
    --vert-profond: #145A32;
    --teal: #0E5A64;
    --vert-clair: #7BC043;
    --gris-ardoise: #2C3E50;
    --sable: #F5F0E6;
    --blanc: #FFFFFF;
    --font-titre: 'Poppins', sans-serif;
    --font-corps: 'Inter', sans-serif;
    
    /* Couleurs par pôle */
    --pole-langues: #0E5A64;
    --pole-informatique: #2FA248;
    --pole-btp: #2C3E50;
    --pole-beaute: #7BC043;
}

/* ===================================
   Reset et base
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-corps);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gris-ardoise);
    background-color: var(--sable);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ===================================
   Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: var(--blanc);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-titre);
    font-weight: 700;
    font-size: 24px;
    color: var(--vert-nexus);
}

.logo-baseline {
    font-size: 12px;
    color: var(--teal);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--gris-ardoise);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--vert-nexus);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--vert-nexus);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--gris-ardoise);
    transition: all 0.3s ease;
}

.main {
    min-height: calc(100vh - 200px);
}

/* ===================================
   WhatsApp Floating Button
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--gris-ardoise);
    color: var(--blanc);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-titre);
    margin-bottom: 15px;
    color: var(--vert-nexus);
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li a:hover {
    color: var(--vert-nexus);
}

.footer-contact {
    margin-top: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--vert-nexus) 0%, var(--teal) 100%);
    color: var(--blanc);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-titre);
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero .btn {
    display: inline-block;
    background-color: var(--blanc);
    color: var(--vert-nexus);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Section
   =================================== */
.section {
    padding: 60px 0;
}

.section-title {
    font-family: var(--font-titre);
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--gris-ardoise);
}

/* ===================================
   Boutons
   =================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--vert-nexus);
    color: var(--blanc);
}

.btn-primary:hover {
    background-color: var(--vert-profond);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--blanc);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* ===================================
   Cards
   =================================== */
.card {
    background-color: var(--blanc);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--gris-ardoise);
}

.card-content {
    padding: 20px;
}

.card-title {
    font-family: var(--font-titre);
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--gris-ardoise);
}

.card-description {
    color: var(--gris-ardoise);
    margin-bottom: 15px;
    line-height: 1.6;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.card-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background-color: var(--sable);
    color: var(--gris-ardoise);
}

/* ===================================
   Grid
   =================================== */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--blanc);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* ===================================
   New Hero Section
   =================================== */
.hero-new {
    background: linear-gradient(135deg, #145A32 0%, #145A32 60%, #0E5A64 100%);
    color: var(--blanc);
    padding: 100px 0 80px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    max-width: 600px;
}

.hero-tagline {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-titre);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--vert-nexus);
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-hero-primary {
    background-color: var(--vert-nexus);
    color: var(--blanc);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background-color: var(--vert-profond);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background-color: transparent;
    color: var(--blanc);
    padding: 16px 32px;
    border: 2px solid var(--blanc);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background-color: var(--blanc);
    color: var(--vert-nexus);
}

.hero-right {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: cover;
}

.hero-cert-card {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background-color: var(--blanc);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 280px;
}

.cert-icon {
    font-size: 40px;
}

.cert-text {
    display: flex;
    flex-direction: column;
}

.cert-text strong {
    font-family: var(--font-titre);
    font-size: 14px;
    color: var(--gris-ardoise);
}

.cert-text span {
    font-size: 12px;
    color: #666;
}

/* ===================================
   Stats Bar
   =================================== */
.stats-bar {
    background-color: var(--sable);
    padding: 50px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-titre);
    font-size: 48px;
    font-weight: 700;
    color: var(--vert-nexus);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gris-ardoise);
    letter-spacing: 1px;
}

.whatsapp-float-stats {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float-stats:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ===================================
   Training Poles Section
   =================================== */
.poles-section {
    background-color: var(--sable);
    padding: 80px 0;
}

.section-title-new {
    font-family: var(--font-titre);
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--gris-ardoise);
}

.poles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.pole-card {
    background-color: var(--blanc);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.pole-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.pole-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.pole-title {
    font-family: var(--font-titre);
    font-size: 20px;
    font-weight: 600;
    color: var(--gris-ardoise);
    margin-bottom: 12px;
}

.pole-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 50px;
}

.pole-link {
    color: var(--vert-nexus);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.pole-link:hover {
    color: var(--vert-profond);
}

/* ===================================
   Featured Formations Section
   =================================== */
.formations-section {
    background-color: var(--blanc);
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.view-all-link {
    color: var(--vert-nexus);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: var(--vert-profond);
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.formation-card {
    background-color: var(--sable);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.formation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.formation-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    opacity: 0.3;
}

.formation-content {
    padding: 25px;
}

.formation-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.formation-title {
    font-family: var(--font-titre);
    font-size: 18px;
    font-weight: 600;
    color: var(--gris-ardoise);
    margin-bottom: 15px;
    line-height: 1.4;
}

.formation-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    font-size: 13px;
    color: #666;
}

.btn-whatsapp-card {
    background-color: #25D366;
    color: var(--blanc);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-whatsapp-card:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

/* ===================================
   Why Choose Section
   =================================== */
.why-section {
    background-color: var(--teal);
    padding: 80px 0;
    color: var(--blanc);
}

.why-section .section-title-new {
    color: var(--blanc);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-item {
    text-align: center;
}

.why-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.why-title {
    font-family: var(--font-titre);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.why-description {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
    background-color: var(--sable);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--blanc);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.testimonial-stars {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gris-ardoise);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.author-name {
    font-weight: 600;
    color: var(--gris-ardoise);
    margin-bottom: 5px;
}

.author-formation {
    font-size: 13px;
    color: var(--vert-nexus);
}

/* ===================================
   Responsive Design for New Sections
   =================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .formations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-new {
        padding: 60px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-right {
        order: -1;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-cert-card {
        right: 50%;
        transform: translateX(50%);
        bottom: -20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .whatsapp-float-stats {
        position: fixed;
        right: 20px;
        bottom: 20px;
        top: auto;
        transform: none;
    }
    
    .whatsapp-float-stats:hover {
        transform: scale(1.1);
    }
    
    .poles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .formations-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-tagline {
        font-size: 12px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title-new {
        font-size: 32px;
    }
    
    .poles-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cert-card {
        max-width: 100%;
        right: 0;
        left: 0;
        transform: none;
        bottom: -15px;
        margin: 0 20px;
    }
}

/* ===================================
   Breadcrumbs
   =================================== */
.breadcrumbs {
    background-color: var(--sable);
    padding: 15px 0;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--gris-ardoise);
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--vert-nexus);
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb-current {
    color: var(--vert-nexus);
    font-weight: 500;
}

/* ===================================
   Formations Page Header
   =================================== */
.formations-header {
    background-color: var(--blanc);
    padding: 60px 0 40px;
    text-align: center;
}

.formations-page-title {
    font-family: var(--font-titre);
    font-size: 48px;
    font-weight: 700;
    color: var(--gris-ardoise);
    margin-bottom: 15px;
}

.formations-page-description {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===================================
   Filter Bar Section
   =================================== */
.filter-bar-section {
    background-color: var(--blanc);
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-poles {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pole-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    color: var(--gris-ardoise);
    background-color: var(--blanc);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.filter-pole-btn:hover {
    border-color: var(--vert-nexus);
    color: var(--vert-nexus);
}

.filter-pole-btn.active {
    border-color: var(--vert-nexus);
    background-color: var(--vert-nexus);
    color: var(--blanc);
}

.filter-dropdowns {
    display: flex;
    gap: 15px;
}

.filter-dropdown select {
    padding: 10px 35px 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gris-ardoise);
    background-color: var(--blanc);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 120px;
}

.filter-dropdown select:focus {
    outline: none;
    border-color: var(--vert-nexus);
}

/* ===================================
   Formations Catalog Grid
   =================================== */
.formations-catalog {
    background-color: var(--sable);
    padding: 50px 0 80px;
}

.formations-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.formation-catalog-card {
    background-color: var(--blanc);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.formation-catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.formation-catalog-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.formation-catalog-icon {
    font-size: 60px;
    opacity: 0.3;
}

.formation-catalog-content {
    padding: 25px;
}

.formation-catalog-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--blanc);
    margin-bottom: 15px;
}

.formation-catalog-title {
    font-family: var(--font-titre);
    font-size: 18px;
    font-weight: 600;
    color: var(--gris-ardoise);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 50px;
}

.formation-catalog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}

.meta-duration,
.meta-level {
    display: flex;
    align-items: center;
    gap: 5px;
}

.formation-catalog-actions {
    display: flex;
    gap: 12px;
}

.btn-catalog-program {
    flex: 1;
    padding: 12px 20px;
    background-color: var(--vert-nexus);
    color: var(--blanc);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-catalog-program:hover {
    background-color: var(--vert-profond);
    transform: translateY(-2px);
}

.btn-catalog-whatsapp {
    padding: 12px 20px;
    background-color: #25D366;
    color: var(--blanc);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-catalog-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

/* ===================================
   No Results
   =================================== */
.no-results {
    text-align: center;
    padding: 80px 40px;
    background-color: var(--blanc);
    border-radius: 12px;
}

.no-results-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.no-results h3 {
    font-family: var(--font-titre);
    font-size: 24px;
    color: var(--gris-ardoise);
    margin-bottom: 10px;
}

.no-results p {
    color: #666;
    margin-bottom: 30px;
}

/* ===================================
   Pagination
   =================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-link {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--gris-ardoise);
    background-color: var(--blanc);
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination-link:hover {
    border-color: var(--vert-nexus);
    color: var(--vert-nexus);
}

.pagination-link.pagination-current {
    background-color: var(--vert-nexus);
    border-color: var(--vert-nexus);
    color: var(--blanc);
}

.pagination-link.pagination-prev,
.pagination-link.pagination-next {
    padding: 0 20px;
}

.pagination-ellipsis {
    color: #999;
    font-size: 18px;
    padding: 0 5px;
}

/* ===================================
   Responsive Design for Formations Page
   =================================== */
@media (max-width: 1024px) {
    .formations-page-title {
        font-size: 40px;
    }
    
    .formations-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .formations-header {
        padding: 40px 0 30px;
    }
    
    .formations-page-title {
        font-size: 32px;
    }
    
    .formations-page-description {
        font-size: 16px;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-poles {
        justify-content: center;
    }
    
    .filter-dropdowns {
        justify-content: center;
    }
    
    .filter-bar-section {
        position: relative;
        top: 0;
    }
    
    .formations-catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .formation-catalog-actions {
        flex-direction: column;
    }
    
    .btn-catalog-program,
    .btn-catalog-whatsapp {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .formations-page-title {
        font-size: 28px;
    }
    
    .filter-pole-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .filter-dropdown select {
        min-width: 100px;
    }
    
    .pagination-link {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
        padding: 0 12px;
    }
}

/* ===================================
   Formation Detail Page
   =================================== */
.formation-detail {
    background-color: var(--sable);
    padding: 50px 0 80px;
}

.formation-detail-layout {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 40px;
}

/* Left Column - Main Content */
.formation-detail-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Hero Banner */
.formation-detail-hero {
    position: relative;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.formation-detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%);
}

.formation-detail-hero-content {
    position: relative;
    z-index: 1;
    color: var(--blanc);
}

.formation-detail-badge {
    display: inline-block;
    background-color: rgba(255,255,255,0.25);
    color: var(--blanc);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.formation-detail-title {
    font-family: var(--font-titre);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

/* Detail Sections */
.formation-detail-section {
    background-color: var(--blanc);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.section-heading {
    font-family: var(--font-titre);
    font-size: 28px;
    font-weight: 600;
    color: var(--gris-ardoise);
    margin-bottom: 25px;
}

.formation-detail-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gris-ardoise);
}

/* Programme Section */
.formation-detail-programme {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.programme-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: var(--sable);
    border-radius: 10px;
}

.programme-number {
    font-family: var(--font-titre);
    font-size: 24px;
    font-weight: 700;
    color: var(--vert-nexus);
    min-width: 50px;
}

.programme-title {
    font-family: var(--font-titre);
    font-size: 18px;
    font-weight: 600;
    color: var(--gris-ardoise);
    margin-bottom: 8px;
}

.programme-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Prérequis Section */
.prerequis-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.prerequis-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: var(--gris-ardoise);
}

.prerequis-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--vert-nexus);
    color: var(--blanc);
    border-radius: 50%;
    font-weight: 600;
}

/* Débouchés Section */
.debouches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.debouche-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: var(--sable);
    border-radius: 10px;
    text-align: center;
    flex-direction: column;
}

.debouche-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.debouche-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--gris-ardoise);
}

/* Right Column - Sticky Sidebar */
.formation-detail-sidebar {
    position: relative;
}

.formation-sidebar-card {
    background-color: var(--blanc);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    position: sticky;
    top: 90px;
}

.sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.sidebar-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar-info-icon {
    font-size: 24px;
}

.sidebar-info-content {
    display: flex;
    flex-direction: column;
}

.sidebar-info-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.sidebar-info-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--gris-ardoise);
}

.btn-sidebar-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #2FA248;
    color: var(--blanc);
    padding: 18px 24px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 15px;
}

.btn-sidebar-whatsapp:hover {
    background-color: #145A32;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47, 162, 72, 0.4);
}

.btn-sidebar-pdf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: transparent;
    color: var(--gris-ardoise);
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-sidebar-pdf:hover {
    border-color: var(--vert-nexus);
    color: var(--vert-nexus);
}

/* Related Formations Section */
.related-formations {
    background-color: var(--blanc);
    padding: 60px 0;
}

/* Responsive Design for Formation Detail */
@media (max-width: 1024px) {
    .formation-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .formation-detail-sidebar {
        order: -1;
    }
    
    .formation-sidebar-card {
        position: relative;
        top: 0;
    }
    
    .formation-detail-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .formation-detail {
        padding: 30px 0 50px;
    }
    
    .formation-detail-hero {
        height: 250px;
        padding: 25px;
    }
    
    .formation-detail-title {
        font-size: 28px;
    }
    
    .formation-detail-section {
        padding: 25px;
    }
    
    .section-heading {
        font-size: 24px;
    }
    
    .debouches-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-sidebar-whatsapp {
        font-size: 16px;
        padding: 15px 20px;
    }
}

/* ===================================
   About Page
   =================================== */

/* Hero Mission Section */
.about-hero {
    background-color: var(--blanc);
    padding: 80px 0;
    text-align: center;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-title {
    font-family: var(--font-titre);
    font-size: 52px;
    font-weight: 700;
    color: var(--gris-ardoise);
    margin-bottom: 30px;
}

.about-hero-mission {
    font-size: 20px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.about-hero-tagline {
    font-family: var(--font-titre);
    font-size: 24px;
    font-weight: 600;
    color: var(--vert-nexus);
    letter-spacing: 2px;
}

/* Values Section */
.about-values {
    background-color: var(--sable);
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.value-card {
    background-color: var(--blanc);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-title {
    font-family: var(--font-titre);
    font-size: 20px;
    font-weight: 600;
    color: var(--gris-ardoise);
    margin-bottom: 15px;
}

.value-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Training Poles Section */
.about-poles {
    background-color: var(--blanc);
    padding: 80px 0;
}

.about-poles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about-pole-card {
    background-color: var(--sable);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.about-pole-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.about-pole-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
}

.about-pole-title {
    font-family: var(--font-titre);
    font-size: 20px;
    font-weight: 600;
    color: var(--gris-ardoise);
    margin-bottom: 15px;
}

.about-pole-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    min-height: 50px;
}

.about-pole-link {
    color: var(--vert-nexus);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-pole-link:hover {
    color: var(--vert-profond);
}

/* Team Section */
.about-team {
    background-color: var(--teal);
    padding: 80px 0;
    color: var(--blanc);
}

.about-team .section-title-new {
    color: var(--blanc);
}

.about-team-intro {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background-color: var(--blanc);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.team-avatar {
    font-size: 64px;
    margin-bottom: 20px;
}

.team-name {
    font-family: var(--font-titre);
    font-size: 18px;
    font-weight: 600;
    color: var(--gris-ardoise);
    margin-bottom: 8px;
}

.team-specialty {
    font-size: 14px;
    font-weight: 600;
    color: var(--vert-nexus);
    margin-bottom: 15px;
}

.team-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
    .about-hero-title {
        font-size: 42px;
    }
    
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-poles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0;
    }
    
    .about-hero-title {
        font-size: 32px;
    }
    
    .about-hero-mission {
        font-size: 18px;
    }
    
    .about-hero-tagline {
        font-size: 20px;
    }
    
    .about-values,
    .about-poles,
    .about-team {
        padding: 60px 0;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-poles-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .value-card,
    .about-pole-card,
    .team-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .about-hero-title {
        font-size: 28px;
    }
    
    .about-hero-mission {
        font-size: 16px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Contact Page
   =================================== */

.contact-page {
    background-color: var(--sable);
    padding: 50px 0 80px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 40px;
}

/* Left Column - Form */
.contact-form-section {
    background-color: var(--blanc);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-page-title {
    font-family: var(--font-titre);
    font-size: 42px;
    font-weight: 700;
    color: var(--gris-ardoise);
    margin-bottom: 15px;
}

.contact-page-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Success/Error Messages */
.contact-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-success-icon {
    font-size: 20px;
    font-weight: 700;
    background-color: #28a745;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-success-text {
    font-weight: 500;
}

.contact-errors {
    margin-bottom: 30px;
}

.contact-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-weight: 600;
    font-size: 15px;
    color: var(--gris-ardoise);
}

.form-required {
    color: #dc3545;
}

.form-input,
.form-select,
.form-textarea {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-corps);
    color: var(--gris-ardoise);
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--vert-nexus);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-contact-submit {
    background-color: var(--vert-nexus);
    color: var(--blanc);
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-contact-submit:hover {
    background-color: var(--vert-profond);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47, 162, 72, 0.4);
}

/* Right Column - Info */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-card,
.contact-map-card,
.contact-details-card {
    background-color: var(--blanc);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-info-title {
    font-family: var(--font-titre);
    font-size: 22px;
    font-weight: 600;
    color: var(--gris-ardoise);
    margin-bottom: 20px;
}

.btn-contact-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #25D366;
    color: var(--blanc);
    padding: 18px 24px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-contact-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.contact-map-placeholder {
    border-radius: 8px;
    overflow: hidden;
}

.contact-map-placeholder iframe {
    display: block;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-detail-icon {
    font-size: 28px;
}

.contact-detail-content {
    display: flex;
    flex-direction: column;
}

.contact-detail-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--gris-ardoise);
}

/* Responsive Design for Contact Page */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-info-section {
        order: -1;
    }
    
    .contact-page-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 30px 0 50px;
    }
    
    .contact-form-section {
        padding: 30px 25px;
    }
    
    .contact-page-title {
        font-size: 32px;
    }
    
    .contact-page-description {
        font-size: 16px;
    }
    
    .contact-info-card,
    .contact-map-card,
    .contact-details-card {
        padding: 25px 20px;
    }
    
    .btn-contact-whatsapp {
        font-size: 16px;
        padding: 15px 20px;
    }
    
    .btn-contact-submit {
        font-size: 16px;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .contact-page-title {
        font-size: 28px;
    }
    
    .contact-form-section,
    .contact-info-card,
    .contact-map-card,
    .contact-details-card {
        padding: 25px 20px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 15px;
        padding: 12px 14px;
    }
}
