/**
 * Facile.Energy — Pagina Area Cliente (slug: area-cliente)
 * Hero con pulsante grande di accesso al portale Venus CRM,
 * card guide/manuali, richiamo Pago.Facile e box assistenza.
 *
 * @since 1.0.0
 */

body.rei-static-page--area-cliente {
    background: var(--rei-cream, #F4F8F6);
}

.rei-areacliente {
    /* v2.2: transparent — lascia trasparire la filigrana a tema del main */
    background: transparent;
    color: var(--rei-ink, #157155);
    overflow-x: hidden;
}

.rei-areacliente * {
    box-sizing: border-box;
}

.rei-areacliente__container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ==========================================================================
   HERO + ACCESSO
   ========================================================================== */
.rei-areacliente__hero {
    padding: 80px 0 56px;
    text-align: center;
}

.rei-areacliente__eyebrow {
    display: inline-block;
    background: #D2F0E6;
    color: var(--rei-green-deep, #157155);
    padding: 8px 22px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 28px;
    border: 1px solid rgba(32,164,123, 0.25);
    line-height: 1.2;
}

.rei-areacliente__title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--rei-ink, #157155);
    margin: 0 0 20px;
    letter-spacing: 0.02em;
}

.rei-areacliente__intro {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--rei-ink, #157155);
    max-width: 680px;
    margin: 0 auto 40px;
}

.rei-areacliente__cta {
    max-width: 560px;
    margin: 0 auto;
}

/* Pulsante grande di accesso */
.rei-areacliente__cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: var(--rei-green, #20A47B);
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    padding: 22px 32px;
    border-radius: 999px;
    text-align: center;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow:
        0 24px 50px -8px rgba(32,164,123, 0.55),
        0 12px 24px -6px rgba(32,164,123, 0.4),
        0 4px 10px rgba(21,113,85, 0.1);
    line-height: 1.2;
}

.rei-areacliente__cta-btn svg {
    flex-shrink: 0;
}

.rei-areacliente__cta-btn:hover {
    background: var(--rei-green-deep, #157155);
    color: #fff;
    transform: translateY(-4px);
    text-decoration: none;
    box-shadow:
        0 32px 60px -8px rgba(32,164,123, 0.6),
        0 18px 32px -6px rgba(32,164,123, 0.45),
        0 4px 10px rgba(21,113,85, 0.1);
}

.rei-areacliente__cta-hint {
    font-size: 0.88rem;
    color: var(--rei-gray-text, #4D4D4D);
    margin: 14px 0 0;
}

/* ==========================================================================
   GUIDE E MANUALI
   ========================================================================== */
.rei-areacliente__guides {
    padding: 16px 0 64px;
}

.rei-areacliente__section-title {
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--rei-ink, #157155);
    margin: 0 0 32px;
    text-align: center;
}

.rei-areacliente__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.rei-areacliente__card {
    background: #fff;
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow:
        0 20px 50px -10px rgba(21,113,85, 0.18),
        0 8px 20px -8px rgba(21,113,85, 0.12),
        0 1px 3px rgba(21,113,85, 0.05);
    border: 2px solid var(--rei-green, #20A47B); /* v2.2: contorno verde su tutti i riquadri */
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rei-areacliente__card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 28px 60px -12px rgba(21,113,85, 0.22),
        0 12px 24px -10px rgba(21,113,85, 0.15),
        0 1px 3px rgba(21,113,85, 0.06);
}

.rei-areacliente__card--pgf {
    border: 2px solid var(--rei-green, #20A47B);
}

.rei-areacliente__card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #D2F0E6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px -4px rgba(32,164,123, 0.25);
}

.rei-areacliente__card-icon svg {
    width: 40px;
    height: 40px;
    color: var(--rei-green, #20A47B);
    display: block;
}

.rei-areacliente__card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rei-green, #20A47B);
    margin: 0 0 12px;
    line-height: 1.25;
}

.rei-areacliente__card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--rei-ink, #157155);
    margin: 0 0 22px;
    flex-grow: 1;
}

.rei-areacliente__card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Bottoni */
.rei-areacliente__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--rei-green, #20A47B);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 13px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
    text-align: center;
    align-self: flex-start;
    line-height: 1.2;
    box-shadow:
        0 10px 22px -6px rgba(32,164,123, 0.45),
        0 4px 10px -3px rgba(32,164,123, 0.3);
}

.rei-areacliente__btn:hover {
    background: var(--rei-green-deep, #157155);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow:
        0 14px 28px -6px rgba(32,164,123, 0.55),
        0 6px 14px -3px rgba(32,164,123, 0.35);
}

.rei-areacliente__btn--ghost {
    background: #fff;
    color: var(--rei-green-deep, #157155);
    border-color: var(--rei-green, #20A47B);
    box-shadow: none;
}

.rei-areacliente__btn--ghost:hover {
    background: var(--rei-green-vlight, #E4F6F0);
    color: var(--rei-green-deep, #157155);
    box-shadow: none;
}

.rei-areacliente__btn--big {
    font-size: 1rem;
    padding: 16px 32px;
    align-self: auto;
}

/* ==========================================================================
   ASSISTENZA
   ========================================================================== */
.rei-areacliente__help {
    padding: 0 0 80px;
}

.rei-areacliente__help-box {
    background: var(--rei-navy, #157155);
    border-radius: 28px;
    padding: 44px 36px;
    text-align: center;
    box-shadow:
        0 24px 60px -12px rgba(21,113,85, 0.45),
        0 10px 24px -8px rgba(21,113,85, 0.3);
}

.rei-areacliente__help-text {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.55;
    color: #fff;
    margin: 0 0 26px;
}

.rei-areacliente__help-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.rei-areacliente__help-actions .rei-areacliente__btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.rei-areacliente__help-actions .rei-areacliente__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .rei-areacliente__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 768px) {
    .rei-areacliente__container {
        padding: 0 20px;
    }
    .rei-areacliente__hero {
        padding: 56px 0 40px;
    }
    .rei-areacliente__cta-btn {
        font-size: 1rem;
        padding: 18px 22px;
    }
    .rei-areacliente__guides {
        padding-bottom: 48px;
    }
    .rei-areacliente__card {
        padding: 28px 22px;
    }
    .rei-areacliente__card-icon {
        width: 60px;
        height: 60px;
    }
    .rei-areacliente__card-icon svg {
        width: 28px;
        height: 28px;
    }
    .rei-areacliente__help {
        padding-bottom: 56px;
    }
    .rei-areacliente__help-box {
        padding: 32px 22px;
    }
}
