:root {
    --primary-color: #0768bf;
    --text-color: #3d3d3d;
    --white: #fff;
    --shadow-light: 0 10px 20px rgba(0,0,0,0.1);
    --shadow-medium: 0 15px 25px rgba(0,0,0,0.15);
}

@font-face {
    font-family: 'TT Runs Trial';
    src: url('caminho/para/TTRunsTrial-Variable.woff2') format('woff2'),
        url('caminho/para/TTRunsTrial-Variable.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Erbaum';
    src: url('caminho/para/Erbaum-Regular.woff2') format('woff2'),
        url('caminho/para/Erbaum-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('caminho/para/Inter-Regular.woff2') format('woff2'),
        url('caminho/para/Inter-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Seção Geral da História */
.historia-container {
    background: linear-gradient(to bottom, var(--background-color), #e0e0e0);
    padding: 80px 0;
}

.historia-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
}

.historia-titulo {
    text-align: center;
    color: var(--primary-color);
    font-size: clamp(2.5rem, 3.5vw, 3.5rem);
    margin-bottom: 60px;
    font-weight: bold;
}

/* Seção de História */
.historia-secao {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-right: 2vw;
    padding-left: 2vw;
}


.historia-secao:hover {
    transform: scale(1.02);
}

.historia-imagem {
    width: 60%;
    border-radius: 25px;
    margin-top: 1vw;
    margin-bottom: 1vw;
}

.historia-imagem img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 25px;
}


.historia-conteudo {
    width: 50%;
    padding: 50px;
}

.historia-conteudo h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2.2rem;
}

.historia-conteudo p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.3rem;
}

/* Seção de Fundadores */
.historia-secao.fundadores {
    background-color: transparent;
    box-shadow: none;
    margin-bottom: 50px;
}

.fundadores-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
}

.fundador-card {
    flex: 1;
    max-width: 400px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all 0.3s ease;
}


.fundador-imagem {
    width: 100%;
    height: 300px;
}

.fundador-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.fundador-info {
    padding: 15px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
}

.fundador-info h3 {
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: bold;
}

.fundador-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}


.valores-container {
  display: flex;
  justify-content: center; /* centraliza na horizontal */
  width: 100%;
}

/* Seção de Valores */
.valores-inner {
    background-color: var(--white);
    border-radius: 15px;
    padding: 60px;
    margin-top: 50px;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.valores-container h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-size: 2.5rem;
}
.valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.valor-card {
    background-color: var(--background-color);
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.valor-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.valor-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.valor-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Responsividade */
@media (max-width: 1200px) {
    .fundadores-grid,
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .historia-secao {
        flex-direction: column;
    }

    .historia-imagem,
    .historia-conteudo {
        width: 100%;
    }

    .valor-card{
        width: 230px;
    }
}


@media (max-width: 768px) {
    .fundadores-grid {
        flex-direction: column;
        align-items: center;
    }

    .fundador-card {
        max-width: 300px;
        width: 100%;
    }

    .valores-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
.historia-imagem{
    display: none;
}

  .historia-conteudo {
    text-align: center; /* centraliza tudo dentro */
    padding: 20px; /* espaço interno */
    
  }

  .historia-conteudo h2 {
    margin-bottom: 15px; /* espaço embaixo do título */
    font-size: 1.6rem; /* deixa legível no mobile */
  }

    .historia-conteudo p {
    margin-top: 0;
    line-height: 1.6; /* melhora a leitura */
  }

.historia-secao{
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;
    padding-left: 0;
}

.historia-wrapper{
    justify-content: center;
    align-items: center;
    align-content: center;

}

.historia-container {
padding: 0;
margin: 0;
width: 100%;
}

}