.logo span {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .logo img {
        height: 60px;
    }

    .logo span {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 55px;
    }

    .logo span {
        display: none;
    }
}

/* Hero Procédure */
.hero-procedure {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1600') center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
    position: relative;
}

.hero-procedure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-procedure h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-procedure p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
}

/* Section Procédure */
.procedure-section {
    padding: 5rem 2rem;
    background: #ffffff;
}

/* Box Procédure */
.procedure-box {
    background: var(--white);
    padding: 3rem;
    margin-bottom: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.06);
}

.procedure-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.procedure-box h2 {
    color: var(--primary);
    font-size: 1.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
    border-bottom: 3px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.procedure-box h2 svg {
    width: 32px;
    height: 32px;
    fill: var(--accent);
    flex-shrink: 0;
}

.procedure-box h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin: 2.5rem 0 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.procedure-box h3 svg {
    width: 24px;
    height: 24px;
    fill: var(--secondary);
}

.procedure-box h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin: 2rem 0 1.2rem;
    font-weight: 600;
    padding-left: 1rem;
    border-left: 4px solid var(--accent);
}

.procedure-box p {
    color: #444;
    line-height: 1.9;
    margin-bottom: 1.3rem;
    font-size: 1.05rem;
    text-align: left;
}

/* Box spéciaux */
.important-box {
    border-left: 5px solid #ff9800;
    background: linear-gradient(to right, #fff8e1 0%, var(--white) 100%);
}

.warning-box {
    border-left: 5px solid #f44336;
    background: linear-gradient(to right, #ffebee 0%, var(--white) 100%);
}

.dossier-box {
    border-left: 5px solid var(--secondary);
    background: linear-gradient(to right, #fffaeb 0%, var(--white) 100%);
}

.contact-box {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    color: var(--white);
    border: none;
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.contact-box h2,
.contact-box p {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.contact-box h2 {
    border-bottom-color: rgba(255,255,255,0.3);
}

.contact-box h2 svg {
    fill: var(--white);
}

.contact-box h3 {
    color: var(--white) !important;
}

.contact-box h4 {
    color: var(--white) !important;
}

.contact-box p {
    color: var(--white) !important;
}

.contact-box strong {
    color: var(--white);
    font-weight: 700;
}

.contact-box a {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-box a:hover {
    opacity: 0.9;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(to right, #fff3cd 0%, #fffbea 100%);
    border-left: 5px solid #ffc107;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.1);
}

.highlight-box strong {
    color: #856404;
    font-weight: 600;
}

/* Info Block */
.info-block {
    background: linear-gradient(to right, #fff8e1 0%, #fffef5 100%);
    border-left: 5px solid var(--primary);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.1);
}

.info-block strong {
    color: var(--primary);
    font-weight: 600;
}

/* Numbered List */
.numbered-list {
    margin: 2rem 0;
}

.list-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(to right, var(--light) 0%, #ffffff 100%);
    border-radius: 16px;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.list-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.list-item .number {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.list-item .content p {
    margin: 0;
    line-height: 1.8;
}

/* Document Section */
.document-section {
    background: linear-gradient(135deg, var(--light) 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 16px;
    margin: 2.5rem 0;
    border: 1px solid rgba(0,0,0,0.06);
}

.garant-intro {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--accent);
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.doc-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.doc-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.doc-number {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.25);
}

.doc-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.note {
    background: linear-gradient(to right, #fff3cd 0%, #fffbea 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    font-size: 0.95rem;
    font-style: italic;
    color: #856404;
    border-left: 4px solid #ffc107;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.1);
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.contact-method {
    background: rgba(255,255,255,0.15);
    padding: 2.5rem;
    border-radius: 16px;
    display: flex;
    gap: 1.8rem;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.contact-method:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.25);
    box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

.highlight-method {
    background: rgba(255,255,255,0.25);
    border: 3px solid rgba(255,255,255,0.5);
}

.method-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
}

.method-icon svg {
    width: 56px;
    height: 56px;
    fill: var(--white);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.method-info h4 {
    color: var(--white);
    margin: 0 0 0.8rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.method-info a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-block;
    word-break: break-all;
    overflow-wrap: break-word;
}

.method-info a:hover {
    transform: translateX(5px);
    text-decoration: underline;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.3rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.btn-email {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--secondary);
}

.btn-email:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4);
    background: var(--secondary);
}

.btn-whatsapp {
    background: var(--accent);
    color: var(--white);
}

.btn-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(242, 201, 76, 0.5);
    background: var(--secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-procedure {
        height: 40vh;
    }

    .hero-procedure h1 {
        font-size: 2rem;
    }

    .hero-procedure p {
        font-size: 1.1rem;
    }

    .procedure-section {
        padding: 3rem 1rem;
    }

    .procedure-box {
        padding: 2rem 1.5rem;
    }

    .procedure-box h2 {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .procedure-box h3 {
        font-size: 1.3rem;
    }

    .doc-grid {
        grid-template-columns: 1fr;
    }

    /* Fix contact methods pour tablette */
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-method {
        padding: 2rem;
        gap: 1.5rem;
    }

    .method-icon svg {
        width: 48px;
        height: 48px;
    }

    .method-info h4 {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .method-info a {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 1.2rem 2rem;
    }

    .list-item {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-procedure h1 {
        font-size: 1.6rem;
    }

    .procedure-box {
        padding: 1.5rem 0.8rem;
        margin-bottom: 2rem;
    }

    .procedure-box h2 {
        font-size: 1.3rem;
    }

    .doc-item,
    .list-item {
        padding: 1.5rem;
    }

    /* Fix spécifique contact box mobile - VERSION RADICALE */
    .contact-box {
        padding: 1.5rem 0.4rem !important;
    }

    .contact-box h2 {
        font-size: 1.1rem !important;
        padding: 0 0.3rem;
    }

    .contact-methods {
        gap: 0.8rem;
        margin: 1rem 0;
        padding: 0;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.3rem !important;
        gap: 0.6rem;
        min-height: auto;
    }

    .method-icon {
        font-size: 2rem;
    }

    .method-icon svg {
        width: 32px !important;
        height: 32px !important;
    }

    .method-info {
        width: 100%;
        overflow: hidden;
        padding: 0 0.2rem;
    }

    .method-info h4 {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
        margin: 0 0 0.3rem 0 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto;
        padding: 0 !important;
        font-weight: 600 !important;
    }

    .method-info a {
        font-size: 0.65rem !important;
        word-break: break-all !important;
        line-height: 1.2 !important;
        padding: 0 !important;
        display: block;
        font-weight: 600 !important;
    }

    .cta-buttons {
        margin-top: 1.5rem;
        gap: 0.8rem;
        padding: 0 0.3rem;
    }

    .btn {
        font-size: 0.75rem !important;
        padding: 0.9rem 1rem !important;
        gap: 0.3rem;
    }

    .btn svg {
        width: 14px !important;
        height: 14px !important;
    }
}

/* Fix supplémentaire pour très petits écrans */
@media (max-width: 360px) {
    .contact-box {
        padding: 1.2rem 0.3rem !important;
    }

    .contact-box h2 {
        font-size: 1rem !important;
    }

    .contact-method {
        padding: 0.8rem 0.2rem !important;
    }

    .method-icon svg {
        width: 28px !important;
        height: 28px !important;
    }

    .method-info h4 {
        font-size: 0.65rem !important;
    }

    .method-info a {
        font-size: 0.6rem !important;
    }

    .btn {
        font-size: 0.7rem !important;
        padding: 0.8rem 0.9rem !important;
    }
}