* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 8px 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.logo span {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s;
}

/* ===== MENU PREMIUM ===== */

.header nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;

    /* CONTORNO AZUL SUAVE (SÓ NO TOPO) */
    text-shadow:
        -1px -1px 0 #14286a,
         1px -1px 0 #14286a,
        -1px  1px 0 #14286a,
         1px  1px 0 #14286a;
}

/* Linha animada */
.header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

/* Hover geral */
/* Hover só quando está em cima da hero */
.header:not(.scroll-active) nav a:hover {
    color: #14286a;
    /* azul quando está em cima */
    transform: translateY(-3px);
}

/* Linha aparece */
.header nav a:hover::after {
    width: 100%;
}

/* Quando desce */
.header.scroll-active {
    background: rgba(255, 255, 255, 0.2);
}

.header.scroll-active nav a,
.header.scroll-active .logo span {
    color: #14286a;
}

.header.scroll-active nav a {
    text-shadow: none;
}

/* Hover quando está embaixo */
.header.scroll-active nav a:hover {
    color: #14286a;
}

/* Efeito clique */
.header nav a:active {
    transform: translateY(0px) scale(0.95);
}

/* ================= HERO ================= */

.hero {
    height: 100vh;
    background-image: url('../images/hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding-left: 10%;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: 68px;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero p {
    font-size: 22px;
    margin-bottom: 35px;
    line-height: 1.6;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: #14286a;
    padding: 14px 36px;
    border-radius: 40px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #0f1f52;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: scale(0.95);
}

/* ================= ABOUT ================= */

.about {
    padding: 100px 0;
    background: #f8fafc;
    color: #1e293b;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
}

/* ================= TEAM ================= */

.team {
    padding: 80px 0;
    background: #f8fafc;
    color: #1e293b;
    text-align: center;
}

/* ================= SOBRE NÓS PROFISSIONAL ================= */

.about-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 160px;
}

.about-text {
    flex: 1;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-text h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 17px;
}

.about p {
    text-align: justify;
    line-height: 1.9;
    font-size: 18px;
    color: #444;
    max-width: 850px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 380px;
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.about-image img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

/* ===== LOGO PREMIUM ===== */

.logo-box img {
    max-width: 320px;
    border-radius: 50%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
    transition: all 0.5s ease;
}

.logo-box img:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 30px 90px rgba(37, 99, 235, 0.4);
}

.logo-box img:hover {
    transform: translateY(-8px) scale(1.05);
}

/* ===== MANIFESTO FINAL ===== */

.about-final {
    text-align: center;
    margin-top: 100px;
    padding: 80px 40px;
    background: white;
    border-left: 6px solid #14286a;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

.about-final p {
    font-size: 20px;
    margin-bottom: 15px;
    color: #334155;
}

.about-final h3 {
    font-size: 28px;
    color: #14286a;
    font-weight: 700;
}
/* ================= IMPACTO EM AÇÃO ================= */

.impacto {
    padding: 100px 0;
    background: #f1f5f9;
    color: #1e293b;
}

.impacto h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
}

/* Layout lado a lado */
.impacto-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

/* Moldura estilo Instagram */
.video-box {
    width: 300px;
    /* controla tamanho */
    background: white;
    padding: 12px;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* Bolinha tipo câmera */
.video-box::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
}

.video-box video {
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* Texto lateral */
.impacto-text {
    max-width: 450px;
}

.impacto-text h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #14286a;
}

.impacto-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* ================= SOBRE - MODERNO TECNOLÓGICO ================= */

.sobre-cards {
    margin-top: 120px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

/* FUNDO TECNOLÓGICO */
.about {
    background: #f8fafc;
}

/* CARD ESTILO GLASS */
.card {
    position: relative;
    padding: 40px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    overflow: hidden;
}

/* BARRA LATERAL ANIMADA */
.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, #14286a, #1e3a8a);
    transition: width 0.1s ease;
}

/* HOVER MODERNO */
.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(37, 99, 235, 0.4);
}

/* Borda cresce no hover */
.card:hover::before {
    width: 100%;
    opacity: 0.05;
}

