* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-red: #8B0000;
    --darker-red: #5C0000;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-dark: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cabeçalho */
.header {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 30px;
}

.company-name-box {
    background-color: rgba(139, 0, 0, 0.9);
    padding: 30px 60px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--white);
    backdrop-filter: blur(5px);
}

.company-name {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: bold;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Seção de Apps */
.apps-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-red);
    margin-bottom: 60px;
    font-weight: bold;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.app-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--light-gray);
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.2);
}

.app-image-container {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    padding: 20px;
}

.app-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.app-card:hover .app-image {
    transform: scale(1.02);
}

.app-text {
    padding: 25px;
    text-align: center;
}

.app-text h3 {
    color: var(--dark-red);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.app-text p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

/* Seção de Destaque */
.highlight-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--darker-red) 100%);
    color: var(--white);
}

.highlight-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.highlight-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight-text {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: justify;
    text-align-last: center;
}

/* Seção de Contato */
.contact-section {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.contact-button {
    display: inline-block;
    background-color: var(--dark-red);
    color: var(--white);
    padding: 18px 50px;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
    border: 3px solid var(--dark-red);
    letter-spacing: 1px;
}

.contact-button:hover {
    background-color: var(--darker-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
}

.contact-email {
    margin-top: 20px;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
    .header {
        height: 400px;
    }

    .header-content {
        padding-bottom: 20px;
    }

    .company-name {
        font-size: 2.5rem;
        padding: 20px 40px;
    }

    .company-name-box {
        padding: 20px 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .app-image-container {
        min-height: 350px;
        padding: 15px;
    }

    .highlight-title {
        font-size: 2rem;
    }

    .highlight-text {
        font-size: 1rem;
        padding: 0 20px;
    }

    .contact-button {
        font-size: 1.1rem;
        padding: 15px 40px;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 2rem;
    }

    .company-name-box {
        padding: 15px 30px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .highlight-title {
        font-size: 1.8rem;
    }
}
