:root {
    --humana-button-color: #754c24;
    --humana-secondary: #f4caa9;
    --humana-bg: #fdfbf7;
    --humana-text: #333;
    --humana-text-light: #666;
    --humana-border: #e0e0e0;
    --humana-success: #3c763d;
    --humana-error: #a94442;
}

.humana-formations-grid {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.humana-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.humana-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.humana-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .humana-columns-3,
    .humana-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .humana-formations-grid {
        grid-template-columns: 1fr;
    }
}

.humana-formation-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.humana-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.humana-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.humana-formation-card:hover .humana-card-image img {
    transform: scale(1.05);
}

.humana-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.humana-badge-complet {
    background: var(--humana-error);
    color: #fff;
}

.humana-badge-limited {
    background: #f0ad4e;
    color: #fff;
}

.humana-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.humana-card-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--humana-button-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.humana-card-title {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.3;
}

.humana-card-title a {
    color: var(--humana-text);
    text-decoration: none;
    transition: color 0.2s;
}

.humana-card-title a:hover {
    color: var(--humana-button-color);
}

.humana-card-excerpt {
    color: var(--humana-text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.humana-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--humana-border);
}

.humana-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--humana-text-light);
}

.humana-meta-item svg {
    color: var(--humana-button-color);
    flex-shrink: 0;
}

.humana-meta-prix {
    font-weight: 600;
    color: var(--humana-button-color);
}

.humana-card-footer {
    margin-top: auto;
}

.humana-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.humana-btn-primary {
    background: var(--humana-button-color);
    color: #fff;
}

.humana-btn-primary:hover {
    background: #5a3a1c;
    color: #fff;
}

.humana-btn-secondary {
    background: var(--humana-secondary);
    color: var(--humana-button-color);
}

.humana-btn-secondary:hover {
    background: #e8b88f;
}

.humana-status-complet .humana-btn-primary,
.humana-status-fermees .humana-btn-primary {
    background: var(--humana-text-light);
}

.humana-formation-details {
    background: var(--humana-bg);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .humana-formation-details {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.humana-detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.humana-detail-icon {
    color: var(--humana-button-color);
    margin-bottom: 5px;
}

.humana-detail-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--humana-text-light);
}

.humana-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--humana-text);
}

.humana-low-places {
    color: var(--humana-error);
}

.humana-inscription-form-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.humana-inscription-form {
    max-width: 600px;
    margin: 0 auto;
}

.humana-form-field {
    margin-bottom: 20px;
}

.humana-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--humana-text);
}

.humana-form-field .required {
    color: var(--humana-error);
}

.humana-form-field input[type="text"],
.humana-form-field input[type="email"],
.humana-form-field input[type="tel"],
.humana-form-field input[type="date"],
.humana-form-field select,
.humana-form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--humana-border);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.humana-form-field input:focus,
.humana-form-field select:focus,
.humana-form-field textarea:focus {
    outline: none;
    border-color: var(--humana-button-color);
    box-shadow: 0 0 0 3px rgba(117, 76, 36, 0.1);
}

.humana-form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.humana-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.humana-checkbox-wrap input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--humana-button-color);
}

.humana-checkbox-wrap .checkbox-label,
.humana-field-rgpd label {
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
}

.humana-form-submit {
    margin-top: 25px;
}

.humana-submit-btn {
    width: 100%;
    padding: 15px 30px;
    background: var(--humana-button-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.humana-submit-btn:hover {
    background: #5a3a1c;
}

.humana-submit-btn:active {
    transform: scale(0.98);
}

.humana-submit-btn:disabled {
    background: var(--humana-text-light);
    cursor: not-allowed;
}

.humana-form-loading {
    text-align: center;
    padding: 15px;
    color: var(--humana-text-light);
}

.humana-form-loading .spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--humana-border);
    border-top-color: var(--humana-button-color);
    border-radius: 50%;
    animation: humana-spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes humana-spin {
    to {
        transform: rotate(360deg);
    }
}

.humana-form-messages {
    margin-top: 20px;
}

.humana-message {
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.humana-message-success {
    background: #dff0d8;
    color: var(--humana-success);
    border: 1px solid #c3e6cb;
}

.humana-message-error {
    background: #f2dede;
    color: var(--humana-error);
    border: 1px solid #ebcccc;
}

.humana-inscription-closed {
    background: #fcf8e3;
    color: #8a6d3b;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #faebcc;
}

.humana-no-formations {
    text-align: center;
    padding: 40px;
    color: var(--humana-text-light);
}

.humana-single-formation {
    max-width: 900px;
    margin: 0 auto;
}

.humana-formation-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.humana-formation-image img {
    width: 100%;
    height: auto;
    display: block;
}

.humana-formation-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--humana-text);
}