/* TÍTULOS */
.card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #14286a;
}

.card h4 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 16px;
    color: #14286a;
}

.card p {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
}

.card ul {
    padding-left: 18px;
    margin-top: 10px;
}

.card ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #334155;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .sobre-cards {
        gap: 30px;
    }
}

/* ===== TÍTULO INSTITUCIONAL ===== */

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #14286a;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #14286a;
    margin-top: 12px;
}

/* ===== TEXT CARD INSTITUCIONAL ===== */

.text-card {
    padding: 30px 0;
    background: none;
    border: none;
    box-shadow: none;
}

.text-card::before {
    display: none;
}

.text-card:hover {
    transform: none;
    box-shadow: none;
    border: none;
}

/* ===== DECORAÇÃO MODERNA ===== */


.about .container {
    position: relative;
    z-index: 2;
}

/* ===== LINHA INSTITUCIONAL ===== */

.about {
    position: relative;
}

/* ===== ELEMENTO DECORATIVO GEOMÉTRICO ===== */

.about::before {
    content: "";
    position: absolute;
    top: 80px;
    left: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 2;
}

/* ===== REMOVER QUALQUER DECORAÇÃO DA SEÇÃO ABOUT ===== */

.about::before,
.about::after {
    content: none !important;
    display: none !important;
}


/* ===== FAIXA INSTITUCIONAL DEGRADÊ ===== */

.about-intro {
    background: linear-gradient(135deg, #14286a, #14286a);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* detalhe decorativo sutil */
.about-intro::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.about-intro p {
    color: white;
    font-size: 22px;
    font-weight: 500;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
}

/* ===== TEXTURA INSTITUCIONAL SUAVE ===== */

.about {
    background: #f8fafc;
    background-image: linear-gradient(
        rgba(0,0,0,0.015) 1px,
        transparent 1px
    );
    background-size: 40px 40px;
}

/* ===== BANNER INSTITUCIONAL ===== */

.banner-institucional {
    width: 100%;
    height: 70vh;
    background:
        linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.3) 15%, rgba(255,255,255,0) 30%),
        url("../images/banner.jpg") center center no-repeat;
    background-size: cover;
}

/* ================= FOOTER ONG INSTITUCIONAL ================= */

.footer {
    background: #14286a;
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 240px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
}

.footer-email {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.8;
}

/* Contato */
.footer-contact {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-contact a {
    font-size: 22px;
    color: white;
    transition: 0.3s ease;
}

.footer-contact a:hover {
    color: #93c5fd;
    transform: translateY(-3px);
}

/* Linha final */
.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
    opacity: 0.8;
}

/* ================= COLABORADORES ================= */

.colaboradores {
    background: white; /* fundo claro elegante */
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    color: #14286a;
    margin-bottom: 20px;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #14286a;
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

/* LOGOS */

.colaboradores {
    background: white;
    padding: 100px 0;
}

.colaboradores-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 60px; /* espaço vertical e horizontal */
    justify-items: center;
    margin-top: 50px;
}

.colaborador-item {
    width: 100px;      /* largura fixa */
    height: 100px;     /* mesma altura */
    border-radius: 50%;  /* 👈 transforma em círculo */
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    overflow: hidden;   /* importante */
    transition: 0.3s ease;
}

.colaborador-item:hover {
    transform: scale(1.05);
}

.colaborador-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.colaborador-item img.logo-ajuste1 {
    width: 120%;
    height: 110%;
}

.colaborador-item img.logo-ajuste2 {
    width: 150%;
    height: 150%;
}

.colaborador-item img.logo-ajuste3 {
    width: 220%;
    height: 220%;
}
.colaborador-item img:hover {
    transform: scale(1.05);
}

/* ================= PAGINA PROJETOS ================= */

body.pagina-projetos {
    font-family: 'Poppins', sans-serif;
    color: #1e293b;
}

body.pagina-projetos main {
    margin-top: 0;
}

/* Header */
body.pagina-projetos .header {
    background: #14286a;
}

/* ================= SEÇÃO PROJETO ================= */

