/* ==================================================
   Orchelya — Section Tout-en-un
   ================================================== */

.orchelya-tools-section {
    position: relative;
    overflow: hidden;
    padding-top: 118px !important;
    padding-bottom: 120px;
    background:
        radial-gradient(
            circle at 8% 54%,
            rgba(205, 179, 152, 0.15),
            rgba(205, 179, 152, 0) 24%
        ),
        radial-gradient(
            circle at 91% 25%,
            rgba(236, 95, 74, 0.07),
            rgba(236, 95, 74, 0) 22%
        ),
        #FDFAF9;
}

.orchelya-tools-section .container {
    position: relative;
    z-index: 3;
    width: min(1420px, calc(100% - 64px));
    max-width: 1420px;
}

.orchelya-tools-decoration {
    position: absolute;
    z-index: 1;
    width: 210px;
    height: 210px;
    pointer-events: none;
    opacity: 0.48;
    background-image:
        radial-gradient(
            circle,
            rgba(236, 95, 74, 0.62) 0 2px,
            transparent 2.4px
        );
    background-position: 0 0;
    background-size: 22px 22px;
}

.orchelya-tools-decoration-left {
    bottom: 390px;
    left: 42px;
}

.orchelya-tools-decoration-right {
    top: 110px;
    right: 34px;
}

.orchelya-tools-heading {
    width: min(910px, 100%);
    margin: 0 auto 58px;
}

