/* ============================================
   RESET & VARIABLES - STYLE ORANGE PROFESSIONNEL
   ============================================ */
:root {
    --primary-color: #f39c12;
    --primary-dark: #e67e22;
    --primary-light: #f5b041;
    --secondary-color: #e67e22;
    --dark-color: #1a1a2e;
    --light-color: #f9f9f9;
    --gray-color: #666666;
    --gray-light: #e8e8e8;
    --gray-dark: #333333;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-hover: linear-gradient(135deg, #e67e22, #d35400);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: var(--dark-color);
    overflow-x: hidden;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   LOGO IMAGE STYLES
   ============================================ */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    width: auto;
    height: auto;
    max-height: 50px;
    max-width: 200px;
    display: block;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.9;
}

.logo:hover .logo-img {
    transform: scale(1.02);
}

/* ============================================
   NAVIGATION - STYLE PROFESSIONNEL
   ============================================ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.header.scrolled .nav-menu li a {
    color: white;
}

.header.scrolled .nav-menu li a:hover {
    color: var(--primary-color);
}

.navbar {
    padding: 0.8rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu li:last-child a {
    background: var(--primary-color);
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 600;
}

.nav-menu li:last-child a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown > a i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    padding: 0.5rem 0;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    list-style: none;
    z-index: 100;
    border: 1px solid var(--gray-light);
    transform: translateY(10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    color: var(--gray-color) !important;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: var(--primary-color) !important;
}

/* Menu Toggle Mobile */
.menu-toggle {
    display: none;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: white;
    font-size: 1.3rem;
    z-index: 1001;
}

.menu-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 0.8rem;
    color: var(--primary-dark);
}

.btn-primary-small {
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-small:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ============================================
   SECTIONS COMMUNES
   ============================================ */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-header p {
    color: var(--gray-color);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.95;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose-us {
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.benefit-card p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fff5eb, #ffe6d5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-description {
    color: var(--gray-color);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.feature-details {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.feature-details li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-color);
}

.feature-details li i {
    color: var(--primary-color);
    width: 18px;
    font-size: 0.8rem;
}

.feature-rate {
    margin: 1rem 0;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    background: #fff5eb;
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 50px;
}

.feature-card .btn-link {
    margin-top: auto;
}

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, #fff5eb, #ffe6d5);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-top: 3rem;
    text-align: center;
}

.info-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
}

.info-banner p {
    margin-bottom: 1.2rem;
    color: var(--gray-color);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    background: #ffffff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-card p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-color);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: #ffffff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--gray-color);
    line-height: 1.6;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color) !important;
    margin-right: 1rem;
}

.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
    background: white;
    text-align: center;
    padding: 3rem 0;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.partner-item {
    text-align: center;
    opacity: 0.6;
    transition: var(--transition);
}

.partner-item:hover {
    opacity: 1;
}

.partner-item i {
    font-size: 2.5rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    display: block;
}

.partner-item span {
    color: #666;
    font-size: 0.85rem;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    background: #f8f9fa;
    text-align: center;
    padding: 4rem 0;
}

.newsletter-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 1rem;
    width: 350px;
    border: 1px solid var(--gray-light);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1a1a2e;
    color: #aaa;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a i {
    width: 20px;
    font-size: 0.8rem;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.contact-info li i {
    width: 20px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #888;
    font-size: 0.75rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablette (max-width: 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Header & Navigation */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 20px 30px;
        gap: 15px;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li a {
        color: var(--dark-color) !important;
    }
    
    .header.scrolled .nav-menu li a {
        color: var(--dark-color) !important;
    }
    
    .dropdown-menu {
        position: static;
        background: #f8f9fa;
        box-shadow: none;
        padding-left: 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    /* Stats */
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Process */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* FAQ */
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    /* CTA */
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .cta-section .btn-primary,
    .cta-section .btn-secondary {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input {
        width: 100%;
        max-width: 300px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .logo-img {
        max-height: 40px;
        max-width: 160px;
    }
}

/* Petit mobile (max-width: 480px) */
@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .info-banner {
        padding: 1.5rem;
    }
    
    .info-banner h3 {
        font-size: 1.2rem;
    }
    
    .logo-img {
        max-height: 35px;
        max-width: 140px;
    }
}

/* Animations au scroll */
.feature-card,
.benefit-card,
.testimonial-card,
.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feature-card.visible,
.benefit-card.visible,
.testimonial-card.visible,
.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}