:root {
    --primary-color: #e40000;
    --primary-light: #ff1a1a;
    --primary-dark: #cc0000;
    --secondary-color: #212529;
    --light-color: #ffffff;
    --gray-color: #f4f4f4;
    --success-color: #28a745;
    --warning-color: #ffc107;
}

/* ----------- GLOBAL ----------- */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
    color: var(--secondary-color);
}

.container, .row, .col, img, .tracking-illustration img, .about-illustration img {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

/* ----------- NAVBAR ----------- */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
    border-bottom: 3px solid var(--primary-light);
    padding: 0.5rem 1rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    background-color: transparent;
}

.navbar-brand img {
    max-width: 200px;
}

.nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ----------- TRACKING HERO ----------- */
.tracking-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.tracking-hero h1 {
    color: var(--secondary-color);
    font-size: 3.5rem;
    line-height: 1.2;
}

.tracking-form .input-group {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.tracking-form .form-control {
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
}

.tracking-form .btn {
    padding: 0 2rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border: none;
}

.tracking-illustration img {
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
}

.tracking-illustration img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* ----------- FEATURES ----------- */
.features-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    transform: rotate(-45deg);
}

.feature-icon i {
    transform: rotate(45deg);
}

/* ----------- WHY US ----------- */
.why-us-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 6rem 0;
}

.why-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-circle i {
    font-size: 2rem;
    color: #fff;
}

.why-card h3 {
    text-align: center;
    font-weight: bold;
}

.why-card p, .why-card ul {
    text-align: left;
}

/* ----------- CONTACT ----------- */
.contact-info {
    background: var(--primary-dark);
    padding: 20px;
    border-radius: 10px;
    color: white;
}

.social-links a {
    font-size: 1.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    transition: transform 0.3s ease-in-out;
    text-decoration: none;
}

