* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* ========== HEADER ========== */
header {
    background-color: #ffffff;
    color: #2c3e50;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #3498db;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

/* ===== LOGO ===== */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 108px;
    background-color: #e8e8e8;
    border-radius: 4px;
    font-family: 'Arial Black', sans-serif;
    padding: 8px 6px;
    gap: 3px;
}

.logo-jpm {
    font-size: 2.1rem;
    color: #000000;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
}

.logo-informatique {
    font-size: 0.68rem;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Arial', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    background-color: #e74c3c;
    padding: 3px 10px;
    line-height: 1.4;
    white-space: nowrap;
}

.logo-comon {
    font-size: 2.1rem;
    color: #000000;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
}

/* ========== NAV ========== */
nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin-left: 1.4rem;
}

nav ul li a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3498db;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover { background-color: #2980b9; }

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: #3498db;
    padding: 0.7rem 1.4rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #3498db;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: #3498db;
    color: white;
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)),
                url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    color: #2c3e50;
    text-align: center;
    padding: 5rem 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-badge {
    background-color: #ecf0f1;
    color: #2c3e50;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #bdc3c7;
}

.hero-badge i { color: #3498db; margin-right: 5px; }

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== STATS BAND ========== */
.stats-band {
    background-color: #3498db;
    color: white;
    padding: 1.5rem 20px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item { text-align: center; }

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 900;
    display: block;
}

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

/* ========== SHARED HEADINGS ========== */
.section-title {
    font-size: 2rem;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #666;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

/* ========== SERVICES ========== */
.services {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
    text-align: center;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    width: 280px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}

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

.service-icon {
    font-size: 2.5rem;
    color: #3498db;
    display: block;
    text-align: center;
    margin-bottom: 0.8rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
    text-align: center;
}

.service-card ul {
    list-style: none;
    margin-top: 0.8rem;
}

.service-card ul li {
    padding: 3px 0;
    font-size: 0.9rem;
    color: #555;
}

.service-card ul li::before {
    content: "✓ ";
    color: #3498db;
    font-weight: bold;
}

/* ========== RÉALISATIONS ========== */
.realisations {
    background-color: #f8f9fa;
    padding: 3rem 20px;
    text-align: center;
}

.realisations-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.realisation-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    text-align: left;
}

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

.card-header {
    background-color: #3498db;
    color: white;
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-header.orange { background-color: #e67e22; }
.card-header.green  { background-color: #27ae60; }
.card-header.purple { background-color: #8e44ad; }
.card-header.red    { background-color: #e74c3c; }

.card-body { padding: 1.2rem; }

.realisation-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.realisation-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.55;
}

.tag-result {
    display: inline-block;
    margin-top: 0.8rem;
    background-color: #eafaf1;
    color: #27ae60;
    border: 1px solid #a9dfbf;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ========== PRODUITS ========== */
.products {
    background-color: #ecf0f1;
    padding: 3rem 20px;
    text-align: center;
}

.products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    width: 250px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover { transform: translateY(-8px); }

.product-card img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
}

.product-card h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.product-card .price {
    font-weight: bold;
    color: #e74c3c;
    font-size: 1.2rem;
}

.badge-garantie {
    display: inline-block;
    background-color: #eafaf1;
    color: #27ae60;
    border: 1px solid #a9dfbf;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ========== TÉMOIGNAGES & BLOC GOOGLE ========== */
.temoignages {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
    text-align: center;
}

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

.temoignage-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.07);
    text-align: left;
    position: relative;
}

.stars { color: #f39c12; font-size: 1rem; margin-bottom: 0.5rem; }

.temoignage-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.client-name { font-weight: bold; color: #2c3e50; font-size: 0.9rem; }
.client-type { color: #888; font-size: 0.8rem; }

.google-reviews-cta {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.google-reviews-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 500px;
    border-top: 4px solid #4285F4;
}

.google-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.reviews-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* ========== FAQ ========== */
.faq {
    background-color: #f8f9fa;
    padding: 3rem 20px;
}

.faq-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.faq-list { margin-top: 2rem; text-align: left; }

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover { background-color: #f0f8ff; }

.faq-icon {
    color: #3498db;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.2rem;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
    border-top: 1px solid #ecf0f1;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ========== CONTACT & MAP LAYOUT ========== */
.contact {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-item { text-align: center; }
.contact-item i { font-size: 2rem; color: #3498db; margin-bottom: 0.5rem; }
.contact-item h3 { color: #2c3e50; margin-bottom: 0.5rem; }

/* Nouveau conteneur alignant le formulaire et la carte */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    background-color: #3498db;
    color: white;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
    width: 100%;
}

.contact-form button:hover { background-color: #2980b9; }

/* Conteneur de la carte responsive */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== FOOTER ========== */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    margin: 0 0.8rem;
    text-decoration: none;
}

.footer-links a:hover { color: #3498db; }

.footer-keywords {
    font-size: 0.75rem;
    color: #7f8c8d;
    margin-top: 0.6rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 0.8rem;
    }

    .logo {
        width: 115px;
        height: 98px;
        padding: 6px 5px;
    }

    .logo-jpm { font-size: 1.8rem; }
    .logo-informatique { font-size: 0.6rem; letter-spacing: 1.5px; padding: 2px 6px; }
    .logo-comon { font-size: 1.8rem; }

    nav ul { justify-content: center; }
    nav ul li { margin: 0.3rem 0.6rem; }

    .hero h1 { font-size: 1.8rem; }

    .services-container,
    .products-container {
        flex-direction: column;
        align-items: center;
    }

    .service-card,
    .product-card {
        width: 100%;
        max-width: 420px;
    }

    /* repasser la map et le formulaire l'un sous l'autre sur mobile */
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        min-height: 300px;
    }

    .contact-info { flex-direction: column; gap: 1.5rem; }
    .realisations-grid, .temoignages-grid { grid-template-columns: 1fr; }
}