/* ===== VARIABLES & RESET ===== */
:root {
    --fac-blue: #0d3b66;      /* Bleu foncé professionnel */
    --fac-orange: #f95738;    /* Orange vif et accueillant */
    --fac-light: #f4f4f9;
    --fac-dark: #333;
    --fac-gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--fac-dark);
    background-color: #fff;
    padding-top: 76px; /* Pour compenser la navbar fixed */
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    color: var(--fac-blue);
    font-weight: 700;
}

.lead {
    color: var(--fac-gray);
}

.text-orange {
    color: var(--fac-orange) !important;
}

.bg-blue {
    background-color: var(--fac-blue) !important;
}

.bg-orange {
    background-color: var(--fac-orange) !important;
}

.btn-primary {
    background-color: var(--fac-blue);
    border-color: var(--fac-blue);
}

.btn-primary:hover {
    background-color: #0a2d4d;
    border-color: #0a2d4d;
}

.btn-outline-primary {
    color: var(--fac-blue);
    border-color: var(--fac-blue);
}

.btn-outline-primary:hover {
    background-color: var(--fac-blue);
    border-color: var(--fac-blue);
}

.btn-warning {
    background-color: var(--fac-orange);
    border-color: var(--fac-orange);
    color: white;
}

.btn-warning:hover {
    background-color: #e04a2d;
    border-color: #e04a2d;
    color: white;
}

/* ===== NAVBAR ===== */
.navbar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--fac-blue) !important;
    font-weight: 500;
    margin: 0 5px;
}

.nav-link:hover, .nav-link.active {
    color: var(--fac-orange) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(rgba(13, 59, 102, 0.85), rgba(13, 59, 102, 0.9)), url('../images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 100px 0;
}

.hero-section h1 {
    color: white;
}

.hero-section .btn-warning {
    font-size: 1.1rem;
    padding: 12px 30px;
}

/* ===== SECTION STYLES ===== */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--fac-orange);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--fac-orange);
    margin-bottom: 20px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--fac-blue);
    color: #ccc;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--fac-orange);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    .section-title:after {
        left: 50%;
    }
}

/* PAGE ABOUT.HTML */

/* ===== STYLES POUR LA PAGE À PROPOS ===== */
.bg-light-blue {
    background-color: rgba(13, 59, 102, 0.05);
}

.bg-light-orange {
    background-color: rgba(249, 87, 56, 0.05);
}

.icon-value i {
    font-size: 3.5rem;
}

.team-img {
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Amélioration des cartes valeurs */
.card {
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* PAGE SERVICE.HTML */
/* ===== STYLES POUR LA PAGE SERVICES ===== */
.service-detail-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.service-icon-lg {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number {
    width: 60px;
    height: 60px;
    font-weight: bold;
    transition: transform 0.3s;
}

.step-number:hover {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-detail-card .row {
        flex-direction: column;
    }
    
    .service-detail-card .col-md-5 {
        height: 200px;
    }
    
    .service-detail-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}