:root {
    --primary: #FF6B35;
    --primary-dark: #E55526;
    --primary-light: #FF8A5C;
    --secondary: #1E3A8A;
    --dark: #1F2937;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --light: #F9FAFB;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, .1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, .1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, .1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all .3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all .3s ease;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    transition: all .3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(5deg) scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all .3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width .3s ease;
}

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

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

.nav-link.active {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    color: var(--white) !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-item-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .3s ease;
    box-shadow: var(--shadow-lg);
}

.nav-item-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    list-style: none;
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: all .3s ease;
}

.dropdown a:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 28px;
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all .3s ease;
}

.cart-nav-btn {
    position: relative;
    background: var(--light);
    border: 1.5px solid #E5E7EB;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark);
    font-size: 1rem;
    transition: all .3s ease;
}

.cart-nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.08);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: .7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    border: 2px solid white;
}

@keyframes cartCountPop {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.cart-bounce {
    animation: cartBounce .6s cubic-bezier(.36, .07, .19, .97);
}

@keyframes cartBounce {

    0%,
    100% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.3);
    }

    60% {
        transform: scale(.9);
    }

    80% {
        transform: scale(1.1);
    }
}

.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    max-height: 700px;
    margin-top: 80px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .3) 100%);
}

.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 2;
}

.slide-title {
    font-family: 'Syne', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    animation: slideInUp .8s ease .2s both;
}

.slide-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 30px;
    animation: slideInUp .8s ease .4s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all .3s ease;
    box-shadow: var(--shadow-md);
}

.slider-btn:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.slider-btn i {
    color: var(--dark);
    font-size: 1.2rem;
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: all .3s ease;
}

.indicator.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-light {
    background: var(--white);
    color: var(--dark);
    animation: slideInUp .8s ease .6s both;
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

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

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
}

.services-overview {
    padding: 40px 0 80px;
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 40px 30px;
    text-decoration: none;
    color: var(--dark);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform .3s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all .3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all .3s ease;
}

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

/* TARIFS */
.tarifs-section {
    padding: 120px 0 80px;
    background: var(--light);
    min-height: 100vh;
}

.acompte-banner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, #1E3A8A, #2563EB);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 56px;
    color: white;
    box-shadow: 0 10px 40px rgba(30, 58, 138, .3);
}

.acompte-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.acompte-text {
    flex: 1;
}

.acompte-text strong {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 6px;
}

.acompte-text p {
    font-size: .95rem;
    opacity: .9;
    line-height: 1.6;
    margin: 0;
}

.acompte-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.badge-secure {
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Catégorie avec accordéon */
.tarif-category {
    margin-bottom: 14px;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
}

.tarif-category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--white);
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #E5E7EB;
}

.tarif-category-header:hover {
    background: rgba(255, 107, 53, 0.02);
}

.tarif-cat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(255, 107, 53, .3);
}

.tarif-category-header h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.tarif-category-header p {
    color: var(--gray);
    font-size: .9rem;
    margin: 0;
}

.toggle-icon {
    margin-left: auto;
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.tarif-category.closed .toggle-icon {
    transform: rotate(-90deg);
}

.tarif-category.closed .tarif-cards-grid {
    display: none !important;
}

.tarif-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 24px;
}

.tarif-card {
    background: var(--white);
    border: 1.5px solid #E5E7EB;
    border-radius: 18px;
    padding: 28px 24px;
    position: relative;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tarif-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform .3s ease;
}

.tarif-card:hover::before {
    transform: scaleX(1);
}

.tarif-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .12);
    border-color: var(--primary);
}

.tarif-card.featured {
    border-color: var(--primary);
    background: linear-gradient(160deg, #FFF8F5, #FFFFFF);
}

.tarif-card.featured::before {
    transform: scaleX(1);
}

.tarif-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: white;
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: 'Syne', sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.tarif-card-badge.best {
    background: linear-gradient(135deg, #1E3A8A, #2563EB);
}

.tarif-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 107, 53, .08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 16px;
    transition: all .3s ease;
}

.tarif-card:hover .tarif-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.08) rotate(5deg);
}

