/* ==========================================
   PÁGINA SOBRE - ESTILOS ESPECÍFICOS
   ========================================== */

/* Header na página Sobre */
.header {
    min-height: 160px;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: min-height 0.3s ease, box-shadow 0.3s ease;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    transition: height 0.3s ease;
}

.header.scrolled {
    min-height: 100px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled::before {
    height: 6px;
}

.header.scrolled .logo {
    height: 70px;
}

.header.scrolled .logo img {
    max-width: 250px;
}

.header-content {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding: 0 10%;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    height: 120px;
    transition: height 0.3s ease;
}

.logo img {
    height: 100%;
    width: auto;
    max-width: 450px;
    object-fit: contain;
    transition: max-width 0.3s ease;
}

.menu {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.menu a {
    text-decoration: none;
    color: var(--color-tertiary);
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: var(--color-secondary);
}

.menu a.active {
    color: var(--color-primary);
    font-weight: 700;
}

/* Hero Section */
.hero-sobre {
    position: relative;
    width: 100%;
    height: 400px;
    background-image: url('assets/bg-sobre.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 160px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 67, 132, 0.7);
    z-index: 1;
}

.hero-title {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 300;
    margin: 0;
    text-align: center;
}

/* About Content Section */
.about-content {
    background-color: var(--color-quaternary);
    padding: 80px 10%;
    min-height: 70vh;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 80px;
}

.about-text p {
    color: var(--color-tertiary);
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 20px 0;
    text-align: justify;
}

/* Team Section */
.team-section {
    margin-top: 60px;
}

.team-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    background-color: var(--color-quaternary);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.team-role {
    color: var(--color-tertiary);
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.team-companies {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    min-height: 40px;
}

.team-companies img {
    height: 30px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.team-companies img:nth-child(3) {
    height: 80px;
}

.team-companies img:hover {
    opacity: 1;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    color: var(--color-white);
    width: 100%;
    min-height: 300px;
    background-color: rgba(44, 44, 44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

.footer-logo {
    max-width: 250px;
    height: auto;
    margin: 0 0 20px 0;
}

.footer span {
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 16px);
}

.footer-arrow {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--color-tertiary);
    position: absolute;
    bottom: 40px;
    right: 10%;
}

.footer-arrow:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

/* ==========================================
   MEDIA QUERIES
   ========================================== */

/* Tablets */
@media (max-width: 1024px) {
    .header {
        min-height: 160px;
    }

    .header-content {
        padding: 0 5%;
    }

    .hero-sobre {
        height: 350px;
        margin-top: 160px;
    }

    .about-content {
        padding: 60px 8%;
    }

    .team-cards {
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .logo img {
        max-width: 250px;
    }
    .header {
        min-height: 120px;
        position: static;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 20px 5%;
    }

    .menu {
        gap: 15px;
        justify-content: center;
    }

    .menu a {
        font-size: 16px;
    }

    .hero-sobre {
        height: 300px;
        margin-top: auto;
    }

    .hero-title {
        font-size: 48px;
    }

    .about-content {
        padding: 40px 5%;
    }

    .about-text {
        margin-bottom: 60px;
    }

    .about-text p {
        font-size: 16px;
        text-align: left;
    }

    .team-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .header-content {
        padding: 15px 5%;
    }

    .menu {
        /* flex-direction: column; */
        gap: 10px;
    }

    .hero-sobre {
        height: 250px;
        margin-top: auto;
    }

    .hero-title {
        font-size: 36px;
    }

    .about-content {
        padding: 30px 5%;
    }

    .team-card {
        padding: 30px 20px;
    }

    .team-photo {
        width: 100px;
        height: 100px;
    }

    .team-name {
        font-size: 20px;
    }
}