.orchelya-tools-heading .tz-sub-tilte {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.orchelya-tools-heading .sub-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 7px 14px 7px 9px;
    border: 1px solid rgba(205, 179, 152, 0.32);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: #897664;
    box-shadow: 0 12px 32px rgba(36, 36, 35, 0.045);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.orchelya-tools-heading .sub-title b {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #EC5F4A;
    font-size: inherit;
    font-weight: 700;
}

.orchelya-tools-heading .sub-title i {
    font-size: 12px;
}

.orchelya-tools-heading h2 {
    max-width: 900px;
    margin: 0 auto;
    color: #242423;
    font-size: clamp(50px, 5.1vw, 76px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.orchelya-tools-title-accent {
    color: #C09372;
}

.orchelya-tools-introduction {
    max-width: 780px;
    margin: 24px auto 0;
    color: #5F5E5B;
    font-size: 18px;
    line-height: 1.7;
}

.orchelya-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 0;
}

.orchelya-tools-grid .advance-item {
    min-width: 0;
}

.orchelya-tools-section .orchelya-tool-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 30px 29px 28px;
    border: 1px solid rgba(137, 118, 100, 0.14);
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow:
        0 22px 54px rgba(36, 36, 35, 0.055),
        inset 0 0 0 1px rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform-origin: center;
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .orchelya-tools-section .orchelya-tool-card:hover {
        z-index: 4;
        border-color: rgba(236, 95, 74, 0.26);
        box-shadow:
            0 30px 68px rgba(36, 36, 35, 0.085),
            0 10px 28px rgba(236, 95, 74, 0.05);
        transform: translateY(-7px) scale(1.012);
    }
}

.orchelya-tool-icon {
    display: inline-flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(236, 95, 74, 0.12);
    border-radius: 17px;
    background:
        linear-gradient(
            145deg,
            #F4EFE7 0%,
            #FBE9E5 100%
        );
    color: #EC5F4A;
    font-size: 29px;
    box-shadow: 0 13px 30px rgba(137, 118, 100, 0.08);
}

.orchelya-tool-card .title {
    margin: 0;
    color: #242423;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.orchelya-tool-description {
    min-height: 82px;
    margin: 12px 0 0;
    color: #62615E;
    font-size: 15px;
    line-height: 1.65;
}

.orchelya-tool-divider {
    display: block;
    width: 100%;
    height: 1px;
    margin: 22px 0 20px;
    background:
        linear-gradient(
            90deg,
            rgba(205, 179, 152, 0.42),
            rgba(205, 179, 152, 0.1)
        );
}

.orchelya-tool-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.orchelya-tool-list li {
    display: grid;
    grid-template-columns: 17px 1fr;
    gap: 10px;
    align-items: start;
    color: #4F4D4A;
    font-size: 14px;
    line-height: 1.45;
}

.orchelya-tool-list i {
    margin-top: 3px;
    color: #EC5F4A;
    font-size: 13px;
}

.orchelya-cockpit {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(700px, 1.78fr);
    min-height: 500px;
    margin-top: 38px;
    overflow: hidden;
    border: 1px solid rgba(205, 179, 152, 0.4);
    border-radius: 25px;
    background:
        linear-gradient(
            135deg,
            rgba(244, 239, 231, 0.72) 0%,
            rgba(255, 255, 255, 0.88) 44%,
            rgba(251, 233, 229, 0.42) 100%
        );
    box-shadow:
        0 28px 72px rgba(36, 36, 35, 0.06),
        inset 0 0 0 1px rgba(255, 255, 255, 0.44);
}

.orchelya-cockpit-copy {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 52px 38px 52px 48px;
}

.orchelya-cockpit-eyebrow {
    display: block;
    margin-bottom: 17px;
    color: #EC5F4A;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.orchelya-cockpit-copy h3 {
    margin: 0;
    color: #242423;
    font-size: clamp(34px, 3.1vw, 49px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.orchelya-cockpit-copy h3 span {
    color: #C09372;
}

.orchelya-cockpit-orchestra {
    display: block;
    margin-top: 10px;
    color: #EC5F4A;
    font-size: clamp(24px, 2.05vw, 33px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.orchelya-cockpit-copy p {
    max-width: 390px;
    margin: 24px 0 28px;
    color: #5F5E5B;
    font-size: 16px;
    line-height: 1.7;
}

.orchelya-tools-cta {
    text-transform: none;
}

.orchelya-tools-cta .theme-btn {
    text-transform: none;
}

.orchelya-dashboard-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 164px minmax(0, 1fr);
    min-width: 0;
    min-height: 500px;
    overflow: hidden;
    border-left: 1px solid rgba(137, 118, 100, 0.12);
    border-radius: 25px 0 0 25px;
    background: #F9F8F6;
    box-shadow: -24px 0 58px rgba(36, 36, 35, 0.055);
}

.orchelya-dashboard-sidebar {
    padding: 26px 18px;
    background:
        linear-gradient(
            180deg,
            #2C2D2F 0%,
            #242423 100%
        );
    color: #FFFFFF;
}

.orchelya-dashboard-brand {
    display: flex;
    min-height: 48px;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 6px;
}

.orchelya-dashboard-brand img {
    display: block;
    width: 118px;
    max-height: 38px;
    object-fit: contain;
    object-position: left center;
}

.orchelya-dashboard-navigation {
    display: grid;
    gap: 5px;
}

.orchelya-dashboard-navigation span {
    display: grid;
    grid-template-columns: 21px 1fr;
    gap: 9px;
    min-height: 38px;
    align-items: center;
    padding: 9px 9px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    line-height: 1.2;
}

.orchelya-dashboard-navigation span.is-active {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}

.orchelya-dashboard-navigation span.is-active::after {
    position: absolute;
    top: 7px;
    right: -9px;
    bottom: 7px;
    width: 2px;
    border-radius: 999px;
    background: #EC5F4A;
    content: "";
}

.orchelya-dashboard-navigation i {
    color: inherit;
    font-size: 12px;
}

.orchelya-dashboard-content {
    min-width: 0;
    padding: 26px 25px 22px;
}

.orchelya-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 19px;
}

.orchelya-dashboard-header div > span {
    display: block;
    margin-bottom: 3px;
    color: #8B8883;
    font-size: 9px;
    text-transform: uppercase;
}

.orchelya-dashboard-header h4 {
    margin: 0;
    color: #242423;
    font-size: 20px;
    font-weight: 700;
}

.orchelya-dashboard-period {
    display: inline-flex;
    min-height: 35px;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(137, 118, 100, 0.15);
    border-radius: 8px;
    background: #FFFFFF;
    color: #55524E;
    font-size: 10px;
}

.orchelya-dashboard-period i:last-child {
    margin-left: 3px;
    font-size: 8px;
}

.orchelya-dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 13px;
}

.orchelya-dashboard-kpis article {
    min-width: 0;
    min-height: 112px;
    padding: 15px 14px;
    border: 1px solid rgba(137, 118, 100, 0.11);
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 8px 21px rgba(36, 36, 35, 0.025);
}

.orchelya-dashboard-kpis article > span {
    display: block;
    min-height: 25px;
    color: #73706B;
    font-size: 9px;
    line-height: 1.3;
}

.orchelya-dashboard-kpis article > strong {
    display: block;
    margin-top: 7px;
    color: #242423;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.orchelya-dashboard-kpis article > small {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-top: 10px;
    color: #4BAA70;
    font-size: 8px;
}

.orchelya-dashboard-score > div {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 5px;
}

.orchelya-dashboard-score > div small {
    color: #4BAA70;
    font-size: 8px;
}

.orchelya-score-ring {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at center,
            #FFFFFF 57%,
            transparent 59%
        ),
        conic-gradient(
            #4BAA70 0deg 331deg,
            #E8E6E1 331deg 360deg
        );
}

.orchelya-score-ring b {
    color: #242423;
    font-size: 14px;
}

.orchelya-dashboard-charts {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(190px, 0.85fr);
    gap: 13px;
}

.orchelya-dashboard-charts > article {
    min-width: 0;
    min-height: 225px;
    padding: 16px 15px;
    border: 1px solid rgba(137, 118, 100, 0.11);
    border-radius: 10px;
    background: #FFFFFF;
}

.orchelya-dashboard-line-chart header,
.orchelya-dashboard-traffic header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.orchelya-dashboard-line-chart header span,
.orchelya-dashboard-traffic header span {
    display: block;
    margin-bottom: 2px;
    color: #77736D;
    font-size: 8px;
    text-transform: uppercase;
}

.orchelya-dashboard-line-chart header strong,
.orchelya-dashboard-traffic header strong {
    display: block;
    color: #242423;
    font-size: 11px;
    font-weight: 700;
}

.orchelya-dashboard-line-chart header small {
    color: #4BAA70;
    font-size: 9px;
}

.orchelya-dashboard-line-chart svg {
    display: block;
    width: 100%;
    height: 138px;
    margin-top: 7px;
    overflow: visible;
}

.orchelya-chart-area {
    fill: url("#orchelyaChartGradient");
}

.orchelya-chart-line {
    fill: none;
    stroke: #EC5F4A;
    stroke-width: 5;
    stroke-linecap: round;
}

.orchelya-dashboard-line-chart footer {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    color: #8B8883;
    font-size: 7px;
}

.orchelya-dashboard-traffic-body {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 29px;
}

.orchelya-traffic-donut {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at center,
            #FFFFFF 0 39%,
            transparent 41%
        ),
        conic-gradient(
            #EC5F4A 0deg 263deg,
            #CDB398 263deg 317deg,
            #94918B 317deg 342deg,
            #2C2D2F 342deg 360deg
        );
}

