/**
 * Quote Block - Académie des Étoiles
 * Four style variants: A (simple), B (bordered), C (highlighted), D (featured)
 */

/* ========================================
   BASE STYLES (shared by all variants)
   ======================================== */

.ade-quote {
    margin: var(--ade-space-xl) 0;
}

.ade-quote__blockquote {
    margin: 0;
    padding: 0;
}

.ade-quote__icon {
    margin-bottom: var(--ade-space-md);
    color: var(--ade-primary);
    opacity: 0.4;
}

.ade-quote__text {
    margin: 0 0 var(--ade-space-lg) 0;
    font-size: var(--ade-font-size-medium);
    line-height: 1.6;
    color: var(--ade-gray-dark);
}

.ade-quote__footer {
    display: flex;
    flex-direction: column;
    gap: var(--ade-space-xs);
}

.ade-quote__author {
    font-style: normal;
    font-weight: 600;
    font-size: var(--ade-font-size-base);
    color: var(--ade-primary);
}

.ade-quote__title {
    font-size: var(--ade-font-size-small);
    color: var(--ade-gray);
    font-weight: 400;
}

/* ========================================
   VARIANT A: SIMPLE (minimal emphasis)
   ======================================== */

.ade-quote--a .ade-quote__blockquote {
    padding: var(--ade-space-lg) var(--ade-space-xl);
}

.ade-quote--a .ade-quote__text {
    font-size: var(--ade-font-size-base);
    font-style: italic;
}

.ade-quote--a .ade-quote__icon {
    opacity: 0.3;
}

/* ========================================
   VARIANT B: BORDERED (medium emphasis)
   ======================================== */

.ade-quote--b {
    /* Removed bulky white wrapper */

    background: transparent;
}

.ade-quote--b .ade-quote__blockquote {
    padding: var(--ade-space-xl);
    border-left: 4px solid var(--ade-primary);
}

.ade-quote--b .ade-quote__text {
    font-size: var(--ade-font-size-medium);
    font-weight: 400;
}

.ade-quote--b .ade-quote__icon {
    opacity: 0.4;
}

/* ========================================
   VARIANT C: HIGHLIGHTED (medium-high emphasis)
   ======================================== */

.ade-quote--c {
    background: linear-gradient(135deg, var(--ade-primary-light) 0%, rgba(155, 81, 224, 0.1) 100%);
    border-radius: 16px;
    box-shadow: var(--ade-shadow-md);
    position: relative;
    overflow: hidden;
}

.ade-quote--c::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--ade-primary) 0%, var(--ade-primary-dark) 100%);
}

.ade-quote--c .ade-quote__blockquote {
    padding: var(--ade-space-2xl) var(--ade-space-xl);
}

.ade-quote--c .ade-quote__text {
    font-size: var(--ade-font-size-large);
    font-weight: 500;
    color: var(--ade-primary-dark);
}

.ade-quote--c .ade-quote__icon {
    opacity: 0.5;
}

.ade-quote--c .ade-quote__icon svg {
    width: 56px;
    height: 56px;
}

.ade-quote--c .ade-quote__author {
    font-size: var(--ade-font-size-medium);
    color: var(--ade-primary-dark);
}

.ade-quote--c .ade-quote__title {
    font-size: var(--ade-font-size-base);
    color: var(--ade-gray-dark);
}

/* ========================================
   VARIANT D: FEATURED (high emphasis)
   ======================================== */

.ade-quote--d {
    background: linear-gradient(135deg, var(--ade-primary) 0%, var(--ade-primary-dark) 100%);
    border-radius: 20px;
    box-shadow: var(--ade-shadow-lg), 0 0 40px rgba(155, 81, 224, 0.3);
    position: relative;
    overflow: hidden;
}

.ade-quote--d::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ade-quote--d .ade-quote__blockquote {
    padding: var(--ade-space-3xl) var(--ade-space-2xl);
    position: relative;
    z-index: 1;
    text-align: center;
}

.ade-quote--d .ade-quote__icon {
    opacity: 0.8;
    color: var(--ade-white);
}

.ade-quote--d .ade-quote__icon svg {
    width: 64px;
    height: 64px;
}

.ade-quote--d .ade-quote__text {
    font-size: var(--ade-font-size-xl);
    font-weight: 600;
    line-height: 1.5;
    color: var(--ade-white);
    margin-bottom: var(--ade-space-xl);
}

.ade-quote--d .ade-quote__footer {
    align-items: center;
    gap: var(--ade-space-sm);
}

.ade-quote--d .ade-quote__author {
    font-size: var(--ade-font-size-medium);
    font-weight: 700;
    color: var(--ade-white);
}

.ade-quote--d .ade-quote__title {
    font-size: var(--ade-font-size-base);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media screen and (max-width: 768px) {
    .ade-quote--c .ade-quote__text {
        font-size: var(--ade-font-size-medium);
    }

    .ade-quote--d .ade-quote__text {
        font-size: var(--ade-font-size-large);
    }

    .ade-quote--d .ade-quote__blockquote {
        padding: var(--ade-space-2xl) var(--ade-space-xl);
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media screen and (max-width: 480px) {
    .ade-quote__text {
        font-size: var(--ade-font-size-base);
    }

    .ade-quote--b .ade-quote__blockquote {
        padding: var(--ade-space-lg);
    }

    .ade-quote--c .ade-quote__blockquote {
        padding: var(--ade-space-xl) var(--ade-space-lg);
    }

    .ade-quote--c .ade-quote__text {
        font-size: var(--ade-font-size-base);
    }

    .ade-quote--c .ade-quote__icon svg {
        width: 48px;
        height: 48px;
    }

    .ade-quote--d .ade-quote__blockquote {
        padding: var(--ade-space-xl) var(--ade-space-lg);
    }

    .ade-quote--d .ade-quote__text {
        font-size: var(--ade-font-size-medium);
    }

    .ade-quote--d .ade-quote__icon svg {
        width: 56px;
        height: 56px;
    }

    .ade-quote--d .ade-quote__author {
        font-size: var(--ade-font-size-base);
    }
}

/* ========================================
   PRINT
   ======================================== */

@media print {
    .ade-quote--b,
    .ade-quote--c,
    .ade-quote--d {
        box-shadow: none;
        border: 1px solid var(--ade-gray);
    }

    .ade-quote--d {
        background: var(--ade-white);
        color: var(--ade-gray-dark);
    }

    .ade-quote--d .ade-quote__text,
    .ade-quote--d .ade-quote__author,
    .ade-quote--d .ade-quote__title {
        color: var(--ade-gray-dark);
    }

    .ade-quote--d .ade-quote__icon {
        color: var(--ade-primary);
    }
}