.social-links a .bi-facebook { color: #1877F2; }
.social-links a .bi-instagram { color: #E1306C; }
.social-links a .bi-twitter { color: #1DA1F2; }
.social-links a .bi-linkedin { color: #0077B5; }

.social-links a:hover {
    transform: scale(1.1);
    background: #ffffffd9;
}

/* ----------- FLOATING BUTTONS ----------- */
.floating-socials {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-social-btn.whatsapp {
    background-color: #25D366;
}
.floating-social-btn.whatsapp:hover {
    background-color: #1DA851;
    transform: scale(1.1);
}

.floating-social-btn.messenger {
    background-color: #0084FF;
}
.floating-social-btn.messenger:hover {
    background-color: #006BD6;
    transform: scale(1.1);
}

/* ----------- FOOTER ----------- */
footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    font-size: 1rem;
    padding-top: 2rem;
}

.footer-widget h4 {
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.footer-widget ul {
    list-style: none;
    padding-left: 0;
}
.footer-widget ul li {
    margin-bottom: 10px;
}
.footer-widget ul li a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
.footer-widget ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    font-size: 0.9rem;
}
.footer-bottom ul {
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.footer-bottom ul li a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
.footer-bottom ul li a:hover {
    color: var(--primary-color);
}

/* ----------- RESPONSIVE ----------- */
@media (max-width: 768px) {
    .tracking-hero h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .tracking-hero p,
    .tracking-form {
        text-align: center;
    }

    .tracking-illustration img {
        transform: none !important;
        margin-top: 2rem;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
    }

    .feature-card,
    .why-card {
        margin-bottom: 2rem;
    }

    .social-share {
        flex-direction: column;
    }

    .share-button {
        width: 100%;
        justify-content: center;
    }

    .navbar-brand img {
        max-width: 120px;
    }
}
:root {
    --primary-color: #e40000;
    --primary-light: #ff1a1a;
    --primary-dark: #cc0000;
    --secondary-color: #212529;
    --light-color: #ffffff;
    --gray-color: #f4f4f4;
    --success-color: #28a745;
    --warning-color: #ffc107;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
    color: var(--secondary-color);
}

.container, .row, .col, img, .tracking-illustration img, .about-illustration img {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
    border-bottom: 3px solid var(--primary-light);
    padding: 0.5rem 1rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.navbar-brand img {
    max-width: 200px;
}

.nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tracking-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 0;
    display: flex;
    align-items: center;
}

.tracking-hero h1 {
    color: var(--secondary-color);
    font-size: 3.5rem;
}

.tracking-form .input-group {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.tracking-form .form-control {
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
}

.tracking-form .btn {
    padding: 0 2rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border: none;
    color: #fff;
}

.tracking-illustration img {
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
}

.tracking-illustration img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.features-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    transform: rotate(-45deg);
}

.feature-icon i {
    transform: rotate(45deg);
}

.why-us-section {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 6rem 0;
}

.why-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-circle i {
    font-size: 2rem;
    color: #fff;
}

.stats-section {
    background: var(--light-color);
    padding: 4rem 0;
}

.stat-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

.stat-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    color: var(--secondary-color);
    font-weight: 500;
}

.engagement-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 6rem 0;
}

.engagement-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
}

.engagement-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #fff;
}

.engagement-icon.eco { background: var(--success-color); }
.engagement-icon.social { background: var(--primary-color); }
.engagement-icon.quality { background: var(--warning-color); }

.engagement-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.engagement-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.engagement-list li i {
    font-size: 1.2rem;
    color: var(--success-color);
}

.contact-info {
    background: var(--primary-dark);
    color: white;
    padding: 20px;
    border-radius: 10px;
}

.social-links a {
    font-size: 1.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    transition: transform 0.3s ease-in-out;
    text-decoration: none;
}

.social-links a .bi-facebook { color: #1877F2; }
.social-links a .bi-instagram { color: #E1306C; }
.social-links a .bi-twitter { color: #1DA1F2; }
.social-links a .bi-linkedin { color: #0077B5; }
.social-links a:hover { transform: scale(1.1); }

.footer-widget h4 {
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom ul {
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-bottom ul li a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
.footer-bottom ul li a:hover {
    color: var(--primary-color);
}

.floating-socials {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-social-btn.whatsapp { background-color: #25D366; }
.floating-social-btn.whatsapp:hover { background-color: #1DA851; transform: scale(1.1); }
.floating-social-btn.messenger { background-color: #0084FF; }
.floating-social-btn.messenger:hover { background-color: #006BD6; transform: scale(1.1); }

.bi::before {
    font-family: "bootstrap-icons" !important;
    font-style: normal;
    font-weight: normal !important;
    display: inline-block;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .tracking-hero h1 { font-size: 2.2rem; text-align: center; }
    .navbar-brand img { max-width: 120px; }
    .nav-link { font-size: 0.95rem; }
    .feature-card,
    .why-card,
    .engagement-card,
    .objective-card,
    .stat-card {
        margin-bottom: 1.5rem;
    }
    .stat-icon i,
    .objective-icon i,
    .feature-icon i,
    .icon-circle i {
        font-size: 2.5rem !important;
    }
    .engagement-list li i {
        font-size: 1rem;
    }
}
/* Corrige l'affichage des icônes Bootstrap sur mobile */
.bi::before {
  display: inline-block;
  font-family: "bootstrap-icons" !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


@media (max-width: 768px) {
  .stat-icon i,
  .feature-icon i,
  .icon-circle i,
  .engagement-icon i {
    font-size: 1.5rem;
  }
}

/* ✅ Forçage complet pour affichage des icônes Bootstrap */
i.bi {
  font-family: "bootstrap-icons" !important;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.5rem;
  visibility: visible !important;
}

.inscription-section {
  background-color: #f8f9fa;
}

.inscription-section .card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.inscription-section .btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--primary-color);
  border: none;
  transition: background 0.3s ease-in-out;
}

.inscription-section .btn:hover {
  background: var(--primary-dark);
}

.btn-primary,
.btn.btn-primary,
a.btn.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 25px;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
}

.btn-primary:hover,
.btn.btn-primary:hover,
a.btn.btn-primary:hover {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: #fff !important;
}
.stats-section .stat-icon i {
  font-size: 60px; /* ou 56px si tu veux un peu plus petit */

  margin-bottom: 12px;
}