.tarif-card h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.tarif-desc {
    font-size: .88rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.tarif-includes {
    list-style: none;
    margin-bottom: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tarif-includes li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: var(--dark);
}

.tarif-includes i {
    color: #10B981;
    font-size: .75rem;
    flex-shrink: 0;
}

.tarif-price {
    margin-bottom: 8px;
}

.price-main {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.price-main small {
    font-size: .8rem;
    font-weight: 600;
    color: var(--gray);
}

.price-alt {
    font-size: .85rem;
    color: var(--gray);
    font-weight: 500;
}

.tarif-acompte {
    font-size: .78rem;
    color: var(--gray);
    background: rgba(16, 185, 129, .08);
    border: 1px solid rgba(16, 185, 129, .2);
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.tarif-acompte strong {
    color: #10B981;
}

.btn-add-cart {
    width: 100%;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .3s ease;
    font-family: 'DM Sans', sans-serif;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, .35);
}

.tarif-note {
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 40px;
}

.tarif-note i {
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.tarif-note p {
    font-size: .9rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.tarif-note a {
    color: var(--primary);
}

/* SERVICES DETAILS */
.services-details {
    background: var(--white);
}

.service-detail {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.service-detail.alt-bg {
    background: var(--light);
}

.service-detail::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 140px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    border-radius: 0 4px 4px 0;
    opacity: .35;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.service-content.reverse {
    direction: ltr;
}

.service-content.reverse .service-gallery {
    order: -1;
}

.service-text {
    position: relative;
}

.service-text::before {
    content: attr(data-num);
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: 'Syne', sans-serif;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(0, 0, 0, .04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.service-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 107, 53, .08);
    color: var(--primary);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 50px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 107, 53, .22);
    position: relative;
    z-index: 1;
}

.service-text h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark);
    line-height: 1.15;
    letter-spacing: -.02em;
    position: relative;
    z-index: 1;
}

.lead {
    font-size: 1.02rem;
    color: var(--gray);
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.75;
    padding-left: 16px;
    border-left: 3px solid var(--primary);
    position: relative;
    z-index: 1;
}

.feature-list {
    list-style: none;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    position: relative;
    z-index: 1;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: .97rem;
    line-height: 1.5;
    color: var(--dark);
}

.feature-check {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: rgba(255, 107, 53, .1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.feature-check i {
    color: var(--primary);
    font-size: .7rem;
}

.feature-list strong {
    font-weight: 600;
    color: var(--dark);
}

.feature-list .desc {
    color: var(--gray);
    font-weight: 400;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.tech-badge {
    background: var(--white);
    color: var(--dark);
    padding: 7px 15px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    border: 1.5px solid #E5E7EB;
    font-family: 'Syne', sans-serif;
    letter-spacing: .02em;
    transition: all .25s ease;
    cursor: default;
}

.tech-badge:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 107, 53, .04);
    transform: translateY(-2px);
}

.service-cta-btn {
    display: inline-flex;
    margin-top: 24px;
}

.service-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
    align-self: stretch;
}

.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #e8e8e8;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .09);
    transition: box-shadow .3s ease, transform .3s ease;
}

.gallery-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, .16);
    transform: translateY(-3px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s cubic-bezier(.25, .46, .45, .94);
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1/3;
    aspect-ratio: 3/4;
}

.gallery-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 1/1;
}

.gallery-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 1/1;
}

/* PORTFOLIO */
.portfolio {
    padding: 120px 0 80px;
    background: var(--white);
    min-height: 100vh;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 1.5px solid #E5E7EB;
    color: var(--dark);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s ease;
    font-size: .9rem;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(255, 107, 53, .35);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, opacity .35s ease;
    border: 1px solid #E5E7EB;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-item.visible {
    animation: fadeInUp .4s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f0f0;
    cursor: pointer;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.25, .46, .45, .94);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 107, 53, .75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
}

.portfolio-overlay i {
    color: var(--white);
    font-size: 1.8rem;
    transform: scale(.7);
    transition: transform .3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-overlay i {
    transform: scale(1);
}

.portfolio-info {
    padding: 16px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.portfolio-tag {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary);
    font-family: 'Syne', sans-serif;
    background: rgba(255, 107, 53, .08);
    border: 1px solid rgba(255, 107, 53, .18);
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.portfolio-info h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin: 4px 0 2px;
    line-height: 1.3;
}

.portfolio-info p {
    color: var(--gray);
    font-size: .88rem;
    margin: 0 0 10px;
}

.btn-portfolio-order {
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 8px;
    font-weight: 700;
    font-size: .82rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all .25s ease;
    font-family: 'DM Sans', sans-serif;
}

.btn-portfolio-order:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 107, 53, .3);
}

.btn-portfolio-order.featured-order {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-portfolio-order.featured-order:hover {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 14px rgba(30, 58, 138, .3);
}

/* ABOUT */
.about {
    padding: 120px 0 80px;
    background: var(--light);
    min-height: 100vh;
}

.about-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.about-decoration {
    position: absolute;
    top: 20px;
    left: -20px;
    right: 20px;
    bottom: -20px;
    background: var(--primary);
    border-radius: 16px;
    z-index: 1;
    opacity: .2;
}

.about-text h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--dark);
}

