/* Tablet / Desktop Small (max-width: 1200px) */
@media (max-width: 1200px) {
    .content-grid {
        flex-direction: column;
        gap: 40px;
    }

    .left-column,
    .right-column {
        width: 100%;
    }

    .right-column .form-card {
        position: static;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .action-btns {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }

    .domains-grid {
        grid-template-columns: 1fr;
        gap: 60px 40px;
    }
}

/* Tablet / Mobile Large (max-width: 790px) */
@media (max-width: 790px) {
    .element-formalite-niv2-screen {
        padding-top: 100px !important;
    }

    .container {
        padding: 0 20px !important;
    }

    .breadcrumb {
        padding: 10px 0 !important;
        font-size: 14px !important;
    }

    .header-area {
        text-align: center !important;
        margin-bottom: 30px !important;
    }

    .formalite-tag {
        font-size: 14px !important;
    }

    .page-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .chapo,
    .chapo p {
        font-size: 14px !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }

    .description-text,
    .description-text p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .description-text h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .description-text h2 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    .description-text h3 {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    .docs-section h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .docs-section h3 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    .doc-group h4 {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    .doc-list li {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .form-card {
        padding: 24px !important;
    }

    .form-card h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .form-group label,
    .form-group input,
    .form-group textarea,
    .checkbox-group label,
    .form-note {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .domains-grid {
        grid-template-columns: 1fr !important;
        gap: 60px 20px !important;
        margin-top: 40px !important;
    }

    .domain-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 50px 20px 30px !important;
    }

    .domain-category-badge {
        width: 200px !important;
        height: 56px !important;
        top: -28px !important;
    }

    .domain-category-badge h3 {
        font-size: 13px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }

    .domain-list li {
        flex-wrap: wrap !important;
        height: auto !important;
        min-height: 40px !important;
    }

    .domain-list li a {
        font-size: 14px !important;
    }

    .pre-footer {
        padding: 60px 20px !important;
    }

    .pre-footer h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .pre-footer p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}

/* Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .element-formalite-niv2-screen {
        padding-top: 100px !important;
    }

    .container {
        padding: 0 15px !important;
    }

    .breadcrumb {
        padding: 10px 0 !important;
        font-size: 13px !important;
    }

    .header-area {
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    .formalite-tag {
        font-size: 13px !important;
    }

    .page-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .chapo,
    .chapo p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }

    .description-text,
    .description-text p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .description-text h1 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .description-text h2 {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    .description-text h3 {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }

    .docs-section h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .docs-section h3 {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    .doc-group h4 {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }

    .doc-list li {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .form-card {
        padding: 20px !important;
    }

    .form-card h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .form-group label,
    .form-group input,
    .form-group textarea,
    .checkbox-group label,
    .form-note {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .pre-footer {
        padding: 50px 15px !important;
    }

    .pre-footer h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .pre-footer p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .domains-grid {
        gap: 50px 15px !important;
        margin-top: 30px !important;
    }

    .domain-card {
        padding: 45px 15px 25px !important;
    }

    .domain-category-badge {
        width: 180px !important;
        height: 50px !important;
        top: -25px !important;
    }

    .domain-category-badge h3 {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
}