:root {
  /* Couleurs principales */
  --primary-color: #1a1a1a;
  --secondary-color: #2d2d2d;
  --accent-color: #4a5568;
  --text-dark: #1a202c;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  
  /* Ombres */
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  --gradient-secondary: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
  
  /* Typographie */
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Espacements */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Rayons de bordure */
  --radius-sm: 0.125rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}
/* Mixins pour les flexbox */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

/* Mixins pour les grilles */
.grid-auto-fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

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

/* Mixins pour les animations */
.fade-in {
  opacity: 0;
  animation: fadeIn var(--transition-slow) ease forwards;
}

.slide-up {
  transform: translateY(30px);
  opacity: 0;
  animation: slideUp var(--transition-slow) ease forwards;
}

.slide-in-left {
  transform: translateX(-30px);
  opacity: 0;
  animation: slideInLeft var(--transition-slow) ease forwards;
}

.slide-in-right {
  transform: translateX(30px);
  opacity: 0;
  animation: slideInRight var(--transition-slow) ease forwards;
}

/* Animations keyframes */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

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

@keyframes slideInLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Mixins pour les états de hover */
.hover-lift {
  transition: transform var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.hover-scale {
  transition: transform var(--transition-base);
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Mixins pour les focus states */
.focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Mixins pour les états disabled */
.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

/* Mixins pour le texte */
.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Header Component Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo::before {
    content: "🎨";
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 15px 15px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 10px 0;
}

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

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

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.mobile-menu-btn.open {
    transform: rotate(90deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .nav-container {
        height: 60px;
    }

    .logo {
        font-size: 20px;
    }

    .logo::before {
        font-size: 24px;
    }
}
/* Hero Component Styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInRight 1s ease 0.6s forwards;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-xl);
    transform: rotate(3deg);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.hero-card:hover {
    transform: rotate(0deg) scale(1.05);
}

.hero-card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.hero-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-card-text {
    opacity: 0.9;
    line-height: 1.5;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-card {
        transform: none;
        padding: 30px;
    }

    .hero-card-icon {
        font-size: 3rem;
    }
}
/* Services Component Styles */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

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

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

.service-card:active {
    transform: translateY(-5px) scale(0.98);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

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

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--primary-color);
}

.service-text {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-top: 20px;
    text-align: left;
}

.service-features li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-cta {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-cta {
    opacity: 1;
    transform: translateY(0);
}

.service-cta:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.service-card:hover .service-badge {
    opacity: 1;
    transform: scale(1);
}

/* Service categories */
.service-card.premium {
    border-color: var(--primary-color);
}

.service-card.premium::before {
    background: var(--gradient-secondary);
}

.service-card.express {
    border-color: #f56565;
}

.service-card.express::before {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
}

.service-card.business {
    border-color: #4299e1;
}

.service-card.business::before {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .services {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .service-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 25px 15px;
    }
}

/* Styles pour les cards cliquables */
.service-card.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card.clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.service-card.clickable:active {
    transform: translateY(-2px);
}

/* Effet de clic */
.service-card.clickable::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(231, 76, 60, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card.clickable:hover::before {
    opacity: 1;
}
/* Portfolio Component Styles */
.portfolio {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.portfolio-item.visible {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
}

.portfolio-image {
    height: 250px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
    animation: shine 3s infinite;
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-image::after {
    opacity: 1;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay-content {
    transform: translateY(0);
}

.portfolio-overlay-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio-overlay-text {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.portfolio-overlay-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-overlay-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-title {
    color: var(--primary-color);
}

.portfolio-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.portfolio-tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.portfolio-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.portfolio-date {
    font-weight: 500;
}

.portfolio-category {
    background: var(--accent-color);
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* Animations */
@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .portfolio {
        padding: 80px 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .portfolio-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .portfolio-image {
        height: 200px;
        font-size: 2.5rem;
    }

    .portfolio-content {
        padding: 20px;
    }

    .portfolio-title {
        font-size: 1.2rem;
    }
}

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

    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-content {
        padding: 15px;
    }
}
/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
    font-weight: 500;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: rotate(0deg) scale(1.05);
}

.about-card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.about-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.about-card-text {
    color: var(--text-light);
}
/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

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

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

.form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: var(--bg-white);
}

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
}
/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #cbd5e0;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #cbd5e0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}
/* Modal de confirmation moderne */
#successModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  display: flex !important; /* Force le display flex */
  justify-content: center !important;
  align-items: center !important;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  margin: 0 !important;
  padding: 0 !important;
}

#successModal.show {
  opacity: 1;
  visibility: visible; /* Affiche le modal */
}

#successModal .modal-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  padding: 40px 32px;
  text-align: center;
  transform: scale(0.9) translateY(-20px);
  transition: transform 0.3s ease;
  margin: 0 !important;
}

#successModal.show .modal-content {
  transform: scale(1) translateY(0);
}

/* Bouton de fermeture */
#successModal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f8f9fa;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

#successModal .modal-close:hover {
  background: #e9ecef;
  color: #495057;
  transform: scale(1.1);
}

