/**
 * CSS pour la page d'accueil
 * @file home.css
 * @author GN
 * @date 04/08/2026
 */

/* Graphique 80-20 */
.home-8020 {
    width: 100%;
    max-width: 760px;
    background: rgba(255,255,255,0.96);
    border: 1px solid #d9e2f5;
    border-radius: 16px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-sizing: border-box;
}
.home-8020-chart {
    flex: 0 0 auto;
}
.home-donut {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    background: conic-gradient(
        #15945b 0deg 288deg,
        #1764E8 288deg 360deg
    );
    position: relative;
}
.home-donut::after {
    content: "";
    position: absolute;
    width: 68px;
    height: 68px;
    background: #ffffff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.home-8020-content {
    flex: 1;
}
.home-8020-title {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
}
.home-8020-title span {
    color: #0b1d5b;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.home-title-line {
    height: 1px;
    background: #d9e2f5;
    flex: 1;
}
.home-8020-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.home-stat {
    padding: 0 26px;
    position: relative;
}
.home-stat:first-child {
    padding-left: 0;
}
.home-stat:last-child {
    padding-right: 0;
}
.home-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 75px;
    background: #d9e2f5;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.home-stat-value {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}
.home-stat-value.green {
    color: #15945b;
}
.home-stat-value.blue {
    color: #1764E8;
}
.home-stat-text {
    color: #0b1d5b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
}
@media (max-width: 980px) {
    .home-8020 {
        max-width: 100%;
    }
    .home-donut {
        width: 100px;
        height: 100px;
    }
    .home-donut::after {
        width: 59px;
        height: 59px;
    }
    .home-stat {
        padding: 0 18px;
    }
}
@media (max-width: 767px) {
    .home-8020 {
        flex-direction: column;
        align-items: stretch;
        padding: 22px;
        gap: 20px;
    }
    .home-8020-chart {
        display: flex;
        justify-content: center;
    }
    .home-8020-title {
        justify-content: center;
    }
    .home-title-line {
        display: none;
    }
    .home-8020-title span {
        white-space: normal;
        text-align: center;
        font-size: 19px;
    }
    .home-8020-stats {
    /*    grid-template-columns: 1fr;*/
        gap: 18px;
    }
    .home-stat {
        padding: 0;
        text-align: center;
    }
    .home-stat:not(:last-child)::after {
        display:none;
    }
}



/* Bouton secondaire - Découvrir eficios */
.home-btn-eficios {
    background-color: #ffffff !important;
    color: #226EAB !important;
    border: 1px solid #B8D5EE !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 16px !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}
.home-btn-eficios:hover {
    background-color: #F3F8FC !important;
    color: #226EAB !important;
    border-color: #226EAB !important;
}
/* Bouton principal - Demande de démo */
.home-btn-demo {
    background-color: #129653 !important;
    color: #ffffff !important;
    border: 1px solid #129653 !important;
    border-radius: 8px !important;

    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    padding: 10px 16px !important;
    white-space: nowrap;

    transition: all 0.2s ease;
}
.home-btn-demo:hover {
    background-color: #0D7F46 !important;
    border-color: #0D7F46 !important;
    color: #ffffff !important;
}


/* ZONE BLOCK  */
.home-trustbar {
    width: 100%;
    background: rgba(255,255,255,0.96);
    border: 1px solid #d9e2f5;
    border-radius: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 24px 30px;
    box-sizing: border-box;
    box-shadow: 0 8px 30px rgba(15, 36, 89, 0.04);
}

.home-trust-item {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 82px;
    padding: 0 28px;
    position: relative;
}

.home-trust-item:first-child {
    padding-left: 0;
}

.home-trust-item:last-child {
    padding-right: 0;
}

.home-trust-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: #e2e8f5;
}

.home-trust-icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    background: #fff;
    box-sizing: border-box;
}

.home-trust-icon-green {
    color: #15945b;
    border: 1.5px solid #bfe6d3;
}

.home-trust-icon-blue {
    color: #0b1d5b;
    border: 1.5px solid #cbd7f2;
}

.home-trust-icon-purple {
    color: #5d42d6;
    border: 1.5px solid #d9d0ff;
}

.home-trust-icon-orange {
    color: #f07a24;
    border: 1.5px solid #ffd4b7;
}

