@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --orange-500: #f97316;
    --orange-400: #fb923c;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--slate-700);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container-max {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* TOP BAR */
.top-bar {
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
    display: none;
}

@media (min-width: 768px) {
    .top-bar { display: block; }
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
    height: 40px;
    font-size: 12px;
    color: var(--slate-500);
}

.top-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--slate-500);
    text-decoration: none;
    transition: color 0.2s;
}

.top-link:hover {
    color: var(--blue-700);
}

/* HEADER */
#header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

#header.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: baseline;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
}

.logo-alc {
    color: var(--blue-700);
}

.logo-transport {
    color: var(--orange-500);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 40px;
}

@media (min-width: 1024px) {
    .nav-menu { display: flex; }
}

.nav-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--slate-800);
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--blue-700);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-700);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--slate-800);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.nav-btn:hover {
    color: var(--blue-700);
}

.btn-cta {
    display: none;
    background: var(--orange-500);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

@media (min-width: 640px) {
    .btn-cta { display: inline-block; }
}

.btn-cta:hover {
    background: var(--orange-600);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 1024px) {
    .mobile-toggle { display: none; }
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--slate-900);
    transition: 0.3s;
}

/* HERO */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero { height: 680px; }
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        rgba(15, 23, 42, 0.8) 0%,
        rgba(15, 23, 42, 0.6) 50%,
        rgba(15, 23, 42, 0.4) 100%);
}

.hero-container {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.08;
    color: white;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .hero-title { font-size: 56px; }
}

@media (min-width: 1024px) {
    .hero-title { font-size: 64px; }
}

.gradient-text {
    background: linear-gradient(135deg, var(--orange-400), var(--orange-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .hero-subtitle { font-size: 18px; }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--blue-700);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-primary:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-indicators {
    display: flex;
    gap: 8px;
}

.indicator {
    height: 4px;
    width: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.5s;
}

.indicator.active {
    width: 40px;
    background: var(--orange-400);
}

/* SERVICES SECTION */
.services-section {
    padding: 96px 24px;
    background: var(--slate-50);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    color: var(--orange-500);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--slate-900);
    margin-top: 12px;
}

@media (min-width: 768px) {
    .section-title { font-size: 42px; }
}

.section-line {
    width: 64px;
    height: 4px;
    background: var(--orange-500);
    border-radius: 999px;
    margin: 20px auto 0;
}

.section-line.blue {
    background: var(--blue-700);
}

.section-line.orange {
    background: var(--orange-500);
}

.services-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--slate-100);
    transition: all 0.5s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(251, 146, 60, 0.3);
}

.service-image {
    height: 192px;
    background: linear-gradient(135deg, var(--blue-50), var(--slate-50));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}

.service-image img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

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

.service-image.icon-gradient {
    background: linear-gradient(135deg, var(--orange-400), var(--orange-500));
}

.service-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.service-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--slate-500);
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue-700);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: gap 0.3s;
}

.service-card:hover .service-link {
    gap: 10px;
}

.service-accent {
    height: 4px;
    background: linear-gradient(to right, var(--orange-400), var(--orange-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.service-card:hover .service-accent {
    transform: scaleX(1);
}

/* ADVANTAGES SECTION */
.advantages-section {
    padding: 96px 24px;
    background: white;
}

.advantages-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 640px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.advantage-card {
    text-align: center;
}

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 10px 15px rgba(59, 130, 246, 0.2);
}

.advantage-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 15px rgba(16, 185, 129, 0.2);
}

.advantage-icon.orange {
    background: linear-gradient(135deg, #fb923c, #f97316);
    box-shadow: 0 10px 15px rgba(251, 146, 60, 0.2);
}

.advantage-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 10px 15px rgba(139, 92, 246, 0.2);
}

.advantage-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.advantage-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--slate-500);
}

/* TESTIMONIALS */
.testimonials-section {
    padding: 96px 24px;
    background: var(--slate-50);
}

.testimonials-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--slate-200);
}

.stars {
    color: #fbbf24;
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--slate-600);
    margin-bottom: 20px;
    font-style: italic;
}

.service-image {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author {
    font-weight: 600;
    color: var(--slate-900);
}

/* FOOTER */
.footer {
    background: #000000;
    color: var(--slate-400);
    padding: 64px 24px 32px;
}

.footer-content {
    display: grid;
    gap: 48px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 8px;
}

.footer-col h4 {
    color: black;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--slate-400);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--orange-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--slate-600);
}

/* CONTACT PAGE */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--blue-500) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--slate-100);
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-close:hover {
    background: var(--slate-200);
}

.modal-content h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.modal-subtitle {
    color: var(--slate-600);
    margin-bottom: 32px;
}

.tracking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tracking-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--slate-200);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.tracking-input:focus {
    outline: none;
    border-color: var(--blue-700);
}

#trackingResult {
    margin-top: 24px;
}




/* ALIGNEMENT GAUCHE / DROITE SANS TOUCHER AU DESIGN */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
    align-items: start;
}

/* Responsive mobile */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ===== MOBILE NAVIGATION FIX ===== */

@media (max-width: 1023px) {

    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 30px 0;
        display: none;
        z-index: 99;
        box-shadow: 0 15px 25px rgba(0,0,0,0.08);
    }

    .nav-menu.active {
        display: flex;
    }

}