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

/* Body */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Header / Navbar */
header {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo-section {
    flex-basis: 20%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
}

.menu-section {
    flex-basis: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-basis: 65%;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 2.5rem;
    line-height: 1.2;
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu a.active {
    background: #2563eb;
    color: white;
    outline: none;
}

.button-section {
    flex-basis: 35%;
    display: flex;
    justify-content: flex-end;
}

.cta-btn {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap;
}

.cta-btn:hover,
.cta-btn:focus {
    background: #1d4ed8;
    outline: none;
}

/* Slogan accrocheur */
.slogan {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
    margin-top: 80px;
    position: relative;
    z-index: 999;
}

/* Sections générales */
.section {
    padding: 6rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    display: none;
}

.section.active {
    display: block;
}

.section h1, .section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2563eb;
    background: #fff;
    padding: 1rem 2rem;
    border-radius: 10px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.section h1 {
    font-size: 2.5rem;
}

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

/* Home / Hero */
.hero {
    text-align: center;
    padding: 6rem 2rem 4rem;
}

.hero > div[style*="display: grid"] {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    gap: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.hero > div[style*="display: grid"] > div {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
}

.hero > div[style*="display: grid"] > div:first-child {
    background: #2563eb;
    color: white;
}

.hero > div[style*="display: grid"] > div:first-child h3 {
    color: white;
}

.hero > div[style*="display: grid"] > div:last-child {
    background: #F37A1A;
    color: white;
}

.hero > div[style*="display: grid"] > div:last-child h3 {
    color: white;
}

.hero > div[style*="display: grid"] div[style*="background"] {
    background: rgba(255,255,255,0.15);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #fff;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #2563eb;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
}

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

.service-card h3 {
    color: #2563eb;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #2563eb;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-content {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: #2563eb;
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}

.stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.video-testimonial {
    background: #f8fafc;
    border: 2px dashed #2563eb;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 15px;
    color: #2563eb;
}

.video-testimonial h3 {
    margin-bottom: 1rem;
}

/* Quiz */
.quiz-form {
    max-width: 800px;
    margin: 0 auto;
}

.question {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #2563eb;
    transition: transform 0.3s ease;
}

.question:hover {
    transform: translateY(-3px);
}

.question h3 {
    color: #2563eb;
    margin-bottom: 1rem;
}

.question label {
    display: block;
    margin-bottom: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.question label:hover {
    background: #f3f4f6;
}

.question input[type="radio"] {
    margin-right: 0.5rem;
}

.quiz-results {
    background: white;
    color: #333;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #2563eb;
    text-align: center;
    margin-top: 2rem;
    display: none;
}

.quiz-results h3 {
    color: #2563eb;
    margin-bottom: 1rem;
}

/* Contact form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #2563eb;
    transition: transform 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-3px);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    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: #2563eb;
}

/* Resources */
.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #2563eb;
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-3px);
}

.resource-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.resource-icon {
    font-size: 2.5rem;
    color: #2563eb;
    min-width: 60px;
    text-align: center;
}

.resource-title {
    color: #2563eb;
    margin-bottom: 0.2rem;
    font-size: 1.3rem;
    font-weight: bold;
}

.resource-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.resource-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.resource-meta span {
    background: #f8fafc;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.category-section {
    margin-bottom: 3rem;
}

.category-title {
    color: #2563eb;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2563eb;
    text-align: left;
}

/* Resources - Badges complets */
.resource-badge {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

/* Badges de Priorité/Importance */
.resource-badge.premium {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1f2937;
}

.resource-badge.recommande {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1f2937;
}

.resource-badge.populaire {
    background: linear-gradient(135deg, #dc2626, #f87171);
    color: white;
}

/* Badges de Type/Format */
.resource-badge.pratique {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}

.resource-badge.formation {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: white;
}

.resource-badge.video {
    background: linear-gradient(135deg, #dc2626, #f87171);
    color: white;
}

.resource-badge.audio {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
}

/* Badges de Statut */
.resource-badge.coming-soon {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    color: white;
}

.resource-badge.bientot {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    color: white;
}

.resource-badge.en-cours {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1f2937;
}

.resource-badge.nouveau {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
}

.resource-badge.mis-a-jour {
    background: linear-gradient(135deg, #06b6d4, #67e8f9);
    color: #1f2937;
}

/* Badges de Niveau */
.resource-badge.debutant {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: white;
}

.resource-badge.intermediaire {
    background: linear-gradient(135deg, #eab308, #facc15);
    color: #1f2937;
}

.resource-badge.avance {
    background: linear-gradient(135deg, #dc2626, #f87171);
    color: white;
}

.resource-badge.expert {
    background: linear-gradient(135deg, #be123c, #f43f5e);
    color: white;
}

/* Badges Business */
.resource-badge.gratuit {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}

.resource-badge.exclusif {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: white;
}

.resource-badge.express {
    background: linear-gradient(135deg, #dc2626, #f87171);
    color: white;
}

.resource-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.resource-features span {
    color: #059669;
    font-weight: 500;
}

.resource-card.featured {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-left-color: #f59e0b;
    border-left-width: 6px;
}

.download-btn {
    background: #2563eb;
    color: white;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.download-btn.premium {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1f2937;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.download-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.download-btn.premium:hover {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-text {
    font-size: 0.95rem;
}

.cta-final {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 4rem;
}

.cta-content h2 {
    color: white;
    background: none;
    transform: none;
    position: static;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #d1d5db;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.stat span {
    color: #9ca3af;
    font-size: 0.9rem;
}

.btn-cta-final {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    margin-bottom: 1rem;
    cursor: pointer;
}

.btn-cta-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.cta-note {
    color: #9ca3af;
    font-size: 0.9rem;
    font-style: italic;
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 1rem 0.5rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #60a5fa;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.linkedin-link:hover {
    color: #3b82f6;
}

.linkedin-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Responsive - MOBILE OPTIMISÉ - PLACÉ À LA FIN POUR PRIORITÉ MAXIMALE */
@media (max-width: 768px) {
    body {
        padding-top: 110px !important;
        padding-bottom: 100px !important;
    }
    
    .slogan {
        margin-top: 90px !important;
        font-size: 0.9rem !important;
        padding: 0.3rem 1rem !important;
    }
    
    header {
        padding: 0 !important;
    }
    
    nav {
        flex-direction: column !important;
        align-items: center !important;
        padding: 0.2rem 0.5rem !important;
        gap: 0 !important;
    }
    
    .logo-section {
        margin: 0 !important;
        padding: 0.1rem 0 !important;
    }
    
    .logo img {
        height: 50px !important;
    }
    
    .menu-section {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .nav-menu {
        margin: 0 !important;
        padding: 0 !important;
        gap: 0.05rem !important;
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
        line-height: 1 !important;
        width: 100% !important;
    }
    
    .nav-menu li {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .nav-menu a {
        padding: 0.2rem 0.5rem !important;
        font-size: 0.8rem !important;
        min-height: 1.4rem !important;
        line-height: 1.1 !important;
        margin: 0 !important;
        width: 100% !important;
        text-align: center !important;
        display: block !important;
        white-space: nowrap !important;
    }
    
    .nav-menu a br {
        display: none !important;
    }
    
    .button-section {
        margin: 0 !important;
        padding: 0.1rem 0 !important;
    }
    
    .cta-btn {
        font-size: 0.7rem !important;
        padding: 0.15rem 0.3rem !important;
        line-height: 1 !important;
    }

    .section {
        padding: 1.5rem 1rem !important;
    }

    .hero {
        padding: 1.5rem 1rem !important;
    }

    .hero h1 {
        font-size: 1.4rem !important;
        margin-bottom: 1rem !important;
    }

    .hero p {
        font-size: 0.85rem !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.6rem !important;
    }

    .hero > div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
        margin-top: 1.5rem !important;
    }

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

    .section h1 {
        font-size: 1.4rem !important;
        margin-bottom: 1rem !important;
    }

    .section h2 {
        font-size: 1.2rem !important;
    }

    .resource-card {
        padding: 1.2rem !important;
    }

    .resource-header {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.4rem !important;
    }

    .resource-meta {
        justify-content: center !important;
        gap: 0.4rem !important;
    }

    .resource-features {
        grid-template-columns: 1fr !important;
        gap: 0.3rem !important;
    }

    .testimonials-grid {
        gap: 1.2rem !important;
    }

    .testimonial-card {
        padding: 1.2rem !important;
    }

    .question {
        padding: 1.2rem !important;
        margin-bottom: 1.2rem !important;
    }

    .question h3 {
        font-size: 1rem !important;
    }

    .contact-form {
        padding: 1.2rem !important;
        margin: 0 0.4rem !important;
    }

    .footer-content {
        flex-direction: column !important;
        gap: 0.8rem !important;
        font-size: 0.8rem !important;
    }

    .footer-links {
        justify-content: center !important;
        gap: 1rem !important;
    }

    .linkedin-link {
        font-size: 0.8rem !important;
    }

    .cta-stats {
        flex-direction: column !important;
        gap: 1.2rem !important;
    }

    .stat strong {
        font-size: 1.3rem !important;
    }

    .cta-final {
        padding: 2.5rem 1.2rem !important;
    }

    .cta-content h2 {
        font-size: 1.3rem !important;
    }

    .btn-cta-final {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
	
}
/* ---- Réalisations ---- */
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.realisation-image img {
    max-width: 250px;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* Sur mobile : image au-dessus du texte */
@media (max-width: 768px) {
    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }
    
    .realisation-image img {
        max-width: 100%;
        margin-bottom: 1rem;
    }
}
