/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
    font-family: 'Inter', sans-serif;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
    background-color: #040714;
}

/* ===== VARIABLES ===== */
:root {
    --orange: #FF6F00;
    --light-black: #24272c;
    --dark-black: #1B1E23;
    --light-white: #FFFFFF;
    --dark-white: #F1F1F1;
}

/* ===== HEADER ===== */
.header {
    width: 100%;
    padding: 1.25rem;
    background-color: transparent;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease;
}

.header.scrolled {
    background: rgba(4, 7, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__image {
    width: 10rem;
    height: auto;
    margin-right: auto;
    cursor: pointer;
}

.header__nav {
    display: flex;
}

.header__list {
    list-style: none;
    display: flex;
    align-items: center;
}

.header__item {
    display: inline-block;
    padding: 0 1.25rem;
}

.header__link {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-white);
    transition: color 0.3s ease;
}

.header__link:hover {
    color: var(--orange);
}

.header__button {
    cursor: pointer;
    border: 2px solid transparent;
    padding: 9px 25px;
    border-radius: 50px;
    background-color: var(--orange);
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-white);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header__button:hover {
    color: var(--orange);
    border: 2px dashed var(--orange);
    background-color: transparent;
}

/* Hamburger */
.header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
}

.header__hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--dark-white);
    border-radius: 10px;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
}

.header__hamburger.active .header__hamburger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.header__hamburger.active .header__hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.header__hamburger.active .header__hamburger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile menu */
.header__mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: rgba(4, 7, 20, 0.98);
    backdrop-filter: blur(10px);
    padding: 5rem 2rem 2rem;
    transition: right 0.4s ease;
    z-index: 150;
    overflow-y: auto;
}

.header__mobile-menu.active {
    right: 0;
}

.header__mobile-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.header__mobile-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__mobile-link {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark-white);
    transition: all 0.3s ease;
}

.header__mobile-link:hover {
    color: var(--orange);
    padding-left: 0.5rem;
}

@media (max-width: 768px) {
    .header__image {
        width: 8rem;
    }

    .header__nav,
    .header__button {
        display: none;
    }

    .header__hamburger {
        display: flex;
    }

    .header__mobile-menu {
        display: block;
    }
}

