/* Variables CSS */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --text-light: #666666;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --btn-primary-bg: #000000;
    --btn-primary-hover-bg: #1a1a1a;
    --btn-primary-text: #ffffff;
}

/* Reset et Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    font-family: "Aladin", system-ui;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    padding: 0.5rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    font-family: "Aladin", system-ui;
}

.logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.logo .location {
    color: #cccccc;
    font-size: 0.8rem;
    font-family: "Aladin", system-ui;

}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-family: "Aladin", system-ui;
    font-size: 1.2rem;

}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--btn-primary-text);
    background-color: var(--btn-primary-bg);
    border: var(--btn-primary-border);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: "Aladin", system-ui;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

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

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow);
}

.btn-secondary{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--btn-secondary-text);
    background-color: var(--btn-secondary-bg);
    border: var(--btn-secondary-border);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

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

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: var(--shadow);
}

.btn-secondary:active::before {
    opacity: 1;
}

/* Motifs Africains */
.african-patterns {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 1;
    pointer-events: none;
}

.pattern-item {
    width: 60px;
    height: 60px;
    position: absolute;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.pattern-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.3;
    filter: brightness(1.2);
}



/* Animations d'apparition */
@keyframes appear {
    from {
        opacity: 0;
        transform: scale(0.5) translateX(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

@keyframes disappear {
    from {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
    to {
        opacity: 0;
        transform: scale(0.5) translateX(20px);
    }
}

/* Animations pour le filtrage du portfolio */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    70% {
        opacity: 0.8;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    30% {
        opacity: 0.5;
        transform: translateY(10px) scale(0.98);
    }
    100% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
}

/* Délai entre les animations des éléments */
.portfolio-item {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Délai progressif pour les éléments du portfolio */
.portfolio-item:nth-child(1) { transition-delay: 0.1s; }
.portfolio-item:nth-child(2) { transition-delay: 0.2s; }
.portfolio-item:nth-child(3) { transition-delay: 0.3s; }
.portfolio-item:nth-child(4) { transition-delay: 0.4s; }
.portfolio-item:nth-child(5) { transition-delay: 0.5s; }
.portfolio-item:nth-child(6) { transition-delay: 0.6s; }

/* Animations de flottement */
@keyframes float1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -20px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-15px, 15px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 10px) rotate(3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float4 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-25px, -15px) rotate(-3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Animations aléatoires */
@keyframes float1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -20px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-15px, 15px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 10px) rotate(3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float4 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-25px, -15px) rotate(-3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

/* Hero Visual Animations */
.hero-icon {
    position: relative;
    top: 40px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: black;
    border-radius: 10%;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 1%;
    overflow: hidden;
    background: linear-gradient(135deg, #fbff18 0%, #f8f9fa 100%);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 2;
}

/* Motifs Africains */
.african-patterns {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 1;
}

.pattern-1, .pattern-2, .pattern-3 {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    position: absolute;
    animation: float 12s ease-in-out infinite;
}

.pattern-1 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2L2 7v10l10 5 10-5V7l-10-5zm0 9.414l-3.293-3.293-1.414 1.414L12 15.414l4.707-4.707-1.414-1.414L12 12.586z"/></svg>');
    top: 80%;
    left: 15%;
}

.pattern-2 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2L2 7v10l10 5 10-5V7l-10-5zm0 9.414l-3.293-3.293-1.414 1.414L12 15.414l4.707-4.707-1.414-1.414L12 12.586z"/></svg>');
    top: 75%;
    right: 25%;
    animation-delay: 2s;
}

.pattern-3 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2L2 7v10l10 5 10-5V7l-10-5zm0 9.414l-3.293-3.293-1.414 1.414L12 15.414l4.707-4.707-1.414-1.414L12 12.586z"/></svg>');
    bottom: 5%;
    left: 35%;
    animation-delay: 4s;
}

/* Symboles Africains */
.symbol-1, .symbol-2 {
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    position: absolute;
    animation: float 15s ease-in-out infinite;
}

.symbol-1 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2L2 7v10l10 5 10-5V7l-10-5zm0 9.414l-3.293-3.293-1.414 1.414L12 15.414l4.707-4.707-1.414-1.414L12 12.586z"/></svg>');
    top: 20%;
    right: 2%;
    animation-delay: 3s;
}

.symbol-2 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2L2 7v10l10 5 10-5V7l-10-5zm0 9.414l-3.293-3.293-1.414 1.414L12 15.414l4.707-4.707-1.414-1.414L12 12.586z"/></svg>');
    bottom: 15%;
    left: 5%;
    animation-delay: 5s;
}

.element {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    opacity: 0.7;
    z-index: 3;
}

.element-1 {
    animation: float 8s ease-in-out infinite;
    top: 20%;
    left: 10%;
}

.element-2 {
    animation: float 6s ease-in-out infinite;
    top: 30%;
    left: 40%;
}

.element-3 {
    animation: float 10s ease-in-out infinite;
    top: 40%;
    left: 70%;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .line {
    display: block;
    opacity: 1;
    animation: slideInLeft 0.8s ease forwards;
}

.hero-title .line:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}
/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 10px;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 80px;
    height: 80px;
    background: var(--text-light);
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    bottom: 20%;
    left: 60%;
    animation-delay: 4s;
}

