@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

@keyframes badgePop {
    0% { transform: scale(1) translate(50%, -50%); }
    50% { transform: scale(1.4) translate(50%, -50%); }
    100% { transform: scale(1) translate(50%, -50%); }
}

.badge-animate {
    animation: badgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card .btn-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}

:root {
    /* Couleurs principales - tons naturels et sobres */
    --color-dark-green: #2C4A3E;      /* Vert foncé principal */
    --color-brown: #6B4423;            /* Brun chaud */
    --color-cream: #FAF7F2;            /* Crème fond */
    --color-gold: #C4A35A;             /* Doré accent */
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    --color-4685C: #D9C7B0;
    
    /* Nuances de gris */
    --color-gray-100: #F5F5F5;
    --color-gray-200: #E5E5E5;
    --color-gray-500: #737373;
    --color-gray-700: #404040;
    
    /* Typographie */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Espacements */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ----------------------------------------
   RESET ET BASE
---------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Compensation pour navbar sticky */
}

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    padding-top: 50px;
}

/* Titres avec police élégante */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: #D9C7B0;
}

#quality h2 {
    font-weight: 900; /* Montserrat Black */
    color: #f4ebdc;  /* couleur plus foncée */
}

/* ----------------------------------------
   CLASSES UTILITAIRES
---------------------------------------- */

/* Couleurs de fond */
.bg-mveco-clouddancer {
    background-color: #f4ebdc !important;
}

.bg-mveco-4975c {
    background-color: #4e2e24 !important;
}

.bg-mveco-4685c {
    background-color: #D9C7B0 !important;
}

.bg-mveco-5535c {
    background-color: #2F4A3A !important;
}

.bg-dark-green {
    background-color: var(--color-dark-green) !important;
}

.bg-brown {
    background-color: var(--color-brown) !important;
}

.bg-cream {
    background-color: var(--color-cream) !important;
}

.bg-gold {
    background-color: var(--color-4685C) !important;
}

/* Couleurs de texte */
.text-4259c {
    color: var(#3b2a24) !important;
}

.text-mveco-pantone {
    color: #8a3b2f !important;
}

.text-brown {
    color: var(--color-brown) !important;
}

.text-accent {
    color:  #D9C7B0 !important;
}

/* ----------------------------------------
   NAVIGATION
---------------------------------------- */
#mainNav {
    transition: var(--transition-base);
    padding: 1rem 0;
}

#mainNav.navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

#mainNav .navbar-brand {
    font-family: var(--font-primary);
    font-size: 1.5rem;
}

#mainNav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition-base);
    position: relative;
    color: #8c7a6b;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: #4d3e39 !important; 
}

#mainNav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: #4d3e39;
}

#mainNav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: #4d3e39;
}

/* Bouton accent */
.btn-accent {
    background-color: #4d3e39;
    color: #f4ebdc;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    transition: var(--transition-base);
}

.btn-accent:hover {
    background-color: #D9C7B0;
    color: #4d3e39;
    transform: translateY(-2px);
}

/* ----------------------------------------
   HERO SECTION
---------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.hero-image {
    object-fit: cover;
    height: 100vh;
    min-height: 600px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(47, 74, 58, 0.7) 0%,
        rgba(132, 137, 117, 0.75) 50%,
        rgba(217, 199, 176, 0.8) 100%
    );
    z-index: 1;
}

.hero-section .carousel-caption {
    top: 0;
    bottom: 0;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

/* Animations hero */
.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----------------------------------------
   BOUTONS
---------------------------------------- */
.btn-dark-green {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: var(--transition-base);
}

.btn-dark-green:hover {
    background-color: #1E3830;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 74, 62, 0.3);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* ----------------------------------------
   SECTIONS
---------------------------------------- */
.page-header {
    padding-top: 80px;
}

/* Icon circle */
.icon-circle {
    width: 28px;
    height: 28px;
    background-color: var(--color-dark-green);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* Badge flottant */
.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-4685C);
    color: var(--color-black);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ----------------------------------------
   CARTES À PROPOS
---------------------------------------- */
.about-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-cream);
    color: var(--color-dark-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ----------------------------------------
   CARTES CERTIFICATIONS
---------------------------------------- */
.cert-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.cert-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-dark-green);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto;
}