/* ===== HERO SECTION ===== */
.section__banner {
    height: 100dvh;
    background:
        linear-gradient(90deg, rgba(4, 7, 20, 0.85) 0%, rgba(4, 7, 20, 0.6) 35%, rgba(4, 7, 20, 0.15) 60%, rgba(4, 7, 20, 0) 100%),
        linear-gradient(to bottom, rgba(4, 7, 20, 0) 0%, #040714 100%),
        url('/assets/images/banners/hero__banner.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    padding: 5rem 0;
    overflow-x: hidden;
}

.section__banner .section__container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    height: 100%;
}

.section__banner .section__text {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.section__banner .section__title {
    color: var(--dark-white);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
}

.section__banner .section__subtitle {
    color: var(--dark-white);
    font-size: 1rem;
    font-weight: 300;
}

.section__button {
    cursor: pointer;
    border: 2px solid transparent;
    padding: 9px 25px;
    border-radius: 50px;
    background-color: var(--orange);
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.section__button:hover {
    color: var(--orange);
    border: 2px dashed var(--orange);
    background-color: transparent;
}

@media (max-width: 768px) {
    .section__banner {
        padding: 2rem 1rem;
        background-image:
            linear-gradient(90deg, rgba(4, 7, 20, 0.85) 0%, rgba(4, 7, 20, 0.6) 35%, rgba(4, 7, 20, 0.15) 60%, rgba(4, 7, 20, 0) 100%),
            linear-gradient(to bottom, rgba(4, 7, 20, 0) 0%, #040714 100%),
            url('/assets/images/banners/hero__banner-mobile.png');
    }

    .section__banner .section__container {
        max-width: 100%;
        padding: 0;
    }

    .section__banner .section__text {
        width: 100%;
    }

    .section__banner .section__title {
        font-size: 2rem;
    }

    .section__banner .section__subtitle {
        font-size: 0.85rem;
    }
}

/* ===== SHARED SECTION STYLES ===== */
.section__card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 1.25rem;
    border-radius: 4px;
    border: 1px solid var(--orange);
    background-color: rgba(255, 111, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section__card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    transition: left 0.9s ease;
}

.section__card:hover {
    background-color: rgba(255, 111, 0, 0.3);
    transform: translateY(-2px);
}

.section__card:hover::after {
    left: 150%;
}

.section__icon {
    color: var(--orange);
    padding: 1.25rem;
    border-radius: 4px;
    background-color: rgba(255, 111, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

/* ===== ABOUT SECTION ===== */
.section__about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #040714;
    padding: 5rem 0;
    overflow-x: hidden;
}

.section__about .section__container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
}

.section__about .section__image-banner {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 5px;
    background: url('/assets/images/banners/employees__banner.png') center / cover no-repeat;
}

.section__about .section__text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.section__about .section__title {
    color: var(--dark-white);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
}

.section__about .section__subtitle {
    color: var(--dark-white);
    font-size: 1rem;
    font-weight: 300;
}

.section__about .section__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .section__about {
        padding: 2rem 1rem;
    }

    .section__about .section__container {
        max-width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .section__about .section__image-banner {
        height: 30vh;
        min-height: unset;
    }

    .section__about .section__title {
        font-size: 2rem;
    }

    .section__about .section__subtitle {
        font-size: 0.85rem;
    }

    .section__about .section__cards {
        grid-template-columns: 1fr;
    }
}

/* ===== SANITATION SECTION ===== */
.section__sanitation {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #040714;
    padding: 5rem 0;
    overflow-x: hidden;
}

.section__sanitation .section__container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.section__sanitation .section__image-banner {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 5px;
    background: url('/assets/images/banners/saneamento__banner.png') center / cover no-repeat;
}

.section__sanitation .section__text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.section__sanitation .section__title {
    color: var(--dark-white);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
}

.section__sanitation .section__subtitle {
    color: var(--dark-white);
    font-size: 1rem;
    font-weight: 300;
}

.section__sanitation .section__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .section__sanitation {
        padding: 2rem 1rem;
    }

    .section__sanitation .section__container {
        max-width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column-reverse;
    }

    .section__sanitation .section__image-banner {
        height: 30vh;
        min-height: unset;
    }

    .section__sanitation .section__title {
        font-size: 2rem;
    }

    .section__sanitation .section__subtitle {
        font-size: 0.85rem;
    }

    .section__sanitation .section__cards {
        grid-template-columns: 1fr;
    }
}

/* ===== PAVING SECTION ===== */
.section__paving {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #040714;
    padding: 5rem 0;
    overflow-x: hidden;
}

.section__paving .section__container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
}

.section__paving .section__image-banner {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 5px;
    background: url('/assets/images/banners/pavimentacao__banner.png') center / cover no-repeat;
}

.section__paving .section__text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.section__paving .section__title {
    color: var(--dark-white);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
}

.section__paving .section__subtitle {
    color: var(--dark-white);
    font-size: 1rem;
    font-weight: 300;
}

.section__paving .section__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .section__paving {
        padding: 2rem 1rem;
    }

    .section__paving .section__container {
        max-width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .section__paving .section__image-banner {
        height: 30vh;
        min-height: unset;
    }

    .section__paving .section__title {
        font-size: 2rem;
    }

    .section__paving .section__subtitle {
        font-size: 0.85rem;
    }

    .section__paving .section__cards {
        grid-template-columns: 1fr;
    }
}

/* ===== MAP SECTION ===== */
.section__map {
    display: flex;
    align-items: center;
    background-color: #040714;
    padding: 5rem 0;
    overflow-x: hidden;
}

.section__map .section__container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 1.5rem;
}

.section__map .section__text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section__map .section__title {
    color: var(--dark-white);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
}

.section__map .section__subtitle {
    color: var(--dark-white);
    font-size: 1rem;
    font-weight: 300;
}

.section__map lottie-player {
    width: 100%;
}

@media (max-width: 768px) {
    .section__map {
        padding: 2rem 1rem;
    }

    .section__map .section__container {
        max-width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .section__map .section__title {
        font-size: 2rem;
    }

    .section__map .section__subtitle {
        font-size: 0.85rem;
    }
}

/* ===== LOCALIZATION SECTION ===== */
.section__localization {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #040714;
    padding: 5rem 0;
    overflow-x: hidden;
}

.section__localization .section__container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section__localization .section__title {
    color: var(--dark-white);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
}

.section__localization .section__subtitle {
    color: var(--dark-white);
    font-size: 1rem;
    font-weight: 300;
}

.section__iframe {
    width: 100%;
    height: 60vh;
    border-radius: 5px;
    border: none;
}

@media (max-width: 768px) {
    .section__localization {
        padding: 2rem 1rem;
    }

    .section__localization .section__container {
        max-width: 100%;
        padding: 0;
    }

    .section__localization .section__title {
        font-size: 2rem;
    }

    .section__localization .section__subtitle {
        font-size: 0.85rem;
    }

    .section__iframe {
        height: 40vh;
    }
}

/* ===== LEADS / CLIENTS SECTION ===== */
.section__lead {
    background-color: #040714;
    padding: 8rem 0;
    overflow-x: hidden;
}

.section__lead .section__container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section__lead .section__text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section__lead .section__title {
    color: var(--dark-white);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
}

.section__lead .section__subtitle {
    color: var(--dark-white);
    font-size: 1rem;
    font-weight: 300;
}

.section__carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.section__carousel {
    display: flex;
    width: max-content;
    gap: 1rem;
    animation: scroll 12s linear infinite;
}

.section__lead .section__card {
    width: 200px;
    height: 120px;
    flex-shrink: 0;
    border: none;
    background: none;
    padding: 0;
}

.section__lead .section__card::after {
    display: none;
}

.section__lead .section__card:hover {
    transform: none;
    background: none;
}

.section__lead .section__image {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .section__lead {
        padding: 2rem 1rem;
    }

    .section__lead .section__container {
        max-width: 100%;
        padding: 0;
    }

    .section__lead .section__title {
        font-size: 2rem;
    }

    .section__lead .section__subtitle {
        font-size: 0.85rem;
    }

    .section__lead .section__card {
        width: 150px;
        height: 100px;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== HIRING SECTION ===== */
.section__hiring {
    background-color: #040714;
    overflow-x: hidden;
}

.section__hiring .section__container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
}

.section__hiring .section__image {
    width: 100%;
    height: auto;
    cursor: pointer;
}

@media (max-width: 768px) {
    .section__hiring {
        display: none;
    }
}

/* ===== FOOTER ===== */
.footer {
    padding-top: 5rem;
    background-color: #1B1E23;
    overflow-x: hidden;
}

.footer__container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.footer__column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer__title {
    font-size: 1rem;
    color: var(--dark-white);
    font-weight: 500;
    position: relative;
}

.footer__title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: var(--orange);
    height: 2px;
    width: 50px;
}

.footer__list {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

.footer__list--text {
    flex-direction: column;
}

.footer__list--text .footer__link {
    text-decoration: none;
    color: var(--dark-white);
    font-size: 0.875rem;
    font-weight: 300;
    display: block;
    transition: all 0.3s ease;
}

.footer__list--text .footer__link:hover {
    transform: translateX(10px);
}

.footer__list--social .footer__link {
    height: 40px;
    width: 40px;
    color: var(--dark-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    background-color: #24272c;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer__list--social .footer__link:hover {
    color: #24272c;
    background-color: var(--dark-white);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    margin-top: 2.5rem;
    border-top: 1px solid #24272c;
}

.footer__brand {
    width: 8rem;
    height: auto;
}

.footer__logo {
    width: 100%;
    height: auto;
}

.footer__copyright {
    font-size: 0.875rem;
    color: var(--dark-white);
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 1rem;
    }

    .footer__container {
        max-width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .footer__copyright {
        text-align: center;
    }
}