/* Desktop Polish for Hero & Google Reviews */

@media (min-width: 1024px) {
    

    /* A. NEW ADDITIONS FOR LOGO AND MEU AGENDAMENTO */
    .desktop-polish-logo-link {
        display: flex;
        align-items: center;
        height: 100%;
    }
    .desktop-polish-logo-img {
        height: clamp(94px, 7.5vw, 115px) !important;
        width: auto !important;
        max-width: 300px !important;
        object-fit: contain !important;
    }
    
    .my-booking-btn-desktop-polish {
        height: 46px !important;
        min-height: 46px !important;
        padding: 0 22px !important;
        border-radius: 10px !important;
        border: 1px solid rgba(199, 154, 114, 0.4) !important;
        background: rgba(9, 9, 9, 0.4) !important;
        color: #fff !important;
        font-size: 13.5px !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
    }
    .my-booking-btn-desktop-polish:hover {
        background: rgba(199, 154, 114, 0.15) !important;
    }
    
    .hero-content {
        margin-top: 0 !important;
        width: 45% !important;
        max-width: 650px !important;
        position: relative !important;
        z-index: 10 !important;
    }

    /* =========================================================
       A. HEADER & HERO DESKTOP
       ========================================================= */

    
    .desktop-polish-hero {
        position: relative !important;
        min-height: 100vh !important;
        overflow: hidden !important;
        isolation: isolate !important;
        padding-top: clamp(48px, 6vw, 72px) !important;
        display: flex !important;
        align-items: center !important;
    }

    .desktop-polish-hero::before {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 62% !important;
        background-image: url("../assets/images/hero-raissa.png?v=2") !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: 103% 10% !important; /* Moved slightly right */
        z-index: -2 !important;
    }

    .desktop-polish-hero::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        background:
            linear-gradient(
                180deg,
                rgba(9,9,9,0.12) 0%,
                rgba(9,9,9,0.02) 65%,
                var(--bg-color) 100%
            ),
            radial-gradient(
                circle at 80% 35%, 
                rgba(255,255,255,0.06) 0%, 
                transparent 45%
            ) !important;
        z-index: -1 !important;
        pointer-events: none !important;
    }

    /* Remove any existing base fade from style.css */
    .hero-fade, .hero-bottom-overlay, .hero-panel, .hero-image-overlay {
        display: none !important;
    }
    
    .btn-header {
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 46px !important;
        min-height: 46px !important;
        padding-inline: 26px !important;
        border-radius: 14px !important;
        font-size: 14.5px !important;
    }

    /* A1. CONTAINER CENTRAL */
    .desktop-polish-header,
    .desktop-polish-hero-container-flex {
        display: flex !important;
        align-items: center;
        height: 100%;
        position: relative;
        z-index: 10;
        width: 100%;
        max-width: 1440px !important;
        margin: 0 auto;
        padding-inline: clamp(32px, 5vw, 80px) !important;
    }

    /* A5. TÍTULO */
    .hero-title-polished {
        font-size: clamp(58px, 4.8vw, 86px) !important;
        line-height: 0.98 !important;
        margin-bottom: 1.5rem !important;
    }

    /* A6. FRASE MANUSCRITA */
    .hero-cursive-polished {
        margin-bottom: 2rem !important;
        color: var(--primary-color);
        opacity: 1 !important;
        text-shadow: 0 4px 15px rgba(199,154,114, 0.4);
    }

    /* A7. DESCRIÇÃO */
    .hero-desc-polished {
        max-width: 520px !important;
        line-height: 1.6 !important;
        margin-bottom: 3rem !important;
    }

    /* A8. CTAs */
    .hero-buttons-polished {
        display: flex !important;
        gap: 1.5rem !important;
        margin-bottom: 3rem !important;
    }
    .btn-polished {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 58px;
        padding: 0 2.5rem !important;
        white-space: nowrap;
    }
    .btn-polished-outline {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 58px;
        padding: 0 2.5rem !important;
        background: rgba(9, 9, 9, 0.4) !important;
        backdrop-filter: blur(8px);
        white-space: nowrap;
    }

    /* A9. PROVA SOCIAL DO HERO */
    .hero-social-proof-polished {
        display: inline-flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        font-size: 14.5px !important;
        font-weight: 500 !important;
        opacity: 1 !important;
        background: rgba(255, 255, 255, 0.025) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 14px !important;
        padding: 10px 16px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
        backdrop-filter: blur(4px) !important;
    }
    .social-proof-dot {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
    }

    /* A4. REMOVER EMENDA VERTICAL - Transição Contínua */
    .hero-image-wrapper-polished {
        display: none !important;
    }
    .hero-image-polished {
        display: none !important;
    }
    .hero-glow-polished {
        display: none !important;
    }

    /* =========================================================
       B. AVALIAÇÕES GOOGLE DESKTOP
       ========================================================= */

    /* B1. CONTAINER DA SEÇÃO */
    .desktop-polish-reviews-container {
        width: 100%;
        max-width: 1320px !important;
        margin: 0 auto;
        padding-inline: clamp(24px, 4vw, 64px) !important;
    }
    .desktop-polish-reviews-title {
        font-size: clamp(2.5rem, 4vw, 3.5rem) !important;
    }

    /* B2. REMOVER SCROLLBAR NATIVA E USAR GRID */
    .desktop-polish-reviews-grid {
        display: grid !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
    }

    /* B3 & B4. RESPONSIVIDADE E ESTRUTURA DOS CARDS */
    /* B8 & B9. CONTRASTE E ESPAÇAMENTO */
    .depoimento-card {
        display: flex !important;
        flex-direction: column !important;
        background: rgba(255, 255, 255, 0.035) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
        border-radius: 20px !important;
        padding: 28px !important;
        min-width: 0 !important; /* Prevents overflow inside grid items */
        height: 100% !important; /* Ensures all cards stretch equally */
        width: 100% !important; /* Forces cards to respect grid constraints */
    }

    /* Ensure text expands and pushes footer down */
    .depoimento-text-wrapper {
        flex-grow: 1;
        margin-bottom: 24px !important;
    }
    .depoimento-footer {
        margin-top: auto !important;
        padding-top: 20px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    /* B5 & B6. CABEÇALHO DO AUTOR */
    .depoimento-header {
        align-items: flex-start !important;
        margin-bottom: 20px !important;
    }
    .review-author-img,
    .review-author-fallback {
        width: 54px !important;
        height: 54px !important;
        flex-shrink: 0;
    }
    .review-author-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0; /* Prevents overflow */
    }
    .review-meta {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: wrap; /* Allows wrap if extremely tight, but mostly row */
        gap: 8px !important;
    }
    .depoimento-time {
        white-space: nowrap !important;
    }

    /* B7. TEXTO E VER MAIS */
    .depoimento-text {
        display: -webkit-box !important;
        -webkit-line-clamp: 6 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        line-height: 1.6 !important;
    }
    .depoimento-text.expanded {
        -webkit-line-clamp: unset !important;
    }

    /* Ensure horizontal overflow global fix */
    body {
        overflow-x: hidden;
    }
}


    .hero-image-gradient {
        display: none !important;
    }

/* B3. RESPONSIVIDADE ESPECÍFICA DO GRID GOOGLE REVIEWS */
@media (min-width: 1180px) {
    .desktop-polish-reviews-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 28px !important;
    }
}

@media (min-width: 1024px) and (max-width: 1179px) {
    .desktop-polish-reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }
    /* Hide the 3rd card gracefully if using Grid with only 2 columns on 1024-1179px */
    .desktop-polish-reviews-grid .depoimento-card:nth-child(n+3) {
        display: none !important;
    }
}

    .hero-image-gradient {
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(90deg, var(--bg-color) 0%, var(--bg-color) 35%, transparent 65%), linear-gradient(to top, var(--bg-color) 0%, transparent 15%) !important;
        z-index: 2 !important;
        pointer-events: none !important;
    }

/* Zoom na imagem Depois (que no HTML atual usa a classe -before) */
.comparison-image-before {
    transform: scale(1.08) !important;
    transform-origin: center center !important;
}

    
    /* SERVICOS LIST DESKTOP ADJUSTMENTS */
    .service-image-wrapper {
        width: clamp(86px, 8vw, 100px) !important;
        height: clamp(86px, 8vw, 100px) !important;
    }
    
    .mobile-service-row {
        gap: 24px !important;
    }
    