/* --- Styles globaux --- */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #f3f4f8 0%, #eaf3ff 100%);
    color: #222;
    padding-top: 70px;
    min-height: 100vh;
}
header {
    background: rgba(245,247,250,0.96);
    box-shadow: 0 2px 16px rgba(45,124,247,0.07);
    backdrop-filter: blur(8px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    height: 62px; /* Réduit la hauteur */
}
nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
    border-radius: 0 0 18px 18px;
    min-height: 62px;
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    filter: drop-shadow(0 2px 8px rgba(45,124,247,0.10));
    margin-bottom: 0;
    justify-content: flex-start;
    flex: 0 0 auto;
}
.nav-center-wrapper {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-right {
    margin-left: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    filter: drop-shadow(0 2px 8px rgba(45,124,247,0.10));
    margin-bottom: 0; /* Supprime l'espace vertical */
}
.logo-img {
    width: 32px; /* Réduit la taille du logo */
    height: 32px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #eaf3ff;
}
.logo-text {
    font-weight: bold;
    font-size: 1.15rem; /* Réduit la taille du texte */
    color: #2d7cf7;
    letter-spacing: 1px;
}
.nav-center {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-center li {
    /* Pour garder le style des liens */
}
.nav-center a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.2rem 0.5rem;
    transition: color 0.2s;
}
.nav-center a:hover {
    color: #2d7cf7;
    background: #eaf3ff;
    border-radius: 8px;
}
.nav-right {
    margin-left: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}
nav .employee-btn {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 24px;
    margin-left: 0;
}
.employee-btn {
    background: #2d7cf7;
    color: #fff !important;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 16px rgba(45,124,247,0.18);
    border: 2px solid #1a5bb8;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    font-size: 1.15rem;
    letter-spacing: 1px;
    text-decoration: none !important;
    margin-left: 0.5rem;
    display: inline-block;
    animation: pulse 1.5s infinite;
}
.employee-btn:hover {
    background: #1a5bb8;
    color: #fff !important;
    box-shadow: 0 8px 32px rgba(45,124,247,0.25);
    transform: scale(1.05);
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 #2d7cf7; }
    70% { box-shadow: 0 0 0 10px rgba(45,124,247,0.12); }
    100% { box-shadow: 0 0 0 0 #2d7cf7; }
}
.hero {
    background: none;
    box-shadow: none;
    border-radius: 0;
    min-height: unset;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-banner {
    width: 100%;
    max-width: 100vw;
    height: 340px;
    object-fit: cover;
    display: block;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 8px 32px rgba(45,124,247,0.10);
    image-rendering: auto;
}
.hero h1, .hero p {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.hero::before,
.hero::after {
    display: none;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.cta-btn {
    background: #f3f4f8;
    color: #2d7cf7;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(45,124,247,0.10);
    border: 1.5px solid #eaf3ff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.cta-btn:hover {
    background: #eaf3ff;
    color: #1a5bb8;
    box-shadow: 0 8px 32px rgba(45,124,247,0.10);
}
.about {
    background: rgba(245,247,250,0.92);
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(45,124,247,0.06);
    margin: 2rem auto;
    max-width: 1100px;
    backdrop-filter: blur(2px);
    border: 1px solid #eaf3ff;
}
.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.about-content img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(45,124,247,0.12);
    border: 4px solid #eaf3ff;
    background: rgba(255,255,255,0.7);
}
.about-content h2 {
    margin-top: 0;
    color: #2d7cf7;
}
.about-intro {
    font-size: 1.08rem;
    margin-bottom: 0.7rem;
    color: #222;
}
.about-objectif {
    display: block;
    margin-top: 0.3rem;
    color: #2d7cf7;
    font-weight: 500;
    font-size: 1.07rem;
}
.about-invite {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: #444;
    font-style: italic;
}
.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.about-list li {
    display: flex;
    align-items: center;
    font-size: 1.08rem;
    margin-bottom: 0.7rem;
    background: rgba(243,244,248,0.95);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(45,124,247,0.07);
    border: 1px solid #eaf3ff;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.about-list li:hover {
    background: rgba(45,124,247,0.06);
    box-shadow: 0 8px 32px rgba(45,124,247,0.10);
    transform: translateY(-2px) scale(1.01);
}
.about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 0.8rem;
    font-size: 1.3rem;
    color: #2d7cf7;
    background: rgba(255,255,255,0.80);
    border: 1px solid #eaf3ff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(45,124,247,0.10);
}
.features {
    padding: 3rem 2rem;
    background: #fff;
    text-align: center;
}
.features-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.feature {
    background: #f6f8fa;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(45,124,247,0.07);
    width: 220px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feature:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 24px rgba(45,124,247,0.13);
}
.feature i {
    margin-bottom: 1rem;
    color: #2d7cf7;
}
.feature h3 {
    margin-bottom: 0.5rem;
}
.contact {
    padding: 3rem 2rem;
    background: #e6f0ff;
    text-align: center;
}
.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}
.contact input, .contact textarea {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1.5px solid #b3d1ff;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact input:focus, .contact textarea:focus {
    border-color: #2d7cf7;
    box-shadow: 0 0 0 2px #b3d1ff;
    outline: none;
}
.contact button {
    background: #2d7cf7;
    color: #fff;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(45,124,247,0.08);
}
.contact button:hover {
    background: #1a5bb8;
    box-shadow: 0 4px 16px rgba(45,124,247,0.13);
}
#formMessage {
    margin-top: 1rem;
    color: #2d7cf7;
    font-weight: bold;
}
footer {
    background: rgba(245,247,250,0.96);
    color: #888;
    box-shadow: 0 -2px 16px rgba(45,124,247,0.07);
    border-radius: 18px 18px 0 0;
    margin-top: 2rem;
    backdrop-filter: blur(8px);
    text-align: center; /* Ajouté pour centrer le texte */
}
.team {
    background: linear-gradient(120deg, #f3f4f8 0%, #eaf3ff 100%);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(45,124,247,0.06);
    margin: 2rem auto;
    max-width: 1100px;
    border: 1px solid #eaf3ff;
}
.team h2 {
    color: #2d7cf7;
    margin-bottom: 2rem;
}
.team-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.team-member {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(45,124,247,0.07);
    padding: 2rem 1rem 1rem 1rem;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.team-member:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 24px rgba(45,124,247,0.13);
}
.team-member img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid #e6f0ff;
    box-shadow: 0 2px 8px rgba(45,124,247,0.10);
    background: rgba(255,255,255,0.6);
}
.team-member h3 {
    margin: 0.5rem 0 0.2rem 0;
    font-size: 1.15rem;
    color: #2d7cf7;
}
.team-member p {
    margin: 0;
    color: #555;
    font-size: 0.98rem;
    font-weight: 500;
}
.team-desc {
    display: block;
    margin-top: 0.7rem;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.4;
}
.values {
    padding: 3rem 2rem;
    background: #fff;
    text-align: center;
}
.values h2 {
    color: #2d7cf7;
    margin-bottom: 2rem;
    font-size: 2rem;
}
.values-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.value {
    background: rgba(243,244,248,0.95);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(45,124,247,0.07);
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.value:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 24px rgba(45,124,247,0.13);
}
.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    color: #2d7cf7;
    background: rgba(255,255,255,0.80);
    border: 1px solid #eaf3ff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(45,124,247,0.10);
    margin-bottom: 1rem;
}
.value h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    color: #2d7cf7;
}
.value p {
    color: #555;
    font-size: 0.98rem;
    margin: 0;
}
.platforms {
    background: #fff;
    padding: 3rem 2rem;
    text-align: center;
}
.platforms-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.platform-card {
    background: rgba(243,244,248,0.95);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(45,124,247,0.07);
    padding: 2rem 1rem 1rem 1rem;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}
