/* =========================================================
   HOROSCOPE - STYLE CMS ALSACE & CO
   ========================================================= */

/* ===== PAGE WRAPPER ===== */

.horoscope-page-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

/* ===== HEADER ===== */

.horoscope-page-top {
    margin-bottom: 18px;
}

.horoscope-page-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    color: #111;
}

.horoscope-page-subtitle {
    margin-top: 6px;
    font-size: 14px;
    color: #666;
}

/* ===== BLOCS ===== */

.horoscope-block {
    margin-top: 22px;
}

.horoscope-block-head {
    margin-bottom: 14px;
}

.horoscope-block-head h2 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #111;
    position: relative;
}

.horoscope-block-head h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #ff2b2b;
    border-radius: 10px;
    margin-top: 6px;
}

/* ===== GRID SIGNES ===== */

.sign-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.sign-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
    padding: 16px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s ease;
}

.sign-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.sign-card.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

.sign-card__symbol {
    font-size: 28px;
    color: #ff2b2b;
}

.sign-card.is-active .sign-card__symbol {
    color: #fff;
}

.sign-card__name {
    font-weight: 700;
    margin-top: 6px;
    font-size: 14px;
}

.sign-card__dates {
    font-size: 12px;
    color: #777;
}

.sign-card.is-active .sign-card__dates {
    color: rgba(255,255,255,0.7);
}

/* ===== RESULT ===== */

.horoscope-result-block {
    border-top: 1px dashed #e5e5e5;
    padding-top: 22px;
    margin-top: 10px;
}

.result-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-back {
    background: #f2f2f2;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
}

.btn-back:hover {
    background: #e9e9e9;
}

/* ===== EMPTY ===== */

.horoscope-empty {
    border: 1px dashed #ddd;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: #777;
    background: #fafafa;
}

/* ===== SIGN BANNER ===== */

.sign-banner {
    background: #111;
    color: #fff;
    padding: 18px;
    border-radius: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.sign-banner__symbol {
    font-size: 34px;
}

.sign-banner__text h3 {
    margin: 0;
    font-size: 22px;
}

.sign-banner__meta {
    font-size: 13px;
    opacity: 0.7;
}

/* ===== PREDICTION ===== */

.prediction-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 16px;
}

.prediction-box__title {
    font-weight: 800;
    margin-bottom: 8px;
}

.prediction-box p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

/* ===== METRICS ===== */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.metric-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
}

.metric-card__label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.metric-card__bar {
    height: 6px;
    background: #eee;
    border-radius: 10px;
    margin-bottom: 8px;
}

.metric-card__fill {
    height: 100%;
    border-radius: 10px;
    background: #ff2b2b;
}

.metric-card__value {
    font-weight: 800;
}

/* ===== INFOS ===== */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.info-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 14px;
}

.info-card__label {
    font-size: 12px;
    color: #777;
}

.info-card__value {
    font-weight: 700;
    margin-top: 4px;
}

/* ===== COMPATIBILITE ===== */

.compat-box {
    margin-top: 12px;
}

.compat-form {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: end;
}

.field label {
    font-size: 13px;
    font-weight: 600;
}

.field select {
    width: 100%;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 0 10px;
}

.compat-heart {
    font-size: 20px;
    color: #ff2b2b;
}

.btn-primary {
    width: 100%;
    margin-top: 14px;
    background: #ff2b2b;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary:hover {
    background: #e11d1d;
}

/* ===== RESULT COMPAT ===== */

.compat-result {
    margin-top: 14px;
    border: 1px solid #eee;
    padding: 14px;
    border-radius: 14px;
    background: #fff;
}

.compat-score {
    background: #fff0f0;
    color: #ff2b2b;
    padding: 6px 10px;
    border-radius: 999px;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 8px;
}

.ad-inline {
    margin: 16px 0 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    background: #f5f5f5;
}

.ad-inline a {
    display: block;
    width: 100%;
    aspect-ratio: 728 / 90;
    text-decoration: none;
}

.ad-inline img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .sign-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .sign-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .compat-form {
        grid-template-columns: 1fr;
    }

    .compat-heart {
        display: none;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}