.about-text p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-number {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--gray);
    font-size: .9rem;
}

/* CONTACT */
.contact {
    padding: 120px 0 80px;
    background: var(--white);
    min-height: 100vh;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.contact-info>p {
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-method i {
    width: 45px;
    height: 45px;
    background: var(--light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--dark);
}

.contact-method a {
    color: var(--primary);
    text-decoration: none;
    transition: all .3s ease;
}

.contact-method a:hover {
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: var(--light);
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    text-decoration: none;
    transition: all .3s ease;
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--light);
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 40px;
}

.form-group {
    margin-bottom: 8px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
    font-size: .95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: all .3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

/* CART SIDEBAR - CORRECTION SCROLL */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    backdrop-filter: blur(3px);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    right: -440px;
    top: 0;
    bottom: 0;
    width: 440px;
    max-width: 95vw;
    background: var(--white);
    z-index: 2001;
    box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
    display: flex;
    flex-direction: column;
    transition: right .4s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 20px;
    border-bottom: 2px solid #F3F4F6;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.cart-header-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-header h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.cart-header-count {
    font-size: .82rem;
    opacity: .85;
}

.cart-close-btn {
    background: rgba(255, 255, 255, .2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.cart-close-btn:hover {
    background: rgba(255, 255, 255, .35);
}

.cart-acompte-info {
    flex-shrink: 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 24px;
    background: rgba(255, 107, 53, .05);
    border-bottom: 1px solid rgba(255, 107, 53, .1);
    font-size: .82rem;
}

.cart-acompte-info i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.cart-acompte-info strong {
    display: block;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 3px;
}

.cart-acompte-info p {
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

.cart-items-list {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    min-height: 0;
    /* important pour que flex ne déborde pas */
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 200px;
    color: var(--gray);
    text-align: center;
}

.cart-empty i {
    font-size: 3rem;
    color: #E5E7EB;
}

.cart-empty p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
    margin: 0;
}

.cart-empty small {
    font-size: .82rem;
    color: var(--gray-light);
}

.cart-item {
    background: var(--light);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    transition: all .2s ease;
}

.cart-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(255, 107, 53, .1);
}

.cart-item-info {
    flex: 1;
}

.cart-item-category {
    font-size: .68rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 3px;
}

.cart-item-name {
    font-family: 'Syne', sans-serif;
    font-size: .92rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.cart-item-price {
    font-size: .88rem;
    font-weight: 700;
    color: var(--primary);
}

.cart-item-cad {
    font-size: .78rem;
    color: var(--gray);
    font-weight: 400;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty-btn {
    background: var(--white);
    border: 1.5px solid #E5E7EB;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    transition: all .2s ease;
}

.cart-qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-qty-num {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    min-width: 20px;
    text-align: center;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #EF4444;
    cursor: pointer;
    font-size: .85rem;
    padding: 4px;
    transition: all .2s ease;
}

.cart-remove-btn:hover {
    color: #DC2626;
    transform: scale(1.1);
}

.cart-summary {
    flex-shrink: 0;
    background: var(--white);
    border-top: 2px solid #F3F4F6;
    padding: 16px 24px 24px;
    max-height: 50vh;
    /* limite la hauteur du résumé si nécessaire */
    overflow-y: auto;
    /* permet de scroller si le résumé est trop long */
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #F3F4F6;
}

.cart-summary-row span {
    font-size: .9rem;
    color: var(--gray);
}

.cart-summary-row strong {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    color: var(--dark);
    display: block;
    text-align: right;
}

.cart-summary-row small {
    font-size: .78rem;
    color: var(--gray);
    display: block;
    text-align: right;
}

.cart-summary-row.highlight {
    background: rgba(255, 107, 53, .05);
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 107, 53, .2);
    margin: 8px 0;
}

.cart-summary-row.highlight span {
    font-weight: 700;
    color: var(--dark);
}

.cart-summary-row.highlight strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.cart-summary-row.muted strong {
    color: var(--gray);
    font-size: .9rem;
}

.cart-summary-row.muted span {
    font-size: .82rem;
}

.cart-payment-section {
    margin-top: 16px;
}

.cart-payment-title {
    font-family: 'Syne', sans-serif;
    font-size: .95rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.cart-payment-title i {
    color: #003087;
    font-size: 1.1rem;
}

.cart-payment-desc {
    font-size: .82rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 12px;
}

.cart-client-info {
    margin-bottom: 14px;
}

.cart-client-info label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.cart-client-info input,
.cart-client-info textarea {
    width: 100%;
    border: 1.5px solid #E5E7EB;
    border-radius: 8px;
    padding: 10px 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: .88rem;
    color: var(--dark);
    background: var(--white);
    transition: border-color .2s ease;
}

.cart-client-info input:focus,
.cart-client-info textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.cart-client-info textarea {
    resize: vertical;
    min-height: 60px;
}

.btn-paypal-pay {
    width: 100%;
    padding: 14px 20px;
    background: #003087;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all .3s ease;
    font-family: 'Syne', sans-serif;
    box-shadow: 0 6px 24px rgba(0, 48, 135, .3);
}

.btn-paypal-pay:hover {
    background: #002060;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 48, 135, .4);
}

.btn-paypal-pay i {
    font-size: 1.2rem;
}

/* Bouton Mobile Money */
.btn-mobile-money {
    width: 100%;
    padding: 14px 20px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'Syne', sans-serif;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
    margin-top: 10px;
}

.btn-mobile-money:hover {
    background: #20b859;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.4);
}

.btn-mobile-money i {
    font-size: 1.2rem;
}

.cart-payment-secure {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: var(--gray);
    margin-top: 10px;
    justify-content: center;
}

.cart-payment-secure i {
    color: #10B981;
}

.paypal-badge {
    background: #003087;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: .7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cart-payment-alt {
    font-size: .78rem;
    color: var(--gray);
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

.cart-payment-alt a {
    color: var(--primary);
}

/* PAYPAL MODAL */
.paypal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    backdrop-filter: blur(4px);
    padding: 20px;
}

.paypal-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.paypal-modal {
    background: white;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
    transform: scale(.85) translateY(20px);
    transition: transform .3s ease;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.paypal-modal-overlay.active .paypal-modal {
    transform: scale(1) translateY(0);
}

.paypal-modal-header {
    background: linear-gradient(135deg, #003087, #0070ba);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.paypal-modal-logo {
    color: white;
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.paypal-modal-logo i {
    font-size: 1.4rem;
}

.paypal-modal-close {
    background: rgba(255, 255, 255, .2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.paypal-modal-close:hover {
    background: rgba(255, 255, 255, .35);
}

.paypal-modal-body {
    padding: 32px 28px;
    text-align: center;
}

.paypal-success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: successBounce .8s cubic-bezier(.36, .07, .19, .97);
}

@keyframes successBounce {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.paypal-modal-body h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.paypal-modal-body>p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.paypal-order-summary {
    background: var(--light);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    margin-bottom: 20px;
}

.paypal-order-detail {
    margin-bottom: 12px;
    font-size: .88rem;
    color: var(--dark);
}

.paypal-order-detail:last-child {
    margin-bottom: 0;
}

.paypal-order-detail strong {
    color: var(--dark);
    display: block;
    margin-bottom: 4px;
}

.paypal-order-detail ul {
    list-style: disc;
    margin-left: 18px;
    color: var(--gray);
}

.paypal-order-detail ul li {
    margin-bottom: 3px;
}

.paypal-order-detail.total-line {
    background: rgba(255, 107, 53, .06);
    border: 1px solid rgba(255, 107, 53, .2);
    border-radius: 8px;
    padding: 12px 14px;
}

.paypal-next-steps {
    background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
    border: 1px solid #A7F3D0;
    border-radius: 12px;
    padding: 16px 20px;
    text-align: left;
    font-size: .88rem;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 4px;
}

.paypal-next-steps strong {
    display: block;
    margin-bottom: 6px;
    color: var(--dark);
}

/* FOOTER DEV CREDIT */
.footer-dev-credit {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.dev-credit-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray-light);
    margin-bottom: 6px;
}

.dev-credit-name {
    font-family: 'Syne', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: #E5E7EB;
    margin-bottom: 6px;
}

.dev-credit-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: var(--primary);
    text-decoration: none;
    transition: all .2s ease;
    margin-bottom: 4px;
}

.dev-credit-phone:hover {
    color: var(--primary-light);
}

.dev-credit-role {
    font-size: .8rem;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dev-credit-role i {
    color: var(--primary);
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.footer-col p {
    color: var(--gray-light);
    margin-bottom: 20px;
    font-size: .95rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--gray-light);
    text-decoration: none;
    transition: all .3s ease;
    font-size: .95rem;
}

.footer-col ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer .social-link {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .2);
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-light);
    font-size: .9rem;
}

.footer-bottom a {
    color: var(--gray-light);
    text-decoration: none;
    transition: all .3s ease;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

.lightbox-caption {
    text-align: center;
    color: var(--white);
    margin-top: 20px;
    font-size: 1.1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, .9);
    border: none;
    color: var(--dark);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--white);
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

/* NOTIFICATIONS */
.notification {
    position: fixed;
    bottom: -100px;
    right: 30px;
    padding: 18px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-xl);
    transition: all .3s ease;
    max-width: 400px;
}

.notification.show {
    bottom: 30px;
}

.notification.success {
    background: #10B981;
    color: white;
}

.notification.error {
    background: #EF4444;
    color: white;
}

.notification i {
    font-size: 1.3rem;
}

/* PAGINATION */
.portfolio-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.page-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1.5px solid #E5E7EB;
    background: var(--white);
    color: var(--dark);
    font-size: .92rem;
    font-weight: 600;
    font-family: 'Syne', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .22s ease;
    user-select: none;
}

.page-btn:hover:not(.disabled):not(.active) {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, .15);
}

.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(255, 107, 53, .35);
    transform: translateY(-2px);
}

.page-btn.disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* SPA */
.page-section {
    display: block;
    animation: pageIn .4s ease both;
    padding-top: 120px;
}

.hero-slider.page-section {
    padding-top: 0;
}

.services-details.page-section {
    padding-top: 0;
}

.page-section.page-hidden {
    display: none !important;
}

.page-section.page-visible {
    display: block;
    animation: pageIn .4s ease both;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    display: block !important;
}

/* PHONE INPUT */
.optional {
    font-size: .8rem;
    color: var(--gray-light);
    font-weight: 400;
}

.phone-input-wrapper {
    display: flex;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    overflow: visible;
    background: var(--white);
    transition: border-color .3s ease;
    position: relative;
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary);
}

.country-selector {
    position: relative;
    flex-shrink: 0;
}

.country-selected {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    cursor: pointer;
    border-right: 1px solid #E5E7EB;
    border-radius: 10px 0 0 10px;
    background: var(--light);
    transition: background .2s ease;
    min-width: 90px;
    user-select: none;
}

.country-selected:hover {
    background: #F0F0F0;
}

.country-selected .flag {
    font-size: 1.3rem;
    line-height: 1;
}

.country-selected .dial-code {
    font-size: .9rem;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
}

.country-selected .arrow {
    font-size: .65rem;
    color: var(--gray);
    transition: transform .2s ease;
    margin-left: auto;
}

.country-selector.open .arrow {
    transform: rotate(180deg);
}

.country-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 280px;
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
    z-index: 9999;
    display: none;
    overflow: hidden;
}

