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

html {
    scroll-behavior: smooth
}

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

img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    width: min(1180px, 92%);
    margin: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08)
}

.nav-wrapper {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.logo img {
    width: 182px;
    height: auto;
    object-fit: contain
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 42px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    color: #606060
}

.nav-menu a {
    position: relative;
    padding: 36px 0
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #e30613
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
    content: '';
    position: absolute;
    height: 3px;
    background: #e30613;
    left: 0;
    right: 0;
    bottom: 25px
}

.phone-button {
    background: #e30613;
    color: #fff;
    padding: 18px 24px;
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 14px 25px rgba(227, 6, 19, .25);
    white-space: nowrap
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #111;
    margin: 6px 0;
    border-radius: 99px
}

.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #050505;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(rgba(0, 0, 0, .68), rgba(0, 0, 0, .68)),
        url('assets/banner-extintor.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, .95) 0%,
            rgba(0, 0, 0, .82) 35%,
            rgba(0, 0, 0, .45) 60%,
            rgba(0, 0, 0, .20) 100%);
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 86px 0
}

.eyebrow,
.section-kicker {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    color: #e30613;
    letter-spacing: .3px;
    margin-bottom: 12px
}

.hero-content h1 {
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1.08;
    text-transform: uppercase;
    font-weight: 900;
    max-width: 790px
}

.hero-content h1 span {
    display: block;
    color: #e30613
}

.hero-text {
    font-size: 19px;
    line-height: 1.7;
    margin: 26px 0 38px;
    max-width: 560px
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 36px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 14px;
    transition: .25s
}

.btn-primary {
    background: #e30613;
    color: #fff;
    box-shadow: 0 15px 28px rgba(227, 6, 19, .22)
}

.btn-primary:hover {
    background: #bf0811;
    transform: translateY(-2px)
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, .75);
    color: #fff
}

.btn-outline:hover {
    border-color: #e30613;
    background: #e30613
}

.projects-section {
    padding: 72px 0 56px;
    text-align: center
}

.projects-section h2,
.about-section h2,
.services-section h2,
.location-section h2 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    margin-bottom: 34px
}

.projects-section h2 span {
    color: #e30613
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px
}

.project-card {
    height: 238px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    text-align: left;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .18);
    background: #111
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s
}

.project-card:hover img {
    transform: scale(1.08)
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .8))
}

.project-card div {
    position: absolute;
    z-index: 1;
    left: 18px;
    right: 18px;
    bottom: 16px;
    color: #fff;
    background: linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .15));
    padding: 12px 14px;
    border-radius: 10px;
    backdrop-filter: blur(2px)
}

.project-card h3 {
    font-size: 16px;
    font-weight: 900
}

.project-card p {
    font-size: 12px;
    color: #e7e7e7
}

.see-more {
    display: inline-flex;
    margin-top: 32px;
    border: 1.5px solid #e30613;
    color: #e30613;
    border-radius: 6px;
    padding: 14px 60px;
    font-weight: 800
}

.see-more:hover {
    background: #e30613;
    color: #fff
}

.features-bar {
    background: #151617;
    color: #fff;
    padding: 52px 0
}

.features-bar .section-kicker {
    text-align: center;
    margin-bottom: 28px
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px
}

.feature {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    border-right: 1px solid rgba(255, 255, 255, .12);
    padding-right: 20px
}

.feature:last-child {
    border-right: 0
}

.feature span {
    color: #e30613;
    font-size: 32px;
    line-height: 1
}

.feature h3 {
    font-size: 15px;
    margin-bottom: 7px
}

.feature p {
    font-size: 13px;
    line-height: 1.6;
    color: #d6d6d6
}

.about-section {
    padding: 72px 0
}

.about-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 48px;
    align-items: center
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, .14);
    width: 100%
}

.section-kicker.left {
    text-align: left;
    margin-bottom: 10px
}

.about-content h2 {
    margin-bottom: 16px
}

.about-content p {
    line-height: 1.8;
    color: #555
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 34px
}

.stats-grid div {
    border-left: 3px solid #e30613;
    padding-left: 13px
}

.stats-grid strong {
    display: block;
    color: #e30613;
    font-size: 24px;
    font-weight: 900
}

.stats-grid span {
    font-size: 12px;
    color: #555
}

.services-section {
    padding: 70px 0;
    background: #f7f7f7;
    text-align: center
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    text-align: left
}

.services-grid div {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 22px;
    font-weight: 700;
    line-height: 1.45;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .04)
}

.services-grid div::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #e30613;
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 13px
}

