/* Tout Travaux Service - Styles personnalisés */

:root {
    --tts-yellow: #F4D03F;
    --tts-dark-yellow: #D4AC0D;
    --tts-black: #2C3E50;
    --tts-dark-gray: #34495E;
    --tts-light-gray: #F8F9FA;
    --tts-medium-gray: #E8ECEF;
    --tts-white: #FFFFFF;
    --tts-accent: #3498DB;
    --tts-text: #2C3E50;
    --tts-text-light: #7F8C8D;
    --tts-border: #BDC3C7;
}

/* Header avec identité TTS */
.site-navbar {
    background: var(--tts-white) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid var(--tts-border);
    border-radius: 0 0 15px 15px;
    margin: 0;
    width: 100%;
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* Navbar fixe */
.js-sticky-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.js-sticky-header + .site-blocks-cover {
    margin-top: 0;
    padding-top: 0;
}

/* S'assurer que la hero section commence directement après le navbar */
.site-wrap {
    margin-top: 0;
}

/* Cards de même hauteur pour la cohérence */
.site-section .row.justify-content-center {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.site-section .row.justify-content-center > .col-md-6 {
    display: flex;
    flex-direction: column;
}

.site-section .box-with-humber {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.site-section .box-with-humber p {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.site-section .box-with-humber ul {
    margin-bottom: 0;
}

/* Cards de même hauteur pour la section "Nos Valeurs" (3 colonnes) */
.site-section .row:not(.justify-content-center) {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.site-section .row:not(.justify-content-center) > .col-md-6 {
    display: flex;
    flex-direction: column;
}

.site-section .row:not(.justify-content-center) .box-with-humber {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.site-section .row:not(.justify-content-center) .box-with-humber p {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.site-section .row:not(.justify-content-center) .box-with-humber ul {
    margin-bottom: 0;
}

.site-blocks-cover {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.site-navbar .site-menu .nav-link {
    color: var(--tts-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.site-navbar .site-menu .nav-link:hover {
    color: var(--tts-accent) !important;
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

/* Effet pour le lien Services actif */
.site-navbar .site-menu .nav-link[href="#services-section"] {
    position: relative;
}

.site-navbar .site-menu .nav-link[href="#services-section"]::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--tts-black);
    transition: width 0.3s ease;
}

.site-navbar .site-menu .nav-link[href="#services-section"]:hover::after {
    width: 100%;
}

/* Effet pour tous les liens de navigation actifs */
.site-navbar .site-menu .nav-link.active {
    background: var(--tts-accent);
    color: var(--tts-white) !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.site-navbar .site-menu .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: var(--tts-yellow);
    border-radius: 2px;
    animation: pulseLine 2s ease-in-out infinite;
}

/* Logo TTS */
.site-navbar img {
    max-height: 60px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.site-navbar img:hover {
    transform: scale(1.05);
}

/* Top bar avec couleurs TTS */
.top-bar {
    background: var(--tts-black) !important;
    border-bottom: 2px solid var(--tts-yellow);
}

.top-bar .text-white {
    color: var(--tts-yellow) !important;
}

.top-bar a {
    color: var(--tts-yellow) !important;
    transition: all 0.3s ease;
}

.top-bar a:hover {
    color: var(--tts-white) !important;
    text-decoration: underline;
}

/* Sections alternées pour meilleure séparation visuelle */
.site-section:nth-child(even) {
    background-color: var(--tts-light-gray);
    border-top: 1px solid var(--tts-medium-gray);
    border-bottom: 1px solid var(--tts-medium-gray);
}

.site-section:nth-child(odd) {
    background-color: var(--tts-white);
}

/* Supprimer l'espace vide après services */
#services-section + .site-section {
    margin-top: 0;
    padding-top: 4rem;
}

/* Améliorer la transition entre sections */
.site-section {
    position: relative;
    z-index: 1;
}

/* Section About avec style professionnel */
#about-section {
    background: linear-gradient(135deg, var(--tts-white) 0%, var(--tts-light-gray) 100%);
    padding: 4rem 0;
    position: relative;
}

#about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="lines" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 0 40 L 40 0" stroke="%23FFD700" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23lines)"/></svg>');
    z-index: 1;
}

#about-section .container {
    position: relative;
    z-index: 2;
}

/* Hero section avec overlay TTS */
.site-blocks-cover {
    position: relative;
    background-attachment: fixed;
    margin-top: 0;
    padding-top: 0;
}

.site-blocks-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(26, 26, 26, 0.3) 100%); /* Overlay plus léger pour voir l'image */
    z-index: 1;
}

.site-blocks-cover .container {
    position: relative;
    z-index: 2;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* Corriger le problème de fade */
.site-blocks-cover .text-white {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.site-blocks-cover h2 {
    font-weight: 800;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
}

/* Supprimer l'espace entre navbar et hero */
.site-blocks-cover.overlay {
    margin-top: 0;
    padding-top: 0;
}

/* Boutons avec style TTS */
.btn-primary {
    background: linear-gradient(135deg, var(--tts-yellow) 0%, var(--tts-dark-yellow) 100%);
    border: 2px solid var(--tts-black);
    color: var(--tts-black);
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--tts-dark-yellow) 0%, var(--tts-yellow) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    color: var(--tts-black);
    border-color: var(--tts-dark-yellow);
}

/* Titres avec style TTS */
.site-section-heading {
    color: var(--tts-text) !important;
    position: relative;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.site-section-heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--tts-accent), var(--tts-yellow));
    border-radius: 2px;
}

/* Section "Pourquoi choisir" avec background */
#work-section + section {
    background: linear-gradient(135deg, var(--tts-light-gray) 0%, var(--tts-white) 100%);
    padding: 4rem 0;
    position: relative;
}

#work-section + section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23FFD700" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

#work-section + section .container {
    position: relative;
    z-index: 2;
}

/* Cards avec style TTS amélioré */
.box-with-humber {
    background: var(--tts-white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    border-left: 6px solid var(--tts-yellow);
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.box-with-humber::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tts-yellow), var(--tts-dark-yellow));
}

