/* Styles communs — pages articles du blog */
:root {
    --primary-blue: #007BFF;
    --dark-blue: #00234B;
    --light-bg: #F8F9FA;
    --silver-grey-bg: #DCDCDC;
    --text-primary: #343A40;
    --text-secondary: #6C757D;
    --white: #FFFFFF;
    --border-color: #DEE2E6;
}

body {
    background-color: var(--silver-grey-bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.7;
}

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

.nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.nav-brand {
    display: block;
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
}

.nav-brand picture {
    display: block;
    line-height: 0;
}

.nav-brand picture img,
.nav-brand img {
    display: block;
    max-height: 55px;
    width: auto;
    height: auto;
    max-width: min(220px, 42vw);
    object-fit: contain;
    object-position: left center;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    min-width: 0;
}

.nav-links a {
    margin: 0 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn:hover {
    background-color: #0069D9;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

main {
    padding: 100px 20px 60px;
    max-width: 860px;
    margin: 0 auto;
    box-sizing: border-box;
}

.article-header {
    margin-bottom: 2rem;
}

.article-tag {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-decoration: none;
}

.article-tag:hover {
    background: #0069D9;
}

h1 {
    color: var(--dark-blue);
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.article-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.article-intro {
    font-size: 1.1rem;
    color: var(--text-primary);
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    margin-bottom: 2rem;
    line-height: 1.8;
}

h2 {
    color: var(--dark-blue);
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

h3 {
    color: var(--dark-blue);
    font-size: 1.15rem;
    margin: 1.5rem 0 0.75rem;
}

p {
    margin-bottom: 1.25rem;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid var(--primary-blue);
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.info-box p {
    margin: 0;
}

.warning-box {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.warning-box p {
    margin: 0;
}

.success-box {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.success-box p {
    margin: 0;
}

.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding: 6px 0 6px 32px;
    position: relative;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1rem;
}

.step-block {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary-blue);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-content h3 {
    margin: 0 0 0.5rem;
    color: var(--dark-blue);
    font-size: 1.05rem;
}

.step-content p {
    margin: 0;
    font-size: 0.95rem;
}

.cta-box {
    background: var(--dark-blue);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0 2rem;
}

.cta-box h3 {
    color: white;
    margin: 0 0 1rem;
    font-size: 1.3rem;
    border: none;
    padding: 0;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.cta-btn {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: #0069D9;
    transform: translateY(-2px);
}

.blog-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-nav a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.blog-nav a:hover {
    text-decoration: underline;
}

.footer {
    background-color: var(--dark-blue);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
}

.footer p {
    margin: 4px 0;
    font-size: 0.9rem;
}

.footer-links-row {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.9rem;
}

.footer-links-row a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-links-row a:hover {
    text-decoration: underline;
}

.footer-links-row .footer-sep {
    color: rgba(255, 255, 255, 0.45);
}

.footer-formalites {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.45rem;
}

.footer-formalites-label {
    color: rgba(255, 255, 255, 0.75);
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float a:hover {
    transform: scale(1.08);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }

    main {
        padding-top: 90px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .nav-brand picture img,
    .nav-brand img {
        max-height: 48px;
        max-width: min(180px, 50vw);
    }
}
