/* FONTES E RESET BÁSICO */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700;900&display=swap');

:root {
    --navy: #0A1628;
    --orange: #FF6B35;
    --white: #FAFAF9;
    --navy-light: #1A2942;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: whitesmoke;
  background-image: linear-gradient(to bottom, rgb(6, 15, 30), rgb(10, 22, 40), var(--navy)) /* mesma cor do topo */
}


main {
    flex-grow: 1;
}

a {
    text-decoration: none;
    color: inherit;
}
/* ============ HERO (PÁGINAS INTERNAS) ============ */
.hero.short-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-background {
    position: absolute;
    inset: 0;
     background-image: linear-gradient(to bottom, rgba(10, 22, 40, 0.667), rgba(10, 22, 40, 0.486));
}


.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 1.5rem;
}
.short-hero .hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}
.short-hero .hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 40rem;
    margin: 0 auto;
}
.hero-icon-wrapper {
    width: 4rem;
    height: 4rem;
    background-color: var(--orange);
    color: white;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

/* ============ SEÇÕES GERAIS ============ */
.section {
    padding: 6rem 1.5rem;
}
.section.bg-light {
    background-color: #FAFAF9;
}
.section-container {
    max-width: 80rem;
    margin: 0 auto;
}

/* ============ GRADE DA EQUIPE ============ */
:root {
    --navy: #233a42;
    --orange: #d97706;
}

/* ===== GRID PRINCIPAL ===== */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    background-image: linear-gradient(to bottom, rgba(10, 22, 40, 0.667), rgba(10, 22, 40, 0.486));
}

/* ===== CARTÕES ===== */
.team-card {
    display: flex;
    align-items: center;
    background-color: rgb(237, 237, 237);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
     text-align: justify;
  text-justify: inter-word; /* distribui o espaço entre palavras */
}

.team-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* ===== IMAGEM ===== */
.card-image {
    position: relative;
    width: 40%;
    height: 100%;
    overflow: hidden;
    display: flex;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* garante que a imagem ocupe todo o espaço */
    object-position: center; /* centraliza o enquadramento */
    display: block;
}

.team-card:hover .card-image img {
    transform: scale(1.1);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to top, var(--navy), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.team-card:hover .card-image-overlay {
    opacity: 10;
}

/* ===== CONTEÚDO ===== */
.card-content {
    padding: 2rem;
    flex: 1;
}

.card-content h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 0.3rem;
    transition: color 0.3s;
}

.team-card:hover .card-content h3 {
    color: var(--orange);
}

.card-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 1rem;
}

.card-content p {
    font-size: 1rem;
    color: #64748B;
    font-weight: 500;
    line-height: 1.6;
}

.largurab {
    margin-top: 3rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.larguraf {
    margin-top: 1.8rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

/* ===== CARTÃO ALTERNADO (para o segundo, tipo Fernanda) ===== */
.team-card.reverse {
    flex-direction: row-reverse;
    margin-bottom: 2.5rem;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .team-card,
    .team-card.reverse {
        flex-direction: column;
        text-align: center;
    }

    .card-image {
        width: 100%;
    }

    .card-content {
        padding: 1.5rem;
    }
}
