
/* =====================================================
   NOSSOS NÚMEROS - Home Institucional
   ===================================================== */

.nossos-numeros {
  background-image: linear-gradient(rgba(0, 21, 54, 0.25), rgba(0, 21, 54, 0.55)), 
                    url('../img/nossos-numeros-bg-home.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.nossos-numeros .numero-card {
  background-color: transparent;
  background-size: cover;
  background-position: center;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.nossos-numeros .numero-card:hover {
  transform: translateY(-5px);
}

/* Overlay hover sutil */
.nossos-numeros .numero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.03);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nossos-numeros .numero-card:hover::before {
  opacity: 1;
}

.nossos-numeros .numero-icone-custom {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Elementos internos - z-index pra ficar acima do overlay */
.nossos-numeros .numero-icon,
.nossos-numeros .numero-valor,
.nossos-numeros .numero-label {
  position: relative;
  z-index: 1;
}

/* Efeito sutil durante a contagem */
.nossos-numeros .counter-animated.counting {
  opacity: 0.85;
}

/* Responsivo */
@media (max-width: 991px) {
  .nossos-numeros {
    background-attachment: scroll;
  }
}


/* =====================================================
   NOSSAS MARCAS - Home Institucional
   ===================================================== */

.nossas-marcas {
  background-image: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.8)), 
                    url('../img/nossas-marcas-bg-home.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ----- Card da Marca ----- */
.marca-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.marca-card:hover {
  transform: translateY(-8px);
}

/* Front do Card (Logo) */
.marca-card-front {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.marca-card:hover .marca-card-front {
  opacity: 0;
  transform: scale(0.9);
}

.marca-logo {
  max-width: 80%;
  max-height: 60%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Back do Card (Info) */
.marca-card-back {
  position: absolute;
  inset: 0;
  background: var(--marca-cor, var(--cor-pri-3));
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.marca-card:hover .marca-card-back {
  opacity: 1;
  transform: scale(1);
}

.marca-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-marca-saiba {
  transition: transform .25s cubic-bezier(.4, 0, .2, 1);
}

/* ----- Responsivo ----- */
@media (max-width: 767px) {
  .marca-card {
    aspect-ratio: 3 / 2;
  }
  
  .marca-card-desc {
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 575px) {
  .marcas-filtros {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}

.marcas-grid {
  display: flex;
  flex-wrap: wrap;
}

.marcas-grid .marca-item {
  width: 20%; /* 5 col no desktop */
}

/* Tablet */
@media (max-width: 991px) { /* 991 */
  .marcas-grid .marca-item {
    width: 33.333%;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .marcas-grid .marca-item {
    width: 100%;
  }
}
/* Mobile Pequeno */
@media (max-width: 400px) {
  .marcas-grid .marca-item {
    width: 100%;
  }
}




/* =====================================================
  Propósito e Valores 
   ===================================================== */
.proposito-valores {
    min-height: 600px;
    position: relative;
    background-image:url('../img/proposito-valores/fundo-floresta.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Forma amarela como BG da coluna de valores */
.valores-wrapper {
    min-height: 400px;
}

.valores-content {
    z-index: 1;
}

.pessoa-centro {
    position: relative;
    display: inline-block;
}

.play-video-btn {
    position: absolute;
    left: 50%;
    top: 62%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border: 0;
    border-radius: 999px;
    background: rgba(8, 9, 76, 0.88);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.play-video-btn:hover {
    background: var(--cor-pri-3);
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.38);
}

.play-video-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.modal-video-youtube .modal-dialog {
    max-width: min(960px, 92vw);
}

.modal-video-youtube .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
}

.modal-video-youtube video {
    object-fit: cover;
}

/* Glassmorphism no propósito (só mobile) */
@media (max-width: 991px) {
    .proposito-glass {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 15px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    
    .proposito-img-mobile {
        max-width: 80%;
        margin: 0 auto;
    }
    
    /* Desabilita parallax no mobile */
    .proposito-valores {
        background-attachment: scroll !important;
    }
}

/* Linha vertical entre ícone e texto */
.valor-linha {
    width: 3px;
    height: 60px;
    background-color: var(--cor-pri-3);
    margin: 0 1.5rem;
    flex-shrink: 0;
    border-radius: 20px;
}

/* Ajustes responsivo */
@media (max-width: 991px) {
    .valor-linha {
        height: 60px;
        margin: 0 1rem;
    }
}



/* =====================================================
  Na Mídia / Últimas Notícias
   ===================================================== */

/* Card Hero */
.card-hero {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.hero-bg {
    transition: transform 0.5s ease;
}

.card-hero:hover .hero-bg {
    transform: scale(1.05);
}

.hero-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.hero-content .btn {
    transition: all 0.3s ease;
}

.hero-content .btn:hover {
    transform: translateX(5px);
    gap: 0.5rem;
}

/* Cards Menores */
.card-noticia {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.card-noticia:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.card-img-zoom {
    transition: transform 0.5s ease;
}

.card-noticia:hover .card-img-zoom {
    transform: scale(1.1);
}

/* Espaçamento de letras para subtítulo */
.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Responsivo */
@media (max-width: 991px) {
    .card-hero .hero-content {
        min-height: 400px !important;
    }
    
    .card-hero h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .card-hero .hero-content {
        min-height: 350px !important;
        padding: 2rem 1.5rem !important;
    }
}


/* =====================================================
  Carreiras e GPTW
   ===================================================== */

.carreiras-gptw {
    position: relative;
    min-height: 400px;
}

/* Background Full Width - Foto da Equipe */
.carreiras-gptw-bg {
    background-image: url('../img/carreiras/equipe-gptw.jpg'); 
    background-size: cover;
    background-position: right;
    background-attachment: scroll; 
    z-index: 0;
}



/* Stats */
.stat-box {
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.5) !important;
}

/* Glass Card */
.glass-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Badge Glass */
.badge-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    transition: all 0.3s ease;
}

.badge-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}


/* Feature Icons */
.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(65, 215, 245, 0.2);
    border: 2px solid #41d7f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #41d7f5;
    transition: all 0.3s ease;
}

.feature-icon:hover {
    background: #41d7f5;
    color: white;
    transform: rotate(360deg);
}

/* Responsivo */
@media (max-width: 991px) {


.carreiras-gptw-bg {
    background-image: url('../img/carreiras/equipe-gptw.jpg'); 
    background-size: cover;
    background-position: left;
    background-attachment: scroll; 
    z-index: 0;
}

    
    .selo-gptw-wrapper img {
        max-width: 120px !important;
    }
    
    .carreiras-content,
    .gptw-content {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
