/**
 * Styles principaux du site - Design professionnel et sobre
 */

@import url("variables.353f80c67c08.css");
@import url("components.f4c17d4e9c01.css");

/* ======================================
   BASE STYLES
====================================== */
html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    -webkit-font-smoothing: antialiased;
}

/* ======================================
   TYPOGRAPHY
====================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    color: var(--text-emphasis);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin: 0 0 1rem 0;
}

/* ======================================
   LIENS
====================================== */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--primary-dark);
}

/* ======================================
   LAYOUT & SECTIONS
====================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-light {
    background-color: var(--light-bg);
    padding: 4rem 0;
}

.section-white {
    background-color: white;
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}


/* ======================================
   HEADER STYLES (from header.html)
====================================== */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(33, 37, 41, 0.95) !important;
    transition: all 0.3s ease;
}

.navbar .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    background-color: transparent;
}

.navbar .btn-outline-light:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    backdrop-filter: blur(10px);
}

.navbar .btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.navbar .btn-warning:hover:not(:disabled) {
    background-color: #d97706;
    border-color: #d97706;
    color: white;
}

.navbar .nav-link {
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
    color: rgba(255, 255, 255, 0.7);
}

.navbar .nav-link:hover {
    color: white;
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 500;
}

/* ======================================
   FOOTER STYLES (from footer.html)
====================================== */
.site-footer {
    position: relative;
    z-index: 10;
    box-shadow: 0 -4px 6px -1px rgba(13, 110, 253, 0.1);
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 2rem 0;
}

.site-footer .hover-effect:hover {
    color: var(--primary-color) !important;
}

.logo-hover {
    transition: transform 0.3s ease;
}

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

.footer-logo {
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.logo-hover:hover .footer-logo {
    filter: brightness(1.2);
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ======================================
   FORMS
====================================== */
.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ======================================
   UTILITY CLASSES
====================================== */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(33, 37, 41, 0.98);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .section-light, .section-white {
        padding: 3rem 0;
    }

    footer {
        text-align: center;
    }
    
    footer .row > div {
        margin-bottom: 1rem;
    }
    
    footer .row > div:last-child {
        margin-bottom: 0;
    }
}

/* Accessibility Focus Styles */
a:focus, .btn:focus, .nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

