* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: min(1200px, 90%);
    margin: auto;
}

section {
    padding: 90px 0;
}

/* =========================== NAVBAR =========================== */

#header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 95%);
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(16px);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
    z-index: 999;
}

.navbar {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    transition: .3s;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    position: relative;
    color: var(--text);
    font-weight: 500;
    transition: .3s;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    background: var(--orange);
    transition: .3s;
    border-radius: 20px;
}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: var(--primary);
}

nav a.active::after {
    width: 100%;
}

.btn-nav {
    background: var(--orange);
    color: white;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-nav:hover {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(10, 61, 145, .25);
}

#menu-btn {
    width: 45px;
    height: 45px;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

#menu-btn span {
    width: 28px;
    height: 3px;
    border-radius: 20px;
    background: var(--primary);
    transition: .35s;
}

#menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#menu-btn.active span:nth-child(2) {
    opacity: 0;
}

#menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transition: .35s;
    z-index: 900;
}

#overlay.active {
    opacity: 1;
    visibility: visible;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../img/hero.jpg") center center/cover no-repeat;
    padding-top: 120px;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(5, 25, 60, .82) 0%,
            rgba(5, 25, 60, .65) 40%,
            rgba(5, 25, 60, .55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 760px;
    width: 100%;
}

.hero-subtitle {
    display: inline-block;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 25px;
    font-size: .95rem;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 650px;
    opacity: .95;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-top: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary {
    background: var(--orange);
    color: white;
    padding: 16px 34px;
    border-radius: 50px;
    transition: .3s;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-4px);
    background: #ff8600;
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    padding: 16px 34px;
    border-radius: 50px;
    transition: .3s;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: float 1.8s infinite;
    z-index: 2;
}

@keyframes float {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 10px);
    }
}

/*============================
        QUEM SOMOS
=============================*/

.about {
    background: #fff;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--orange);
    border-radius: 28px;
    top: 18px;
    left: 18px;
    z-index: 0;
    opacity: .15;
}

.about-image img {
    position: relative;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .15);
    z-index: 2;
    transition: .4s;
}

.about-image:hover img {
    transform: translateY(-8px);
}

.section-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(247, 147, 30, .12);
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.about-list .item {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 1.05rem;
}

/*============================
        NÚMEROS
=============================*/

.stats {
    background:
        linear-gradient(135deg,
            #0A3D91 0%,
            #1255B0 100%);
    color: #FFF;
    text-align: center;
}

.stats .section-tag {
    background: rgba(255, 255, 255, .15);
    color: #FFF;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 20px 0 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-card {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    padding: 40px 20px;
    transition: .3s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .15),
            transparent);
    transition: .7s;
}

.stat-card:hover::before {
    left: 160%;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, .2);
}

.number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.05rem;
    opacity: .95;
}

.stat-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    transition: .3s;
}

.stat-icon i {
    font-size: 2rem;
    color: var(--yellow);
}

/*============================
        PROJETOS
=============================*/

.projects {
    background: #fff;
}

.section-title-dark {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 20px auto 60px;
    max-width: 750px;
}

.projects .section-tag {
    display: table;
    margin: auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    height: 420px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .85));
    color: white;
}

.project-overlay h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: .35s;
}

.project-overlay p {
    opacity: 0;
    transform: translateY(20px);
    transition: .35s;
}

.project-overlay span {
    margin-top: 25px;
    font-weight: 600;
    color: var(--yellow);
    opacity: 0;
    transition: .35s;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-card:hover h3 {
    transform: translateY(0);
}

.project-card:hover p,
.project-card:hover span {
    opacity: 1;
    transform: translateY(0);
}

/*============================        GALERIA=============================*/
.gallery {
    background: var(--background);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.gallery-item {
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    height: 280px;
}

.gallery-item.tall {
    height: 580px;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/*============================
            CTA
=============================*/

.cta {
    background:
        linear-gradient(135deg,
            #0A3D91 0%,
            #1255B0 100%);
    padding: 120px 0;
}

.cta-box {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: auto;
}

.cta .section-tag {
    background: rgba(255, 255, 255, .15);
    color: white;
}

.cta h2 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    margin: 25px 0;
    line-height: 1.2;
}

.cta p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: auto;
    opacity: .95;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 45px;
    flex-wrap: wrap;
}

/*============================
            FOOTER
=============================*/

.footer {

    background: #082C67;

    color: white;

    padding: 80px 0 0;

}

.footer-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1.3fr;

    gap: 60px;

}

.footer-about img {

    height: 75px;

    margin-bottom: 25px;

}

.footer-about p {

    line-height: 1.9;

    opacity: .85;

}

.footer h3 {

    margin-bottom: 25px;

    font-size: 1.2rem;

}

.footer-links ul {

    display: flex;

    flex-direction: column;

    gap: 15px;

}

.footer-links a {

    opacity: .85;

    transition: .3s;

}

.footer-links a:hover {

    color: var(--yellow);

    padding-left: 6px;

}

.footer-contact p {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    opacity: .85;

}

.footer-contact i {

    color: var(--yellow);

}

.footer-social {

    display: flex;

    justify-content: center;

    gap: 18px;

    margin: 60px 0 35px;

}

.footer-social a {

    width: 48px;

    height: 48px;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    background: rgba(255, 255, 255, .08);

    color: white;

    font-size: 1.2rem;

    transition: .3s;

}

.footer-social a:hover {

    background: var(--orange);

    transform: translateY(-5px);

}

.footer-bottom {

    border-top: 1px solid rgba(255, 255, 255, .08);

    text-align: center;

    padding: 25px;

    font-size: .95rem;

    opacity: .75;

}