/* Sections Communes */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #000000;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #666666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #000000;
}

.services .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #ffffff;
}

.services .section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #ffffff;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.service-card p {
    color: #666666;
    line-height: 1.8;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #000000;
    background: transparent;
    color: #000000;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: "Aladin", system-ui;

}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #000000;
    transition: width 0.3s ease;
    z-index: -1;

}

.filter-btn:hover::before,
.filter-btn.active::before {
    width: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    color: #ffffff;
    border-color: transparent;
}

.filter-btn:hover,
.filter-btn.active {
    background: #000000;
    color: white;
    font-family: "Aladin", system-ui;

}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    transition: height 0.3s ease;
}

.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-item.active-portfolio {
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    transform: scale(1.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item:not(.active-portfolio) {
    z-index: 1;
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

.portfolio-item.active-portfolio .portfolio-image {
    height: 320px;
    max-height: 60vw;
    min-height: 220px;
    background: #fff;
}

.portfolio-image {
    width: 100%;
    height: 220px;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 12px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image img,
.portfolio-image iframe {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    display: block !important;
    margin: 0 !important;
    border: none !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

.portfolio-info {
    padding: 1.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    padding: 1.5rem 1rem;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000000;
}

.portfolio-info p {
    color: #666666;
}

.btn-visit-site {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #000000, #333333);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.btn-visit-site:hover {
    background: linear-gradient(135deg, #333333, #555555);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-visit-site:active {
    transform: translateY(-1px);
}

.portfolio-item[data-category="design"] .portfolio-image {
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    /* facultatif : couleur de fond pour voir la zone */
}

.portfolio-item[data-category="design"] .portfolio-image img[src="images/affiche (7).png"] {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    background: #fff;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: #000000;
    transform: scale(1.05);
}

.popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.2rem;
    color: #666666;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
}

.features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666666;
}

.features li:last-child {
    border-bottom: none;
}

.other-services {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.other-services h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: #000000;
}

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

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #000000;
}

.service-price span:first-child {
    font-weight: 600;
    color: #000000;
}

.service-price span:last-child {
    color: #666666;
    font-weight: 500;
}

/* Collaborations Section */
.collaborations {
    padding: 5rem 0;
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.partner-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    margin-bottom: 1.5rem;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto;
}

.partner-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.partner-card p {
    color: #666666;
    line-height: 1.6;
}

.testimonials {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
}

.testimonials h3 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: #000000;
}

.testimonial-carousel {
    position: relative;
    min-height: 300px;
    margin: 0 auto;
    max-width: 900px;
    padding: 0 20px;
}

.testimonial {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    padding: 2rem;
    box-sizing: border-box;
    transform: translateY(20px);
    visibility: hidden;
}

.testimonial.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
    margin: 0 auto 2rem;
    line-height: 1.8;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 800px;
}

/* Styles pour les guillemets de citation */
.testimonial p::before,
.testimonial p::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    position: absolute;
    line-height: 1;
    transition: all 0.3s ease;
}

