@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&display=swap');

/* ============================================================
   WIZARD OF YOZ — DASHBOARD STYLESHEET
   ============================================================
   Styles spécifiques à templates/dashboard/index.html.twig.
   Le socle, la sidebar et le header restent dans app.css.
   ============================================================ */

/* ============================================================
   01. DASHBOARD — LIGNE SUPÉRIEURE
   Cycle en cours + Chaque action compte
   Même construction visuelle que les cartes statistiques.
   ============================================================ */

.yoz-dashboard-top {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
    gap: 12px;

    margin: 26px 18px 18px;
    padding: 0;

    box-sizing: border-box;
}

/* ------------------------------------------------------------
   Cycle en cours
   ------------------------------------------------------------ */

.yoz-dashboard-top .yoz-cycle-card {
    min-width: 0;
    width: 100%;
    min-height: 105px;

    padding: 17px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    gap: 13px;

    border: 1px solid var(--yoz-border);
    border-radius: 10px;

    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015));

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

    color: var(--yoz-text);
}

.yoz-dashboard-top .yoz-cycle-card::before,
.yoz-dashboard-top .yoz-cycle-card::after {
    content: none;
}

.yoz-dashboard-top .yoz-cycle-card>* {
    position: relative;
    z-index: 1;
}

.yoz-dashboard-top .yoz-cycle-content {
    min-width: 0;
    width: 100%;

    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 13px;
    row-gap: 8px;

    align-items: center;
}

.yoz-dashboard-top .yoz-cycle-icon {
    flex: 0 0 auto;

    width: 40px;
    height: 40px;

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

    border-radius: 10px;
    background: rgba(128, 103, 216, 0.13);
    color: #a992ff;
}

