:root {
--primary-color: #07294d;
--secondary-color: #0c203d;
--accent-color: #00d4ff;
--text-color: #333;
--light-gray: #f4f7f6;
--light-blue: #aec0e6e8;
--white: #ffffff;
--border-radius: 8px;
--transition: all 0.3s ease;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--text-color); display: flex; flex-direction: column; min-height: 100vh;}
main { flex: 1; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1600px; margin: 0 auto; padding: 0 20px;}


/* Header & Nav */
header { background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; width: 100%;}
.navbar .logo {
    display: flex;       
    align-items: center; 
    flex-shrink: 0;      
    flex-grow: 0;        
    margin-right: 2rem; 
}
.nav-links { 
    display: flex; 
    gap: 2rem;
    flex-grow: 1; 
    justify-content: flex-end; 
}
.nav-links a { color: var(--text-color); font-weight: 500; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }
.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--secondary-color); margin: 5px 0; transition: var(--transition); }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; background: var(--primary-color); color: var(--white); border-radius: var(--border-radius); font-weight: 600; border: none; cursor: pointer; transition: var(--transition); }
.btn:hover { background: #004494; transform: translateY(-2px); }

/* Sections */
.hero { background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%); color: var(--white); padding: 5rem 0; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }
.section-padding { padding: 4rem 0; }
.section-title { text-align: center; font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 3rem; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary-color); margin: 10px auto 0; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: var(--light-gray); padding: 2rem; border-radius: var(--border-radius); box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid #eee; transition: var(--transition); }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.card-icon { font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem;}

/* SWOT Grid */
.swot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.swot-item { padding: 1rem; border-radius: var(--border-radius); border-left: 5px solid; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.swot-item h3 { margin-bottom: 1rem; font-size: 1.2rem; }
.swot-item ul { list-style-type: disc; padding-left: 1.2rem; }
.swot-item li { margin-bottom: 0.5rem; }
.swot-s { border-color: #86dd9b; } /* Strengths */
.swot-w { border-color: #e97581; } /* Weaknesses */
.swot-o { border-color: #7cacdf; } /* Opportunities */
.swot-t { border-color: #e7cd80; } /* Threats */

/* Forms */
.form-group { margin-bottom: 1.5rem;} 
.form-control {width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; resize: none;}
.alert { padding: 10px; margin-bottom: 10px; border-radius: 4px;}
.alert-success { background-color: #d4edda; color: #155724; }
.alert-error { background-color: #f8d7da; color: #721c24; }

/* Footer */
footer { background: var(--secondary-color); color: var(--white); padding: 3rem 0 1rem; margin-top: auto;}
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h3 { margin-bottom:none; color: var(--accent-color); }
.footer-col a { color: #ccc; }
.footer-col a:hover { color: var(--white); }
.copyright { text-align: center; border-top:none solid rgba(255,255,255,0.1); padding-top: 1.5rem; font-size: 0.9rem; }

/* Back to Top */
#backToTop { 
position: fixed; 
bottom: 20px; 
right: 20px; 

background: rgba(92, 91, 91, 0.7); 
color: var(--secondary-color); 
display: flex; 
align-items: center;
justify-content: center;

border: none; 
width: 40px; 
height: 40px; 
border-radius: 50%; 
cursor: pointer; 
z-index: 999;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
transition: background 0.3s ease, box-shadow 0.3s ease;
}

#backToTop svg {
display: block;
width: 50%;
height: 50%;
}

#backToTop:hover {
background: #b4b4b49d;
box-shadow: 0 6px 12px rgba(90, 90, 90, 0.3);
}

/*Carousel time*/
.team-carousel-container {
    width: 100%;
    overflow-x: hidden;
    padding: 20px 0; 
}

.team-carousel-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; 
    justify-content: center; 
    padding: 10px;
    width: 100%;
    min-width: 0; 
}

.team-member-card {
    text-align: center;
    padding: 20px;
    background-color: var(--white); 
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    transition: var(--transition);
}

.team-member-card:hover {
    transform: translateY(-5px); 
}

.team-member-card .member-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position:top;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 16px var(--text-color);
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.view-all-mobile {
    display: none;
    text-align: center;
    margin-top: 20px;
}

/*Tags card*/
.tags-group {
    width: 100%;
    margin-top: 18px;
}

.skills-title {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 2px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 6px 0;
}

.tag {
    min-width: 60px;
    text-align: center;
    display: inline-block; 
    
    /* Preenchimento e Formato */
    padding: 2px 8px;
    border-radius: 100px;
    font-family: Inter;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap; 
    transition: var(--transition);
}

.tag-hard {
    background-color: var(--primary-color);
    color: #ffffff;
}

.tag-soft {
    background-color: var(--light-blue);
    color: var(--secondary-color);
}

.tag-hard:hover {
    transform: translateY(-1px);
}

.tag-soft:hover {
    transform: translateY(-1px)
   
}