.testimonial p::before {
    top: 0.5rem;
    left: 1rem;
}

.testimonial p::after {
    bottom: 0.5rem;
    right: 1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author .name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.testimonial-author .title {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2.5rem;
    padding: 1rem 0;
}

.testimonial-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e0e0e0;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    padding: 0;
}

.testimonial-dots .dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-dots .dot.active {
    background: transparent;
    border-color: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-dots .dot.active::after {
    transform: scale(0.6);
}

.testimonial-dots .dot:hover {
    transform: scale(1.2);
    background: #e0e0e0;
}

.testimonial-dots .dot:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Animation pour les témoignages */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #000000;
    color: white;
}

/* Styles pour les liens sociaux */
.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-item a {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Styles spécifiques pour les téléphones */
.contact-item a[href^="tel:"] {
    background: rgba(255, 255, 255, 0.15);
}

.contact-item a[href^="tel:"]::before {
    content: '📞';
    font-size: 1.2rem;
}

/* Styles spécifiques pour les emails */
.contact-item a[href^="mailto:"] {
    background: rgba(255, 255, 255, 0.15);
}

.contact-item a[href^="mailto:"]::before {
    content: '📧';
    font-size: 1.2rem;
}

/* Styles pour les numéros de téléphone multiples */
.contact-item .phone-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item .phone-group a {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #f1c40f;
}

/* Styles spécifiques pour WhatsApp */
.social-links a[href*="wa.me"] {
    color: #25D366;
}

.social-links a[href*="wa.me"]:hover {
    color: #128C7E;
}

/* Styles pour les liens sociaux dans le footer */
.footer-section .social-links {
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-section .social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-section .social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Icônes pour les réseaux sociaux */
.social-links a[href*="facebook"]::before {
    content: '🌐';
}

.social-links a[href*="instagram"]::before {
    content: '📸';
}

.social-links a[href*="linkedin"]::before {
    content: '💼';
}

.social-links a[href*="wa.me"]::before {
    content: '💬';
}

/* Styles spécifiques pour LinkedIn */
.social-links a[href*="linkedin"] {
    color: #0077B5;
}

.social-links a[href*="linkedin"]:hover {
    color: #0A66C2;
}

.contact .section-title {
    color: white;
}

.contact .section-subtitle {
    color: #cccccc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fffefc;
}

.contact-info > p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: #cccccc;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: #cccccc;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #333333;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}



/* Maintenance Section */
.maintenance {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.maintenance .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2.2rem;
}

.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.maintenance-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.maintenance-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.8rem;
}

.maintenance-card.danger h3 {
    color: #e74c3c;
}

.maintenance-card.advantage h3 {
    color: #2ecc71;
}

.maintenance-card ul {
    list-style: none;
}

.maintenance-card li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.maintenance-card li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e74c3c;
}

.maintenance-card.advantage li:before {
    background-color: #2ecc71;
}