/* Styles pour l'icône générique */
#successModal .modal-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: bounceIn 0.6s ease;
}

/* Styles pour le titre */
#successModal h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

/* Styles pour le message */
#successModal p {
  color: #6c757d;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Styles spécifiques pour le succès */
#successModal .success-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: bounceIn 0.6s ease;
}

#successModal .success-title {
  color: #28a745;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

#successModal .success-message {
  color: #6c757d;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Styles spécifiques pour l'erreur */
#successModal .error-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: shake 0.6s ease;
}

#successModal .error-title {
  color: #dc3545;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

#successModal .error-message {
  color: #6c757d;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Animations */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  #successModal .modal-content {
    margin: 20px;
    width: calc(100% - 40px);
    padding: 32px 24px;
  }
  
  #successModal .modal-icon,
  #successModal .success-icon,
  #successModal .error-icon {
    font-size: 48px;
  }
  
  #successModal h3,
  #successModal .success-title,
  #successModal .error-title {
    font-size: 20px;
  }
}
/* Sales History Section */
.sales-history {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.sales-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.back-to-portfolio {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-to-portfolio:hover {
  background: var(--secondary-color);
  transform: translateY(-50%) translateX(-5px);
}

.sales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.sales-item {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.sales-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.sales-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
}

.sales-content h3 {
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.sales-content p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
}

.sales-details {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.sales-detail {
  text-align: center;
}

.sales-detail-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

.sales-detail-value {
  font-weight: 700;
  color: var(--primary-color);
}

.portfolio-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.portfolio-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .back-to-portfolio {
    position: static;
    transform: none;
    margin-bottom: 20px;
  }
  
  .sales-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .sales-details {
    flex-direction: column;
    gap: 15px;
  }
}
/* Service Modal Styles */
.service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.service-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-modal .modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 900px; /* Augmenté de 600px à 900px */
    max-height: 85vh; /* Augmenté de 80vh à 85vh */
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
}

.service-modal .modal-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.service-modal .close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-modal .close-btn:hover {
    color: #e74c3c;
    background: #f8f9fa;
}

.service-modal .modal-body {
    padding: 30px;
}

.service-modal .service-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.service-modal .service-details {
    margin-bottom: 30px;
}

.service-modal .service-details h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-modal .service-details ul {
    list-style: none;
    padding: 0;
}

.service-modal .service-details li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.service-modal .service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.service-modal .partner-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid var(--primary-color);
}

.service-modal .partner-info h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-modal .partner-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-modal .partner-link {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.service-modal .partner-link:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Container pour le contenu avec image */
.service-modal .service-content-with-image {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

/* Section image */
.service-modal .service-image-section {
    flex: 0 0 40%; /* Réduit à 40% pour la broderie */
    display: flex;
    align-items: flex-start;
}

.service-modal .service-modal-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    max-height: 400px; /* Augmenté de 300px à 400px */
    object-fit: cover;
    object-position: center;
}

.service-modal .service-modal-image:hover {
    transform: scale(1.02);
}

/* Section texte */
.service-modal .service-text-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 1rem;
}

