/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2563eb;
    --secondary-blue: #1e40af;
    --light-blue: #dbeafe;
    --accent-blue: #3b82f6;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --dark-gray: #334155;
    --text-gray: #64748b;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Typographie */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo span {
    color: var(--accent-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    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="%232563eb" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.hero-title span {
    color: var(--primary-blue);
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.hero {
    /* Styles existants */
    min-height: 80vh; /* Hauteur minimale */
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh; /* Plus de hauteur sur mobile */
        padding-top: 140px;
    }
}
    /* Styles existants */
    padding-top: 120px; /* Augmenter cette valeur sur mobile */
}

/* Media query pour mobile */
@media (max-width: 768px) {
    .hero {
        padding-top: 150px; /* Encore plus d'espace sur mobile */
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 160px; /* Ajustement pour très petits écrans */
    }
}
/* Hero Image */
.hero-image {
    position: relative;
    height: 500px;
    animation: slideInRight 1s ease-out;
}


.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    animation: float 3s ease-in-out infinite;
    transition: var(--transition);
}


.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}


.floating-card:nth-child(1) {
    top: 50px;
    right: 100px;
    animation-delay: 0s;
}


.floating-card:nth-child(2) {
    top: 200px;
    right: 20px;
    animation-delay: 1s;
}


.floating-card:nth-child(3) {
    top: 350px;
    right: 150px;
    animation-delay: 2s;
}


.floating-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}


.floating-card h3 {
    font-size: 1rem;
    color: var(--dark-gray);
    margin: 0;
}

/* Ajustements des floating cards sur mobile */
@media (max-width: 768px) {
    .floating-card:nth-child(1) {
        top: 80px;
        right: 20px;
    }
    
    .floating-card:nth-child(2) {
        top: 250px;
        right: 10px;
    }
    
    .floating-card:nth-child(3) {
        top: 420px;
        right: 30px;
    }
    
    .floating-card {
        padding: 1rem;
    }
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.floating-card h3 {
    font-size: 1rem;
    color: var(--dark-gray);
    margin: 0;
}

/* Services Preview */
.services-preview {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--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 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section h3 span {
    color: var(--accent-blue);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .floating-card {
        position: relative;
        margin: 1rem;
        display: inline-block;
    }
    
    .floating-card:nth-child(1),
    .floating-card:nth-child(2),
    .floating-card:nth-child(3) {
        position: relative;
        top: auto;
        right: auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
/* Styles pour les pages internes */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* About Page Styles */
.about-content {
    padding: 5rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.about-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.values-list i {
    color: var(--primary-blue);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, var(--light-blue), var(--white));
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed var(--primary-blue);
    text-align: center;
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: var(--primary-blue);
    font-weight: 600;
    margin: 0;
}

/* Team Section */
.team {
    padding: 5rem 0;
    background: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.member-photo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.member-photo i {
    font-size: 2.5rem;
    color: var(--white);
}

.team-member h3 {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-gray);
}

/* Services Page Styles */
.services-detailed {
    padding: 5rem 0;
    background: var(--white);
}

.services-detailed-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-blue);
}

/* Supprimez ou commentez ces règles pour garder le même alignement */
/*
.service-detail:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

.service-detail:nth-child(even) .service-detail-content {
    order: 2;
}

.service-detail:nth-child(even) .service-detail-icon {
    order: 1;
}
*/

.service-detail-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-detail-icon .icon-circle {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.service-detail-icon i {
    font-size: 4rem;
    color: var(--white);
}

.service-detail h3 {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-detail p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--dark-gray);
}

.service-features i {
    color: var(--primary-blue);
    margin-right: 1rem;
}

/* Boutique Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 5rem 0;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--light-blue), var(--white));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.product-image i {
    font-size: 3rem;
    color: var(--primary-blue);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-info p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.product-btn:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    transform: translateY(-2px);
}

/* Contact Page Styles */
.contact-content {
    padding: 5rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(37, 99, 235, 0.1);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    height: fit-content;
}

.contact-info h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
}

.contact-item div h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-item div p {
    margin: 0;
    opacity: 0.9;
}

/* Responsive pour les pages internes */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detail {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    .service-detail:nth-child(even) .service-detail-content,
    .service-detail:nth-child(even) .service-detail-icon {
        order: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        padding: 3rem 0;
    }
}
/* Logo dans la navigation */
.nav-logo .logo-img {
    height: 50px; /* Ajustez selon vos besoins */
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Logo dans le footer */
.footer-logo {
    height: 60px; /* Ajustez selon vos besoins */
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .nav-logo .logo-img {
        height: 35px;
        max-width: 150px;
    }
    
    .footer-logo {
        height: 30px;
        max-width: 140px;
    }
}
/* Logo dans la navigation */
.nav-logo .logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    outline: none; /* Supprime le contour */
}

.nav-logo .logo-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.nav-logo .logo-img {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
    outline: none; /* Supprime le contour sur l'image */
}

/* Logo dans le footer */
.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-bottom: 10px;
    outline: none; /* Supprime le contour */
}

