:root {
    --primary: #111827;
    --accent: #25D366;
    --accent-hover: #128C7E;
    --hero-bg: #0628d4;
    --text: #374151;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --gray-light: #F9FAFB;
    --border: #E5E7EB;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; background-color: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.bg-light { background-color: var(--gray-light); }
.mb-16 { margin-bottom: 64px; }
.mt-12 { margin-top: 48px; }
.max-w-3xl { max-width: 768px; margin: 0 auto; }
.section { padding: 80px 0; }

.section-label { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.section-title { font-size: 32px; font-weight: 900; color: var(--primary); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 16px; }
.section-text { font-size: 16px; color: var(--text-light); line-height: 1.7; }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 2fr 1fr; } }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 9999px; font-weight: 700; font-size: 14px; transition: all 0.3s; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-outline-dark { border-color: var(--primary); color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }

.header { position: fixed; top: 0; left: 0; right: 0; background: transparent; z-index: 1000; transition: background 0.3s ease, border-color 0.3s ease; }
.header.scrolled { background: #000000; border-bottom: 1px solid rgba(255,255,255,0.1); }
.header-container { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.logo { font-size: 24px; font-weight: 900; color: var(--white); }
.logo span { color: var(--accent); }
.logo img { height: 50px; width: auto; }

.nav { display: none; gap: 24px; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav-link { color: var(--white); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 6px; }
.nav-link:hover, .nav-link.active { color: var(--accent); }

.header-btn { display: none; }
@media (min-width: 768px) { .header-btn { display: inline-flex; } }

.mobile-menu-btn { display: block; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }
.mobile-menu { display: none; background: #000000; padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu.active { display: block; }
.mobile-link { display: block; color: var(--white); padding: 12px 0; font-size: 16px; }
.mobile-link:hover, .mobile-link.active { color: var(--accent); }

.hero, .hero-inner, .contact-hero { background: var(--hero-bg); padding: 140px 0 80px; color: var(--white); }
.article-hero { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; padding: 140px 0 80px; min-height: 500px; display: flex; align-items: center; }
.article-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6); z-index: 1; }
.article-hero .container { position: relative; z-index: 2; }
.hero-container { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; padding-bottom: 80px; }
@media (min-width: 1024px) { .hero-container { grid-template-columns: 1fr 1fr; } }

.badge, .badge-contact { display: inline-block; padding: 6px 16px; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 9999px; color: var(--white); font-size: 12px; font-weight: 700; margin-bottom: 24px; }
.hero-title, .hero-inner-title, .contact-hero-title, .article-hero-title { font-size: 36px; font-weight: 900; line-height: 1.1; margin-bottom: 24px; color: var(--white); }
@media (min-width: 768px) { .hero-title, .hero-inner-title, .contact-hero-title, .article-hero-title { font-size: 48px; } }
.highlight { color: var(--accent); }
.hero-text, .hero-inner-text, .contact-hero-text, .article-hero-text { font-size: 18px; color: rgba(255, 255, 255, 0.9); margin-bottom: 32px; max-width: 600px; }

.hero-buttons, .contact-hero-buttons { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .hero-buttons, .contact-hero-buttons { flex-direction: row; } }

.hero-image-wrapper { position: relative; }
.hero-image { width: 100%; height: 400px; object-fit: cover; border-radius: 24px; border: 1px solid rgba(255,255,255,0.2); }
@media (min-width: 1024px) { .hero-image { height: 500px; } }

.trust-badge { position: absolute; bottom: -20px; left: -20px; background: var(--white); padding: 16px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: none; border: 1px solid var(--border); }
@media (min-width: 768px) { .trust-badge { display: block; } }
.stars { color: var(--accent); font-size: 14px; margin-bottom: 4px; }
.trust-badge p { font-size: 14px; font-weight: 700; color: var(--primary); margin: 0; }

.hero-stats { display: flex; gap: 40px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.2); }
.stat-item { text-align: left; }
.stat-number { font-size: 32px; font-weight: 900; color: var(--accent); display: block; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.8); margin-top: 5px; display: block; }

