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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    /* Amélioration des performances de scroll */
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimisation des animations pour écrans haute fréquence */
@media (prefers-reduced-motion: no-preference) {
    * {
        transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                    background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                    border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                    box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Optimisation spécifique pour écrans haute fréquence (280Hz+) */
@media screen and (min-resolution: 280dpi) {
    * {
        transition: color 0.1s cubic-bezier(0.4, 0, 0.2, 1),
                    background-color 0.1s cubic-bezier(0.4, 0, 0.2, 1),
                    border-color 0.1s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                    box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .hero::before {
        animation: backgroundShift 10s ease-in-out infinite;
    }
    
    .hero::after {
        animation: gridMove 15s linear infinite;
    }
    
    .phone-repair {
        animation: float 3s ease-in-out infinite;
    }
    
    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }
}

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

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

.logo {
    width: 140px;
    height: auto;
    max-height: 60px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: contain;
    display: block;
}

.logo:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.logo-text {
    display: none; /* Le texte est maintenant inclus dans le logo SVG */
}

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

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #007AFF;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #007AFF;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: backgroundShift 15s ease-in-out infinite;
}

.hero::after {
    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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
    animation: gridMove 20s linear infinite;
}

@keyframes backgroundShift {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.03) rotate(0.3deg);
        opacity: 0.7;
    }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(3px, 3px); }
}

/* Optimisation GPU pour les animations */
.hero::before,
.hero::after,
.phone-repair,
.service-card,
.feature {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.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: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight {
    color: #FFD700;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FFD700;
    border-radius: 2px;
    transform: scaleX(0);
    animation: expandWidth 1.5s ease-out 0.5s forwards;
}

@keyframes expandWidth {
    to { transform: scaleX(1); }
}

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

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #007AFF;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.4);
}

.btn-primary:hover {
    background: #0056CC;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

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

.phone-repair {
    max-width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.3));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-repair:hover {
    transform: scale(1.03) rotate(1deg);
    filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.4));
}

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

/* Sections générales */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

/* Services Preview avec animations améliorées */
.services-preview {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 122, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(52, 199, 89, 0.05) 0%, transparent 50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transition: all 0.1s ease-out;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007AFF, #0056CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.3);
}

.service-icon i {
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #007AFF;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: #333;
}

/* Why Choose Us avec animations améliorées */
.why-choose-us {
    padding: 80px 0 0;
    background: white;
    position: relative;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 165, 0, 0.05) 0%, transparent 50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.feature {
    text-align: center;
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
    border-radius: 12px;
    background: white;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #007AFF;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
}

.feature:hover .feature-icon i {
    transform: scale(1.1);
}

.feature h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    transition: color 0.3s ease;
}

.feature:hover h3 {
    color: #FFA500;
}

.feature p {
    color: #666;
    transition: color 0.3s ease;
}

.feature:hover p {
    color: #333;
}

/* CTA Section avec animations */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #007AFF, #0056CC);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta .btn {
    background: white;
    color: #007AFF;
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    position: relative;
    z-index: 1;
}

.cta .btn:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* CTA button group (Galerie bottom banner) */
.cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.cta .cta-buttons .btn {
    flex: 1 1 240px;
    display: inline-flex;
    justify-content: center;
}

@media (min-width: 600px) {
    .cta .cta-buttons {
        max-width: 640px;
        margin: 0 auto;
    }
}

/* Section Title avec animation */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007AFF, #34C759);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: titleUnderline 2s ease-out 0.5s both;
}

