/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

/* Header et Navigation optimisés */
header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
    z-index: 1001;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #2563eb;
}

/* Menu burger pour mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Style pour le menu mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease;
        padding-top: 80px;
    }

    nav ul.active {
        left: 0;
    }

    nav {
        padding: 1rem;
    }

    /* Animation du burger menu */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Ajustement du padding pour le contenu principal */
main {
    padding-top: 80px;
}

/* Sections générales */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

section {
    margin: 2rem 0;
}

h1, h2, h3, h4 {
    color: #1e40af;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Boutons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background: #1d4ed8;
}

/* Grilles */
.services-grid, .ebooks-grid, .methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Cards */
.service-card, .ebook-card, .testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Formulaire de contact */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* Footer */
footer {
    background: #1e40af;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}
.footer-link 
{
	color: var(--white);
	text-decoration: none;
	transition: color 0.3s ease;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: white;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

[data-aos] {
    animation: fadeIn 1s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

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

    .service-card, .ebook-card {
        margin: 1rem;
    }
}

/* Styles spécifiques à la page parcours */
.parcours-timeline .timeline {
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 2px;
    background: #2563eb;
}

.timeline-entry {
    margin: 2rem 0;
    position: relative;
    width: 50%;
}

.timeline-entry:nth-child(odd) {
    left: 0;
    padding-right: 2rem;
}

.timeline-entry:nth-child(even) {
    left: 50%;
    padding-left: 2rem;
}

.expertise-details {
    background: white;
    padding: 3rem 0;
    margin: 3rem 0;
}

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

.expertise-item {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.expertise-item ul {
    list-style: none;
    padding: 0;
}

.expertise-item ul li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.expertise-item ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2563eb;
}

/* Styles pour les testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial blockquote {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-style: italic;
}

.testimonial cite {
    display: block;
    margin-top: 1rem;
    color: #2563eb;
    font-weight: 500;
}

/* Style pour la page e-books */
.ebooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.ebook-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.ebook-cover {
    width: 100%;
    aspect-ratio: 2/3;
    background: #2563eb;
}

.buy-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.buy-button:hover {
    background: #1d4ed8;
}

/* Styles pour les études de cas */
.case-studies {
    padding: 4rem 0;
    background: #f8fafc;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.case-study-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.case-study-header {
    padding: 2rem;
    background: #2563eb;
    color: white;
}

.case-study-header h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.industry-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
    font-size: 0.875rem;
}

.case-study-content {
    padding: 2rem;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.stat {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

.case-study-content h4 {
    color: #1e40af;
    margin: 1.5rem 0 0.75rem;
}

.case-study-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.case-study-content ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.case-study-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2563eb;
}

@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .case-study-stats {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.faq-grid {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
}