/* Ajustements pour le layout avec image */
.service-modal .service-content-with-image .service-description {
    margin-bottom: 1rem;
}

.service-modal .service-content-with-image .service-description p {
    font-size: 1rem;
    line-height: 1.6;
}

.service-modal .service-content-with-image .service-details {
    margin-bottom: 0;
}

.service-modal .service-content-with-image .service-details h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-modal .service-content-with-image .service-details li {
    padding: 6px 0;
    font-size: 0.95rem;
}

/* Style pour les grandes images en mode portrait */
.service-modal .service-modal-image.portrait {
    max-height: 450px;
    max-width: 100%;
    object-fit: contain;
}

/* Style pour les images très larges */
.service-modal .service-modal-image.landscape {
    max-height: 350px;
    width: 100%;
    object-fit: cover;
}

/* Style spécifique pour la broderie - proportions différentes */
.service-modal .service-modal-image.broderie {
    max-height: 350px;
    width: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Container pour centrer une image si elle est trop petite */
.service-modal .service-image-section.center {
    justify-content: center;
    align-items: center;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .service-modal .modal-content {
        max-width: 800px;
    }
    
    .service-modal .service-content-with-image {
        gap: 1.5rem;
    }
    
    .service-modal .service-modal-image {
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .service-modal .modal-content {
        width: 95%;
        max-width: 95%;
    }
    
    .service-modal .modal-header {
        padding: 20px 20px 15px;
    }
    
    .service-modal .modal-title {
        font-size: 1.5rem;
    }
    
    .service-modal .modal-body {
        padding: 20px;
    }
    
    .service-modal .service-description {
        font-size: 1rem;
    }
    
    .service-modal .partner-info {
        padding: 20px;
    }
    
    .service-modal .service-content-with-image {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .service-modal .service-image-section {
        flex: none;
    }
    
    .service-modal .service-modal-image {
        max-height: 300px;
        width: 100%;
    }
    
    .service-modal .service-text-section {
        gap: 1rem;
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .service-modal .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .service-modal .modal-header {
        padding: 15px 15px 10px;
    }
    
    .service-modal .modal-body {
        padding: 15px;
    }
    
    .service-modal .service-content-with-image {
        gap: 1rem;
    }
    
    .service-modal .service-modal-image {
        max-height: 250px;
    }
    
    .service-modal .service-content-with-image .service-description p {
        font-size: 0.95rem;
    }
    
    .service-modal .service-content-with-image .service-details h4 {
        font-size: 1.1rem;
    }
    
    .service-modal .service-content-with-image .service-details li {
        font-size: 0.9rem;
    }
}
/* Breakpoints */
/* Mobile: 320px - 767px */
/* Tablet: 768px - 1023px */
/* Desktop: 1024px+ */

/* Mobile First Approach */
@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  /* Grilles responsives */
  .grid-auto-fit,
  .grid-auto-fill {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  /* Flexbox responsive */
  .flex-responsive {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  /* Texte responsive */
  .text-responsive {
    font-size: var(--font-size-sm);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 30px;
  }
  
  .grid-auto-fit,
  .grid-auto-fill {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }
  
  .grid-auto-fit,
  .grid-auto-fill {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Utilitaires responsive */
.hide-mobile {
  display: none;
}

.hide-tablet {
  display: block;
}

.hide-desktop {
  display: block;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: block;
  }
  
  .hide-tablet {
    display: none;
  }
  
  .show-tablet {
    display: block;
  }
}

@media (min-width: 1024px) {
  .hide-desktop {
    display: none;
  }
  
  .show-desktop {
    display: block;
  }
  
  .hide-tablet {
    display: block;
  }
}

/* Espacements responsifs */
@media (max-width: 767px) {
  .section-padding {
    padding: var(--spacing-3xl) 0;
  }
}

@media (min-width: 768px) {
  .section-padding {
    padding: 100px 0;
  }
}

/* Typographie responsive */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
}
/* Import des variables et utilitaires */

/* Import des composants */

/* Import des styles responsives */

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

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