.humana-formation-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--humana-text);
}

.humana-formation-form-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--humana-border);
}

.humana-formation-form-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--humana-button-color);
}

.humana-standalone-form {
    max-width: 600px;
    margin: 30px auto;
}

.humana-form-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--humana-button-color);
    text-align: center;
}

.humana-error {
    background: #f2dede;
    color: var(--humana-error);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.humana-honeypot {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

.humana-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.humana-modal-active {
    opacity: 1;
    visibility: visible;
}

.humana-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.humana-modal-container {
    position: relative;
    max-width: 600px;
    max-height: 90vh;
    margin: 5vh auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.humana-modal-active .humana-modal-container {
    transform: translateY(0);
}

.humana-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: var(--humana-text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.humana-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.humana-modal-content {
    padding: 40px 30px;
    overflow-y: auto;
    flex: 1;
}

.humana-modal-title {
    font-size: 24px;
    margin: 0 0 10px;
    color: var(--humana-text);
}

.humana-modal-niveau {
    display: inline-block;
    padding: 4px 12px;
    background: var(--humana-button-color);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.humana-modal-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--humana-text-light);
    font-size: 16px;
}

.humana-modal-loading .spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--humana-border);
    border-top-color: var(--humana-button-color);
    border-radius: 50%;
    animation: humana-spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 10px;
}

.humana-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .humana-modal-container {
        margin: 0;
        max-height: 100vh;
        border-radius: 0;
    }

    .humana-modal-content {
        padding: 50px 20px 30px;
    }
}

.humana-formation-avec-niveaux {
    max-width: none;
    margin: 0;
    padding: 0;
}

.humana-hero-banner {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: var(--humana-header-height, 300px);
    max-height: var(--humana-header-height, 300px);
    overflow: hidden;
}

.humana-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.humana-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--humana-overlay-rgb, 0, 0, 0), var(--humana-overlay-opacity, 0.45));
}

.humana-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: var(--humana-header-height, 300px);
    padding: 20px;
    text-align: center;
}

.humana-hero-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--humana-button-color);
    margin-bottom: 20px;
}

.humana-hero-inner .humana-hero-label {
    color: rgba(255, 255, 255, 0.85);
}

.humana-hero-main-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.humana-hero-divider {
    display: block;
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    margin: 20px auto 0;
}

.humana-title-section {
    background: #f9f6f1;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #ebe5dc;
}

.humana-title-section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.humana-formation-main-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--humana-text);
    margin: 0;
    line-height: 1.3;
    font-style: italic;
}

.humana-simple-header {
    background: linear-gradient(135deg, var(--humana-button-color) 0%, #5a3a1c 100%);
    padding: 80px 20px;
}

.humana-simple-header-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.humana-simple-title {
    font-size: 44px;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.2;
}

.humana-simple-subtitle {
    font-size: 20px;
    margin: 0;
    opacity: 0.9;
}

.humana-formation-main {
    max-width: var(--humana-content-width, 1000px);
    margin: 0 auto;
    padding: 60px 30px;
}

.humana-formation-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--humana-text);
    margin-bottom: 60px;
}

.humana-formation-description p {
    margin-bottom: 1.5em;
}

.humana-niveaux-section {
    margin: 0;
}

.humana-niveaux-heading {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 50px;
    color: var(--humana-text);
    position: relative;
}

.humana-niveaux-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--humana-button-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.humana-niveaux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--humana-card-spacing, 30px);
}

