:root {
    --brand-blue: #182972!important;
    --brand-light: #f8f9fa;
    --brand-accent: #2c3e8c;
    --text-gray: #4b5563;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fafafa;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 30px 30px;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.illustration-area {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-circle-container {
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    z-index: 2;
    flex-shrink: 0;
    background: white;
}

.step-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 1;
}

.step-image.active-img {
    opacity: 1;
    z-index: 2;
}

.wave-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-color: var(--brand-blue);
    clip-path: polygon(0 15%, 15% 10%, 35% 25%, 55% 15%, 75% 25%, 100% 10%, 100% 100%, 0% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    z-index: 3;
}

.step-text-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 15px;
}

.step-word-bg {
    color: rgba(255, 255, 255, 0.15);
    font-size: 4.5rem;
    font-weight: 800;
    /* letter-spacing: 2px; */
    user-select: none;
    line-height: 1;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

.step-number {
    position: absolute;
    color: white;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.8);
}

.step-number.active-num {
    opacity: 1;
    transform: scale(1);
}

.nav-buttons-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 435px;
    z-index: 2;
    position: relative;
    margin-left: 20px;
}

.icon-btn {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 0;
    outline: none;
}

.icon-btn.active {
    background-color: var(--brand-blue);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 10px 20px rgba(27, 39, 85, 0.3);
    border-color: var(--brand-blue);
}

.icon-btn:hover:not(.active) {
    background-color: #f8f9fc;
    transform: translateY(-3px) scale(1.05);
}

.icon-btn i {
    font-size: 50px;
}

@media (min-width: 992px) {
    #btn-step-2 {
        margin-left: 60px;
    }
}

@media (max-width: 991px) {
    #btn-step-2 {
        margin-top: 30px;
    }
}

#svg-lines-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Ajout d'espace supplémentaire via le padding gauche sur grand écran */
.content-area {
    padding-left: 3.5rem; 
}

.step-title {
    color: #141417;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 27px;
}

.step-description {
    /* color: var(--text-gray); */
    /* font-size: 1.1rem; */
    /* line-height: 1.7; */
    margin-bottom: 2rem;
    text-align: justify;
}

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

.custom-list li {
    position: relative;
    color: #6e6e6e;
    display: flex;
    align-items: center;

    font-size: 16px;
    line-height: 26px;
    padding-left: 30px;
    margin-bottom: 11px;
}

.custom-list li:before {
    position: absolute;
    content: "\e90a";
    font-family: 'icomoon';
    font-size: 16px;
    left: 0px;
    top: 0px;
}

.custom-list li:before {
    color: var(--main-color);
}

.btn-brand {
    background-color: var(--brand-blue);
    color: white;
    padding: 14px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    /* border-radius: 4px; */
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(27, 39, 85, 0.2);
    margin-top: 1rem; /* Espace au dessus du bouton */
}

.btn-brand:hover {
    background-color: var(--brand-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(27, 39, 85, 0.3);
}

.fade-container {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-out {
    opacity: 0;
    transform: translateY(15px);
}

.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.custom-modal-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.custom-modal-overlay.show .custom-modal-box {
    transform: scale(1);
}

@media (max-width: 991px) {
    .illustration-area {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    .nav-buttons-column {
        flex-direction: row;
        height: auto;
        width: 100%;
        max-width: 380px;
        margin-left: 0;
    }
    .content-area {
        padding-left: 0;
        text-align: center;
    }
    .custom-list li {
        justify-content: center;
        padding-left: 0;
    }
    .custom-list li::before {
        position: relative;
        margin-right: 10px;
        left: auto;
    }
    #svg-lines-container {
        display: none;
    }
}

@media (max-width: 500px) {
    .main-circle-container {
        width: 300px;
        height: 300px;
    }
    .icon-btn {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
}