.card { background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.card-image { position: relative; height: 220px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-image img { transform: scale(1.05); }

.badge-category, .badge-blog { position: absolute; top: 16px; left: 16px; background: var(--accent); color: var(--white); padding: 4px 12px; border-radius: 9999px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.card-content { padding: 24px; }
.card-title { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.card-text { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.card-link { color: var(--accent); font-weight: 700; font-size: 14px; }
.card-link:hover { color: var(--accent-hover); }
.card-date { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.card-icon { width: 50px; height: 50px; background: rgba(37, 211, 102, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.8); margin-bottom: 24px; justify-content: center; }
.breadcrumb a { color: rgba(255, 255, 255, 0.8); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span.current { color: var(--white); font-weight: 700; }

.article-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; font-size: 14px; color: rgba(255, 255, 255, 0.8); justify-content: center; }
.article-content img { width: 100%; height: 400px; object-fit: cover; border-radius: 16px; margin-bottom: 32px; }
.article-content p { font-size: 16px; line-height: 1.8; color: var(--text); margin-bottom: 24px; }

.share-section { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.share-title { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.share-btn { padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--white); transition: opacity 0.3s; border: none; cursor: pointer; }
.share-btn:hover { opacity: 0.9; }
.share-btn.fb { background: #1877F2; }
.share-btn.wa { background: #25D366; }
.share-btn.tw { background: #000000; }
.share-btn.li { background: #0A66C2; }

.sidebar-card { background: var(--white); padding: 24px; border-radius: 16px; border: 1px solid var(--border); margin-bottom: 24px; }
.sidebar-author { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.sidebar-avatar { width: 48px; height: 48px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--white); font-size: 18px; }
.sidebar-author-info h4 { font-size: 16px; font-weight: 700; color: var(--primary); }
.sidebar-author-info p { font-size: 12px; color: var(--text-light); }
.sidebar-cta { background: var(--primary); color: var(--white); text-align: center; padding: 32px 24px; border: none; }
.sidebar-cta h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.sidebar-cta p { font-size: 14px; color: #9CA3AF; margin-bottom: 24px; }
.sidebar-recent h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); margin-bottom: 24px; }
.recent-item { display: flex; gap: 16px; margin-bottom: 20px; }
.recent-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.recent-item h5 { font-size: 14px; font-weight: 700; color: var(--primary); line-height: 1.4; margin-bottom: 4px; }
.recent-item h5:hover { color: var(--accent); }
.recent-item p { font-size: 12px; color: var(--text-light); }

.pagination { display: flex; justify-content: center; gap: 12px; margin-top: 64px; }
.pagination a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--white); border: 1px solid var(--border); color: var(--text); font-weight: 700; font-size: 14px; transition: all 0.3s ease; text-decoration: none; }
.pagination a.active { background: var(--accent); color: var(--white); border-color: var(--accent); }
.pagination a:hover:not(.active) { background: var(--gray-light); }
.pagination a.next { width: auto; padding: 0 20px; }

.contact-layout, .contact-grid-new { display: grid; grid-template-columns: 1fr; gap: 48px; margin-top: 48px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1fr 1.5fr; } }
@media (min-width: 1024px) { .contact-grid-new { grid-template-columns: 1.4fr 1fr; } }

.contact-info-card { background: var(--primary); color: var(--white); padding: 40px; border-radius: 24px; }
.contact-info-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.contact-info-card > p { font-size: 14px; color: #9CA3AF; margin-bottom: 24px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 20px; }
.contact-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-label { font-size: 12px; color: #9CA3AF; }
.contact-item-value { font-size: 14px; font-weight: 700; color: var(--white); }

.contact-form-card { background: var(--white); padding: 40px; border-radius: 24px; border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.form-input, .form-textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; font-size: 14px; font-family: inherit; background: var(--white); transition: border-color 0.3s, box-shadow 0.3s; }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2); }
.form-textarea { resize: vertical; min-height: 150px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.cta-section { background: var(--accent); padding: 80px 0; }
.cta-title { font-size: 32px; font-weight: 900; color: var(--white); margin-bottom: 16px; }
.cta-text { font-size: 18px; color: rgba(255, 255, 255, 0.9); margin-bottom: 32px; }
.cta-buttons { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }

.btn-whatsapp-hero { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--white); padding: 14px 28px; border-radius: 9999px; font-weight: 700; font-size: 15px; transition: all 0.3s; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
.btn-whatsapp-hero:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-whatsapp-hero svg { fill: currentColor; }
.btn-outline-hero { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.1); color: var(--white); padding: 14px 28px; border-radius: 9999px; font-weight: 700; font-size: 15px; border: 2px solid rgba(255, 255, 255, 0.3); transition: all 0.3s; }
.btn-outline-hero:hover { background: rgba(255, 255, 255, 0.2); }

.footer { background: #000000; color: #FFFFFF; padding: 80px 0 40px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(5, 1fr); } }
.footer-logo { font-size: 24px; font-weight: 900; color: #FFFFFF; display: block; margin-bottom: 16px; }
.footer-logo img { height: 50px; width: auto; }
.footer-logo span { color: var(--accent); }
.footer-text { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.footer-title { font-size: 14px; font-weight: 700; text-transform: uppercase; margin-bottom: 24px; letter-spacing: 0.05em; color: #FFFFFF; }
.footer-title--spaced { margin-top: 24px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 12px; }
.footer-contact a { color: rgba(255,255,255,0.8); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, 0.6); }

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background-color: var(--accent-hover); animation: none; }
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.contact-hero {
    background: var(--hero-bg);
    padding: 140px 0 80px;
    color: var(--white);
    text-align: left;
}

.contact-section-title-new {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-section-subtitle-new {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.services-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .services-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-box-new {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border: 1fr solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.service-box-new:hover, .service-box-new.active {
    border-color: var(--accent);
    background: var(--gray-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}

.service-icon-new {
    font-size: 20px;
    flex-shrink: 0;
}

.service-name-new {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.whatsapp-direct-new {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.whatsapp-direct-text-new {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.btn-whatsapp-large-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-whatsapp-large-new:hover {
    background: var(--accent-hover);
}

.btn-devis-dynamique {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    border-radius: 12px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: opacity 0.3s ease;
}

.btn-devis-dynamique:hover {
    opacity: 0.9;
}

.whatsapp-note-new {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

.contact-sidebar-new {
    background: var(--white);
}

.sidebar-label-new {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.sidebar-title-new {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin: 6px 0;
}

.sidebar-text-new {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.contact-cards-new {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card-new {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--gray-light);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.contact-card-icon-new {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    background: var(--white);
}

.whatsapp-icon-new {
    background: rgba(37, 211, 102, 0.15);
    color: var(--accent);
}

.contact-card-content-new h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.contact-link-new {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.contact-note-new {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.map-container-new {
    margin-top: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
}

.map-info-new {
    padding: 12px;
    font-size: 13px;
}

.payment-info-new {
    padding: 14px;
    background: var(--gray-light);
    border: 1px dashed var(--border);
    border-radius: 12px;
    font-size: 12px;
    color: var(--text);
    margin-top: 8px;
}
@media (max-width: 767px) {
  .footer-col { text-align: center; }
  .footer-logo img { margin: 0 auto; }
  .footer-title { text-align: center; }
  .footer-links, .footer-contact { text-align: center; }
  .footer-text { text-align: center; }
}