/* ===== STYLE3.CSS COMPLET - NICE DÉMÉNAGEMENT ===== */
/* Version entièrement responsive et optimisée */

:root {
    --primary: #1a73e8;
    --secondary: #ff6d00;
    --dark: #2d3748;
    --light: #f8f9fa;
    --success: #34a853;
    --warning: #fbbc04;
    --danger: #ea4335;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 20px rgba(0,0,0,0.15);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    font-size: 1rem;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

/* ===== TYPOGRAPHIE RESPONSIVE ===== */
h1 {
    font-size: 2rem;
    font-weight: 700;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* ===== LAYOUT ET CONTAINERS ===== */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: white;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.5rem;
    text-decoration: none;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: var(--transition);
    border-radius: 6px;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
    background-color: var(--gray-100);
}

/* ===== BOUTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #0d62d9;
    border-color: #0d62d9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #e66400;
    border-color: #e66400;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero-section h1 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTIONS GÉNÉRIQUES ===== */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 1rem auto;
    border-radius: 2px;
}

section {
    padding: 4rem 0;
}

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

/* ===== ABOUT SECTION ===== */
.about-section {
    background-color: var(--light);
}

.about-section img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

.about-section ul {
    list-style: none;
    padding: 0;
}

.about-section li {
    padding: 0.5rem 0;
    font-size: 1rem;
}

.about-section .fas.fa-check {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* ===== SERVICES ===== */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.service-card h4 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card p {
    color: var(--gray-600);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* ===== PROCESS STEPS ===== */
.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background: var(--secondary);
}

.process-step h4 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.process-step p {
    color: var(--gray-600);
}

/* ===== TRANSPORT ===== */
.transport-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-200);
}

.transport-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.transport-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.transport-card:hover .transport-icon {
    transform: scale(1.1);
    color: var(--secondary);
}

.transport-card h4 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.transport-card p {
    color: var(--gray-600);
}

/* ===== TÉMOIGNAGES ===== */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-200);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.client-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--primary);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.client-info h5 {
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.client-info .text-muted {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--gray-800);
    font-style: italic;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.stars {
    color: var(--warning);
}

/* ===== PAIEMENT ===== */
.payment-section {
    background-color: var(--light);
}

.payment-method {
    text-align: center;
    padding: 2rem 1rem;
}

.payment-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.payment-method:hover .payment-icon {
    transform: scale(1.1);
}

.payment-method h4 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.payment-method p {
    color: var(--gray-600);
}

/* ===== CONTACT ===== */
.contact-section .card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.contact-section .card-body {
    padding: 3rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.25);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer ul li i {
    width: 20px;
    margin-right: 0.5rem;
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--gray-300);
    font-size: 0.9rem;
}

/* ===== UTILITAIRES ===== */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-muted { color: var(--gray-600) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-light { background-color: var(--light) !important; }

.shadow { box-shadow: var(--shadow) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.rounded { border-radius: var(--border-radius) !important; }

/* ===== RESPONSIVE DESIGN ===== */

/* Très petits mobiles (<= 375px) */
@media (max-width: 375px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
        max-width: 140px;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Mobiles (576px et moins) */
@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .service-card,
    .transport-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .transport-icon {
        font-size: 3rem;
    }
    
    .process-step {
        padding: 1.5rem 0.5rem;
        margin-bottom: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .contact-section .card-body {
        padding: 2rem 1.5rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Navigation mobile (<= 991px) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-nav {
        gap: 0.25rem;
    }
    
    .nav-link {
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    .navbar .d-flex {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .navbar .btn {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
}

/* Tablettes (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        padding: 140px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .service-icon {
        font-size: 2.75rem;
    }
    
    .col-md-6 {
        margin-bottom: 2rem;
    }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
}

/* Grand desktop (1200px et plus) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section {
        padding: 160px 0;
    }
    
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 2rem; }
    h4 { font-size: 1.5rem; }
    
    section {
        padding: 5rem 0;
    }
}

/* Très grands écrans (1400px et plus) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section {
        padding: 180px 0;
    }
}

/* Améliorations pour le paysage mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 100px 0;
        min-height: auto;
    }
    
    .navbar {
        position: relative;
    }
}

/* Support pour les préférences de réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .service-card:hover,
    .transport-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
}

/* Mode sombre (support futur) */
@media (prefers-color-scheme: dark) {
    /* Base pour un futur support du mode sombre */
}

/* Impression */
@media print {
    .navbar,
    .hero-section,
    .footer,
    .btn {
        display: none !important;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* ===== ANIMATIONS ET INTERACTIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Focus visible pour l'accessibilité */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
img {
    aspect-ratio: attr(width) / attr(height);
}

/* Préchargement des polices critiques */
@font-face {
    font-family: 'Montserrat';
    font-display: swap;
    src: url('/fonts/montserrat.woff2') format('woff2');
}
/* ===== CORRECTIONS SPÉCIFIQUES ===== */


/* Empêcher le débordement horizontal */
.row {
    margin-left: 0;
    margin-right: 0;
}

/* Améliorer la lisibilité */
p, li {
    line-height: 1.7;
}

/* Espacement cohérent */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Fin du fichier style3.css */