.box-with-humber:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    border-left-color: var(--tts-dark-yellow);
}

.number-behind {
    color: var(--tts-light-gray);
    font-size: 6rem;
    font-weight: 900;
    opacity: 0.2;
    position: absolute;
    top: -10px;
    right: 20px;
    z-index: 1;
}

.box-with-humber h2 {
    color: var(--tts-black);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
}

.box-with-humber p {
    color: var(--tts-dark-gray);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.box-with-humber ul {
    position: relative;
    z-index: 2;
}

.box-with-humber ul li {
    color: var(--tts-dark-gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Section Services avec parallaxe fixe et net */
#services-section {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 4rem 0;
    overflow: hidden;
    min-height: 80vh;
    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Suppression des effets de bordure sur les sections - seulement activation des liens navbar */

@keyframes pulseLine {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-50%) scaleX(1.2);
    }
}

#services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(26, 26, 26, 0.2) 100%);
    z-index: 1;
}

#services-section .container {
    position: relative;
    z-index: 2;
}

/* Services avec icônes TTS - Style professionnel et net */
.unit-4 {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border-top: 4px solid var(--tts-yellow);
    backdrop-filter: blur(2px); /* Minimal blur for sharpness */
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.unit-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tts-yellow), var(--tts-dark-yellow));
}

.unit-4:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-top-color: var(--tts-dark-yellow);
    background: rgba(255, 255, 255, 1);
}

.unit-4-icon {
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.unit-4-icon span {
    color: var(--tts-yellow) !important;
    font-size: 3rem;
    transition: all 0.3s ease;
    display: block;
}

.unit-4:hover .unit-4-icon span {
    color: var(--tts-dark-yellow) !important;
    transform: scale(1.1);
}

.unit-4 h3 {
    color: var(--tts-text);
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    filter: contrast(1.2);
}

.unit-4 p {
    color: var(--tts-text);
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    filter: contrast(1.1);
}

/* Alignement Bootstrap pour les cartes */
#services-section .row {
    align-items: stretch;
}

#services-section .col-md-6,
#services-section .col-lg-4 {
    margin-bottom: 2rem;
    display: flex;
}

#services-section .unit-4 {
    width: 100%;
}

/* Cards visibles dans la section services */
#services-section .card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 2rem !important;
    margin: 1rem !important;
}

#services-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2) !important;
}

#services-section .card-title {
    color: var(--tts-text) !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
}

#services-section .card-text {
    color: var(--tts-text-light) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
}

#services-section .btn-primary {
    background: var(--tts-yellow) !important;
    border: none !important;
    color: var(--tts-black) !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