.projeto-section {
    position: relative;
    padding: 120px 20px;
    background-size: cover;
    background-position: center;
}

.projeto-section .overlay {
    position: absolute;
    inset: 0;
    background: rgba(20,40,106,0.55);
    z-index: 1;
}

/* Conteúdo */
.projeto-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 70px;
    flex-wrap: wrap;
}

/* ================= MEDIA (IMAGEM / VIDEO) ================= */

.media-box {
    width: 320px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(0,0,0,0.35);
    background: #000;
    display: flex;
    flex-direction: column;
}

/* IMAGEM */
.media-box img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* VIDEO */
.media-box video {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background: #000;
}
/* ================= CARD ================= */

.projeto-card {
    background: rgba(255,255,255,0.95);
    padding: 45px;
    border-radius: 22px;
    max-width: 520px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.projeto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 80px rgba(37,99,235,0.25);
}

.projeto-card h3 {
    font-size: 26px;
    font-weight: 600;
    color: #14286a;
    margin-bottom: 20px;
}

.projeto-card p {
    font-size: 16px;
    line-height: 1.7;
}

/* ================= ANIMAÇÃO SUTIL ================= */

.fade-up {
    animation: fadeUp 0.9s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= RESPONSIVO ================= */

@media (max-width: 992px) {
    .projeto-content {
        flex-direction: column;
        text-align: center;
    }

    .media-box {
        width: 100%;
        max-width: 360px;
        height: 420px;
    }

    .projeto-card {
        padding: 35px;
    }
}

@media (max-width: 576px) {
    .projeto-card h3 {
        font-size: 22px;
    }

    .projeto-card p {
        font-size: 15px;
    }
}

/* ================= VIDEO BOX ================= */

.video-box {
    width: 320px;
    margin-top: 20px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(0,0,0,0.35);
    background: #000;
}

/* Vídeo responsivo, sem corte */
.video-box video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

/* Desktop: imagem + vídeo alinhados */
@media (min-width: 993px) {
    .projeto-media {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Mobile */
@media (max-width: 992px) {
    .video-box {
        width: 100%;
        max-width: 360px;
    }
}

/* REMOVE QUALQUER BORDA / FUNDO DO VIDEO */
.video-box,
.video-box video {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* VIDEO SEM BORDA E RESPONSIVO */
.video-box video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px; /* mantém padrão visual elegante */
    object-fit: cover;
}

/* REMOVE CONTORNO AO CLICAR (focus) */
.video-box video:focus {
    outline: none;
}

/* EVITA FUNDO PRETO ANTES DO PLAY */
video::-webkit-media-controls-panel {
    background-image: none;
}

/* GARANTE QUE O CONTAINER NÃO CRIE BORDA */
.video-box {
    padding: 0;
    overflow: hidden;
}

.projeto-texto {
    font-size: 16px;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 14px;
    text-align: left;
}

/* ================= MENU - APENAS PÁGINA PROJETOS ================= */

body.pagina-projetos header nav a,
body.pagina-projetos header nav a:hover,
body.pagina-projetos header nav a:focus,
body.pagina-projetos header nav a:active {
    color: #ffffff !important;
}


/* =====================================================
   EFEITO PREMIUM DOS CARDS DA HOME APLICADO A PROJETOS
   ===================================================== */

/* Faz o projeto-card herdar o visual do .card */
body.pagina-projetos .projeto-card {
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 99, 235, 0.10);
    box-shadow: 0 20px 60px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.45s ease;
}

/* Barra lateral animada */
body.pagina-projetos .projeto-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #14286a, #1e3a8a);
    transition: 0.4s ease;
}

/* Hover igual ao card da home */
body.pagina-projetos .projeto-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 90px rgba(37,99,235,0.10);
    border-color: rgba(37,99,235,0.10);
}

/* Barra cresce no hover */
body.pagina-projetos .projeto-card:hover::before {
    width: 100%;
    opacity: 0.01;
}

/* Texto alinhado e bonito */
body.pagina-projetos .projeto-card p {
    font-size: 16px;
    line-height: 1.75;
    color: #334155;
}