/* ===========================
   Reset e Variáveis Globais
   =========================== */

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

:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --secondary-color: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

/* ===========================
   Utilitários
   =========================== */

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* ===========================
   Header/Navigation
   =========================== */

.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.mobile-nav-list a:hover {
    color: var(--primary-color);
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* ===========================
   About Section
   =========================== */

.about {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-dark);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--secondary-color);
    text-align: justify;
}

/* ===========================
   Companies Section
   =========================== */

.companies {
    padding: 80px 0;
    background-color: var(--white);
}

.companies h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-dark);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.company-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-color);
}

.company-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.company-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.company-category {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-description {
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.company-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.company-link::after {
    content: ' →';
    transition: var(--transition);
}

.company-link:hover {
    color: var(--primary-dark);
}

.company-link:hover::after {
    transform: translateX(5px);
}

/* ===========================
   Values Section
   =========================== */

.values {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

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

.values-column h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.values-column p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--secondary-color);
    text-align: justify;
}

.core-values h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.value-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.1);
    border-color: var(--primary-color);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.value-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* ===========================
   Contact Section
   =========================== */

.contact {
    padding: 80px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-content p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #444444;
    padding-top: 20px;
    text-align: center;
    color: #999999;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
    }

    .mobile-menu.active {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .about h2,
    .companies h2,
    .core-values h2,
    .contact h2 {
        font-size: 2rem;
    }

    .companies-grid {
        grid-template-columns: 1fr;
    }

    .company-card {
        padding: 25px;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .value-item {
        padding: 20px;
    }

    .value-icon {
        font-size: 2rem;
    }

    .value-item h3 {
        font-size: 0.95rem;
    }

    .nav-list {
        gap: 15px;
    }

    .nav-list a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

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

    .hero-description {
        font-size: 0.95rem;
    }

    .about h2,
    .companies h2,
    .core-values h2,
    .contact h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .about-text p,
    .company-description,
    .values-column p {
        font-size: 0.95rem;
    }

    .company-icon {
        font-size: 2.5rem;
    }

    .company-card h3 {
        font-size: 1.2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-item {
        padding: 15px;
    }

    .value-icon {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-section h4 {
        font-size: 1rem;
    }
}

/* ===========================
   Animações
   =========================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.company-card,
.value-item {
    animation: fadeIn 0.6s ease-out forwards;
}

.company-card:nth-child(1) {
    animation-delay: 0.1s;
}

.company-card:nth-child(2) {
    animation-delay: 0.2s;
}

.company-card:nth-child(3) {
    animation-delay: 0.3s;
}

.company-card:nth-child(4) {
    animation-delay: 0.4s;
}

.company-card:nth-child(5) {
    animation-delay: 0.5s;
}