#services-section .btn-primary:hover {
    background: var(--tts-dark-yellow) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
}

/* Ajuster le padding du card-body */
#services-section .card-body {
    padding: 0 !important;
}

/* Styles pour la section services-logistique */
#services-logistique .unit-4 {
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 2rem !important;
    margin: 1rem !important;
    border-top: 4px solid var(--tts-yellow) !important;
}

#services-logistique .unit-4:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2) !important;
}

#services-logistique .unit-4 h3 {
    color: var(--tts-text) !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    margin-bottom: 1rem !important;
}

#services-logistique .unit-4 p {
    color: var(--tts-text-light) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

#services-logistique .unit-4-icon {
    margin-right: 1rem !important;
}

#services-logistique .unit-4-icon span {
    font-size: 2rem !important;
    color: var(--tts-accent) !important;
}

/* Amélioration de la netteté du titre de la section services */
#services-section .site-section-heading {
    color: var(--tts-white) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    font-weight: 800;
    filter: contrast(1.3);
    letter-spacing: 2px;
}

#services-section .site-section-heading::after {
    background: linear-gradient(90deg, var(--tts-yellow), var(--tts-white));
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Footer moderne et stylé - 2 colonnes */
.tts-footer {
    background: linear-gradient(135deg, var(--tts-black) 0%, var(--tts-dark-gray) 100%);
    color: var(--tts-white);
    padding: 1.5rem 0 1rem;
    position: relative;
    overflow: hidden;
}

/* Colonnes du footer */
.footer-left, .footer-right {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-left {
    padding-right: 2rem;
}

.footer-right {
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 215, 0, 0.2);
}

/* Responsive footer */
@media (max-width: 768px) {
    .tts-footer {
        padding: 1rem 0 0.75rem;
    }
    
    .footer-left, .footer-right {
        padding: 0;
        margin-bottom: 2rem;
    }
    
    .footer-right {
        border-left: none;
        border-top: 1px solid rgba(255, 215, 0, 0.2);
        padding-top: 2rem;
    }
    
    .footer-title {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        align-self: flex-start;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

.tts-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tts-yellow), var(--tts-dark-yellow));
}

.tts-footer::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Typographie du footer */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.tts-footer * {
    font-family: 'Poppins', sans-serif;
}

.footer-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--tts-yellow);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--tts-yellow);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Liens sociaux */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--tts-yellow);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--tts-yellow);
    color: var(--tts-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    border-color: var(--tts-dark-yellow);
}

/* Liens du footer */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.8rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.footer-list a:hover {
    color: var(--tts-yellow);
    padding-left: 10px;
}

.footer-list a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--tts-yellow);
}

.footer-list a:hover::before {
    opacity: 1;
    left: -10px;
}

/* Contact */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--tts-yellow);
    margin-right: 1rem;
    font-size: 1.1rem;
    width: 20px;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--tts-white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--tts-yellow);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--tts-yellow), var(--tts-dark-yellow));
    color: var(--tts-black);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Footer bottom */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.copyright, .powered-by {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.powered-by strong {
    color: var(--tts-yellow);
}

/* Responsive footer */
@media (max-width: 768px) {
    .tts-footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-title {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        align-self: flex-start;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Ancien footer (masqué) */
.bg-primary {
    display: none;
}

/* Section Partenaires avec background blanc */
#partners-section {
    background: linear-gradient(135deg, var(--tts-white) 0%, rgba(255, 215, 0, 0.05) 100%);
    padding: 4rem 0;
    position: relative;
}

#partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 215, 0, 0.1) 50%, transparent 100%);
    z-index: 1;
}

#partners-section .container {
    position: relative;
    z-index: 2;
}

/* Partenaires avec style amélioré */
.partner-logo {
    max-height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: none;
    opacity: 1;
    border-radius: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.partner-logo:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 1);
}

/* Sections avec backgrounds alternés modernes */
.site-section:nth-child(even) {
    background: linear-gradient(135deg, #FAFBFC 0%, #F8F9FA 100%);
    border-top: 1px solid var(--tts-border);
    border-bottom: 1px solid var(--tts-border);
}

.site-section:nth-child(odd) {
    background: var(--tts-white);
}

/* Section A-propos avec background moderne */
#about-section {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    padding: 4rem 0;
    position: relative;
}

#about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23FFD700" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

