@import url('index.css');

* {
    box-sizing: border-box;
}

/*
 * ========================================
 * 1. SECÃO DE DESTAQUE (COVER/HERO)
 * ========================================
 */

.hero-cover {
    min-height: 92vh; /* Deixa crescer se necessário */
    position: relative;
    overflow: hidden;
    text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
    box-shadow: 0 0 8rem rgba(0, 0, 0, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Vídeo */
#bgvid {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%; 
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Conteúdo */
.cover-container {
    position: relative;
    z-index: 3;
    text-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

@media (min-width: 992px) {
    .cover-container {
        max-width: 42rem;
    }
}

.cover-container h1 {
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    line-height: 1.2;
    text-align: center;
    color: var(--white)
}

.cover-container p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    padding: 0 1rem;
    text-align: center;
    color: var(--white)
}

.hero-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-logo {
    max-width: 260px;
    width: 28vw;
    min-width: 160px;
    height: auto;
}

/*
 * ========================================
 * 2. DIVS SOLTAS
 * ========================================
 */

#introduction {
    padding: 15rem 0 15rem 0; 
}

#news{
    padding: 15rem 0 15rem 0;
}

/*
 * ========================================
 * 3. CARDS
 * ========================================
 */

.info-card {
  border: 4px solid transparent;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.info-card:hover {
    border-color: var(--mint);
    transform: 
        translateY(-4px);
}

.info-card .btn{
    border-color: var(--mint);
    color: var(--mint);
}

.info-card .btn:hover {
    background-color: var(--mint);
    border-color: none;
    color: var(--white);
}

#cards-container {
    padding-bottom: 15rem;
}

/*
 * ========================================
 * 4. ARTIGOS
 * ========================================
 */
.article-container-text .btn{
    background-color: var(--white);
    border-color: var(--white);
    color: var(--black);
}

.article-container-text .btn:hover {
    background-color: var(--mint);
    border-color: var(--mint);
    color: var(--white);
}

.article-card button {
    background-color: transparent; 
    color: var(--bs-body-color);
    transition: 
        background-color 0.3s ease, 
        border-color 0.3s ease, 
        color 0.3s ease, 
        transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.article-card button h6 {
    color: inherit; 
    transition: color 0.3s ease;
}

.article-card button:not(.collapsed) {
    background-color: var(--mint);
    border-color: var(--mint);
    color: var(--white);
}

.article-card button:not(.collapsed) h6 {
    color: var(--white) !important; 
}

.article-card button:hover {
    background-color: var(--darkgreen);
    border-color: var(--darkgreen);
    color: var(--white);
}

.article-card button:hover h6 {
    color: var(--white) !important; 
}

/*
 * ========================================
 * 5. EQUIPE
 * ========================================
 */

#equipe-container {
    background-color: var(--mint);
    width: 100%;
    margin: 15rem 0 5rem 0;
}

#equipe-container .btn{
    background-color: none;
    border-color: var(--bs-body-bg-rgb);
    color: var(--bs-body-bg-rgb);
}

#equipe-container .btn:hover {
    background-color: var(--white);
    border-color: var(--mint);
    color: var(--mint);
}

.team-icon {
    content: url('../images/images-home/team-icon-light-mode.png');
    max-width: 200px;
    max-height: 200px;
}

[data-bs-theme="dark"] .team-icon {
    content: url('../images/images-home/team-icon-dark-mode.png');
}