/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    --primary-color: #003066;
    --secondary-color: #f8f9fa;
    --action-color: #ff9900; /* Orange vif */
    --action-color-hover: #e68a00;
    --text-dark: #212529;
    --text-light: #ffffff;
    --body-bg: #f3f4f6;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background-color: var(--body-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary-color);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}


/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
.navbar {
    background-color: rgba(0, 48, 102, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 40px;
}

.navbar .nav-link {
    color: var(--text-light);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--action-color);
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}


/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-action {
    background-color: var(--action-color);
    color: var(--text-dark);
    border: none;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background-color: var(--action-color-hover);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-primary-outline {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 700;
}
.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/*--------------------------------------------------------------
# Hero & Page Header
--------------------------------------------------------------*/
.hero-section, .page-header {
    background: linear-gradient(rgba(0, 48, 102, 0.8), rgba(0, 48, 102, 0.8)), url('../images/fond.png') no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    padding-top: 80px;
}
.page-header {
    min-height: 40vh;
}
.display-4,.display-3{
    color:white;
}


/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15)!important;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    background-color: rgba(0, 48, 102, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon i {
    width: 32px;
    height: 32px;
}


/*--------------------------------------------------------------
# Video Section
--------------------------------------------------------------*/
.video-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://placehold.co/1920x500/555555/FFFFFF?text=Vidéo+Démonstration') no-repeat center center;
    background-size: cover;
    padding: 6rem 0;
}

.btn-play {
    width: 90px;
    height: 90px;
    background: var(--action-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.btn-play:hover {
    transform: scale(1.1);
    background-color: var(--action-color-hover);
}
.btn-play i {
    width: 40px;
    height: 40px;
}

/*--------------------------------------------------------------
# Advantages Section
--------------------------------------------------------------*/
.advantage-card {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    height: 100%;
}
.advantage-icon {
    color: var(--action-color);
    width: 48px;
    height: 48px;
}

/*--------------------------------------------------------------
# Modules Section (Notre Systeme page)
--------------------------------------------------------------*/
.module-card {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    height: 100%;
    transition: all 0.3s ease;
}
.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.1);
}
.module-icon {
    color: var(--primary-color);
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
}


/*--------------------------------------------------------------
# Contact Page
--------------------------------------------------------------*/
.contact-icon {
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.map-placeholder {
    height: 250px;
    background-color: #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.main-footer {
    background-color: var(--primary-color);
}
.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: var(--text-light);
}

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    margin-right: 1rem;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: var(--action-color);
}
.partner-logo {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.partner-logo:hover {
    opacity: 1;
}

.cta-section-alt {
    background: var(--primary-color);
    padding: 5rem 0;
}
