/* Navigation Styles */
.navbar {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    color: #1e40af;
}
.logo-img {
    width: 50px;
    height: 50px;
}
.logo-text {
    color: #1e40af;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}
.nav-menu li a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-menu li a:hover, .nav-menu li a.active {
    color: #1e40af;
}
.nav-menu li a.cta-nav {
    background: #1e40af;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
}
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.lang-active {
    color: #1e40af;
    font-weight: 600;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: #1e40af;
    transition: 0.3s;
}
@media (max-width: 768px) {
    .nav-menu, .language-switcher {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Blog Article Specific */
.article-header {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
    padding: 4rem 0 3rem;
}
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}
.article-content {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}
.article-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: #1e40af;
    font-weight: 700;
}
.article-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #1e3a8a;
    font-weight: 600;
}
.article-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
}
.article-content ul, .article-content ol {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}
.article-content li {
    margin-bottom: 0.75rem;
}
.article-content strong {
    color: #1e40af;
    font-weight: 600;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 64, 175, 0.98);
    color: white;
    padding: 1.5rem 2rem;
    display: none;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.cookie-content p {
    margin: 0;
    flex: 1;
}
.cookie-content a {
    color: #f97316;
}
.cta-button {
    background: #f97316;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.cta-button:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 3rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.footer-logo-img {
    width: 40px;
    height: 40px;
}
.footer-logo-text {
    font-weight: 800;
    font-size: 1.25rem;
}
.footer-about {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.footer-social {
    display: flex;
    gap: 1rem;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: #f97316;
}
.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: white;
}
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    margin-bottom: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-contact i {
    color: #f97316;
}
.footer-contact a {
    color: #94a3b8;
    text-decoration: none;
}
.footer-contact a:hover {
    color: white;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
}

/* Change Management & Integration Styles */
.change-management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.change-pillar {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.change-pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.change-pillar h4 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.example-box {
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

.integration-benefits {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin: 2rem 0;
}

.integration-benefits h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.integration-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.integration-card h5 {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.integration-card p, .integration-card ol {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

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

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.solution-card.recommended {
    border-color: #f97316;
    position: relative;
}

.solution-card .badge {
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.solution-card h4 {
    color: #1e40af;
    margin-bottom: 1rem;
}

/* Subventions Article - Cumul & PCAN Styles */
.cumul-rule-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 6px solid #3b82f6;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.cumul-table {
    margin: 1.5rem 0;
}

.cumul-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.cumul-row.warning {
    background: #fef2f2;
    border: 2px solid #ef4444;
}

.cumul-program {
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    min-width: 160px;
    text-align: center;
}

.cumul-plus, .cumul-equals {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
}

.cumul-result {
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
}

.cumul-row.warning .cumul-result {
    background: #ef4444;
}

.strategies-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.strategy-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.strategy-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.strategy-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.strategy-example {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.strategy-example h5 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.pcan-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2.5rem;
    border-radius: 16px;
    margin: 2rem 0;
    border: 3px solid #fbbf24;
}

.pcan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pcan-header h4 {
    color: #92400e;
    margin: 0;
    font-size: 1.5rem;
}

.badge.new {
    background: #f97316;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.pcan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.pcan-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pcan-card h5 {
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.pcan-cumul {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.cumul-summary-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.cumul-summary-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.cumul-summary-table th, .cumul-summary-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.cumul-summary-table th {
    background: #1e40af;
    color: white;
    font-weight: 600;
}

.cumul-summary-table tr:hover {
    background: #f8fafc;
}

/* Diagnostic Section Styles */
.strategy-box {
    background: white;
    border: 3px solid #10b981;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.diagnostic-benefits {
    margin: 2rem 0;
}

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

.benefit-card {
    background: #f0fdf4;
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.benefit-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.benefit-card h5 {
    color: #065f46;
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.diagnostic-process {
    margin: 2rem 0;
}

.phase-timeline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.phase {
    flex: 1;
    min-width: 250px;
    background: #f0f9ff;
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
}

.phase-number {
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.phase-arrow {
    font-size: 2rem;
    color: #3b82f6;
    font-weight: 700;
}

@media (max-width: 768px) {
    .phase-arrow {
        display: none;
    }
    .cumul-row {
        flex-direction: column;
        text-align: center;
    }
}

/* Loi 25 Article - Critical Points Styles */
.critical-points-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 2rem 0;
}

.critical-point {
    background: white;
    border: 3px solid #ef4444;
    border-radius: 16px;
    padding: 2.5rem;
}

.point-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.critical-point h3 {
    color: #dc2626;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.jurisdiction-box {
    background: #f0f9ff;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.jurisdiction-table {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.jurisdiction-row {
    background: white;
    border-left: 5px solid #3b82f6;
    padding: 1.5rem;
    border-radius: 8px;
}

.jurisdiction-row.warning {
    border-left-color: #f97316;
    background: #fffbeb;
}

.law-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.25rem;
}

.law-badge.loi25 {
    background: #3b82f6;
    color: white;
}

.law-badge.pipeda {
    background: #8b5cf6;
    color: white;
}

.law-badge.rgpd {
    background: #ef4444;
    color: white;
}

.strategy-rgpd {
    background: #10b981;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.strategy-rgpd h4 {
    color: white;
    margin-bottom: 1rem;
}

.registre-details {
    margin: 2rem 0;
}

.registre-example {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.registre-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.registre-table th, .registre-table td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.registre-table th {
    background: #1e40af;
    color: white;
    font-weight: 600;
}

.registre-table tr.incident-major {
    background: #fee2e2;
    font-weight: 600;
}

.employee-data-risks {
    margin: 2rem 0;
}

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

.risk-card {
    background: #fef2f2;
    border: 2px solid #f87171;
    border-radius: 12px;
    padding: 1.5rem;
}

.risk-card h5 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.checklist-employés {
    background: #f0fdf4;
    border: 3px solid #10b981;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.checklist-employés h4 {
    color: #065f46;
    margin-bottom: 1.5rem;
}

.checklist-employés ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.checklist-employés ol li {
    counter-increment: item;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.checklist-employés ol li:before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: #10b981;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