.country-selector.open .country-dropdown {
    display: block;
}

.country-search {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #E5E7EB;
    outline: none;
    font-size: .9rem;
    font-family: 'DM Sans', sans-serif;
    background: var(--light);
}

.country-list {
    list-style: none;
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.country-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background .15s ease;
    font-size: .9rem;
}

.country-list li:hover,
.country-list li.selected {
    background: rgba(255, 107, 53, .07);
    color: var(--primary);
}

.country-list .c-flag {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.country-list .c-name {
    flex: 1;
    color: var(--dark);
    font-size: .88rem;
}

.country-list .c-code {
    color: var(--gray);
    font-size: .82rem;
    font-weight: 600;
}

.country-list li:hover .c-name,
.country-list li.selected .c-name {
    color: var(--primary);
}

.phone-input-wrapper input[type="tel"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--dark);
    background: transparent;
    border-radius: 0 10px 10px 0;
}

.phone-input-wrapper input[type="tel"]::placeholder {
    color: var(--gray-light);
}

/* MISC */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    z-index: 9999;
    transition: width .1s linear;
    border-radius: 0 2px 2px 0;
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(255, 107, 53, .35);
    opacity: 0;
    transform: translateY(20px);
    transition: all .3s ease;
    font-size: 1rem;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, .45);
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
    transition: all .3s ease;
    font-size: 1.6rem;
}

