:root {
    --primary-color: #2E8B57; /* Vert forêt */
    --secondary-color: #D4AF37; /* Or */
    --dark-color: #1A3C27;
    --light-color: #F5F5F5;
    --accent-color: #FFD700;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.navbar-brand span {
    color: var(--secondary-color);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: var(--dark-color) !important;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #b8941f;
    border-color: #b8941f;
    color: white;
    transform: translateY(-2px);
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 60px;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.section-title.text-start:after {
    left: 0;
    transform: none;
}

.section-padding {
    padding: 80px 0;
}

.bg-light-custom {
    background-color: var(--light-color);
}

.service-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-detailed {
    height: auto;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 30px;
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.client-name {
    font-weight: 600;
    color: var(--primary-color);
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.footer a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: 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-color: var(--secondary-color);
    transform: translateY(-3px);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(46, 139, 87, 0.25);
}

.team-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img {
    height: 250px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
}

.team-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: var(--light-color);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 10px;
    transition: all 0.3s;
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.value-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(46, 139, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.approach-item {
    padding: 20px;
}

.approach-icon {
    color: var(--secondary-color);
}

.process-step {
    position: relative;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--dark-color);
    color: white;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 100px 0 50px;
    }
}


/* css de video */
/* Section Vidéo */
.video-section {
    position: relative;
}

.video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    background: #000;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
}

/* Overlay de vidéo */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.8) 0%, rgba(212, 175, 55, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-overlay:hover {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.9) 0%, rgba(212, 175, 55, 0.9) 100%);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.play-button i {
    font-size: 2rem;
    margin-left: 5px;
}

.video-overlay:hover .play-button {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.overlay-content {
    text-align: center;
}

.overlay-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contrôles personnalisés */
.video-controls {
    background: #f8f9fa;
    padding: 15px;
    border-top: 1px solid #e9ecef;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.control-btn:hover {
    background: rgba(46, 139, 87, 0.1);
}

.progress-container {
    flex: 1;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 100%;
    position: relative;
}

.progress-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

/* Contenu vidéo */
.video-content .section-title:after {
    left: 0;
    transform: none;
}

.video-features .feature-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.video-features h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.video-features p {
    color: #666;
    font-size: 0.9rem;
}

.video-stats {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.video-stats .stat {
    padding: 10px;
}

.video-stats .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.video-stats .stat-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

/* Témoignages vidéo */
.testimonial-videos {
    margin-top: 30px;
}

.testimonial-video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.testimonial-video-card:hover .play-indicator {
    background: var(--primary-color);
    color: white;
}

.testimonial-info {
    padding: 20px;
}

.testimonial-info h5 {
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 1rem;
}

.testimonial-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.duration {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
}

/* États de la vidéo */
.video-playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.video-muted .volume-icon::before {
    content: "\f6a9"; /* fa-volume-mute */
}

.video-fullscreen .video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    border-radius: 0;
}

.video-fullscreen .video-wrapper {
    padding-bottom: 0;
    height: calc(100vh - 60px);
}

/* Responsive */
@media (max-width: 768px) {
    .video-content {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .video-content .section-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .control-group {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .progress-container {
        order: -1;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .video-stats .row {
        gap: 15px;
    }
    
    .video-stats .stat {
        flex: 1;
        min-width: 100px;
    }
}

/* Animation de chargement */
.video-loading {
    position: relative;
}

.video-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}