html {
    font-size: 13px;
}
html, body {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden !important;
    box-sizing: border-box;
}
/* ===== DESIGN PROFESSIONNEL SANS GRADIENTS ===== */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

@media (min-width: 1400px) {
    html { font-size: 14px; }
}
@media (max-width: 768px) {
    html { font-size: 16px; }
}

/* Container responsive */
.container-custom {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container-custom {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container-custom {
        padding: 0 3rem;
    }
}

/* Sections avec couleurs solides */
.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }
}

.section-purple {
    background-color: #310A69;
    color: #ffffff;
}

.section-gold {
    background-color: #D39539;
    color: #ffffff;
}

.section-light {
    background-color: #F5F5F5;
    color: #333;
}

.section-white {
    background-color: #ffffff;
    color: #333;
}

.section-orange {
    background-color: #E77023;
    color: #ffffff;
}

/* Titres centrés et alignés */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Grilles responsive */
.grid-responsive {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .grid-responsive {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-responsive {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (min-width: 640px) {
    .grid-responsive-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-responsive-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Cards professionnelles */
.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

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

.btn-primary {
    background-color: #D39539;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #E77023;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 149, 57, 0.3);
}

.btn-secondary {
    background-color: #310A69;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #8A0526;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 10, 105, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid currentColor;
}

.btn-outline:hover {
    background-color: currentColor;
    color: #ffffff;
}

/* Images responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Espacements cohérents */
.spacing-sm {
    margin-bottom: 1rem;
}

.spacing-md {
    margin-bottom: 2rem;
}

.spacing-lg {
    margin-bottom: 3rem;
}

.spacing-xl {
    margin-bottom: 4rem;
}

/* Centrage parfait */
.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Navigation responsive */
.nav-link {
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #D39539;
}

/* Footer */
.footer {
    background-color: #310A69;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

/* Animations douces */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #D39539;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-top:hover {
    background-color: #E77023;
    transform: translateY(-5px);
}

/* Responsive utilities */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}

/* Section partenaires */
.partners-section {
    background-color: #F5F5F5;
    padding: 3rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

@media (min-width: 640px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


.partner-logo {
    max-width: 150px;
    height: auto;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}
