/* frontend/css/style.css */
:root {
    --primary: #2ecc71;
    --primary-dark: #27ae60;
    --primary-light: #6fcf97;
    --secondary: #3498db;
    --accent: #f39c12;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --white: #ffffff;
    --black: #1a1a2e;
    --gray: #7f8c8d;
    --success: #2ecc71;
    --error: #e74c3c;
    --warning: #f39c12;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
    --shadow-hover: 0 20px 40px rgba(46,204,113,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    color: var(--dark);
    background-color: var(--white);
}

/* ========== SPLASH SCREEN ========== */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a472a 0%, #2ecc71 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    overflow: hidden;
}

.sparkles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 0 5px white;
}

.splash-container {
    text-align: center;
    z-index: 2;
    position: relative;
}

.circle-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-progress {
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    animation: circleCharge 2.5s linear forwards;
}

@keyframes circleCharge {
    0% { stroke-dashoffset: 565.48; }
    100% { stroke-dashoffset: 0; }
}

.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.splash-text {
    margin-top: 30px;
    font-family: 'Poppins', 'Space Grotesk', monospace;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 6px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F0F0 50%, #E0E0E0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cursor-blink {
    display: inline-block;
    width: 3px;
    height: 40px;
    background: linear-gradient(135deg, #FFFFFF, #E0E0E0);
    margin-left: 5px;
    animation: blink 0.8s step-end infinite;
    border-radius: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes splashFadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}

@keyframes sparkleAnim {
    0% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0); }
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 50px;
    object-fit: contain;
}

.logo-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

.btn-login, .btn-signup {
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-login {
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--gray);
}

.btn-login:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-signup {
    background: var(--primary);
    color: var(--white);
}

.btn-signup:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-delivery {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-delivery:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transition: var(--transition);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light);
}

.mobile-menu-header img {
    height: 40px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-nav a:hover {
    color: var(--primary);
    transform: translateX(10px);
}

.mobile-auth {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--light);
}

.mobile-login, .mobile-signup {
    flex: 1;
    text-align: center;
    padding: 0.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.mobile-login {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.mobile-signup {
    background: var(--primary);
    color: var(--white);
}

.mobile-delivery-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 1rem;
    cursor: pointer;
}

/* ========== HERO SLIDER ========== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    padding-top: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide-bg.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-text {
    text-align: center;
    color: white;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-family: 'Space Grotesk', monospace;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-text .highlight {
    color: var(--primary);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: var(--primary);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--primary);
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(46,204,113,0.1);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46,204,113,0.8), rgba(39,174,96,0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.service-info {
    padding: 1.5rem;
    text-align: center;
}

.service-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.service-info p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.btn-order-service {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-order-service:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========== PARTNERS SECTION ========== */
.partners {
    padding: 5rem 0;
    background: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.partner-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.partner-card:hover .partner-image img {
    transform: scale(1.1);
}

.partner-info {
    padding: 1.5rem;
}

.partner-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.partner-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========== CONTACT SECTION ========== */
.contact {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--white);
    padding: 1.8rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.contact-card span {
    font-size: 0.75rem;
    color: var(--gray);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--light);
    border-radius: 10px;
    font-family: inherit;
    transition: var(--transition);
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
}

.auth-link a {
    color: var(--primary);
    text-decoration: none;
}

.w-100 {
    width: 100%;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 1.5rem;
}

/* ========== TOAST ========== */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--dark);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    z-index: 4000;
    transform: translateX(400px);
    transition: var(--transition);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--error);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.newsletter {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.newsletter input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter button {
    background: var(--primary);
    border: none;
    padding: 0 1rem;
    border-radius: 10px;
    cursor: pointer;
    color: var(--white);
    transition: var(--transition);
}

.newsletter button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

/* ========== ANIMATIONS PRO ========== */

/* Badge "100% Électrique" - Animation pulse */
.logo-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 15px 5px rgba(46, 204, 113, 0.6);
        transform: scale(1.02);
    }
}

/* Bouton "Livraison Express" - Animation shine */
.btn-delivery {
    position: relative;
    overflow: hidden;
}

.btn-delivery::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-delivery:hover::before {
    left: 100%;
}

.btn-delivery:hover {
    animation: buttonPulse 1s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(46, 204, 113, 0.6);
    }
}

/* Classes d'animation au scroll */
.scroll-animate {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Animation spéciale pour les titres de section */
.section-header.scroll-animate {
    transform: translateY(25px);
}

.section-tag.scroll-animate {
    transform: translateY(20px);
    transition-delay: 0.05s;
}

.section-header h2.scroll-animate {
    transform: translateY(25px);
    transition-delay: 0.1s;
}

.section-header p.scroll-animate {
    transform: translateY(20px);
    transition-delay: 0.15s;
}

/* Animation pour le Hero */
.hero-text h1.scroll-animate {
    transform: translateY(30px);
    transition-delay: 0.1s;
}

.hero-description.scroll-animate {
    transform: translateY(25px);
    transition-delay: 0.2s;
}

.hero-stats.scroll-animate {
    transform: translateY(20px);
    transition-delay: 0.3s;
}

.hero-buttons.scroll-animate {
    transform: translateY(20px);
    transition-delay: 0.4s;
}

/* Animation pour le footer */
.footer-section.scroll-animate {
    transform: translateY(30px);
}

.footer-section:nth-child(1).scroll-animate { transition-delay: 0.1s; }
.footer-section:nth-child(2).scroll-animate { transition-delay: 0.2s; }
.footer-section:nth-child(3).scroll-animate { transition-delay: 0.3s; }
.footer-section:nth-child(4).scroll-animate { transition-delay: 0.4s; }

/* Au chargement, animer le Hero */
@media (prefers-reduced-motion: no-preference) {
    .hero-text h1 {
        animation: fadeInUp 0.8s ease-out 0.3s forwards;
        opacity: 0;
        transform: translateY(30px);
    }
    
    .hero-description {
        animation: fadeInUp 0.8s ease-out 0.5s forwards;
        opacity: 0;
        transform: translateY(25px);
    }
    
    .hero-stats {
        animation: fadeInUp 0.8s ease-out 0.7s forwards;
        opacity: 0;
        transform: translateY(20px);
    }
    
    .hero-buttons {
        animation: fadeInUp 0.8s ease-out 0.9s forwards;
        opacity: 0;
        transform: translateY(20px);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation hover pour les cartes */
.service-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease !important;
}

.partner-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease !important;
}

.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Animation pour les boutons */
.btn-primary, .btn-secondary, .btn-order-service {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.btn-primary:hover, .btn-order-service:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn-secondary:hover {
    transform: translateY(-3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .contact-cards {
        gap: 1.5rem;
    }
    
    .contact-card {
        min-width: 180px;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .btn-login, .btn-signup {
        display: none;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .contact-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-card {
        width: 100%;
        max-width: 100%;
    }

    .services-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .contact-card {
        padding: 1.2rem;
    }
    
    .contact-card i {
        font-size: 1.8rem;
    }
    
    .contact-card h3 {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}