.element-formalite-niv2-screen {
    background-color: #fcfdfd;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    margin-top: 70px;
}

.container {
    max-width: 1400px;
    /* Widened from 1200px */
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- Navigation / Breadcrumb --- */
.breadcrumb {
    padding: 30px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #64748B;
}

.breadcrumb a {
    color: #3E5FBC;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb span {
    margin: 0 10px;
    opacity: 0.5;
}

/* --- Page Title Area --- */
.header-area {
    margin-bottom: 40px;
    width: 100%;
}

.formalite-tag {
    color: #030303;
    background-color: #BFF5D9;
    font-family: 'Open Sauce One', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
}

.page-title {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1B2F53;
    margin-bottom: 20px;
}

.chapo {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #64748B;
    margin-bottom: 30px;
}

.chapo p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #64748B;
    margin-bottom: 16px;
}

.chapo p:last-child {
    margin-bottom: 0;
}

/* --- Layout Grid --- */
.content-grid {
    display: flex;
    gap: 60px;
    margin-bottom: 100px;
}

.left-column {
    flex: 1.8;
}

.right-column {
    flex: 1;
}

/* --- Documents Section --- */
.docs-section {
    margin-bottom: 60px;
}

.docs-section h2 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #3E5FBC;
    margin-bottom: 30px;
    line-height: 1.3;
}

.docs-section h3 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #3E5FBC;
    margin-bottom: 30px;
}

.doc-group {
    margin-bottom: 30px;
}

.doc-group h4 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #3E5FBC;
    margin-bottom: 16px;
    line-height: 1.3;
}

.doc-list {
    list-style: none;
    padding: 0;
}

.doc-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #4B5563;
    line-height: 1.5;
}

.doc-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3E5FBC;
    font-weight: bold;
}

.description-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: 30px;
}

.description-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: 16px;
}

.description-text h1 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1B2F53;
    margin-bottom: 20px;
    margin-top: 20px;
}

.description-text h2 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1B2F53;
    margin-bottom: 18px;
    margin-top: 18px;
}

.description-text h3 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #3E5FBC;
    margin-bottom: 16px;
    margin-top: 16px;
}

.description-text h4 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #3E5FBC;
    margin-bottom: 14px;
    margin-top: 14px;
    line-height: 1.3;
}

.description-text h5,
.description-text h6 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1B2F53;
    margin-bottom: 12px;
    margin-top: 12px;
}

.description-text ul,
.description-text ol {
    margin-left: 20px;
    margin-bottom: 16px;
    padding-left: 20px;
}

.description-text li {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: 8px;
}

.description-text strong {
    font-weight: 700;
    color: #1B2F53;
}

.description-text a {
    color: #3E5FBC;
    text-decoration: underline;
}

.description-text a:hover {
    color: #1B2F53;
}

/* --- Domain Grid Styles (pour les listes de formalités) --- */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 40px;
    margin-top: 80px;
}

/* Une seule carte : pleine largeur (comme sur /formalites) */
.domains-grid:has(.domain-card:only-child) {
    grid-template-columns: 1fr;
}

.domain-card {
    position: relative;
    border: 1px solid #3E5FBC;
    border-radius: 20px;
    padding: 60px 20px 40px 20px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
}

.domain-category-badge {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 60px;
    background: #F2F2F2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.domain-category-badge h3 {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #3E5FBC;
    text-transform: uppercase;
    margin: 0;
}

.sub-category-title {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #3E5FBC;
    margin: 20px 0 10px 0;
    line-height: 1.3;
}

.domain-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.domain-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    height: 40px;
}

.domain-list li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #030303;
    text-decoration: none;
    letter-spacing: 0.25px;
}

.domain-list li img {
    width: 24px;
    height: 24px;
}

/* Section label (aligné avec page /formalites) */
.section-label {
    color: #3E5FBC;
    font-family: 'Open Sauce One', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.section-label .vector-underline {
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #BFF5D9;
}

.doc-list li a {
    color: #3E5FBC;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 10px;
}

.doc-list li a:hover {
    color: #1B2F53;
}

.action-btns {
    display: flex;
    gap: 16px;
    margin: 40px 0;
}

.btn-icon-blue {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #3E5FBC;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-icon-outline {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1.5px solid #3E5FBC;
    color: #3E5FBC;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* --- Other Formalities --- */
.other-formalites h3 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #3E5FBC;
    margin-bottom: 24px;
    line-height: 1.3;
}

.other-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.other-list li {
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
}

.other-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #64748B;
}

.other-list a::before {
    content: "→";
    color: #3E5FBC;
    font-weight: bold;
}

.btn-view-all {
    display: inline-block;
    background: #F0F4FF;
    color: #3E5FBC;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

/* --- Form Card (Same as Niv 1) --- */
.form-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 40px;
    position: sticky;
    top: 40px;
}

.form-label-top {
    font-family: 'Open Sauce One', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #3E5FBC;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
}

.form-label-top .vector-underline {
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #BFF5D9;
}

.form-card h2 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #3E5FBC;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1B2F53;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.checkbox-group {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.checkbox-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #030303;
    line-height: 20px;
    letter-spacing: 0.04px;
}

.btn-submit {
    width: 100%;
    background: #3E5FBC;
    color: white;
    padding: 16px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.form-note {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.25px;
    color: #3E5FBC;
    margin-top: 24px;
}

.form-note strong {
    font-weight: 700;
}

.form-note-privacy {
    margin-top: 15px;
    font-size: 12px;
    line-height: 16px;
    color: #030303;
}

.form-note-privacy a {
    color: #3E5FBC;
    text-decoration: underline;
}

/* --- Pre-Footer --- */
.pre-footer {
    background: linear-gradient(86.6deg, #1B2F53 12.33%, #3E5FBC 78.34%);
    padding: 80px 0;
    width: 100%;
    color: white;
    text-align: center;
}

.pre-footer h2 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pre-footer h2 span {
    text-decoration: underline;
    text-underline-offset: 8px;
}

.pre-footer p {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 30px;
    opacity: 0.9;
}

.pre-footer .btn-white {
    background: white;
    color: #3E5FBC;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.pre-footer .btn-white:hover {
    transform: scale(1.05);
}