.platform-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
    border: 1px solid #eaf3ff;
}
.platform-btn {
    display: inline-block;
    margin: 0.7rem 0;
    padding: 0.6rem 1.2rem;
    background: #2d7cf7;
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    font-size: 1rem;
    box-shadow: 0 2px 16px rgba(45,124,247,0.08);
    border: 1.5px solid #eaf3ff;
}
.platform-btn:hover {
    background: #3a6fd6;
    color: #fff;
    box-shadow: 0 8px 32px rgba(45,124,247,0.10);
}
.platform-join {
    margin-top: 0.7rem;
    color: #444;
    font-size: 0.98rem;
}

/* --- Galerie --- */
/* Styles de galerie.html ici */

/* --- Dashboard --- */
/* Styles de dashboard.html ici */

/* --- Planning --- */
/* Styles de planning.html ici */

/* --- Carte --- */
/* Styles de carte.html ici */

/* --- Profile --- */
/* Styles de profile.html ici */

/* Footer flottant pour toutes les pages */
.floating-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eaeaea;
    z-index: 100;
}
.floating-footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Boutons TruckBook */
.truckbook-btn {
    background: linear-gradient(90deg, #1e88e5 0%, #42a5f5 100%);
    color: #fff !important;
    border-radius: 32px;
    font-weight: bold;
    border: 2px solid #90caf9;
    box-shadow: 0 4px 24px rgba(30,136,229,0.13);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    padding: 0.8rem 2.2rem;
    font-size: 1.08rem;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.truckbook-btn::after {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    border-radius: 32px;
    background: linear-gradient(90deg, rgba(66,165,245,0.15) 0%, rgba(30,136,229,0.10) 100%);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}
.truckbook-btn:hover {
    background: linear-gradient(90deg, #1565c0 0%, #1e88e5 100%);
    color: #fff !important;
    box-shadow: 0 8px 32px rgba(30,136,229,0.18);
    transform: scale(1.05);
}
.truckbook-btn:hover::after {
    opacity: 1;
}

/* Boutons Trucky */
.trucky-btn-custom {
    background: linear-gradient(90deg, #d32f2f 0%, #f44336 100%);
    color: #fff !important;
    border-radius: 32px;
    font-weight: bold;
    border: 2px solid #ffeaea;
    box-shadow: 0 4px 24px rgba(211,47,47,0.13);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    padding: 0.8rem 2.2rem;
    font-size: 1.08rem;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.trucky-btn-custom::after {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    border-radius: 32px;
    background: linear-gradient(90deg, rgba(244,67,54,0.15) 0%, rgba(211,47,47,0.10) 100%);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}
.trucky-btn-custom:hover {
    background: linear-gradient(90deg, #b71c1c 0%, #d32f2f 100%);
    color: #fff !important;
    box-shadow: 0 8px 32px rgba(211,47,47,0.18);
    transform: scale(1.05);
}
.trucky-btn-custom:hover::after {
    opacity: 1;
}
.profile-columns {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    justify-content: center;
    align-items: flex-start;
}
.profile-col {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    box-sizing: border-box;
}
.truckersmp-container {
    background: #f6f8fa;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(45,124,247,0.07);
    padding: 2rem;
    margin-top: 0;
    border-left: 3px solid #eaf3ff;
}
.profile-container.profile-col,
.truckersmp-container.profile-col {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(45,124,247,0.07);
    padding: 2rem;
    margin-top: 0;
    min-width: 320px;
    max-width: 500px;
    box-sizing: border-box;
}
.truckersmp-container.profile-col {
    border-left: 3px solid #eaf3ff;
}
@media (max-width: 900px) {
    nav {
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 1rem;
        min-height: unset;
    }
    .nav-left {
        margin-bottom: 0.5rem;
        justify-content: flex-start;
    }
    .nav-center-wrapper {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    .nav-center {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.7rem;
        margin-bottom: 0.5rem;
    }
    .nav-right {
        margin-left: 0;
        margin-top: 0.7rem;
        justify-content: flex-end;
    }
    .profile-columns {
        flex-direction: column;
        gap: 2rem;
    }
    .truckersmp-container {
        border-left: none;
        border-top: 3px solid #eaf3ff;
    }
}

@media (max-width: 600px) {
    .logo-img {
        width: 26px;
        height: 26px;
    }
    .logo-text {
        font-size: 1rem;
    }
    .nav-center {
        gap: 0.5rem;
    }
    .nav-center a {
        font-size: 0.95rem;
        padding: 0.15rem 0.3rem;
    }
    .profile-col {
        max-width: 100%;
    }
}
.fancy-btn {
    background: linear-gradient(90deg, #2d7cf7 0%, #1a5bb8 100%);
    color: #fff;
    border: none;
    padding: 0.7rem 2.2rem;
    border-radius: 32px;
    font-weight: bold;
    font-size: 1.08rem;
    box-shadow: 0 4px 18px rgba(45,124,247,0.13);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: background 0.25s, box-shadow 0.25s, transform 0.18s;
    outline: none;
    border: 2px solid #eaf3ff;
    position: relative;
}
.fancy-btn i {
    font-size: 1.2rem;
}
.fancy-btn:hover, .fancy-btn:focus {
    background: linear-gradient(90deg, #1a5bb8 0%, #2d7cf7 100%);
    box-shadow: 0 8px 32px rgba(45,124,247,0.22);
    transform: scale(1.06);
    color: #fff;
}
.profile-return-bar {
    position: fixed;
    top: 18px;
    right: 32px;
    z-index: 30;
    display: flex;
    gap: 1rem;
}
.profile-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: bold;
    font-size: 1.08rem;
    border-radius: 32px;
    border: 2px solid #eaf3ff;
    box-shadow: 0 4px 18px rgba(45,124,247,0.13);
    padding: 0.7rem 2.2rem;
    cursor: pointer;
    outline: none;
    transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
    background: linear-gradient(90deg, #2d7cf7 0%, #1a5bb8 100%);
    color: #fff;
    position: relative;
}
.profile-btn i {
    font-size: 1.2rem;
    margin-right: 0.7rem;
}
.profile-btn:hover, .profile-btn:focus {
    background: linear-gradient(90deg, #1a5bb8 0%, #2d7cf7 100%);
    box-shadow: 0 8px 32px rgba(45,124,247,0.22);
    transform: scale(1.07);
    color: #fff;
}
.profile-btn.logout-btn {
    background: linear-gradient(90deg, #d32f2f 0%, #b71c1c 100%);
    color: #fff;
    border: 2px solid #ffeaea;
    box-shadow: 0 4px 18px rgba(211,47,47,0.18);
}
.profile-btn.logout-btn:hover, .profile-btn.logout-btn:focus {
    background: linear-gradient(90deg, #b71c1c 0%, #d32f2f 100%);
    box-shadow: 0 8px 32px rgba(211,47,47,0.22);
    color: #fff;
    transform: scale(1.07);
}
@media (max-width: 700px) {
    .profile-return-bar {
        flex-direction: column;
        top: 12px;
        right: 12px;
        gap: 0.7rem;
    }
    .profile-btn {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
}