/* ===========================
   Variables CSS - Style École
   =========================== */
:root {
    --primary-color: #003366;
    --secondary-color: #0066cc;
    --accent-color: #cc9933;
    --dark-color: #001a33;
    --light-color: #f5f7fa;
    --text-color: #2c3e50;
    --border-color: #d4dce6;
    --success-color: #27ae60;
    --white: #ffffff;
    --beige: #f9f6f1;
    --gold: #d4af37;
    
    --font-primary: 'Poppins', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0,51,102,0.1);
    --shadow-md: 0 4px 8px rgba(0,51,102,0.15);
    --shadow-lg: 0 8px 20px rgba(0,51,102,0.2);
    --shadow-xl: 0 12px 30px rgba(0,51,102,0.25);
}

/* ===========================
   Reset et Base
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--beige);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===========================
   Header et Navigation
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,51,102,0.15);
    z-index: 1000;
    border-bottom: 3px solid var(--gold);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: -5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-menu a:not(.btn-nav):hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:not(.btn-nav):hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-nav {
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn-nav:hover {
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204,153,51,0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255,255,255,0.03) 10px,
            rgba(255,255,255,0.03) 20px
        );
    opacity: 0.5;
}

.hero::after {
    content: '🎓';
    position: absolute;
    font-size: 20rem;
    opacity: 0.05;
    right: -5rem;
    bottom: -5rem;
    transform: rotate(-15deg);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(212,175,55,0.9);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    font-weight: 600;
    animation: fadeInDown 0.8s ease;
    border: 2px solid rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212,175,55,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

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

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* ===========================
   Section Styles
   =========================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.text-center {
    text-align: center;
    margin-top: 3rem;
}

/* ===========================
   Services Section
   =========================== */
.services {
    background: var(--light-color);
}

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

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--primary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-top-color: var(--accent-color);
}

.service-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-card > p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===========================
   Formations Preview Section
   =========================== */
.formations-preview {
    background: var(--white);
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.formation-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    border-left: 5px solid var(--accent-color);
}

.formation-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.formation-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.formation-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.formation-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.formation-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

/* ===========================
   Conseil Preview Section
   =========================== */
.conseil-preview {
    background: var(--light-color);
}

.conseil-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.conseil-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.conseil-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.conseil-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.conseil-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.conseil-card > p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.conseil-card ul {
    list-style: none;
}

.conseil-card ul li {
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.conseil-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===========================
   Why Us Section
   =========================== */
.why-us {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
}

.why-card p {
    color: var(--text-color);
    line-height: 1.7;
}

/* ===========================
   About Section
   =========================== */
.about {
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-color);
    margin: 0;
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
}

.about-card ul li {
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.about-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* ===========================
   CTA Section
   =========================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '📚';
    position: absolute;
    font-size: 15rem;
    opacity: 0.05;
    left: -3rem;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
}

.cta::after {
    content: '🎓';
    position: absolute;
    font-size: 15rem;
    opacity: 0.05;
    right: -3rem;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 5px solid var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.1rem;
}

.footer-col p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    line-height: 1.7;
}

.footer-address {
    margin-top: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

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

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .service-card,
    .conseil-card {
        padding: 1.5rem;
    }

    section {
        padding: 3rem 0;
    }
}

/* ===========================
   Éléments Académiques Additionnels
   =========================== */
.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

