/* ===== ESTILOS DA PÁGINA INICIAL ===== */

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 0 50px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

/* LINHA LARANJA NO BOTTOM - CORRIGIDA */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    z-index: 10;
}

.container-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 50%;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
    max-width: 50%;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

/* Features na hero section */
.hero-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: #ddd;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Botões com ícones */
.btn i {
    margin-right: 0.5rem;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Animações para entrada do hero */
.hero-content.animate-in {
    animation: slideInLeft 0.8s ease-out;
}

.hero-image.animate-in {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero .btn-secondary {
    color: white;
    border-color: white;
}

.hero .btn-secondary:hover {
    background-color: white;
    color: var(--secondary-color);
}

/* Serviços Destaque */
.services-highlight {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--text-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Sobre Preview */
.about-preview {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-features {
    list-style: none;
    margin: 1.5rem 0;
}

.about-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.about-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Estatísticas */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-color));
    color: #c14808;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta .btn {
    background: var(--secondary-color);
    color: white;
    border: 2px solid white;
}

.cta .btn:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsividade Index */
@media (max-width: 992px) {
    .container-hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        max-width: 100%;
        padding-right: 0;
    }

    .hero-image {
        max-width: 100%;
        order: -1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .feature-item {
        font-size: 0.9rem;
    }

    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}