.location-section {
    padding: 72px 0;
    background: #fff
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr .92fr;
    gap: 44px;
    align-items: stretch
}

.map-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12)
}

.map-card img {
    width: 100%;
    height: 330px;
    object-fit: cover
}

.contact-card {
    border-radius: 14px;
    background: #151617;
    color: #fff;
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.contact-card h2 {
    margin-bottom: 18px
}

.contact-card p {
    color: #dedede;
    line-height: 1.8;
    margin-bottom: 28px
}

.full {
    width: 100%
}

.footer {
    background: #141516;
    color: #fff;
    padding: 50px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .7fr 1fr;
    gap: 50px
}

.footer-logo {
    width: 150px;
    margin-bottom: 18px;
    filter: brightness(1.5)
}

.footer p,
.footer a {
    display: block;
    color: #c9c9c9;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px
}

.footer h3 {
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 18px
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 35px;
    padding: 20px;
    color: #aaa;
    font-size: 13px
}

@media(max-width:980px) {
    .nav-wrapper {
        height: auto;
        min-height: 82px
    }

    .menu-toggle {
        display: block
    }

    .nav-menu {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: 10px 6%;
        box-shadow: 0 20px 30px rgba(0, 0, 0, .08);
        display: none
    }

    .nav-menu.open {
        display: flex
    }

    .nav-menu a {
        padding: 18px 0
    }

    .nav-menu a::after {
        display: none
    }

    .phone-button {
        display: none
    }

    .project-grid,
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .about-grid,
    .location-grid {
        grid-template-columns: 1fr
    }

    .hero-section {
        min-height: 610px
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:620px) {
    .logo img {
        width: 150px
    }

    .hero-content {
        padding: 68px 0
    }

    .project-grid,
    .features-grid,
    .services-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .project-card {
        height: 230px
    }

    .feature {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        padding-bottom: 18px
    }

    .btn {
        width: 100%
    }

    .contact-card {
        padding: 30px 22px
    }

    .map-card img {
        height: 260px
    }
}

.about-section {
    background: #ffffff;
    padding: 90px 0;
}

.about-grid {
    align-items: center;
    gap: 60px;
}

.about-image img {
    border-radius: 22px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .18);
    transition: .35s;
}

.about-image img:hover {
    transform: translateY(-4px) scale(1.01);
}

.about-content h2 {
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.9;
    color: #444;
}

.stats-grid {
    margin-top: 42px;
    gap: 24px;
}

.stats-grid div {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
    transition: .3s;
}

.stats-grid div:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .12);
}

.stats-grid strong {
    font-size: 38px;
}


.hero-content {
    animation: fadeUp 1s ease;
}

#inicio,
#servicos,
#sobre,
#projetos,
#diferenciais,
#contato{
scroll-margin-top:80px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* evita bug no mobile */
@media(max-width:768px) {
    .hero-section {
        background-attachment: scroll;
    }
}


.hero-section {
    min-height: 760px !important;
}

.hero-content {
    max-width: 700px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-content h1 {
    font-size: clamp(34px, 4.7vw, 64px) !important;
    line-height: 1.05;
}

.hero-text {
    max-width: 520px;
    font-size: 18px;
}

.hero-bg {
    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, .92) 0%,
            rgba(0, 0, 0, .74) 40%,
            rgba(0, 0, 0, .35) 68%,
            rgba(0, 0, 0, .12) 100%) !important;
}

@media(max-width:768px) {
    .hero-section {
        min-height: 640px !important;
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }

    .hero-bg{
        background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.82) 0%,
            rgba(0,0,0,.55) 45%,
            rgba(0,0,0,.70) 100%
        ) !important;
    }
}


.google-map {
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .14);
}

.google-map iframe {
    display: block;
    width: 100%;
    filter: grayscale(.08) contrast(1.02);
}

.bairro-localizacao {
    margin-top: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #444;
}


/* Ajuste premium do hero */
.hero-section .container {
    width: min(1280px, 92%);
}

.hero-content {
    max-width: 820px !important;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 20px;
    margin-left: 0;
}

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

    .hero-content {
        max-width: 100% !important;
        padding-left: 0;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 42px !important;
        line-height: 1.08;
    }

    .hero-text {
        font-size: 17px;
    }

}


/* Logo real com fundo transparente */
.logo img {
    width: 175px !important;
    height: auto;
    object-fit: contain;
}

.footer-logo {
    width: 155px !important;
    height: auto;
    filter: none !important;
}

@media(max-width:620px) {
    .logo img {
        width: 145px !important;
    }

    .footer-logo {
        width: 135px !important;
    }
}