.yoz-dashboard-top .yoz-cycle-icon svg {
    width: 22px;
    height: 22px;
    display: block;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yoz-dashboard-top .yoz-cycle-dates {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.yoz-dashboard-top .yoz-cycle-title {
    display: block;

    color: #a992ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.yoz-dashboard-top .yoz-cycle-card strong {
    display: block;
    color: var(--yoz-text);
    font-size: 23px;
    line-height: 1.15;
    white-space: nowrap;
}

.yoz-dashboard-top .yoz-cycle-progress {
    grid-column: 2;
    width: 100%;
    min-width: 0;

    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.yoz-dashboard-top .yoz-cycle-progress-bar {
    width: 100%;
    height: 6px;

    overflow: hidden;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.08);
}

.yoz-dashboard-top .yoz-cycle-progress-fill {
    height: 100%;
    width: 57%;

    border-radius: inherit;

    background: linear-gradient(90deg,
            #8067d8,
            #a992ff);
}

.yoz-dashboard-top .yoz-cycle-progress-info {
    margin: 0;

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

    min-width: 145px;

    color: var(--yoz-text-muted);

    font-size: 11px;
    line-height: 1.2;
}

.yoz-dashboard-top .yoz-cycle-progress-info span {
    white-space: nowrap;
}

.yoz-dashboard-top .yoz-cycle-progress-info strong {
    position: absolute;
    top: -48px;
    right: 0;

    color: var(--yoz-text);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.yoz-dashboard-top .yoz-cycle-card .yoz-cycle-gem {
    display: none;
}

/* ------------------------------------------------------------
   Chaque action compte
   ------------------------------------------------------------ */

.yoz-action-card {
    position: relative;

    min-width: 0;
    min-height: 105px;

    padding: 17px;

    box-sizing: border-box;

    display: flex;
    align-items: center;

    border: 1px solid var(--yoz-border);
    border-radius: 10px;

    background-image:
        linear-gradient(90deg,
            rgba(5, 14, 25, 0.72) 0%,
            rgba(5, 14, 25, 0.28) 55%,
            rgba(5, 14, 25, 0.08) 100%),
        url("../images/yoz-action-card-Ci1DmKv.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

    overflow: hidden;
}

.yoz-action-card>* {
    display: none;
}


/* Icône */

.yoz-action-icon {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

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

    border: 1px solid rgba(200, 155, 60, 0.30);
    border-radius: 10px;

    background: rgba(200, 155, 60, 0.10);

    color: var(--yoz-gold-light);
}

.yoz-action-icon svg {
    width: 22px;
    height: 22px;

    display: block;

    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Texte */

.yoz-action-card>div:last-child {
    min-width: 0;
}

.yoz-action-card span {
    display: block;

    color: var(--yoz-gold-light);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.yoz-action-card strong {
    display: block;

    color: var(--yoz-text);

    font-size: 17px;
    line-height: 1.1;

    margin-top: 2px;
}

.yoz-action-card small {
    display: block;

    color: var(--yoz-text-soft);

    font-size: 8px;

    margin-top: 5px;
}



.yoz-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;

    margin: 0 18px 34px;
}

.yoz-stats--top {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    margin-top: 16px;
    margin-bottom: 12px;
}

.yoz-stat-card {
    min-height: 105px;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 17px;

    border: 1px solid var(--yoz-border);
    border-radius: 10px;

    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015));

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.yoz-stat-card:nth-child(1) {
    background: linear-gradient(145deg,
            rgba(91, 70, 150, 0.16),
            rgba(18, 29, 48, 0.92));
}

.yoz-stat-card:nth-child(1)>div:last-child>span {
    color: #a992ff;
}

.yoz-stat-card:nth-child(2) {
    background: linear-gradient(145deg,
            rgba(30, 105, 180, 0.28),
            rgba(9, 29, 52, 0.94));
}

.yoz-stat-card:nth-child(2)>div:last-child>span {
    color: #4aa8ff;
}

.yoz-stat-card:nth-child(3) {
    background: linear-gradient(145deg,
            rgba(155, 111, 42, 0.16),
            rgba(31, 29, 28, 0.92));
}

.yoz-stat-card:nth-child(3)>div:last-child>span {
    color: var(--yoz-gold-light);
}

.yoz-stat-card:nth-child(4) {
    background: linear-gradient(145deg,
            rgba(155, 111, 42, 0.18),
            rgba(31, 29, 28, 0.92));
}

.yoz-stat-card:nth-child(4) {
    background: linear-gradient(145deg,
            rgba(180, 125, 35, 0.24),
            rgba(43, 34, 20, 0.92));
}

.yoz-stat-card:nth-child(4)>div:last-child>span {
    color: #e0a83a;
}

.yoz-stat-card:nth-child(5)>div:last-child>span {
    color: var(--yoz-green);
}

.yoz-stat-card>div:last-child {
    min-width: 0;
}

.yoz-stat-card>div:last-child>span {
    display: block;

    color: var(--yoz-text-soft);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;

    margin-bottom: 4px;
}

.yoz-stat-card strong {
    display: block;

    font-size: 23px;
    line-height: 1.15;
}

.yoz-stat-card small {
    display: block;

    color: var(--yoz-green);

    font-size: 10px;
    font-weight: 600;
    margin-top: 5px;
}

/* ------------------------------------------------------------
   Cycle en cours — contenu spécifique
   ------------------------------------------------------------ */

.yoz-stats--top .yoz-stat-card:first-child {
    min-height: 105px;

    position: relative;

    display: flex;
    align-items: center;

    padding: 17px;
    box-sizing: border-box;
}

.yoz-stats--top .yoz-stat-card:first-child .yoz-cycle-dashboard-content {
    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.yoz-stats--top .yoz-stat-card:first-child .yoz-cycle-dashboard-main {
    min-width: 0;
    flex: 1;
}

.yoz-stats--top .yoz-stat-card:first-child .yoz-cycle-dashboard-main>span {
    display: block;

    color: #a992ff;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.yoz-stats--top .yoz-stat-card:first-child .yoz-cycle-dashboard-main>strong {
    display: block;

    margin-top: 4px;

    color: var(--yoz-text);

    font-size: 24px;
    line-height: 1.15;
    white-space: nowrap;
}

.yoz-stats--top .yoz-stat-card:first-child .yoz-cycle-dashboard-progress {
    width: 100%;
    height: 8px;

    margin-top: 10px;

    overflow: hidden;

    border-radius: 999px;

    background: rgba(128, 103, 216, 0.22);
}

.yoz-stats--top .yoz-stat-card:first-child .yoz-cycle-dashboard-progress-bar {
    width: 0%;
    height: 100%;

    border-radius: inherit;

    background: linear-gradient(90deg,
            var(--yoz-purple),
            var(--yoz-violet));

    box-shadow:
        0 0 8px rgba(166, 108, 255, 0.45);
}

.yoz-stats--top .yoz-stat-card:first-child .yoz-cycle-dashboard-status {
    flex: 0 0 auto;

    min-width: 105px;

    text-align: right;
}

.yoz-stats--top .yoz-stat-card:first-child .yoz-cycle-dashboard-status>strong {
    display: block;

    color: var(--yoz-text);

    font-size: 30px;
    line-height: 1;
}

.yoz-stats--top .yoz-stat-card:first-child .yoz-cycle-dashboard-status>small {
    display: block;

    margin-top: 7px;

    color: var(--yoz-text-soft);

    font-size: 11px;
    line-height: 1.2;
}


/* ------------------------------------------------------------
   Statistics icons
   ------------------------------------------------------------ */

.yoz-stat-icon {
    flex: 0 0 auto;

    width: 40px;
    height: 40px;

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

    border-radius: 10px;

    font-size: 17px;
}

.yoz-stat-icon svg {
    width: 22px;
    height: 22px;
    display: block;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yoz-stat-icon.purple {
    color: #a992ff;
    background: rgba(128, 103, 216, 0.13);
}

.yoz-stat-icon.gold {
    color: var(--yoz-gold-light);
    background: rgba(200, 155, 60, 0.13);
}

.yoz-stat-icon.blue {
    color: #4aa8ff;
    background: rgba(38, 105, 170, 0.18);
}

.yoz-stat-icon.violet {
    color: #c080ff;
    background: rgba(166, 108, 255, 0.13);
}

.yoz-stat-icon.green {
    color: var(--yoz-green);
    background: rgba(50, 201, 139, 0.13);
}

.yoz-stat-icon.red {
    color: var(--yoz-red);
    background: rgba(230, 91, 104, 0.13);
}

.yoz-dashboard-panels {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 12px;
    margin: 0 18px 34px;
}

.yoz-dashboard-panel {
    min-height: 300px;
    padding: 22px;
    box-sizing: border-box;
    border: 1px solid var(--yoz-border);
    border-radius: 10px;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.yoz-dashboard-panel h2 {
    margin: 0;
    color: var(--yoz-gold-light);
    font-family: 'Cinzel', serif;
    font-size: 17px;
    font-weight: 700;
}

.yoz-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.yoz-activity-select {
    appearance: none;
    -webkit-appearance: none;

    min-width: 134px;
    padding: 6px 30px 6px 10px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 6px;

    background:
        linear-gradient(45deg, transparent 50%, #9aa8ba 50%) calc(100% - 14px) 50% / 5px 5px no-repeat,
        linear-gradient(135deg, #9aa8ba 50%, transparent 50%) calc(100% - 10px) 50% / 5px 5px no-repeat,
        #0d1d30;

    color: var(--yoz-text-soft);

    font-family: Inter, system-ui, sans-serif;
    font-size: 11px;
    font-weight: 500;

    line-height: 1.2;
    cursor: pointer;
    box-sizing: border-box;
}

.yoz-activity-chart {
    margin-top: 18px;
    height: 300px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 6px;
}

.yoz-activity-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.yoz-chart-grid line {
    stroke: rgba(255, 255, 255, 0.07);
    stroke-width: 1;
}

.yoz-chart-axis text,
.yoz-chart-labels text {
    fill: #8b95a5;
    font-family: Arial, sans-serif;
    font-size: 11px;
}

.yoz-chart-area {
    fill: rgba(200, 155, 60, 0.16);
}

.yoz-chart-line {
    fill: none;
    stroke: var(--yoz-gold);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yoz-chart-points circle {
    fill: var(--yoz-gold);
    stroke: #071523;
    stroke-width: 2;
}

.yoz-cycle-activity {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.yoz-activity-item {
    padding: 18px;
    border: 1px solid var(--yoz-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
}

.yoz-activity-label {
    display: block;
    color: var(--yoz-text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.yoz-activity-item strong {
    display: block;
    margin-top: 7px;
    color: var(--yoz-text);
    font-size: 25px;
    line-height: 1;
}

.yoz-activity-item small {
    display: block;
    margin-top: 7px;
    color: var(--yoz-green);
    font-size: 10px;
    font-weight: 600;
}

/* ============================================================
   ÉVOLUTION DU CLAN — 5 DERNIERS CYCLES
   ============================================================ */

.yoz-evolution-legend {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 18px;
}

.yoz-evolution-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--yoz-text-muted);
    font-size: 11px;
    font-weight: 600;
}

.yoz-evolution-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
}

.yoz-evolution-dot.chests {
    background: #a66cff;
}

.yoz-evolution-dot.points {
    background: #4aa8ff;
}

.yoz-evolution-dot.citadelles {
    background: var(--yoz-gold);
}

.yoz-evolution-chart {
    margin-top: 12px;
    width: 100%;
    height: 300px;
    box-sizing: border-box;
    padding: 0 4px;
}

.yoz-evolution-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.yoz-evolution-grid line {
    stroke: rgba(255, 255, 255, 0.07);
    stroke-width: 1;
}

.yoz-evolution-axis text,
.yoz-evolution-labels text {
    fill: #8b95a5;
    font-family: Arial, sans-serif;
    font-size: 11px;
}

.yoz-evolution-axis text {
    text-anchor: end;
}

.yoz-evolution-labels text {
    text-anchor: middle;
}

.yoz-evolution-bar {
    opacity: 0.95;
}

.yoz-evolution-bar.chests {
    fill: #a66cff;
}

.yoz-evolution-bar.points {
    fill: #4aa8ff;
}

.yoz-evolution-line {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yoz-evolution-line.citadelles {
    stroke: var(--yoz-gold);
}

.yoz-evolution-point.citadelles {
    fill: var(--yoz-gold);
    stroke: var(--yoz-bg);
    stroke-width: 2;
}

.yoz-evolution-value {
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-anchor: middle;
}

.yoz-evolution-value.chests {
    fill: #a66cff;
}

.yoz-evolution-value.points {
    fill: #4aa8ff;
}

.yoz-evolution-value.citadelles {
    fill: var(--yoz-gold);
}

.yoz-evolution-axis-right text {
    text-anchor: start;
}


/* ============================================================
   MEMBRES À ACCOMPAGNER
   ============================================================ */
.yoz-panel-header h2 svg {
    width: 34px;
    height: 34px;
    margin-right: 10px;
    vertical-align: middle;
    fill: none;
    stroke: var(--yoz-gold-light);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yoz-support-list {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
}

.yoz-support-item {
    display: grid;
    grid-template-columns: 38px 16px minmax(0, 1fr);
    align-items: center;
    min-height: 41px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.yoz-support-item:last-child {
    border-bottom: none;
}

.yoz-support-item strong {
    color: var(--yoz-text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.yoz-support-item>span:last-child {
    color: var(--yoz-text);
    font-size: 14px;
    line-height: 1.3;
}

.yoz-support-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.yoz-support-dot.red {
    background: #e65b68;
}

.yoz-support-dot.orange {
    background: #f5a23a;
}

.yoz-support-dot.yellow {
    background: #ffd34f;
}

.yoz-support-dot.blue {
    background: #4aa8ff;
}

.yoz-support-dot.purple {
    background: #a66cff;
}

.yoz-support-message {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(74, 168, 255, 0.45);
    border-radius: 9px;
    background: rgba(30, 105, 180, 0.10);
    color: var(--yoz-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.yoz-support-details {
    display: block;
    font-size: 0.85em;
    opacity: 0.8;
    margin-top: 2px;
}

/* ============================================================
   DASHBOARD — KPI ICON
   ============================================================ */

.yoz-kpi-icon svg {
    width: 22px;
    height: 22px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================================
   NOTRE DIRECTION
   ============================================================ */

.yoz-direction {
    margin: 0 18px 34px;
    border: 1px solid rgba(200, 155, 60, 0.38);
    border-radius: 12px;
    overflow: hidden;
    background: #07111f;

    box-sizing: border-box;
}

.yoz-direction-header {
    position: relative;
    min-height: 230px;
    padding: 28px 30px;
    background:
        linear-gradient(90deg,
            rgba(7, 17, 31, 0.92) 0%,
            rgba(7, 17, 31, 0.68) 45%,
            rgba(7, 17, 31, 0.25) 100%),
        url("../images/yoz-direction-f6gISut.png") center / cover no-repeat;
    box-sizing: border-box;
}

.yoz-direction-brand {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.yoz-direction-brand .yoz-logo {
    margin: 0;
}

.yoz-direction-brand h2 {
    margin: 0;

    color: var(--yoz-gold-light);
    font-family: 'Cinzel', serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.yoz-direction-brand>div:last-child>span {
    display: block;
    margin-top: 4px;

    color: var(--yoz-purple);
    font-size: 16px;
    font-weight: 600;
}


.yoz-direction-intro {
    max-width: 760px;
    margin: 28px 0 0;

    color: var(--yoz-text);
    font-size: 16px;
    line-height: 1.65;
}

.yoz-direction-sign {
    position: absolute;
    top: 28px;
    right: 30px;

    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: center;
}

.yoz-direction-sign span {
    min-width: 170px;
    padding: 8px 14px;
    box-sizing: border-box;

    border: 1px solid rgba(200, 155, 60, 0.45);
    border-radius: 4px;

    background: rgba(104, 63, 25, 0.72);

    color: #f1d49a;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.4px;
}

.yoz-direction-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yoz-direction-card {
    min-width: 0;
    min-height: 150px;
    padding: 22px;
    box-sizing: border-box;

    display: flex;
    gap: 18px;
    align-items: flex-start;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(9, 24, 42, 0.72);
}

.yoz-direction-card:last-child {
    border-right: 0;
}

.yoz-direction-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;

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

    border-radius: 10px;
}

.yoz-direction-icon svg {
    width: 34px;
    height: 34px;

    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yoz-direction-icon.green {
    color: var(--yoz-green);
    background: rgba(50, 201, 139, 0.13);
}

.yoz-direction-icon.blue {
    color: #4aa8ff;
    background: rgba(38, 105, 170, 0.18);
}

.yoz-direction-icon.purple {
    color: var(--yoz-violet);
    background: rgba(166, 108, 255, 0.13);
}

.yoz-direction-icon.gold {
    color: var(--yoz-gold-light);
    background: rgba(200, 155, 60, 0.13);
}

.yoz-direction-card-content {
    min-width: 0;
    flex: 1;
}

.yoz-direction-card-content>span {
    display: block;

    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.yoz-direction-card:nth-child(1) .yoz-direction-card-content>span {
    color: var(--yoz-green);
}

.yoz-direction-card:nth-child(2) .yoz-direction-card-content>span {
    color: #4aa8ff;
}

.yoz-direction-card:nth-child(3) .yoz-direction-card-content>span {
    color: var(--yoz-violet);
}

.yoz-direction-card:nth-child(4) .yoz-direction-card-content>span {
    color: var(--yoz-gold-light);
}

.yoz-direction-card-content p {
    margin: 8px 0 20px;

    color: var(--yoz-text);
    font-size: 13px;
    line-height: 1.45;
}

.yoz-direction-progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.yoz-direction-progress>div {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
}

.yoz-direction-progress>div::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.yoz-direction-card:nth-child(1) .yoz-direction-progress>div::before {
    background: linear-gradient(90deg, #32c98b, #68e3aa);
}

.yoz-direction-card:nth-child(2) .yoz-direction-progress>div::before {
    background: linear-gradient(90deg, #258de0, #67baff);
}

.yoz-direction-card:nth-child(3) .yoz-direction-progress>div::before {
    background: linear-gradient(90deg, #8f5ce5, #bd91ff);
}

.yoz-direction-card:nth-child(4) .yoz-direction-progress>div::before {
    background: linear-gradient(90deg, #d08e24, #f0bd58);
}

.yoz-direction-progress strong {
    color: var(--yoz-text);
    font-size: 12px;
    white-space: nowrap;
}

/* ============================================================
   14. RESPONSIVE
   ============================================================ */

@media (max-width: 1300px) {
    .yoz-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================================================
   LIGNE 1 — RESPONSIVE
   Cycle + Chaque action compte
   ============================================================ */

@media (max-width: 1150px) {

    .yoz-dashboard-top {
        grid-template-columns: 1fr;
    }

    .yoz-dashboard-top .yoz-cycle-card,
    .yoz-dashboard-top .yoz-action-card {
        width: 100%;
        min-width: 0;
    }

    .yoz-dashboard-top .yoz-action-card {
        min-height: 0;
        aspect-ratio: 1675 / 320;
    }

}

@media (min-width: 768px) and (max-width: 900px) {

    .yoz-dashboard-top .yoz-action-card {
        aspect-ratio: auto;
        min-height: 120px;
    }

}

@media (max-width: 767px) {
    .yoz-cycle-card {
        min-width: 0;
        width: min(100%, 330px);
        flex: 0 0 auto;
        align-self: flex-end;
        margin-top: 0;
    }
}

@media (max-width: 650px) {
    .yoz-stats {
        grid-template-columns: 1fr;
        margin-left: 6px;
        margin-right: 6px;
    }

    .yoz-cycle-card {
        width: min(100%, 270px);
        align-self: center;
        margin-top: 0;
    }
}

@media (max-width: 767px) {

    .yoz-dashboard-top .yoz-cycle-card {
        width: 100%;
        min-width: 0;
        padding: 14px;
        box-sizing: border-box;
    }

    .yoz-dashboard-top .yoz-cycle-content {
        position: relative;

        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: 10px;
        row-gap: 10px;
    }

    .yoz-dashboard-top .yoz-cycle-main {
        min-width: 0;
        padding-right: 42px;
    }

    .yoz-dashboard-top .yoz-cycle-main>strong {
        font-size: 14px;
        line-height: 1.2;
        white-space: normal;
    }

    .yoz-dashboard-top .yoz-cycle-progress {
        grid-column: 1 / -1;

        width: 100%;
        min-width: 0;

        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
    }

    .yoz-dashboard-top .yoz-cycle-progress-info {
        position: relative;

        min-width: 0;
        width: 100%;

        justify-content: flex-end;
    }

    .yoz-dashboard-top .yoz-cycle-progress-info strong {
        position: absolute;
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;

        font-size: 22px;
    }

    .yoz-direction-stats {
        grid-template-columns: 1fr;
    }

    .yoz-direction-brand {
        gap: 10px;
    }

    .yoz-direction-brand h2 {
        font-size: 20px;
        letter-spacing: 0.5px;
    }

    .yoz-direction-brand span {
        font-size: 13px;
    }

    .yoz-direction-brand .yoz-logo {
        transform: none;
    }

    .yoz-direction-brand .yoz-logo-w {
        font-size: 38px;
    }

    .yoz-direction-brand .yoz-logo-star {
        font-size: 7px;
    }

    .yoz-direction-brand .yoz-logo {
        width: 84px;
        height: 84px;
    }

    .yoz-direction-brand .yoz-logo-star-1 {
        top: 10px;
    }

    .yoz-direction-brand .yoz-logo-star-2 {
        top: 15px;
        right: 1px;
    }

    .yoz-direction-brand h2 {
        transform: translateX(15px);
    }

    .yoz-direction-intro {
        font-size: 14px;
    }

}

.yoz-dashboard-top {
    margin-left: 6px;
    margin-right: 6px;
}

.yoz-stats {
    margin-left: 6px;
    margin-right: 6px;
}

.yoz-direction {
    margin-left: 6px;
    margin-right: 6px;
}

@media (max-width: 1150px) {
    .yoz-direction-header {
        background-position: right center;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .yoz-direction-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}