/**
 * App Review : styles front
 * Oct. 2026 : refonte, style clair (fond blanc, gris doux,
 * coins arrondis). Points forts et points faibles toujours
 * côte à côte, y compris sur mobile.
 */

.app-review {
    --ar-ink: #131313;
    --ar-ink-2: #5c5c5c;
    --ar-line: #e7e7e4;
    --ar-soft: #f7f7f5;
    --ar-green: #0a9f4a;
    --ar-green-bg: #effaf3;
    --ar-green-line: #d3f0de;
    --ar-red: #d6333b;
    --ar-red-bg: #fdf2f2;
    --ar-red-line: #f6dcdc;
    --ar-radius: 16px;

    margin: 3rem 0;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--ar-ink);
}

/* ---------- En-tête ---------- */

.app-review .review-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
}

.app-review .review-logo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--ar-soft);
    border: 1px solid var(--ar-line);
}

.app-review .review-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-review .review-info {
    flex: 1;
    min-width: 0;
}

.app-review .review-app-name {
    font-family: inherit;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-transform: none;
    margin: 0 0 0.5rem;
    padding: 0;
    border: 0;
    text-wrap: balance;
}

.app-review .review-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ar-ink-2);
    margin: 0;
    padding: 0;
}

/* ---------- Zone libre (image, texte) ---------- */

.app-review .review-content-area {
    margin: 0 0 1.5rem;
    padding: 0;
    border: 0;
}

.app-review .review-content-area > * {
    margin-bottom: 1.25rem;
}

.app-review .review-content-area > *:last-child {
    margin-bottom: 0;
}

.app-review .review-content-area img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid var(--ar-line);
    border-radius: 12px;
}

.app-review .review-content-area figcaption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--ar-ink-2);
}

.app-review .review-content-area ul,
.app-review .review-content-area ol {
    padding-left: 1.5rem;
    line-height: 1.6;
}

.app-review .review-content-area blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: var(--ar-soft);
    border: 0;
    border-radius: 12px;
    font-style: italic;
}

/* ---------- Points forts / points faibles ---------- */

.app-review .review-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.app-review .pros-section,
.app-review .cons-section {
    margin: 0;
    padding: 1.25rem 1.25rem 1.1rem;
    border-radius: var(--ar-radius);
    border: 1px solid var(--ar-line);
    background: #fff;
    min-width: 0;
}

.app-review .pros-section {
    background: var(--ar-green-bg);
    border-color: var(--ar-green-line);
}

.app-review .cons-section {
    background: var(--ar-red-bg);
    border-color: var(--ar-red-line);
}

.app-review .section-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.9rem;
    padding: 0;
    border: 0;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ar-ink);
}

.app-review .section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #fff;
}

.app-review .pros-title .section-badge { background: var(--ar-green); }
.app-review .cons-title .section-badge { background: var(--ar-red); }

.app-review .section-badge svg {
    width: 14px;
    height: 14px;
}

.app-review .points-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.app-review .point-item {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin: 0;
    padding: 0.6rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    list-style: none;
}

.app-review .point-item::before,
.app-review .point-item::marker {
    content: none;
    display: none;
}

.app-review .point-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.app-review .point-item:last-child {
    padding-bottom: 0;
}

.app-review .point-icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 0.1em;
}

.app-review .point-icon svg {
    width: 100%;
    height: 100%;
}

.app-review .pros-section .point-icon { color: var(--ar-green); }
.app-review .cons-section .point-icon { color: var(--ar-red); }

.app-review .point-text {
    flex: 1;
    min-width: 0;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.45;
    letter-spacing: 0;
    color: var(--ar-ink);
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ---------- Mobile : on garde les deux colonnes ---------- */

@media (max-width: 768px) {
    .app-review {
        margin: 2.25rem 0;
    }

    .app-review .review-logo {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }

    .app-review .review-app-name {
        font-size: 1.2rem;
    }

    .app-review .review-description {
        font-size: 0.95rem;
    }

    .app-review .review-grid {
        gap: 8px;
    }

    .app-review .pros-section,
    .app-review .cons-section {
        padding: 0.85rem 0.75rem 0.8rem;
        border-radius: 14px;
    }

    .app-review .section-title {
        gap: 0.4rem;
        font-size: 0.68rem;
        letter-spacing: 0.04em;
        margin-bottom: 0.65rem;
    }

    .app-review .section-badge {
        width: 20px;
        height: 20px;
    }

    .app-review .section-badge svg {
        width: 12px;
        height: 12px;
    }

    .app-review .point-item {
        gap: 0.4rem;
        padding: 0.5rem 0;
    }

    .app-review .point-icon {
        width: 14px;
        height: 14px;
        margin-top: 0.15em;
    }

    .app-review .point-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

@media (max-width: 360px) {
    .app-review .point-icon { display: none; }
    .app-review .point-text { font-size: 0.76rem; }
}