@keyframes titleUnderline {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* Amélioration des transitions globales */
@media (prefers-reduced-motion: no-preference) {
    * {
        transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                    background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                    border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Animations d'intersection observer */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Animation des titres de section */
.section-title {
    position: relative;
    overflow: hidden;
}

.section-title.title-animate::after {
    animation: titleUnderline 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Optimisation des performances */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Animation des liens de navigation */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #007AFF;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Amélioration des boutons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Animation des cartes au hover */
.service-card, .feature {
    cursor: pointer;
}

.service-card:hover, .feature:hover {
    transform: translateY(-10px) scale(1.02);
    transition: all 0.1s ease-out;
}

/* Effet de parallaxe subtil sur les sections */
.services-preview, .why-choose-us, .cta {
    position: relative;
}

/* Amélioration de la lisibilité */
.service-card h3, .feature h3 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.service-card p, .feature p {
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 0 20px;
}

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

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-logo .logo {
    width: 128px;
    height: auto;
    max-height: 60px;
    margin-right: 0;
    margin-bottom: 0;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo .logo:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.footer-logo .logo-text {
    display: none; /* Le texte est maintenant inclus dans le logo SVG */
}

.footer-section h3 {
    color: #007AFF;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

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

.footer-section ul li i {
    margin-right: 10px;
    color: #007AFF;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-logo .logo {
        width: 64px;
        max-height: 24px;
    }
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(140deg, #6a75e6 0%, #6f58b6 50%, #764ba2 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Services Detailed */
.services-detailed {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-category {
    margin-bottom: 60px;
}

.service-category h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 12px;
    border-bottom: 3px solid #007AFF;
}

.service-category h2 i {
    color: #007AFF;
    font-size: 1.8rem;
}

.services-list {
    display: grid;
    gap: 20px;
}

.service-item {
    background: white;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    border: 2px solid transparent;
    position: relative;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.service-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-info h3 i {
    color: #007AFF;
    font-size: 1.1rem;
}

.service-info p {
    color: #666;
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.service-info ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 6px;
    contain: layout style;
}

.service-info ul li {
    color: #666;
    margin-bottom: 0;
    position: relative;
    padding: 6px 10px 6px 25px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.85rem;
}

.service-info ul li:hover {
    background: #e8f4ff;
    color: #007AFF;
}

.service-info ul li::before {
    content: '✓';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #007AFF;
    font-weight: bold;
    font-size: 1rem;
}

.service-price {
    text-align: center;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.price {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #007AFF;
    margin-bottom: 5px;
}

.duration {
    display: inline-block;
    background: linear-gradient(135deg, #007AFF 0%, #667eea 100%);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(0, 122, 255, 0.3);
    transition: all 0.1s ease;
}

/* Warranty Section */
.warranty-section {
    padding: 80px 0;
    background: white;
}

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

.warranty-item {
    text-align: center;
    padding: 40px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 2px solid transparent;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.warranty-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #007AFF;
}

.warranty-item i {
    font-size: 3rem;
    color: #007AFF;
    margin-bottom: 20px;
    transition: transform 0.2s ease;
}

.warranty-item:hover i {
    transform: scale(1.1);
}

.warranty-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.warranty-item p {
    color: #666;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: stretch;
}

.contact-map {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    height: 94%;
}

.contact-map h3 {
    margin-bottom: 30px;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 450px;
    width: 100%;
}

.map-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 24px;
    margin-top: 8px;
    color: #333;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #007AFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

/* Uniformize icons for Adresse, Téléphone, Email, Horaires */
.contact-item > i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #007AFF;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    font-size: 18px;
    min-width: 48px;
    min-height: 48px;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.contact-map h3 {
    margin-bottom: 20px;
    color: #1e3c72;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* Animation fluide pour les selects */
.form-group select {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group select:hover {
    border-color: #007AFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
}

.form-group select:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.2);
}

/* Footer du message avec note et compteur alignés */
.message-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.required-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}


/* Checkboxes avec animations */
.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(0, 122, 255, 0.05);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.checkbox-label .checkbox-text {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    font-weight: 500;
    user-select: none;
}

/* Au survol : tout grossit ensemble */
.checkbox-label:hover .checkbox-text {
    transform: scale(1.15);
}

.checkbox-label:hover input[type="checkbox"] {
    transform: scale(1.2);
}

/* Quand coché : reste gros même sans survol */
.checkbox-label input[type="checkbox"]:checked ~ .checkbox-text {
    transform: scale(1.15);
    font-weight: 600;
}

.checkbox-label input[type="checkbox"]:checked {
    transform: scale(1.2);
}

/* Quand pas coché et pas survolé : taille normale (par défaut) */

.checkmark {
    display: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background: white;
}

/* Style supprimé - conflit avec le style principal */

.map-placeholder {
    height: 100%;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.map-placeholder i {
    font-size: 3rem;
    color: #007AFF;
    margin-bottom: 20px;
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
    padding: 80px 0 60px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #1e3c72;
}

.faq-grid {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    margin-bottom: 20px;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    border-color: #007AFF;
}

.faq-item.active {
    border-color: #007AFF;
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.2);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    color: #333;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
    color: #007AFF;
}

.faq-question i {
    color: #007AFF;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-category {
    margin-bottom: 60px;
}

.pricing-category h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
}

.pricing-category h2 i {
    color: #007AFF;
}

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

.pricing-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.1s ease, box-shadow 0.1s ease, border 0.1s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #007AFF;
}

.pricing-card.featured {
    transform: none;
}

.pricing-card.featured:hover {
    border: 2px solid #007AFF;
}

.pricing-header {
    background: linear-gradient(135deg, #007AFF, #0056CC);
    color: white;
    padding: 30px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.price-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.price-tag .price {
    font-size: 2.8rem;
    font-weight: 900;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    line-height: 1.2;
}

.price-tag .duration {
    font-size: 0.95rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.25);
    padding: 5px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-features ul li {
    color: #666;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.pricing-features ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #007AFF;
    font-weight: bold;
    font-size: 1.1rem;
}

.pricing-footer {
    background: #f8f9fa;
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e1e5e9;
}

.warranty {
    color: #007AFF;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Pricing Info */
.pricing-info {
    padding: 80px 0;
    background: white;
}

.info-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 30px 20px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #007AFF;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.info-card i {
    font-size: 2.5rem;
    color: #007AFF;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.info-card:hover i {
    transform: scale(1.1);
    color: #0056CC;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

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

.info-card {
    text-align: center;
    padding: 40px 20px;
}

.info-card i {
    font-size: 3rem;
    color: #007AFF;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #007AFF;
    background: transparent;
    color: #007AFF;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #007AFF;
    color: white;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.gallery-image {
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Support pour les images SVG */
.gallery-image svg {
    width: 100%;
    height: 250px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-image img,
.gallery-item:hover .gallery-image svg {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

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

.gallery-overlay h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.gallery-overlay p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: white;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

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

.testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 0.9rem;
    color: #666;
}

.rating {
    color: #FFD700;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #007AFF, #0056CC);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-item i {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFD700;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

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

    .hero-buttons {
        justify-content: center;
    }

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

    .service-item {
        padding: 20px;
    }

    .service-info ul {
        grid-template-columns: 1fr;
    }

    .service-price {
        margin-top: 10px;
    }

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

    .page-header h1 {
        font-size: 2.5rem;
    }
    
    /* Amélioration de la navigation mobile */
    .nav-container {
        height: 60px;
    }
    
    .logo {
        width: 120px;
        max-height: 52px;
        height: auto;
    }
    
    .footer-logo .logo {
        width: 128px;
        max-height: 60px;
    }
    
    .logo-text {
        display: none; /* Le texte est maintenant inclus dans le logo SVG */
    }
    
    /* Optimisation des cartes sur mobile */
    .service-card {
        padding: 30px 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        width: 112px;
        max-height: 48px;
    }
    
    .footer-logo .logo {
        width: 120px;
        max-height: 52px;
    }

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

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

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

    .contact-form-container {
        padding: 30px 20px;
    }
    
    /* Optimisations supplémentaires pour très petits écrans */
    .hero {
        padding: 100px 0 60px;
        min-height: 90vh;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Support pour les tablettes */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        gap: 40px;
    }
}

/* Support pour les grands écrans */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Support pour les écrans haute résolution */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Legal Pages Styles */
.legal-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.legal-section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.legal-section h2 {
    color: #007AFF;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #333;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section strong {
    color: #007AFF;
    font-weight: 600;
}

.legal-section a {
    color: #007AFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Character Count */
.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Optimisation des animations et prévention des saccades */
.service-card, .feature {
    will-change: transform, opacity, box-shadow;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.btn {
    will-change: transform;
    backface-visibility: hidden;
}

.nav-logo {
    will-change: transform;
}

/* Optimisation des animations d'icônes */
.service-icon i, .feature-icon i {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Prévention des animations saccadées */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: none;
}

.animate-element.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gestion des images en cours de chargement */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

img.error {
    opacity: 0.5;
    filter: grayscale(100%);
}

/* Optimisation des performances de scroll */
* {
    -webkit-overflow-scrolling: touch;
}

/* Prévention des reflows lors des animations */
.hero, .service-card, .feature {
    contain: layout style paint;
}

/* Scroll to top functionality */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #007AFF;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.scroll-to-top i {
    font-size: 20px;
    color: white;
    display: block;
}

.scroll-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.scroll-to-top:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.5);
}

/* Page transitions */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.page-transition.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Services Page Animations */
/* Désactivation des animations lourdes pour service-category et service-item */
/* Les animations sont maintenant gérées uniquement par .animate-on-scroll (plus léger) */

/* Désactivé - animation gérée par .animate-on-scroll */

/* CTA Section Styles */
.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content.center {
    justify-content: center;
}

.cta-text {
    flex: 1;
}

.cta-icon {
    display: none !important;
}

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

/* Animations pour la page Services */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Désactivation des animations au scroll pour services.html - performances */
.service-item.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.service-category.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* Icônes warranty déjà gérées ci-dessus */

/* Animation de pulsation pour les boutons */
.service-item .service-price {
    transition: all 0.3s ease;
}

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

/* Animation de survol pour les cartes de service */
.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #007AFF;
}

/* Pas d'animation au survol des catégories pour plus de légèreté */

/* Styles warranty-item déjà définis ci-dessus */

/* Pas de délai pour une apparition instantanée */

/* Animation de glissement pour les éléments de garantie - simplifiée */
.warranty-item.animate-on-scroll {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Gallery Page Styles */
.stats-section {
    background: linear-gradient(140deg, #6a75e6 0%, #6f58b6 50%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFD700;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* === Corrections demandées === */

/* Services : animation plus réactive - détour bleu réactif */
.service-card {
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, opacity 0.1s ease-out, border 0.1s ease-out;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #007AFF;
  box-shadow: 0 15px 30px rgba(0, 122, 255, 0.2);
}
  
  /* Tarifs : uniformiser la vignette gauche */
  .pricing-card {
    min-height: 100%;
  }

/* Styles pour les liens de contact */
.contact-item p a {
    color: #007AFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item p a:hover {
    color: #0056CC;
    text-decoration: underline;
}

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

.footer-section ul li a:hover {
    color: #0056CC;
    text-decoration: underline;
}
  .pricing-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Bandeau devis personnalisé : centrer et enlever l’icône */
  .banner-devis {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .banner-devis .icon-devis {
    display: none !important;
  }
  
  /* Galerie : dégradé violet plus doux */
  .stats-section {
    background: linear-gradient(140deg, #6a75e6 0%, #7a50c4 50%, #8a4be8 100%);
  }
  
  /* Galerie : boutons même taille */
  .cta .cta-buttons .btn {
    flex: 1 1 200px;
    min-width: 160px;
    padding: 14px 24px;
  }
  
  /* Contact : descendre légèrement le titre */
  .contact-info h2 {
    margin-top: 20px; /* avant 8px */
  }
  
  /* Contact : map alignée avec les vignettes */
  .contact-map .map-container {
    height: 400px;
  }
  
  /* Contact : icônes alignés - styles déjà définis plus haut */