/* =========================================
   ESTILOS ESPECÍFICOS PARA PÁGINAS DE SERVIÇO
   (Hero, Cards, Cases e Vídeo)
   ========================================= */

/* --- HERO DA PÁGINA --- */
.service-hero {
    background-color: var(--color-ice-green);
    padding: 80px 0;
}

.service-hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: space-between;
}

.service-hero-text {
    flex: 1;
    text-align: left;
}

.service-tag {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.service-hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-hero-text p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 35px;
    max-width: 600px;
}

.service-hero-img {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
}

.service-hero-img img {
    width: 100%;
    max-width: 400px; /* Garante que a imagem não exploda */
    height: auto;
}

/* --- DETALHES E BENEFÍCIOS (GRID) --- */
.service-details {
    padding: 100px 0;
    background-color: var(--color-white);
}

.benefits-grid {
    display: grid;
    /* Ajustado para 280px para caber em celulares menores sem quebrar */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    padding: 40px;
    border-radius: 16px;
    background-color: #f8f9fa;
    border-left: 5px solid var(--color-accent);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--color-primary);
    font-size: 1.4rem;
}

/* --- DESTAQUE DO CASE DE SUCESSO --- */
.service-case {
    padding: 100px 0;
    background-color: var(--color-white);
}

.case-highlight-card {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 60px;
    border-radius: 24px;
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.case-info {
    width: 100%;
}

.case-info h3 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 20px;
}

.case-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.case-result-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--color-accent);
}

/* --- SEÇÃO DE VÍDEO (REELS/SHORTS) --- */
.video-section {
    padding: 80px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.video-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.video-wrapper {
    flex: 0 0 320px; /* Largura base para Desktop */
    width: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 4px solid var(--color-primary);
}

.video-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 177.77%; /* Proporção 9:16 (Vertical) */
    height: 0;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-text {
    flex: 1;
    max-width: 500px;
}

.video-text h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.video-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* =========================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================= */

/* Tablets e Telas Médias (max-width: 992px) */
@media (max-width: 992px) {
    /* Hero */
    .service-hero { padding: 60px 0; }
    
    .service-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .service-hero-text { text-align: center; }
    .service-hero-text h1 { font-size: 2.8rem; }
    .service-hero-text p { margin-left: auto; margin-right: auto; }
    
    .service-hero-img { 
        flex: auto; 
        width: 100%; 
        max-width: 350px; 
    }

    /* Video Section */
    .video-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .video-text {
        padding: 0;
        margin-top: 20px;
    }
}

/* Celulares (max-width: 768px) */
@media (max-width: 768px) {
    /* Hero */
    .service-hero-text h1 { font-size: 2.2rem; }
    .service-hero-text p { font-size: 1rem; }

    /* Seções Gerais */
    .service-details, .service-case, .video-section {
        padding: 50px 0; /* Reduz padding vertical */
    }

    /* Benefits Cards */
    .benefit-card { padding: 30px; }

    /* Case Highlight */
    .case-highlight-card {
        padding: 30px;
        text-align: left; /* Mantém alinhado à esquerda para leitura, ou center se preferir */
    }
    .case-info h3 { font-size: 1.6rem; }
    .case-info p { font-size: 1rem; }

    /* Video */
    .video-wrapper {
        width: 100%;
        max-width: 300px; /* Um pouco menor para telas pequenas */
    }
    
    .video-text h2 { font-size: 1.8rem; }
}