.orchelya-dashboard-traffic ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.orchelya-dashboard-traffic li {
    display: grid;
    grid-template-columns: 7px 1fr auto;
    gap: 6px;
    align-items: center;
    color: #65615C;
    font-size: 8px;
}

.orchelya-dashboard-traffic li > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.orchelya-dashboard-traffic li span.is-coral {
    background: #EC5F4A;
}

.orchelya-dashboard-traffic li span.is-beige {
    background: #CDB398;
}

.orchelya-dashboard-traffic li span.is-grey {
    background: #94918B;
}

.orchelya-dashboard-traffic li span.is-dark {
    background: #2C2D2F;
}

.orchelya-dashboard-traffic li b {
    color: #242423;
    font-size: 8px;
}

@media (max-width: 1399px) {
    .orchelya-tools-section .container {
        width: min(1260px, calc(100% - 48px));
    }

    .orchelya-tool-description {
        min-height: 105px;
    }

    .orchelya-cockpit {
        grid-template-columns: minmax(280px, 0.68fr) minmax(620px, 1.72fr);
    }

    .orchelya-cockpit-copy {
        padding-left: 36px;
        padding-right: 28px;
    }

    .orchelya-dashboard-shell {
        grid-template-columns: 145px minmax(0, 1fr);
    }

    .orchelya-dashboard-content {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (max-width: 1199px) {
    .orchelya-tools-section {
        padding-top: 94px !important;
        padding-bottom: 95px;
    }

    .orchelya-tools-section .container {
        width: min(920px, calc(100% - 40px));
    }

    .orchelya-tools-grid {
        grid-template-columns: 1fr;
    }

    .orchelya-tool-description {
        min-height: 0;
    }

    .orchelya-cockpit {
        grid-template-columns: 1fr;
    }

    .orchelya-cockpit-copy {
        align-items: center;
        padding: 48px 38px;
        text-align: center;
    }

    .orchelya-cockpit-copy p {
        margin-right: auto;
        margin-left: auto;
    }

    .orchelya-dashboard-shell {
        min-height: 470px;
        border-top: 1px solid rgba(137, 118, 100, 0.12);
        border-left: 0;
        border-radius: 0;
    }
}

@media (max-width: 767px) {
    .orchelya-tools-section {
        padding-top: 74px !important;
        padding-bottom: 74px;
    }

    .orchelya-tools-section .container {
        width: calc(100% - 28px);
    }

    .orchelya-tools-heading {
        margin-bottom: 43px;
    }

    .orchelya-tools-heading .sub-title {
        font-size: 10px;
    }

    .orchelya-tools-heading h2 {
        font-size: clamp(38px, 11.8vw, 52px);
    }

    .orchelya-tools-introduction {
        margin-top: 20px;
        font-size: 16px;
    }

    .orchelya-tools-section .orchelya-tool-card {
        padding: 25px 21px;
        border-radius: 18px;
    }

    .orchelya-tool-icon {
        width: 59px;
        height: 59px;
        margin-bottom: 20px;
        font-size: 25px;
    }

    .orchelya-tool-card .title {
        font-size: 19px;
    }

    .orchelya-tool-description {
        font-size: 14px;
    }

    .orchelya-cockpit {
        margin-top: 27px;
        border-radius: 19px;
    }

    .orchelya-cockpit-copy {
        padding: 39px 21px;
    }

    .orchelya-cockpit-copy h3 {
        font-size: clamp(35px, 10.8vw, 47px);
    }

    .orchelya-cockpit-orchestra {
        font-size: clamp(24px, 7.6vw, 31px);
    }

    .orchelya-dashboard-shell {
        grid-template-columns: 66px minmax(0, 1fr);
        min-height: 390px;
    }

    .orchelya-dashboard-sidebar {
        padding: 18px 9px;
    }

    .orchelya-dashboard-brand {
        justify-content: center;
        padding: 0;
    }

    .orchelya-dashboard-brand img {
        width: 43px;
        height: 43px;
        object-fit: contain;
        object-position: center;
    }

    .orchelya-dashboard-navigation span {
        display: flex;
        justify-content: center;
        padding: 9px 4px;
        font-size: 0;
    }

    .orchelya-dashboard-navigation span i {
        font-size: 14px;
    }

    .orchelya-dashboard-content {
        padding: 18px 12px;
    }

    .orchelya-dashboard-header {
        align-items: flex-start;
    }

    .orchelya-dashboard-header h4 {
        font-size: 16px;
    }

    .orchelya-dashboard-period {
        padding: 7px;
        font-size: 0;
    }

    .orchelya-dashboard-period i {
        font-size: 10px;
    }

    .orchelya-dashboard-period i:last-child {
        display: none;
    }

    .orchelya-dashboard-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .orchelya-dashboard-kpis article {
        min-height: 90px;
        padding: 11px 10px;
    }

    .orchelya-dashboard-kpis article > strong {
        font-size: 19px;
    }

    .orchelya-dashboard-charts {
        grid-template-columns: 1fr;
    }

    .orchelya-dashboard-traffic {
        display: none;
    }

    .orchelya-dashboard-line-chart {
        min-height: 175px !important;
    }

    .orchelya-dashboard-line-chart svg {
        height: 92px;
    }
}

@media (max-width: 479px) {
    .orchelya-tools-title-accent {
        display: block;
    }

    .orchelya-cockpit-copy {
        align-items: stretch;
        text-align: left;
    }

    .orchelya-cockpit-copy p {
        margin-right: 0;
        margin-left: 0;
    }

    .orchelya-tools-cta {
        width: 100%;
        justify-content: center;
    }

    .orchelya-dashboard-score {
        display: none;
    }

    .orchelya-dashboard-kpis {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .orchelya-tools-section .orchelya-tool-card {
        transition: none;
    }

    .orchelya-tools-section .orchelya-tool-card:hover {
        transform: none;
    }
}

/* ORCHELYA TOOLS - ALIGNEMENT ET MOBILE */

/*
 * Badge :
 * ORCHELYA apparaît dans la capsule corail,
 * suivi de PUISSANT & SIMPLE.
 */
.orchelya-tools-heading .sub-title {
    gap: 11px;
    padding: 6px 15px 6px 6px;
}

.orchelya-tools-heading .sub-title b {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: #EC5F4A;
    color: #FFFFFF !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.orchelya-tools-heading .sub-title > span {
    color: #897664;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

/*
 * Le second niveau du titre principal devient corail.
 */
.orchelya-tools-title-accent {
    color: #EC5F4A !important;
}

/*
 * Centrage complet des trois cartes :
 * icônes, titres, descriptions, séparateurs et listes.
 */
.orchelya-tools-section .orchelya-tool-card {
    align-items: center;
    text-align: center;
}

.orchelya-tool-icon {
    margin-right: auto;
    margin-left: auto;
}

.orchelya-tool-content {
    width: 100%;
    text-align: center;
}

.orchelya-tool-card .title,
.orchelya-tool-description {
    width: 100%;
    text-align: center;
}

.orchelya-tool-list {
    width: min(100%, 360px);
    margin-right: auto;
    margin-left: auto;
    justify-items: center;
}

.orchelya-tool-list li {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    text-align: center;
}

.orchelya-tool-list li i {
    flex: 0 0 auto;
    margin-top: 4px;
}

.orchelya-tool-list li span {
    display: inline-block;
    text-align: center;
}

/*
 * Espace renforcé entre les cartes et le cockpit.
 */
.orchelya-cockpit {
    margin-top: 76px !important;
}

/*
 * Progressez reprend la même couleur que
 * Pilotez et Analysez.
 */
.orchelya-cockpit-copy h3 span {
    color: #242423 !important;
}

/*
 * Tablette.
 */
@media (max-width: 1199px) {
    .orchelya-cockpit {
        margin-top: 58px !important;
    }
}

/*
 * Mobile :
 * le tableau de bord est retiré.
 * Le texte et le CTA du cockpit restent visibles.
 */
@media (max-width: 767px) {
    .orchelya-cockpit {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
        margin-top: 46px !important;
    }

    .orchelya-dashboard-shell {
        display: none !important;
    }

    .orchelya-cockpit-copy {
        min-height: auto;
    }
}

/* FIN ORCHELYA TOOLS - ALIGNEMENT ET MOBILE */