.whatsapp-btn:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, .55);
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, .4);
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: .8;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #1a1a1a;
    color: var(--white);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    font-family: 'DM Sans', sans-serif;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right: none;
    border-left-color: #1a1a1a;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
}

.dark-mode-toggle {
    width: 38px;
    height: 38px;
    background: var(--light);
    border: 1.5px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark);
    font-size: .95rem;
    transition: all .3s ease;
    flex-shrink: 0;
}

.dark-mode-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(20deg);
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-box {
    background: var(--white);
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 460px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
    transform: scale(.85) translateY(20px);
    transition: transform .35s ease;
}

.popup-overlay.active .popup-box {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--light);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--gray);
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.popup-close:hover {
    background: #EF4444;
    color: white;
}

.popup-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: popupBounce 1s ease infinite alternate;
}

@keyframes popupBounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-6px);
    }
}

.popup-box h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.popup-box p {
    color: var(--gray);
    margin-bottom: 28px;
    line-height: 1.6;
}

.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.popup-cta {
    width: 100%;
    justify-content: center;
}

.popup-skip {
    background: none;
    border: none;
    color: var(--gray-light);
    font-size: .85rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color .2s ease;
    font-family: 'DM Sans', sans-serif;
}

.popup-skip:hover {
    color: var(--gray);
}

