/* =============================================
   INDEX.CSS - Estilos específicos da página inicial
   ============================================= */

/* 
   ALTURA DO HEADER:
   Desktop: padding (1rem × 2) + logo (50px) = 82px
   Mobile (<768px): padding (1rem × 2) + logo (50px) = 70px (aproximado)
*/

/* =============================================
   HERO SECTION COM CARROSSEL
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    margin-top: 82px; /* Altura fixa do header: padding (1rem = 16px) * 2 + logo (50px) = 82px */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carrossel de fundo */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay escuro */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(7, 25, 40, 0.85) 0%,
            rgba(13, 39, 59, 0.75) 50%,
            rgba(192, 0, 2, 0.5) 100%);
    z-index: 2;
}

/* Conteúdo do Hero */
.hero-content {
    position: absolute;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 2rem;
    box-sizing: border-box;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 30px));
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hero-title {
    font-family: 'Futura Condensed Extra', sans-serif;
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.hero-title::first-letter {
    text-transform: uppercase;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ff6600 0%, #ff9933 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Indicadores do carrossel */
.hero-indicators {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 1rem;
}

.indicator {
    width: 50px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--white);
    width: 70px;
}

/* =============================================
   ESTATÍSTICAS
   ============================================= */
.stats-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(192, 0, 2, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.stat-card:hover::before {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(192, 0, 2, 0.15) 0%, transparent 70%);
}

.stat-card:hover {
    transform: scale(1.05);
    border-color: rgba(192, 0, 2, 0.4);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Futura Condensed Extra', sans-serif;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ff6600, #c00002);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

/* =============================================
   AVALIAÇÕES DO GOOGLE
   ============================================= */
.avaliacoes-section {
    background: #f8f9fa;
}

.avaliacoes-header {
    text-align: center;
    margin-bottom: 3rem;
}

.avaliacoes-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rating-numero {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.rating-estrelas {
    display: flex;
    gap: 0.25rem;
}

.rating-estrelas i {
    color: #fbbf24;
    font-size: 1.5rem;
}

.rating-info {
    color: #666;
    font-size: 1rem;
}

.avaliacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.avaliacao-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(7, 25, 40, 0.06), 0 2px 6px rgba(192, 0, 2, 0.04);
    transition: var(--transition);
    border: 1px solid rgba(7, 25, 40, 0.05);
}

.avaliacao-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 16px 32px rgba(7, 25, 40, 0.12),
        0 6px 12px rgba(192, 0, 2, 0.1),
        0 0 0 1px rgba(192, 0, 2, 0.08);
    border-color: rgba(192, 0, 2, 0.15);
}

.avaliacao-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.avaliacao-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.avaliacao-nome {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.125rem;
}

.avaliacao-estrelas {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.avaliacao-estrelas i {
    color: #fbbf24;
    font-size: 1rem;
}

.avaliacao-texto {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

.btn-ver-mais-avaliacoes {
    display: block;
    margin: 0 auto;
    max-width: 300px;
}

/* =============================================
   CONTATO
   ============================================= */
.contato-wrapper {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.contato-item {
    text-align: center;
    padding: 2rem;
}

.contato-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.contato-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.contato-item p,
.contato-item a {
    color: #666;
    line-height: 1.8;
}

.contato-item a:hover {
    color: var(--primary);
}

.mapa-container {
    margin-top: 3rem;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

/* =============================================
   RESPONSIVIDADE
   ============================================= */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 600px;
        margin-top: 70px; /* Altura do header mobile */
        padding: 6rem 0 4rem; /* Aumentei o padding superior de 4rem para 6rem */
    }

    .hero-carousel {
        top: 0;
        height: 100%;
    }

    .hero-overlay {
        top: 0;
        height: 100%;
    }

    .hero-content {
        padding: 2rem 1.5rem; /* Adicionar padding interno no conteúdo */
    }

    .hero-title {
        font-size: 3.5rem; /* Reduzir um pouco o tamanho para caber melhor */
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .stats-section {
        padding: 3rem 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        padding: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 70px;
        min-height: 550px;
        padding: 5rem 0 3rem; 
    }

    .hero-content {
        padding: 1rem; 
    }

    .hero-title {
        font-size: 2.5rem; 
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-carousel {
        top: 0;
        height: 100%;
    }

    .hero-overlay {
        top: 0;
        height: 100%;
    }
}