.footer-logo-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-logo {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
    margin: 0;
    outline: none; /* Supprime le contour sur l'image */
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .nav-logo .logo-img {
        height: 35px;
        max-width: 150px;
    }
    
    .footer-logo {
        height: 30px;
        max-width: 140px;
    }
}

/* Suppression du contour de sélection */
.logo-link:focus,
.footer-logo-link:focus {
    outline: none; /* Supprime le contour */
}

/* Optionnel : garder un effet visuel subtil au focus pour l'accessibilité */
.logo-link:focus-visible,
.footer-logo-link:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
    border-radius: 4px;
}

/* Suppression complète de tous les contours sur les logos */
.logo-link,
.footer-logo-link,
.logo-img,
.footer-logo {
    outline: none !important;
    border: none !important;
}

/* Suppression du contour au clic/focus sur les images */
.logo-img:focus,
.footer-logo:focus {
    outline: none !important;
}
/* Styles pour les pop-ups */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    text-align: center;
    animation: popupShow 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin: 20px;
}

@keyframes popupShow {
    from {
        transform: scale(0.7) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.popup-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #27ae60;
}

.popup-icon.error {
    color: #e74c3c;
}

.popup h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 600;
}

.popup p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.popup-close {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.popup-close:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f99);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.error-popup .popup-close {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.error-popup .popup-close:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

/* Animation du bouton d'envoi */
#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive pour les pop-ups */
@media (max-width: 480px) {
    .popup {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .popup h3 {
        font-size: 1.2em;
    }
    
    .popup-icon {
        font-size: 2.5rem;
    }
}
// Fonction pour transformer les valeurs de service
function getServiceLabel(value) {
    const services = {
        '🛠️ Réparation Smartphone': '️🛠️ Réparation Smartphone',
        '💻 Diagnostic ordinateur': '💻 Diagnostic d'ordinateur',
        '🖥️ Construction ordinateur sur-mesure': "🖥️ Construction d'ordinateur sur-mesure",
        '🔧 Micro-soudure à effectuer': '🔧 Micro-soudure à effectuer',
        '❓ Autre type de réparation': '❓ Autre type de réparation',
        '❓ Autre demande': '❓ Autre demande'
    };
    return services[value] || value;
}
    // Transformer la valeur du service
    const templateParams = {
        name: formData.get('name'),
        surname: formData.get('surname'),
        email: formData.get('email'),
        service: getServiceLabel(serviceValue), // Transformation ici
        message: formData.get('message')
    };
/* Styles pour la scrollbar principale */
::-webkit-scrollbar {
    width: 12px; /* Largeur de la scrollbar verticale */
    height: 12px; /* Hauteur de la scrollbar horizontale */
}

/* Track (fond de la scrollbar) */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}

/* Handle (partie mobile de la scrollbar) */
::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Handle au survol */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: scale(1.05);
}

/* Coins de la scrollbar */
::-webkit-scrollbar-corner {
    background: #f1f1f1;
}
/* Style minimaliste */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 3px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    opacity: 1;
    background: #0056b3;
}
/* Bouton retour en haut */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 123, 255, 0.4);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
/* ==================== CURSEURS PNG - VERSION FINALE ==================== */