/* AVIS */
.avis-section {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.avis-resume {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
    border-radius: 20px;
    padding: 36px 45px;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
    border: 1px solid rgba(0, 0, 0, .04);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.avis-resume::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 24px 24px 0 0;
}

.resume-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-right: 40px;
    border-right: 2px solid rgba(255, 107, 53, .1);
    min-width: 150px;
}

.big-score {
    font-family: 'Syne', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.score-stars {
    display: flex;
    gap: 5px;
}

.score-stars i {
    font-size: 1.2rem;
    color: #E5E7EB;
}

.score-stars i.star-on,
.avis-stars i.star-on {
    color: #FFB800;
}

.score-label {
    font-size: .95rem;
    color: var(--gray);
    font-weight: 600;
}

.resume-barres {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.barre-ligne {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .9rem;
    padding: 6px 0;
}

.barre-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--dark);
    width: 42px;
    flex-shrink: 0;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
}

.barre-label i {
    color: #FFB800;
    font-size: .85rem;
}

.barre-track {
    flex: 1;
    height: 10px;
    background: rgba(0, 0, 0, .04);
    border-radius: 20px;
    overflow: hidden;
}

.barre-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    transition: width .8s cubic-bezier(.4, 0, .2, 1);
}

.barre-count {
    width: 32px;
    text-align: right;
    color: var(--dark);
    font-size: .9rem;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
}

.avis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.avis-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.avis-empty i {
    font-size: 3rem;
    color: rgba(255, 107, 53, .15);
    margin-bottom: 16px;
    display: block;
}

.avis-card {
    background: #FFF;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.avis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.avis-card:hover::before {
    transform: scaleX(1);
}

.avis-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, .12);
    border-color: rgba(255, 107, 53, .2);
}

.avis-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.avis-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 3px 12px rgba(255, 107, 53, .25);
    transition: all .3s ease;
}

.avis-card:hover .avis-avatar {
    transform: rotate(5deg) scale(1.08);
}

.avis-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.avis-meta strong {
    font-family: 'Syne', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark);
}

.avis-service-tag {
    font-size: .7rem;
    color: var(--primary);
    font-weight: 700;
    background: rgba(255, 107, 53, .1);
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    letter-spacing: .03em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 107, 53, .15);
}

.avis-stars {
    margin-left: auto;
    display: flex;
    gap: 2px;
}

.avis-stars i {
    font-size: .9rem;
    color: #E5E7EB;
}

.avis-texte {
    color: var(--gray);
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 14px;
    border-left: 2px solid rgba(255, 107, 53, .2);
}

.avis-date {
    font-size: .75rem;
    color: var(--gray-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.avis-date::before {
    content: '📅';
    font-size: .8rem;
}

.avis-form-section {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
    border-radius: 24px;
    padding: 40px 35px;
    border: 1px solid rgba(0, 0, 0, .04);
    max-width: 760px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
    position: relative;
    overflow: hidden;
}

.avis-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.avis-form-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(0, 0, 0, .04);
}

.avis-form-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 2px;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.avis-form-header div {
    flex: 1;
}

.avis-form-header h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.avis-form-header p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

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

.avis-form .form-group {
    margin-bottom: 28px;
}

.avis-form label {
    display: block;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 700;
    font-size: .95rem;
    font-family: 'Syne', sans-serif;
}

.avis-form input,
.avis-form select,
.avis-form textarea {
    width: 100%;
    background: #FFF;
    border: 2px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: all .3s ease;
}

.avis-form input:focus,
.avis-form select:focus,
.avis-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, .1);
}

.avis-form textarea {
    min-height: 140px;
    resize: vertical;
}

.note-picker {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 16px;
    background: rgba(255, 107, 53, .03);
    border-radius: 12px;
    width: fit-content;
}

.note-picker i {
    font-size: 2.2rem;
    color: #E5E7EB;
    cursor: pointer;
    transition: all .25s ease;
}

.note-picker i:hover {
    transform: scale(1.2) rotate(-10deg);
}