.humana-niveau-item {
    background: var(--humana-card-bg, #fff);
    border: 1px solid var(--humana-border, #e8e0d5);
    border-radius: var(--humana-border-radius-lg, 16px);
    padding: 35px 30px;
    transition: all var(--humana-transition, 0.3s) ease;
    display: flex;
    flex-direction: column;
}

.humana-niveau-item:hover {
    box-shadow: 0 12px 35px rgba(117, 76, 36, 0.12);
    transform: translateY(-6px);
    border-color: var(--humana-secondary);
}

.humana-niveau-item-closed {
    opacity: 0.65;
}

.humana-niveau-item-closed:hover {
    transform: none;
    box-shadow: none;
}

.humana-niveau-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.humana-niveau-number {
    display: inline-block;
    background: var(--humana-button-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.humana-niveau-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: auto;
}

.humana-niveau-tag-closed {
    background: #fce4e4;
    color: #c53030;
}

.humana-niveau-tag-full {
    background: #fef3cd;
    color: #856404;
}

.humana-niveau-item-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 15px;
    color: var(--humana-text);
    line-height: 1.3;
}

.humana-niveau-item-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--humana-text-light);
    margin-bottom: 20px;
    flex: 1;
}

.humana-niveau-item-desc p:last-child {
    margin-bottom: 0;
}

.humana-niveau-item-places {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #f8f6f3;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--humana-text-light);
}

.humana-niveau-item-places svg {
    color: var(--humana-button-color);
    flex-shrink: 0;
}

.humana-niveau-item-places.humana-places-low {
    background: #fef3cd;
    color: #856404;
}

.humana-niveau-item-places.humana-places-low svg {
    color: #856404;
}

.humana-niveau-item-action {
    margin-top: auto;
}

.humana-niveau-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: var(--humana-button-color);
    color: #fff;
    border: none;
    border-radius: var(--humana-button-radius, 10px);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.humana-niveau-btn:hover {
    background: #5a3a1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(117, 76, 36, 0.25);
}

.humana-niveau-btn-disabled {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: #e0e0e0;
    color: #888;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: not-allowed;
    text-align: center;
}

.humana-niveau-selected {
    background: var(--humana-secondary);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    margin-top: 15px;
    display: inline-block;
}

.humana-niveau-selected span {
    color: var(--humana-button-color);
    font-weight: 600;
}

.humana-change-niveau {
    margin-left: 15px;
    color: var(--humana-button-color);
    text-decoration: underline;
    cursor: pointer;
}

.humana-change-niveau:hover {
    color: #5a3a1c;
}

@media (max-width: 768px) {
    .humana-hero-banner {
        height: 200px;
        max-height: 200px;
    }

    .humana-hero-inner {
        height: 200px;
        padding: 20px;
    }

    .humana-hero-main-title {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .humana-simple-header {
        padding: 50px 20px;
    }

    .humana-simple-title {
        font-size: 30px;
    }

    .humana-formation-main {
        padding: 40px 20px;
    }

    .humana-niveaux-heading {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .humana-niveaux-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .humana-niveau-item {
        padding: 25px 20px;
    }

    .humana-niveau-item-title {
        font-size: 20px;
    }
}

.humana-inscription-cta {
    text-align: center;
    padding: 30px 0;
    margin: 30px 0;
}

.humana-btn-large {
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 10px;
}

.humana-inscription-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.humana-inscription-modal[style*="block"] {
    display: flex !important;
}

.humana-inscription-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.humana-inscription-modal-content {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 550px;
    max-height: calc(100vh - 40px);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: humana-modal-slide-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

@keyframes humana-modal-slide-in {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.humana-inscription-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(0, 0, 0, 0.08);
    color: var(--humana-text);
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.humana-inscription-modal-close:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

.humana-inscription-modal-close svg {
    width: 20px;
    height: 20px;
}

.humana-inscription-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--humana-border);
    text-align: center;
}

.humana-inscription-modal-header h3 {
    font-size: 26px;
    margin: 0 0 8px;
    color: var(--humana-button-color);
}

.humana-modal-formation-title {
    font-size: 16px;
    color: var(--humana-text-light);
    margin: 0;
}

.humana-inscription-modal-header .humana-niveau-selected {
    background: var(--humana-secondary);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 15px;
    display: inline-block;
}

.humana-inscription-modal-header .humana-niveau-selected span {
    color: var(--humana-button-color);
    font-weight: 600;
}

.humana-inscription-modal-body {
    padding: 25px 30px 30px;
    overflow-y: auto;
    flex: 1;
}

.humana-inscription-modal-body .humana-inscription-form-wrapper {
    box-shadow: none;
    padding: 0;
    margin: 0;
    background: transparent;
}

.humana-inscription-modal-body .humana-inscription-form {
    max-width: none;
}

body.humana-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .humana-inscription-modal-content {
        width: 100%;
        max-width: none;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
    }

    .humana-inscription-modal-header {
        padding: 25px 20px 15px;
    }

    .humana-inscription-modal-header h3 {
        font-size: 22px;
    }

    .humana-inscription-modal-body {
        padding: 20px;
    }

    .humana-btn-large {
        width: 100%;
        padding: 16px 30px;
    }
}

.humana-template-minimal .humana-hero-banner {
    display: none;
}

.humana-template-minimal .humana-simple-header {
    padding: 40px 20px;
    background: var(--humana-secondary);
}

.humana-template-minimal .humana-simple-header-inner {
    color: var(--humana-text);
}

.humana-template-minimal .humana-simple-title {
    font-size: 32px;
}

.humana-template-minimal .humana-formation-main {
    padding-top: 40px;
}

.humana-template-splitscreen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.humana-template-splitscreen .humana-hero-banner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    margin-left: 0;
}

