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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-primary {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #34495e, #2980b9);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-secondary:hover {
    background: #2c3e50;
    color: white;
}

/* Header */
.header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.logo .tagline {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

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

.nav a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.nav a:hover {
    background: rgba(255,255,255,0.1);
}

.nav i {
    margin-right: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

.stat {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.stat h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cta-buttons {
    margin-top: 2rem;
}

/* Sections générales */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Formation Section */
.formation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.formation-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.formation-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.formation-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.formation-card ul {
    text-align: left;
    list-style: none;
}

.formation-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.formation-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.formation-specialties {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.formation-specialties h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
}

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

.specialty-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.specialty-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.specialty-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.specialty-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.specialty-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Conseil Section */
.conseil-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

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

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

.conseil-card i {
    font-size: 3rem;
    color: #3498db;
    display: block;
    text-align: center;
    padding: 2rem 0 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.conseil-card h3 {
    text-align: center;
    color: #2c3e50;
    padding: 0 2rem;
    margin-bottom: 1.5rem;
}

.card-content {
    padding: 0 2rem 2rem;
}

.card-content h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.card-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.card-content li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.card-content li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.card-footer {
    background: #f8f9fa;
    padding: 1rem;
    margin: 0 -2rem -2rem;
    border-top: 1px solid #e9ecef;
}

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

.expertise-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #3498db;
}

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

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.expertise-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.expertise-card p {
    color: #666;
    line-height: 1.6;
}

/* À propos Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-intro {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white !important;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.about-intro p {
    color: white !important;
    margin-bottom: 0;
}

.experience-section,
.values-section {
    margin-bottom: 2rem;
}

.experience-section h3,
.values-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

.experience-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.experience-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.value-item i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.value-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.9rem;
    color: #666;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.image-placeholder i {
    font-size: 4rem;
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.credentials {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.credentials h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.credentials ul {
    list-style: none;
    text-align: left;
}

.credentials li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.credentials i {
    color: #3498db;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: #3498db;
    width: 30px;
    text-align: center;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-item p {
    margin: 0;
    color: #666;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

.footer-bottom a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
}

.scroll-top:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .formation-grid,
    .conseil-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .specialty-grid {
        grid-template-columns: 1fr;
    }
}

/* Styles pour les certifications */
.credentials-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.credentials-grid, .credentials-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.credential-item:hover {
    transform: translateX(5px);
    background: #e8f4fd;
}

.credential-item i {
    color: #3498db;
    font-size: 1.5rem;
}

.credential-item span {
    font-weight: 500;
    color: #2c3e50;
}

/* Nouvelle mise en page À propos - Version corrigée */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.about-text {
    /* Contenu original préservé */
}

.about-visual {
    position: relative;
}

.visual-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.expertise-highlight {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.expertise-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
}

.expertise-highlight h4 {
    margin: 0 0 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.expertise-highlight p {
    margin: 0 0 1.5rem;
    opacity: 0.9;
    font-size: 1rem;
}

.experience-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.badge-number {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.quick-stats {
    padding: 1.5rem;
}

.quick-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.quick-stat:last-child {
    border-bottom: none;
}

.quick-stat i {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.quick-stat div {
    flex: 1;
}

.quick-stat strong {
    display: block;
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.quick-stat span {
    color: #666;
    font-size: 0.85rem;
}

.contact-card {
    background: #f8f9fa;
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.contact-card h5 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #3498db;
    font-weight: 500;
}

@media (max-width: 768px) {
    .credentials-grid, .credentials-list {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .big-number {
        font-size: 3rem;
    }
    
    .highlight-stats {
        gap: 0.5rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-icon {
        left: -1.5rem;
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .about-right .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-right .value-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .formation-card,
    .expertise-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .stat {
        padding: 1.5rem;
    }
    
    .nav a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}