.note-picker i.hovered,
.note-picker i.selectee {
    color: #FFB800;
    transform: scale(1.15);
    filter: drop-shadow(0 4px 12px rgba(255, 184, 0, .4));
}

.note-label {
    font-size: .9rem;
    color: var(--primary);
    font-weight: 600;
    margin-left: 4px;
    margin-top: 8px;
    display: inline-block;
    font-family: 'Syne', sans-serif;
}

/* DARK MODE */
body.dark-mode {
    --dark: #F9FAFB;
    --white: #111827;
    --light: #1F2937;
    --gray: #9CA3AF;
    background: #111827;
    color: #F9FAFB;
}

body.dark-mode .navbar {
    background: #1F2937;
    border-bottom: 1px solid #374151;
}

body.dark-mode .service-card,
body.dark-mode .contact-form,
body.dark-mode .portfolio-item {
    background: #1F2937;
    border-color: #374151;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: #111827;
    border-color: #374151;
    color: #F9FAFB;
}

body.dark-mode .tech-badge {
    background: #374151;
    border-color: #4B5563;
    color: #F9FAFB;
}

body.dark-mode .dropdown {
    background: #1F2937;
    border-color: #374151;
}

body.dark-mode .dropdown a {
    color: #F9FAFB;
}

body.dark-mode .country-selected {
    background: #1F2937;
}

body.dark-mode .country-dropdown {
    background: #1F2937;
    border-color: #374151;
}

body.dark-mode .country-search {
    background: #111827;
    color: #F9FAFB;
    border-color: #374151;
}

body.dark-mode .country-list li {
    color: #F9FAFB;
}

body.dark-mode .page-btn {
    background: #1F2937;
    border-color: #374151;
    color: #F9FAFB;
}

body.dark-mode .filter-btn {
    background: #1F2937;
    border-color: #374151;
    color: #F9FAFB;
}

body.dark-mode .section-title {
    color: #F9FAFB;
}

body.dark-mode .contact-info h3,
body.dark-mode .contact-method h4 {
    color: #F9FAFB;
}

body.dark-mode .contact-method i {
    background: #374151;
}

body.dark-mode .dark-mode-toggle {
    background: #374151;
    border-color: #4B5563;
    color: #F9FAFB;
}

body.dark-mode .footer {
    background: #0D1117 !important;
}

body.dark-mode .footer-logo,
body.dark-mode .footer-logo span {
    color: #F9FAFB !important;
}

body.dark-mode .footer-col p {
    color: #9CA3AF !important;
}

body.dark-mode .footer-col h4 {
    color: #E5E7EB !important;
}

body.dark-mode .footer-col ul a {
    color: #9CA3AF !important;
}

body.dark-mode .footer-col ul a:hover {
    color: var(--primary) !important;
}

body.dark-mode .footer-bottom {
    border-top-color: rgba(255, 255, 255, .08) !important;
    color: #6B7280 !important;
}

body.dark-mode .footer-bottom a {
    color: #6B7280 !important;
}

body.dark-mode .footer-bottom a:hover {
    color: var(--primary) !important;
}

body.dark-mode .footer .social-link {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .15);
    color: #E5E7EB;
}

body.dark-mode .avis-section {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
}

body.dark-mode .avis-resume,
body.dark-mode .avis-card,
body.dark-mode .avis-form-section {
    background: #1F2937;
    border-color: #374151;
}

body.dark-mode .resume-score {
    border-right-color: #374151;
}

body.dark-mode .avis-meta strong,
body.dark-mode .avis-form-header h3,
body.dark-mode .avis-form label {
    color: #F9FAFB;
}

body.dark-mode .avis-texte {
    color: #9CA3AF;
}

body.dark-mode .barre-track {
    background: #374151;
}

body.dark-mode .avis-form input,
body.dark-mode .avis-form select,
body.dark-mode .avis-form textarea {
    background: #111827;
    border-color: #374151;
    color: #F9FAFB;
}

body.dark-mode .note-picker {
    background: rgba(255, 107, 53, .08);
}

body.dark-mode .barre-label,
body.dark-mode .barre-count {
    color: #F9FAFB;
}

body.dark-mode .cart-sidebar {
    background: #1F2937;
}

body.dark-mode .cart-item {
    background: #111827;
    border-color: #374151;
}

body.dark-mode .cart-item-name {
    color: #F9FAFB;
}

body.dark-mode .cart-summary {
    border-top-color: #374151;
    background: #1F2937;
}

body.dark-mode .cart-summary-row {
    border-bottom-color: #374151;
}

body.dark-mode .cart-summary-row span {
    color: #9CA3AF;
}

body.dark-mode .cart-summary-row strong {
    color: #F9FAFB;
}