.humana-template-splitscreen .humana-hero-banner,
.humana-template-splitscreen .humana-hero-inner {
    max-height: none;
}

.humana-template-splitscreen .humana-formation-main {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.humana-template-splitscreen .humana-niveaux-section {
    margin-top: 40px;
}

@media (max-width: 992px) {
    .humana-template-splitscreen {
        grid-template-columns: 1fr;
    }

    .humana-template-splitscreen .humana-hero-banner {
        min-height: 300px;
    }
}

.humana-template-immersive .humana-hero-banner {
    height: 100vh;
    max-height: 100vh;
}

.humana-template-immersive .humana-hero-inner {
    height: 100vh;
}

.humana-template-immersive .humana-hero-main-title {
    font-size: 56px;
}

.humana-template-immersive .humana-hero-label {
    font-size: 18px;
    letter-spacing: 5px;
}

.humana-template-immersive .humana-hero-divider {
    width: 100px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .humana-template-immersive .humana-hero-main-title {
        font-size: 32px;
    }
}

.humana-parallax .humana-hero-bg {
    background-attachment: fixed;
}

@supports (-webkit-touch-callout: none) {
    .humana-parallax .humana-hero-bg {
        background-attachment: scroll;
    }
}

.humana-card-layout-list .humana-niveaux-grid {
    display: flex;
    flex-direction: column;
}

.humana-card-layout-list .humana-niveau-item {
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.humana-card-layout-list .humana-niveau-item-header {
    flex-shrink: 0;
    margin-bottom: 0;
}

.humana-card-layout-list .humana-niveau-item-desc {
    flex: 1;
    margin-bottom: 0;
}

.humana-card-layout-list .humana-niveau-item-places {
    flex-shrink: 0;
    margin-bottom: 0;
}

.humana-card-layout-list .humana-niveau-item-action {
    flex-shrink: 0;
    margin-top: 0;
}

@media (max-width: 768px) {
    .humana-card-layout-list .humana-niveau-item {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .humana-card-layout-list .humana-niveau-item-desc {
        margin-bottom: 15px;
    }
}

.humana-card-layout-accordion .humana-niveaux-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.humana-card-layout-accordion .humana-niveau-item {
    border-radius: 0;
    border-bottom: 1px solid var(--humana-border);
}

.humana-card-layout-accordion .humana-niveau-item:first-child {
    border-radius: var(--humana-border-radius, 12px) var(--humana-border-radius, 12px) 0 0;
}

.humana-card-layout-accordion .humana-niveau-item:last-child {
    border-radius: 0 0 var(--humana-border-radius, 12px) var(--humana-border-radius, 12px);
    border-bottom: none;
}

.humana-entrance-fade {
    opacity: 0;
    animation: humanaFadeIn 0.6s ease forwards;
}

.humana-entrance-slide {
    opacity: 0;
    transform: translateY(30px);
    animation: humanaSlideUp 0.6s ease forwards;
}

.humana-niveau-item:nth-child(1) { animation-delay: 0s; }
.humana-niveau-item:nth-child(2) { animation-delay: 0.1s; }
.humana-niveau-item:nth-child(3) { animation-delay: 0.2s; }
.humana-niveau-item:nth-child(4) { animation-delay: 0.3s; }
.humana-niveau-item:nth-child(5) { animation-delay: 0.4s; }
.humana-niveau-item:nth-child(6) { animation-delay: 0.5s; }

@keyframes humanaFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes humanaSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