/* Préchargement */
body::after {
    content: "";
    position: absolute;
    width: 0; height: 0; overflow: hidden; z-index: -1;
    background: url('https://i.ibb.co/BHnc04mW/707c217f82eb4258b4863fbd8b4409ae-0.png') no-repeat -9999px -9999px,
                url('https://i.ibb.co/2Y3XYvGb/8bf0473cd82841caaf7f717e9e9e23ea-0.png') no-repeat -9999px -9999px,
                url('assets/cursors/text.png') no-repeat -9999px -9999px;
}

/* Curseurs principaux */
* { cursor: url('https://i.ibb.co/BHnc04mW/707c217f82eb4258b4863fbd8b4409ae-0.png'), auto; }

a, button, .btn, [role="button"] { 
    cursor: url('https://i.ibb.co/2Y3XYvGb/8bf0473cd82841caaf7f717e9e9e23ea-0.png') 16 8, pointer !important; 
}

input, textarea, [contenteditable] { 
    cursor: url('https://i.ibb.co/5Xqs13Pz/81346488ce2047219ce87205c8277249-0.png') 8 12, text !important; 
}

.loading { 
    cursor: url('assets/cursors/loading.png') 12 12, wait !important; 
}

.disabled, [disabled] { 
    cursor: url('https://i.ibb.co/gbQMMMsd/2ec27ec6d6bc41cc8413fa14e0540d6a-0.png') 12 12, not-allowed !important; 
}    
/* Animations fluides pour les boutons */
.btn {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Animation pour les cartes de services */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* -------------------Fonctionnalités du chatbot--------------*/

/* Styles du chatbot */
#chatbot-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 1000;
}

#chat-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #6699ff 0%, #3366ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

#chat-toggle:hover {
  transform: scale(1.1);
}

#chat-toggle i {
  color: white;
  font-size: 24px;
}

#chatbot {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.chat-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.chat-header {
  background: linear-gradient(135deg, #6699ff 0%, #3366ff 100%);
  color: white;
  padding: 15px 20px;
  border-radius: 15px 15px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  margin: 0;
  font-size: 16px;
}

.close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f8f9fa;
}

.bot-message, .user-message {
  margin-bottom: 15px;
  animation: slideIn 0.3s ease;
}

.bot-message p, .user-message p {
  background: white;
  padding: 12px 15px;
  border-radius: 15px;
  margin: 0 0 10px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.user-message {
  text-align: right;
}

.user-message p {
  background: linear-gradient(135deg, #6699ff 0%, #3366ff 100%);
  color: white;
  display: inline-block;
}

.chat-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-buttons button {
  background: linear-gradient(135deg, #6699ff 0%, #3366ff 100%);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.chat-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.chat-input {
  display: flex;
  padding: 15px 20px;
  background: white;
  border-radius: 0 0 15px 15px;
  border-top: 1px solid #eee;
}

.chat-input input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 25px;
  padding: 10px 15px;
  margin-right: 10px;
  outline: none;
}

.chat-input button {
  background: linear-gradient(135deg, #6699ff 0%, #3366ff 100%);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chat-input button:hover {
  transform: translateY(-1px);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  #chatbot {
    width: calc(100vw - 40px);
    height: 80vh;
    bottom: 80px;
    right: 20px;
    left: 20px;
  }
}
/* Style pour créer une séparation visuelle */
.menu-separator {
  margin-top: 60px !important;
  padding-top: 30px;
  border-top: 2px solid #e9ecef;
  position: relative;
}

.menu-separator::before {
  content: "───────";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f8f9fa;
  padding: 0 15px;
  color: #ccc;
  font-size: 12px;
}

/* Alternative avec un effet de fondu */
.menu-fade-separator {
  margin-top: 50px !important;
  position: relative;
}

.menu-fade-separator::before {
  content: "";
  position: absolute;
  top: -25px;
  left: 0;
  right: 0;
  height: 25px;
  background: linear-gradient(to bottom, transparent 0%, #f8f9fa 100%);
}
/* CSS pour le livechat */
.livechat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.livechat-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    /* Assurez-vous que le bouton soit visible sur mobile */
}

.livechat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    height: 400px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 120px);
    z-index: 10000;
}

/* Media queries pour mobile */
@media (max-width: 768px) {
    .livechat-window {
        width: calc(100vw - 20px);
        height: calc(100vh - 100px);
        bottom: 80px;
        right: 10px;
        left: 10px;
    }
}
