/* --- TÍTULO PRINCIPAL DA SEÇÃO DE AVALIAÇÕES --- */
.reviews-main-title {
    text-align: center;
    margin: 30px 0;
}

.reviews-main-title h2 {
    color: var(--gold);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* --- LAYOUT EM 2 COLUNAS --- */
.two-column-reviews-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* --- COLUNA DE AVALIAÇÕES --- */
.reviews-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.customer-reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-card-box {
    background: var(--card-bg);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.review-card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
    border-color: #FFD700;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.review-info {
    flex: 1;
}

.review-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 5px 0;
}

.review-stars {
    font-size: 1rem;
}

.review-text {
    color: #ccc;
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

/* --- LISTA VERTICAL DE AVALIAÇÕES (Estilo Botão) --- */
.customer-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.review-button-card {
    display: flex;
    flex-direction: column;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.review-button-card:hover {
    background: #1a1a1a;
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.15);
}

.review-header-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.review-avatar-small {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold), #b8860b);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.review-meta {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.review-author {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

.review-stars-small {
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-top: 2px;
}

.google-icon-small {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.review-snippet {
    font-size: 0.9rem;
    color: #ccc;
    font-style: italic;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Avatar com inicial do nome (quando não há foto) */
.review-avatar-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #8B6914);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    color: #000;
    flex-shrink: 0;
}

/* Badge "Google" */
.review-source {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #4285F4;
    font-weight: 600;
    margin-top: 3px;
}

.review-source::before {
    content: "G";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background: #4285F4;
    color: #fff;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 900;
}

/* Dica de clique */
.review-click-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--gold);
    opacity: 0.7;
    margin-top: 8px;
    transition: opacity 0.3s ease;
}

.review-card-link:hover .review-click-hint {
    opacity: 1;
}

/* Dots do carrossel de avaliações */
.reviews-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.reviews-carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews-carousel-dots .dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

/* --- COLUNA DO INSTAGRAM --- */
.instagram-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.instagram-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.instagram-post-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
    aspect-ratio: 1;
    display: block;
    text-decoration: none;
}

.instagram-post-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* Overlay "Ver no Instagram" on hover */
.instagram-post-box::before {
    content: "Ver no Instagram ↗";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
    border: 1px solid var(--gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.instagram-post-box:hover::before {
    opacity: 1;
    transform: translate(-50%, -60%);
}

.instagram-post-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instagram-username {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 10px;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
}

/* Responsivo */
@media (max-width: 1024px) {
    .two-column-reviews-layout {
        grid-template-columns: 1fr;
    }

    .reviews-main-title h2 {
        font-size: 1.5rem;
    }
}

/* --- MODAL DE AVALIAÇÃO COMPLETA --- */
.review-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-modal.active {
    opacity: 1;
}

.review-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.review-modal-content {
    position: relative;
    background: var(--card-bg);
    border: 3px solid var(--gold);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4);
}

.review-modal.active .review-modal-content {
    transform: scale(1);
}

.review-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.review-modal-close:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: rotate(90deg);
}

.review-modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gold);
}

.review-modal-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
}

.review-modal-info h3 {
    color: #fff;
    font-size: 1.4rem;
    margin: 0 0 8px 0;
}

.review-modal-stars {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.review-modal-date {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

.review-modal-body {
    margin-bottom: 25px;
}

.review-modal-body p {
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.review-modal-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid var(--gold);
}

.review-modal-footer .btn {
    padding: 12px 30px;
    font-size: 1rem;
}

/* Scrollbar do modal */
.review-modal-content::-webkit-scrollbar {
    width: 8px;
}

.review-modal-content::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.review-modal-content::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.review-modal-content::-webkit-scrollbar-thumb:hover {
    background: #FFD700;
}