/* Badge diplôme */
.hero-stats::before {
    content: '🏆';
    display: block;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Style académique pour les titres */
h1, h2, h3 {
    font-family: 'Georgia', serif;
}

/* Ajout d'ornements */
.formation-target::before {
    content: '👨‍🎓';
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Style livre pour les programmes */
.formation-program::before {
    content: '📖';
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* ===========================
   Page Hero (Pages internes)
   =========================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--gold);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255,255,255,0.03) 10px,
            rgba(255,255,255,0.03) 20px
        );
    opacity: 0.5;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-badge {
    display: inline-block;
    background: rgba(212,175,55,0.9);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ===========================
   Formation Benefits
   =========================== */
.formation-benefits {
    background: var(--light-color);
    padding: 3rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* ===========================
   Filters
   =========================== */
.formations-filter {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: var(--white);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,51,102,0.2);
}

/* ===========================
   Formation Card Detailed
   =========================== */
.formations-catalog {
    background: var(--light-color);
}

.formation-card-detailed {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 5px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.formation-card-detailed:hover {
    box-shadow: var(--shadow-xl);
    border-left-width: 8px;
}

.formation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.formation-badge {
    background: var(--success-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.formation-card-detailed h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.formation-description {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2rem;
    min-height: 4rem;
}

.formation-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.detail-icon {
    font-size: 1.2rem;
}

.formation-program {
    margin: 2rem 0;
    min-height: 350px;
}

.formation-program h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.formation-program ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
}

.formation-program ul li {
    color: var(--text-color);
    padding: 0.5rem 0;
}

.formation-target {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    min-height: 100px;
}

.formation-target h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.formation-prereq {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #fff8e1;
    border-radius: 10px;
    border-left: 4px solid #f57c00;
    min-height: 80px;
}

.formation-prereq h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.formation-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin: 2rem 0;
    margin-top: auto;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===========================
   Formation Modalities
   =========================== */
.formation-modalities {
    background: var(--white);
}

.modalities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.modality-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
}

.modality-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.modality-card ul li {
    padding: 0.7rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modality-card ul li:last-child {
    border-bottom: none;
}

.modality-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

/* ===========================
   Conseil Services
   =========================== */
.conseil-approach {
    background: var(--white);
}

.approach-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.step-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    border: 3px solid var(--gold);
    font-family: 'Georgia', serif;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.step-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* ===========================
   Conseil Service Detail
   =========================== */
.conseil-services {
    background: var(--light-color);
}

.conseil-service-detail {
    margin-bottom: 4rem;
    padding: 4rem 0;
}

.conseil-service-detail.alt {
    background: var(--white);
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.conseil-service-detail.alt .service-content {
    grid-template-columns: 1fr 2fr;
}

.service-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.service-text h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-features-list {
    margin: 2rem 0;
}

.service-features-list h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.features-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-col h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-col ul li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

.service-benefits {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 15px;
}

.service-benefits h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.benefit {
    padding: 0.5rem;
    color: var(--text-color);
}

.service-card-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.service-card-info h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.card-includes {
    margin: 1.5rem 0;
}

.card-includes li {
    padding: 0.8rem 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.card-includes li:last-child {
    border-bottom: none;
}

/* ===========================
   Additional Services
   =========================== */
.additional-services {
    background: var(--white);
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.additional-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.additional-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.additional-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.additional-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.additional-card p {
    color: var(--text-color);
}

/* ===========================
   Methodology
   =========================== */
.methodology {
    background: var(--light-color);
}

.methodology-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.methodology-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.method-point h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.method-point p {
    color: var(--text-color);
}

.visual-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.visual-card h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.visual-card ul li {
    padding: 0.8rem 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.visual-card ul li:last-child {
    border-bottom: none;
}

/* ===========================
   Use Cases
   =========================== */
.use-cases {
    background: var(--white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    transition: var(--transition);
}

.case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.case-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.case-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.case-result {
    padding-top: 1rem;
    border-top: 2px solid var(--primary-color);
    color: var(--text-color);
}

.case-result strong {
    color: var(--primary-color);
}

/* ===========================
   Contact Page
   =========================== */
.contact-main {
    background: var(--light-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form-section h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 0.8rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.3rem;
    width: auto;
}

.checkbox-label span {
    font-size: 0.9rem;
    color: var(--text-color);
}

.btn-large {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-color);
    line-height: 1.7;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

.reasons-list {
    list-style: none;
}

.reasons-list li {
    padding: 0.8rem 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

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

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
    font-weight: 600;
}

.social-link:hover {
    transform: translateX(5px);
}

.social-link.linkedin {
    color: #0077b5;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: var(--white);
}

.social-link.facebook {
    color: #1877f2;
}

.social-link.facebook:hover {
    background: #1877f2;
    color: var(--white);
}

.social-link.twitter {
    color: #000000;
}

.social-link.twitter:hover {
    background: #000000;
    color: var(--white);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===========================
   FAQ Contact
   =========================== */
.contact-faq {
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-color);
    line-height: 1.7;
}

/* ===========================
   Map Section
   =========================== */
.contact-map {
    background: var(--light-color);
}

.contact-map h2 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.map-container {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    padding: 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.map-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.map-note {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===========================
   Contact CTA Alternative
   =========================== */
.contact-cta-alt {
    background: var(--white);
}

.cta-alt-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 3rem;
    background: var(--light-color);
    border-radius: 15px;
}

.cta-alt-text h2 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.cta-alt-text p {
    color: var(--text-color);
}

.btn-icon {
    font-size: 1.3rem;
    margin-right: 0.5rem;
}

/* ===========================
   Responsive - Pages internes
   =========================== */
@media (max-width: 992px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .approach-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .service-content {
        grid-template-columns: 1fr;
    }

    .conseil-service-detail.alt .service-content {
        grid-template-columns: 1fr;
    }

    .service-card-info,
    .visual-card {
        position: static;
    }

    .methodology-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-alt-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .formation-card-detailed {
        padding: 2rem;
    }
}