/* Reset & Base Styles */
:root {
    --primary-color: rgb(0, 0, 0);
    --secondary-color: #3498db;
    --secondary-color-next: #f1278c;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: rgb(5, 5, 5);
    --text-color: #000000;
    --text-light: #000000;
    --white: #fff;
    --black: #000;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo img {
    height: auto;
    max-width: 120px;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    margin-left: 30px;
}

.navbar ul li a {
    font-weight: 600;
    position: relative;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
    width: 100%;
}

.navbar ul li a.active {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('../img/hero2-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero .container {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light-color);
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    min-width: 200px;
}

.number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 10px;
}

.label {
    font-size: 1rem;
    color: var(--text-light);
}

/* Services Preview - STYLES CORRIGÉS */
.services-preview {
    padding: 80px 0;
    background: var(--white);
}

.services-preview h2 {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Styles pour les cartes de service avec images de fond */
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: var(--transition);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Images de fond avec URLs alternatives */
.impression-numerique {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                     url('../img/impression-numerique1-bg.jpg');
}

.copie-reproduction {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                     url('../img/copie-reproduction.jpg');
}

.cartes-visite {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                     url('../img/cartes-visite.jpg');
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.service-card:hover .service-overlay {
    opacity: 0.2;
}

.service-icon {
    position: relative;
    z-index: 2;
    background: rgba(52, 152, 219, 0.9);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(241, 39, 140, 0.9);
    transform: scale(1.1);
}

.service-card h3 {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    position: relative;
    z-index: 2;
    color: white;
    opacity: 0.9;
    line-height: 1.6;
}
/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p,
.footer-col li {
    margin-bottom: 10px;
    opacity: 1;
}

.footer-col a {
    color: var(--white);
    opacity: 1;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--secondary-color-next);
}

.footer-bottom {
    color: yellow;
}

.footer-col li i {
    margin-right: 10px;
    color: var(--secondary-color-next);
}

/* ICÔNES SOCIALES - STYLE EXACT COMME LA CAPTURE */
.footer-social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ff6bb5;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: white !important;
    text-decoration: none;
    border: 2px solid transparent;
}

.footer-social-links a i {
    font-size: 20px;
    color: white !important;
    display: block;
    line-height: 1;
    font-weight: 100;
}

.footer-social-links a:hover {
    background: transparent !important;
    border: 2px solid #f1278c;
    transform: translateY(-2px);
    color: white !important;
}

.footer-social-links a:hover i {
    color: #f1278c !important;
}

.footer-social-links a.facebook:hover {
    border-color: #1877F2;
}

.footer-social-links a.facebook:hover i {
    color: #1877F2 !important;
}

.footer-social-links a.whatsapp:hover {
    border-color: #25D366;
}

.footer-social-links a.whatsapp:hover i {
    color: #25D366 !important;
}

.footer-social-links a.instagram:hover {
    border-color: #E4405F;
}

.footer-social-links a.instagram:hover i {
    color: #E4405F !important;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

/* Page Hero (for services and contact) */
.page-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/service1.1.jpg') no-repeat center center/cover;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* All Services Page */
.all-services {
    padding: 80px 0;
}

.service-category {
    margin-bottom: 60px;
}

.service-category h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.service-category h2 i {
    margin-right: 15px;
    color: var(--secondary-color);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 30px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.service-item img {
    height: 100%;
    object-fit: cover;
}

.service-details {
    padding: 30px;
}

.service-details h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-details ul {
    margin-top: 20px;
}

.service-details ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.service-details ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--light-color);
    color: var(--text-color);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contact Page */
.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info h2 i {
    margin-right: 15px;
    color: var(--secondary-color-next);
}

.contact-info p,
.contact-info a {
    margin-bottom: 30px;
    display: block;
    opacity: 0.9;
}

.contact-social {
    margin-top: 40px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.social-btn i {
    margin-right: 10px;
}

.social-btn.whatsapp {
    background: #25D366;
    color: var(--white);
}

.social-btn.facebook {
    background: #066cbe;
    color: var(--white);
}

.social-btn.instagram {
    background: linear-gradient(#f1278c,yellow);
    color: var(--white);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    display: none;
}

.form-success i {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Styles pour le formulaire */
.contact-form {
    padding: 60px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Pages de confirmation */
.thank-you, .error-page {
    text-align: center;
    padding: 100px 0;
}

.thank-you h1 {
    color: #2ecc71;
}

.error-page h1 {
    color: #e74c3c;
}

/* Map Section */
.map-section {
    padding: 0 0 80px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-item {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        transition: var(--transition);
        z-index: 999;
    }
    
    .navbar.active {
        left: 0;
    }
    
    .navbar ul {
        flex-direction: column;
        padding: 30px;
    }
    
    .navbar ul li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 300px;
    }
    
    .service-card {
        min-height: 300px;
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-social-links {
        justify-content: center;
    }
    
    .service-card {
        min-height: 280px;
        padding: 25px 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* About Page Styles */
.page-hero {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.about-section {
    padding: 80px 0;
}

.about-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.about-block.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.about-text h2 i {
    margin-right: 15px;
    color: #3498db;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.mission-list {
    list-style: none;
}

.mission-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.mission-list li i {
    color: #3498db;
    margin-right: 10px;
    margin-top: 3px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.value-card h3 {
    color: #000000;
    margin-bottom: 15px;
}

.objectives {
    margin-top: 30px;
}

.objective {
    display: flex;
    margin-bottom: 30px;
}

.objective .number {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    margin-right: 20px;
    min-width: 50px;
}

.objective h3 {
    color: #000000;
    margin-bottom: 10px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
}

.team-section h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    margin-bottom: 15px;
}

.team-section h2 i {
    margin-right: 15px;
    color: #3498db;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-social-links {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(52, 152, 219, 0.8);
    padding: 10px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 10px;
}

.team-member:hover .team-social-links {
    opacity: 1;
}

.team-social-links a {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition);
}

.team-social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.team-social-links a i {
    font-size: 14px;
    color: white;
}

.team-member h3 {
    color: #000000;
    margin-bottom: 5px;
}

.position {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 15px;
}

.bio {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-block,
    .about-block.reverse {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 30px;
        max-width: 600px;
    }
}

/* Pour les écrans mobiles */
@media (max-width: 768px) {
    .footer-social-links {
        justify-content: center;
        gap: 15px;
    }
    
    .footer-social-links a {
        width: 50px;
        height: 50px;
    }
    
    .footer-social-links a i {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
    }
    
    .value-card {
        padding: 20px;
    }
}