:root {
    --primary: #1329b2;
    --primary-light: #e6f0ff;
    --secondary: #6c757d;
    --warning: #C70039;
    --dark: #343a40;
    --light: #f8f9fa;
    --white: #ffffff;
    --facebook: #3b5998;
    --twitter: #1da1f2;
    --linkedin: #0077b5;
    --instagram: #e1306c;
}


/* Remplacement complet du warning */
.bg-warning, 
.alert-warning,
.badge-warning {
    background-color: #C70039 !important;
}

.text-warning,
.alert-warning .alert-link {
    color: #C70039 !important;
}

.btn-warning {
    background-color: #C70039;
    border-color: #dc7633;
    color: #212529;
}
.btn-outline-warning {
  --bs-btn-color: #C70039;
  --bs-btn-border-color: #C70039;
  --bs-btn-hover-bg: #C70039;
  --bs-btn-hover-border-color: #C70039;
  --bs-btn-active-bg: #C70039;
  --bs-btn-active-border-color: #C70039;
  --bs-btn-disabled-color: #C70039;
  --bs-btn-disabled-border-color: #C70039;
}

.btn-warning:hover {
    background-color: #C70039;
    border-color: #b5632b;
}

/* Pour les icônes Font Awesome */
.fa-triangle-exclamation,
.fa-exclamation-triangle,
.fa-exclamation-circle {
    color: #dc7633 !important;
}
/* Styles généraux */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    font-weight: 500;
    padding: 12px 25px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.section-title h2 {
    position: relative;
    padding-bottom: 15px;
}

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

/* Barre supérieure */
.top-bar {
    font-size: 14px;
}

/* Navigation */
.navbar {
    padding: 15px 0;
}

.navbar-brand img {
    max-height: 50px;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    color: var(--dark) !important;
}

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

/* Hero Section */
.hero-section {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: left;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Services */
.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--secondary);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    font-size: 12px;
}

/* À propos */
.about-features .feature-icon {
    font-size: 24px;
}

.stats .stat-item h3 {
    font-size: 36px;
    font-weight: 700;
}

/* CTA */
.cta-section {
    padding: 60px 0;
}

/* Témoignages */
.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    color: var(--secondary);
    margin-bottom: 20px;
}

.client-info img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

/* Blog */
.blog-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    font-size: 14px;
    color: var(--secondary);
}

.blog-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.blog-card h3 a {
    color: var(--dark);
}

.blog-card p {
    color: var(--secondary);
    margin-bottom: 15px;
}

/* Contact */
.contact-form {
    height: 100%;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
}

.bg-facebook { background-color: var(--facebook); }
.bg-twitter { background-color: var(--twitter); }
.bg-linkedin { background-color: var(--linkedin); }
.bg-instagram { background-color: var(--instagram); }

/* Map */
.map-container {
    width: 100%;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 36px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .top-bar .contact-info {
        display: none;
    }
}