.home-trust-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.home-trust-text strong {
    color: #0b1d5b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.home-trust-text span {
    color: #0b1d5b;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

/* TABLETTE */
@media (max-width: 1100px) {

    .home-trustbar {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .home-trust-item {
        padding: 20px 25px;
    }

    .home-trust-item:nth-child(2)::after {
        display: none;
    }

    .home-trust-item:nth-child(-n+2) {
        border-bottom: 1px solid #e2e8f5;
    }
}

/* MOBILE */
@media (max-width: 767px) {

    .home-trustbar {
        grid-template-columns: 1fr;
        padding: 10px 22px;
    }

    .home-trust-item {
        padding: 18px 0;
    }

    .home-trust-item:not(:last-child)::after {
        display: none;
    }

    .home-trust-item:not(:last-child) {
        border-bottom: 1px solid #e2e8f5;
    }

    .home-trust-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
}

.home-arrow-circle{
    width:64px;
    height:64px;
    margin:auto;

    border-radius:50%;
    background:#123EA8;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;
    font-size:34px;

    box-shadow:0 20px 40px rgba(18,62,168,.25);
    
    margin-left: -16px;
}

.home-link-arrow{

    display:inline-flex;
    align-items:center;
    gap:8px;

    font-size:14px;
    font-weight:700;

    color:#123EA8;

    text-decoration:none;

    transition:.25s;

}

.home-link-arrow span{

    transition:.25s;

}

.home-link-arrow:hover{

    color:#15945B;

}

.home-link-arrow:hover span{

    transform:translateX(5px);

}


.home-standard-card {
    position: relative;
    overflow: hidden;
}

.home-progress-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 8px 0 20px;
}

.home-progress-value {
    flex: 0 0 auto;
    font-size: 26px;
    line-height: 1;
    font-weight: 700;
}

.home-progress-green {
    color: #15945B;
}

.home-progress-blue {
    color: #1953A8;
}

.home-progress-track {
    flex: 1;
    height: 14px;
    background: #E4EAF4;
    border-radius: 30px;
    overflow: hidden;
}

.home-progress-fill {
    height: 100%;
    border-radius: inherit;
}

.home-progress-fill-80 {
    width: 80%;
    background: linear-gradient(90deg, #15945B, #38B978);
}

.home-progress-fill-20 {
    width: 20%;
    min-width: 30px;
    background: linear-gradient(90deg, #123EA8, #216CA9);
}

.home-progress-track-small {
    max-width: 130px;
}

@media (max-width: 767px) {
    .home-progress-value {
        font-size: 22px;
    }

    .home-progress-row {
        gap: 12px;
    }
}

.home-balance-card {
    position: relative;
    overflow: hidden;
}

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

.home-balance-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 20px;
    color: #0B1D5B;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    list-style: none;
}

.home-balance-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid #15945B;
    border-radius: 50%;
    color: #15945B;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

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

.home-benefit-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #0B1D5B;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    list-style: none;
}

.home-benefit-list li::before {
    position: absolute;
    left: 0;
    top: 1px;

    width: 18px;
    height: 18px;

    border: 1.5px solid;
    border-radius: 50%;

    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;

    box-sizing: border-box;
}

/* Liste négative */
.home-benefit-list-red li::before {
    content: "×";
    color: #FF4D45;
    border-color: #FF4D45;
}

/* Liste positive */
.home-benefit-list-green li::before {
    content: "✓";
    color: #15945B;
    border-color: #15945B;
}

.home-balance-list-ia li {
    color: #F5F8FF;
    
    margin-bottom:10px;
}
.home-balance-list-ia li::before {
    color: #27D17C;
}

.home-discover-ia {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;

    padding: 11px 16px !important;

    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 8px !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16) !important;
    backdrop-filter: blur(6px) !important;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease !important;
}

.home-discover-ia:hover {
    color: #ffffff !important;
    background: rgba(53, 160, 255, 0.16) !important;
    border-color: rgba(102, 196, 255, 0.65) !important;

    box-shadow:
        0 0 12px rgba(66, 177, 255, 0.45),
        0 0 28px rgba(66, 177, 255, 0.24),
        0 10px 24px rgba(0, 0, 0, 0.2) !important;

    transform: translateY(-2px) !important;
}

.home-discover-ia:active {
    transform: translateY(0) !important;
}

.home-discover-ia::after {
    content: "→" !important;
    font-size: 17px !important;
    line-height: 1 !important;
    transition: transform 0.3s ease !important;
}

.home-discover-ia:hover::after {
    transform: translateX(4px);
}


.home-last-demande-demo {
    background-color: #129653 !important;
    color: #ffffff !important;
    border: 1px solid #129653 !important;
    border-radius: 8px !important;

    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    padding: 10px 16px !important;
    white-space: nowrap;

    transition: all 0.2s ease;
}
.home-last-demande-demo:hover {
    background-color: #0D7F46 !important;
    border-color: #0D7F46 !important;
    color: #ffffff !important;
}




.home-last-contact {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 8px !important;

    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    padding: 10px 16px !important;
    white-space: nowrap !important;

    transition: all 0.2s ease !important;
}

.home-last-contact:hover {
    background-color: rgba(53, 160, 255, 0.12) !important;
    border-color: #56C7FF !important;
    color: #ffffff !important;

    box-shadow: 0 0 15px rgba(86, 199, 255, 0.30) !important;
}