body.dark-mode .cart-qty-btn {
    background: #374151;
    border-color: #4B5563;
    color: #F9FAFB;
}

body.dark-mode .cart-qty-num {
    color: #F9FAFB;
}

body.dark-mode .cart-payment-title {
    color: #F9FAFB;
}

body.dark-mode .cart-payment-desc {
    color: #9CA3AF;
}

body.dark-mode .cart-client-info label {
    color: #E5E7EB;
}

body.dark-mode .cart-client-info input,
body.dark-mode .cart-client-info textarea {
    background: #111827;
    border-color: #374151;
    color: #F9FAFB;
}

body.dark-mode .tarif-card {
    background: #1F2937;
    border-color: #374151;
}

body.dark-mode .tarif-card.featured {
    background: linear-gradient(160deg, #1a2340, #1F2937);
}

body.dark-mode .tarif-card h4 {
    color: #F9FAFB;
}

body.dark-mode .tarif-includes li {
    color: #E5E7EB;
}

body.dark-mode .tarif-category-header h3 {
    color: #F9FAFB;
}

body.dark-mode .tarif-category-header {
    border-bottom-color: #374151;
}

body.dark-mode .paypal-modal {
    background: #1F2937;
}

body.dark-mode .paypal-modal-body h3 {
    color: #F9FAFB;
}

body.dark-mode .paypal-modal-body>p {
    color: #9CA3AF;
}

body.dark-mode .paypal-order-summary {
    background: #111827;
}

body.dark-mode .paypal-order-detail {
    color: #E5E7EB;
}

body.dark-mode .tarif-note {
    background: #1F2937;
    border-color: #374151;
}

body.dark-mode .tarif-note p {
    color: #9CA3AF;
}

body.dark-mode .acompte-banner {
    box-shadow: 0 10px 40px rgba(30, 58, 138, .5);
}

body.dark-mode .popup-box {
    background: #1F2937;
}

body.dark-mode .popup-box h3 {
    color: #F9FAFB;
}

body.dark-mode .popup-box p {
    color: #9CA3AF;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .service-content.reverse .service-gallery {
        order: 0;
    }

    .service-gallery {
        max-width: 520px;
        margin: 0 auto;
    }

    .service-text::before {
        display: none;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 30px 20px;
        transition: left .3s ease;
        box-shadow: var(--shadow-md);
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        padding: 0;
        margin-top: 10px;
        background: transparent;
        box-shadow: none;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-text h2 {
        font-size: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }

    .avis-section {
        padding: 80px 0 60px;
    }

    .avis-resume {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 28px;
        margin-bottom: 40px;
    }

    .resume-score {
        border-right: none;
        border-bottom: 2px solid rgba(255, 107, 53, .1);
        padding-right: 0;
        padding-bottom: 24px;
    }

    .big-score {
        font-size: 3.8rem;
    }

    .avis-form-section {
        padding: 32px 20px;
    }

    .avis-form-row {
        grid-template-columns: 1fr;
    }

    .avis-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .note-picker {
        padding: 12px;
        gap: 8px;
    }

    .note-picker i {
        font-size: 1.8rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .tarif-cards-grid {
        grid-template-columns: 1fr;
    }

    .acompte-banner {
        flex-direction: column;
        gap: 16px;
    }

    .acompte-badges {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .service-gallery {
        max-width: 100%;
    }

    .gallery-item:nth-child(1) {
        grid-column: 1/3;
        grid-row: 1;
        aspect-ratio: 16/9;
    }

    .gallery-item:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
        aspect-ratio: 1;
    }

    .gallery-item:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
        aspect-ratio: 1;
    }

    .service-detail {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .page-btn {
        width: 36px;
        height: 36px;
        font-size: .82rem;
        border-radius: 8px;
    }

    .portfolio-pagination {
        gap: 6px;
        margin-top: 36px;
    }

    .back-to-top {
        right: 20px;
        bottom: 100px;
    }

    .whatsapp-btn {
        right: 20px;
        bottom: 30px;
    }

    .popup-box {
        padding: 36px 24px;
    }

    .country-dropdown {
        width: 240px;
    }

    .country-selected {
        min-width: 80px;
        padding: 10px;
    }

    .big-score {
        font-size: 3rem;
    }

    .avis-card {
        padding: 18px;
    }

    .avis-avatar {
        width: 40px;
        height: 40px;
        font-size: .95rem;
    }

    .note-picker {
        width: 100%;
        justify-content: center;
    }

    .tarif-card {
        padding: 22px 18px;
    }

    .cart-item {
        padding: 12px;
    }
}