/* ----------------------------------------
   STATISTIQUES
---------------------------------------- */
.stat-item {
    padding: 1rem;
}

/* ----------------------------------------
   TABLEAUX PRODUITS
---------------------------------------- */
.table-product {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
}

.table-product thead {
    background-color: var(--color-dark-green);
    color: var(--color-white);
}

.table-product thead th {
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.table-product tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-color: var(--color-gray-200);
}

.table-product tbody tr:hover {
    background-color: var(--color-cream);
}

/* ----------------------------------------
   AVANTAGES B2B
---------------------------------------- */
.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--color-4685C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-4685C);
}

/* ----------------------------------------
   FORMULAIRE CONTACT
---------------------------------------- */
.form-control,
.form-select {
    border: 2px solid var(--color-gray-200);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition-base);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-dark-green);
    box-shadow: 0 0 0 3px rgba(44, 74, 62, 0.15);
}

.form-control-lg,
.form-select-lg {
    font-size: 1rem;
}

.form-label {
    color: var(--color-gray-700);
    margin-bottom: 0.5rem;
}

/* Contact icons */
.contact-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.response-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-cream);
    color: var(--color-dark-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ----------------------------------------
   CARTE GOOGLE MAPS
---------------------------------------- */
.map-container {
    position: relative;
    width: 100%;
    height: 450px;
}

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

/* ----------------------------------------
   ACCORDION FAQ
---------------------------------------- */
.accordion-item {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.accordion-button {
    background-color: var(--color-white);
    color: var(--color-dark-green);
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-size: 1rem;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

/* ----------------------------------------
   FOOTER
---------------------------------------- */
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #3b2a24;
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-4685C);
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-base);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--color-4685C);
    color: var(--color-black);
    transform: translateY(-3px);
}

/* ----------------------------------------
   BREADCRUMB
---------------------------------------- */
.breadcrumb-light {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-light .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.breadcrumb-light .breadcrumb-item a:hover {
    color: var(--color-4685C);
}

.breadcrumb-light .breadcrumb-item.active {
    color: var(--color-white);
}

.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ----------------------------------------
   RESPONSIVE
---------------------------------------- */

/* Tablettes */
@media (max-width: 991.98px) {

    body {
        padding-top: 50px;
    }

    .hero-section {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-image {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .floating-badge {
        position: static;
        display: inline-block;
        margin-top: 1.5rem;
    }
    
    .navbar-collapse {
        background-color: var(--color-dark-green);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
}

/* Mobiles */
@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    .stat-item .display-4 {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
    
    .page-header {
        padding-top: 70px;
    }
    
    #mainNav .nav-link.active::after {
        display: none;
    }
}

/* ----------------------------------------
   TIMELINE CARDS (Page À propos)
---------------------------------------- */
.timeline-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
    position: relative;
    border-top: 4px solid var(--color-4685C);
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.timeline-year {
    display: inline-block;
    background-color: var(--color-dark-green);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

/* ----------------------------------------
   PROCESS CARDS (Page Qualité)
---------------------------------------- */
.process-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
    position: relative;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.process-number {
    width: 50px;
    height: 50px;
    background-color: var(--color-4685C);
    color: var(--color-black);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* ----------------------------------------
   QUALITY CARDS (Page Qualité)
---------------------------------------- */
.quality-card {
    background-color: var(--color-cream);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition-base);
}

.quality-card:hover {
    background-color: var(--color-white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.quality-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-dark-green);
    color: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.quality-spec {
    background-color: var(--color-white);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-4685C);
}

/* ----------------------------------------
   CERTIFICATION CARDS DARK (Page Qualité)
---------------------------------------- */
.cert-card-dark {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-card-dark:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.cert-icon-dark {
    width: 70px;
    height: 70px;
    background-color: rgba(196, 163, 90, 0.2);
    color: var(--color-4685C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto;
}

/* ----------------------------------------
   STAT CARDS (Page À propos)
---------------------------------------- */
.stat-card {
    padding: 1.5rem;
}

/* Petits mobiles */
@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .about-card,
    .cert-card {
        padding: 1.5rem;
    }
    
    .table-product thead th,
    .table-product tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* ----------------------------------------
   ACCESSIBILITÉ
---------------------------------------- */

/* Focus visible pour navigation clavier */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-4685C);
    outline-offset: 2px;
}

/* Réduction des animations si préféré */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