.maintenance-tip {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 1.5rem;
    border-radius: 0 5px 5px 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.maintenance-tip h4 {
    color: #3498db;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.maintenance-tip p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #111111;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f1c40f;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333333;
    color: #cccccc;
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Styles responsifs */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .hero {
        padding: 7rem 1rem 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .floating-card:nth-child(2),
    .floating-card:nth-child(3) {
        margin-left: 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid,
    .portfolio-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .floating-card {
        padding: 1.5rem;
    }
    
    .service-card,
    .pricing-card {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .masque {
        position: relative;
        width: 100%;
        min-height: 300px; /* Hauteur minimale pour assurer la visibilité */
        height: auto;
        overflow: visible;
        margin: 1rem 0;
        background-color: #000000; /* Fond de secours */
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .masque .fond-image {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 1; /* Assure la visibilité de l'image */
        border-radius: 12px;
    }
    
    .fond-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0.3;
        z-index: 1;
        transition: opacity 0.3s ease;
    }

    .masque{
        width: 100%;
        height: 100%;
    }
    
    .masque:hover .fond-image {
        opacity: 1;
    }
    
    .masque::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        z-index: 2;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Améliorations UX/UI */
/* Bouton de retour en haut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: none;
    font-size: 24px;
}

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

.back-to-top:hover {
    background: var(--btn-primary-hover-bg);
    transform: translateY(-3px) !important;
}

/* Amélioration du focus pour l'accessibilité */
:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Animation pour les icônes de réseaux sociaux */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    filter: brightness(1.1);
}

/* Animation de chargement personnalisée */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin: 20px auto;
}

/* Styles des titres de section */
.section-title {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 1.5rem;
}

.hero .section-title {
    text-align: left;
    width: auto;
}

/* Masquer le curseur par défaut */
* {
    cursor: none;
}

/* Styles pour le curseur personnalisé avec traînée féerique */
.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background-color: #000;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid #000;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease-out, border-color 0.2s;
    mix-blend-mode: difference;
}

.cursor-trail {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: #000;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-out;
    filter: blur(1px);
    opacity: 0.8;
}

/* Style spécifique pour les sections avec fond blanc */
.bg-white .cursor,
.bg-light .cursor,
.has-white-bg .cursor,
.section-light .cursor {
    background-color: #000 !important;
}

.bg-white .cursor-follower,
.bg-light .cursor-follower,
.has-white-bg .cursor-follower,
.section-light .cursor-follower {
    border-color: #000 !important;
}

.bg-white .cursor-trail,
.bg-light .cursor-trail,
.has-white-bg .cursor-trail,
.section-light .cursor-trail {
    background-color: #000 !important;
    filter: blur(1.5px);
    opacity: 0.7;
}

/* Style pour la page de chargement */
.page-loader .cursor {
    background-color: #fff !important;
}

.page-loader .cursor-follower {
    border-color: #fff !important;
}

.page-loader .cursor-trail {
    background-color: #fff !important;
    filter: blur(1.5px);
    opacity: 0.7;
}

/* Style pour la page de chargement */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.page-loader.fade-out {
    opacity: 0;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-logo {
    width: 150px;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.loader-spinner {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.spinner-circle {
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    animation: bounce 1.5s infinite ease-in-out;
}

.spinner-circle:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-circle:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Styles pour le curseur sur la page de chargement */
.page-loader .cursor,
.page-loader .cursor-follower {
    opacity: 0;
}

/* Assurer que le curseur est visible sur la page de chargement */
.page-loader .cursor {
    background-color: #fff !important;
}

.page-loader .cursor-follower {
    border-color: #fff !important;
}

/* Styles pour la navigation */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

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

/* Animation du soulignement au survol */
.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
    left: 0;
}

/* Animation du soulignement pour la section active */
.nav-menu a.active {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Amélioration des cartes de service */
.service-card {
    transition: all 0.3s ease;
    transform: perspective(1000px) rotateX(0deg);
}

.service-card:hover {
    transform: perspective(1000px) rotateX(5deg) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Effet de parallaxe */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

/* Animation pour les images en lazy loading */
.lazy-img {
    opacity: 0;
    transition: opacity 0.3s ease;
    background: #f5f5f5;
}

.lazy-img.loaded {
    opacity: 1;
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.lazy-img:not(.loaded) {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
    border-radius: 8px;
}

/* Amélioration du formulaire */
.form-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2) !important;
}

.form-input::placeholder {
    color: #999;
    transition: all 0.3s ease;
}

.form-input:focus::placeholder {
    opacity: 0.5;
    transform: translateX(5px);
}

/* Masquer les éléments du portfolio qui ne correspondent pas au filtre */
.portfolio-item.hidden {
    display: none;
}

/* Styles pour les éléments en survol */
.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-info h3 {
    color: #f1c40f;
    transition: color 0.3s ease;
}

/* Curseur personnalisé avec traînée féerique */
.cursor,
.cursor-follower,
.cursor-trail {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.05s ease-out;
}

/* Point central du curseur */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    z-index: 10001;
    mix-blend-mode: difference;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.5);
    transition: background 0.2s ease, transform 0.1s ease;
}

/* Cercle extérieur */
.cursor-follower {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    z-index: 10000;
    transition: all 0.2s ease-out, border-color 0.1s ease;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

/* Traînée féerique */
.cursor-trail {
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    z-index: 9998;
    filter: blur(1px);
}

/* Style pour les zones sombres */
.dark-bg .cursor,
.dark-bg .cursor-follower {
    background: #fff;
    border-color: #fff;
}

/* Effets au survol des éléments cliquables */
a, button, .btn, .nav-menu a, .filter-btn, .testimonial-dots .dot, input, textarea, select {
    position: relative;
}

a:hover ~ .cursor-follower,
button:hover ~ .cursor-follower,
.btn:hover ~ .cursor-follower,
.nav-menu a:hover ~ .cursor-follower,
.filter-btn:hover ~ .cursor-follower,
.testimonial-dots .dot:hover ~ .cursor-follower,
input:hover ~ .cursor-follower,
textarea:hover ~ .cursor-follower,
select:hover ~ .cursor-follower {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
    box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.3);
}

/* Cacher le curseur par défaut */
body {
    cursor: none;
}

/* Animation de chargement */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.loader-logo {
    max-width: 300px;
    height: auto;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 1s ease-out forwards 0.3s;
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.loader-spinner {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.spinner-circle {
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.spinner-circle:nth-child(1) {
    animation-delay: -0.32s;
}

.spinner-circle:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% { 
        transform: scale(0);
        opacity: 0.3;
    } 
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}

/* Animations de texte pour les sections */
.section-title {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.section-visible .section-title,
.section-visible .section-text {
    opacity: 1;
    transform: translateY(0);
}

/* Animation spécifique pour le hero */
.hero-title {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .line {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    text-align: left;
    width: 100%;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.section-visible .hero-title .line:nth-child(1) {
    transition-delay: 0.1s;
}

.section-visible .hero-title .line:nth-child(2) {
    transition-delay: 0.2s;
}

.section-visible .hero-title .line,
.section-visible .hero-subtitle,
.section-visible .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}

/* Animations et effets avancés */
/* Boutons */
.btn {
    transition: all 0.3s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn:active {
    transform: translateY(-1px);
}

/* Effet de vague au clic */
.btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

/* Animation de flottement pour l'icône hero */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero-icon img {
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

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

/* Effet de révélation des sections */
@keyframes reveal {
    from {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.section-visible {
    opacity: 1;
    transform: translateY(0);
    animation: reveal 1.5s ease-out forwards;
}

/* Animation de soulignement des liens de navigation */
.nav-links a {
    position: relative;
    padding-bottom: 5px;
}

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

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

/* Effet de flou au défilement */
header {
    transition: backdrop-filter 0.3s ease, background-color 0.3s ease;
}

header.scrolled {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9) !important;
}

/* Animation des cartes de services */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: perspective(1000px) rotateX(0deg);
}

.service-card:hover {
    transform: perspective(100px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

/* Effet de vague animée */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave .shape-fill {
    fill: #FFFFFF;
}

/* Animation de la traînée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 80%, 100% { 
        transform: scale(0.4);
        opacity: 0;
    } 
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes trail {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0;
    }
}