#about-section .container {
    position: relative;
    z-index: 2;
}

/* Section Contact moderne */
#contact-section {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    padding: 4rem 0;
    position: relative;
}

#contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M 25 0 L 0 0 0 25" fill="none" stroke="%23FFD700" stroke-width="0.5" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

#contact-section .container {
    position: relative;
    z-index: 2;
}

/* Cards de contact */
.contact-form-card, .contact-info-card {
    background: var(--tts-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    height: 100%;
    transition: all 0.3s ease;
}

.contact-form-card:hover, .contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Titres des cards */
.form-title, .info-title {
    color: var(--tts-black);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-subtitle, .info-subtitle {
    color: var(--tts-dark-gray);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Formulaire moderne */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    color: var(--tts-black);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .form-control {
    border: 2px solid var(--tts-medium-gray);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background: var(--tts-white);
}

.contact-form .form-control:focus {
    border-color: var(--tts-yellow);
    box-shadow: 0 0 0 0.3rem rgba(255, 215, 0, 0.2);
    outline: none;
    background: rgba(255, 255, 255, 1);
}

.contact-form .form-control::placeholder {
    color: var(--tts-dark-gray);
    opacity: 0.6;
}

/* Bouton d'envoi moderne */
.btn-submit {
    background: linear-gradient(135deg, var(--tts-accent), #2980B9);
    color: var(--tts-white);
    border: none;
    border-radius: 8px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    color: var(--tts-white);
}

.btn-submit i {
    margin-right: 0.5rem;
}

/* Informations de contact */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-icon {
    background: linear-gradient(135deg, var(--tts-accent), #2980B9);
    color: var(--tts-white);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.contact-icon i {
    font-size: 1.2rem;
}

.contact-details h5 {
    color: var(--tts-black);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details p {
    color: var(--tts-dark-gray);
    margin: 0;
    line-height: 1.5;
}

.contact-details a {
    color: var(--tts-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: #2980B9;
    text-decoration: underline;
}

/* Responsive contact */
@media (max-width: 768px) {
    .contact-form-card, .contact-info-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .form-title, .info-title {
        font-size: 1.3rem;
    }
}

/* Animation du texte */
.typed-words {
    color: var(--tts-yellow);
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Lead text styling */
.lead {
    color: var(--tts-dark-gray);
    font-weight: 500;
    line-height: 1.7;
}

/* Responsive design */
@media (max-width: 768px) {
    .site-navbar {
        padding: 0.5rem 0;
    }
    
    .site-navbar img {
        max-height: 50px;
    }
    
    .site-section-heading {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .box-with-humber {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .number-behind {
        font-size: 3.5rem;
    }
}

@media (max-width: 576px) {
    .site-section-heading {
        font-size: 1.5rem;
    }
    
    .box-with-humber {
        padding: 1rem;
    }
    
    .unit-4 {
        padding: 1rem;
    }
    
    .unit-4-icon span {
        font-size: 2rem;
    }
}

/* Animations supplémentaires */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.box-with-humber,
.unit-4 {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--tts-light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--tts-yellow);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--tts-dark-yellow);
}

/* ===============================================
   NAVBAR STICKY AVEC BACKGROUND ET OMBRE
   =============================================== */
.site-navbar.js-sticky-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.site-navbar.js-sticky-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* ===============================================
   HERO SECTION OVERLAY ET FLOU
   =============================================== */
.site-blocks-cover.overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(26, 26, 26, 0.6) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
}

.site-blocks-cover .container {
    position: relative;
    z-index: 2;
}

/* ===============================================
   STYLES POUR LES SERVICES LOGISTIQUES
   =============================================== */

/* Conteneur d'image de service */
.service-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Images de service uniformes */
.service-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image-container:hover .service-image {
    transform: scale(1.05);
}

/* Contenu des services */
.service-content {
    padding: 2rem;
}

.service-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
}

/* Espacement des sections */
.site-section {
    padding: 5rem 0;
}

.site-section.bg-light {
    background-color: #f8f9fa;
}

/* Responsive pour les services */
@media (max-width: 768px) {
    .service-image {
        height: 300px;
    }
    
    .service-content {
        padding: 1.5rem;
        text-align: center;
    }
    
    .service-content h2 {
        font-size: 1.5rem;
    }
}

/* Animation d'apparition */
.service-image-container,
.service-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-image-container.animate-in,
.service-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

