:root {
    --bbdo-red: #ff0000;
    --white: #ffffff;
    --black: #000000;
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img,
video {
    max-width: 100%;
    height: auto;
}

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-primary);
    position: relative;
}


.hero-v2 {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #0f1015;
    display: flex;
    align-items: center;
    padding: 0 4%;

    overflow: hidden;
}

.hero-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: none;
    z-index: 5;
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero-subtitle {
    color: var(--bbdo-red);
    font-size: 1.1rem;
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.hero-title {
    color: var(--bbdo-red);
    font-size: clamp(1.5rem, 10vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero-description {
    color: var(--white);
    font-size: 1.2rem;
    font-family: 'Nexa', sans-serif;
    line-height: 1.5;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 450px;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--white);
    border-radius: 100px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: var(--bbdo-red);
    color: var(--white);
}

.hero-pattern {
    position: absolute;
    right: -15%;
    top: 100%;
    width: 615px;
    height: 120vh;
    transform: translateY(-90%) rotate(-1deg);
    background-image: url(./imagens/Modo_de_isolamento.png);
    background-repeat: repeat;
    background-size: 380px auto;
    z-index: 1;
    pointer-events: none;
    opacity: 0.80;
}

@media (max-width: 1200px) {
    .hero-pattern {
        width: 500px;
        right: -10%;
    }
}

@media (max-width: 992px) {
    .hero-pattern {
        width: 400px;
        right: -5%;
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .hero-pattern {
        width: 300px;
        right: -10%;
        top: 100%;
        transform: translateY(-80%) rotate(-1deg);
        opacity: 0.4;
        background-size: 250px auto;
    }
}

@media (max-width: 480px) {
    .hero-v2 {
        padding: 0 6%;
    }

    .hero-title {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
        letter-spacing: normal !important;

        br {
            display: none;
        }
    }

    .hero-pattern {
        width: 250px;
        right: -15%;
        opacity: 0.2;
    }
}


.hero-pattern::after {
    display: none;
}




.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 15px;
    pointer-events: none;
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.8fr 1.3fr;
    grid-template-rows: 1fr;
    gap: 0;
}

.grid-cell {
    border: 10px solid var(--bbdo-red);
    position: relative;
    margin-right: -10px;
}


.cell-b::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 0;
    width: 80%;
    height: 10px;
    background-color: var(--bbdo-red);
}


.cell-b-2::after {
    content: '';
    position: absolute;
    top: 35%;
    left: 0;
    width: 85%;
    height: 10px;
    background-color: var(--bbdo-red);
}


.cell-o {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: none;
}

.circle-o {
    width: 16vw;
    height: 16vw;
    border: 10px solid var(--bbdo-red);
    border-radius: 50%;
}


.cell-d {
    margin-right: 0;

}

.cell-d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    border-right: 10px solid var(--bbdo-red);
}

.cell-d::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--bbdo-red);
}


header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

@media (max-width: 992px) {
    header {
        padding: 1.5rem 1rem;
    }
}

header.scrolled {
    padding: 0.5rem 3rem;
    background-color: rgba(0, 0, 0, 0.703);
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    header.scrolled {
        padding: 0.5rem 1.5rem;
    }
}

header.on-dark {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -2px;
    z-index: 2000;
}

.logo img {
    max-height: 45px;
    width: auto;
    transition: max-height 0.3s ease;
}

header.scrolled .logo img {
    max-height: 45px;
}

.logo a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
}

header.on-dark .logo a {
    color: var(--white);
}

.burger-menu {
    cursor: pointer;
    width: 30px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2000;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--white) !important;
    transition: 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

header.on-dark .burger-line {
    background-color: var(--white) !important;
}




.hero-content {
    animation: fadeInHero 1s ease-out;
}

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



@media (max-width: 768px) {
    .grid-overlay {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .do-things {
        font-size: 2rem;
    }

    .circle-o {
        width: 30vw;
        height: 30vw;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.1);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-video {
    animation: fadeIn 2s ease-out;
}




.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, #cc0000 0%, #660000 100%);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 3.5rem;
    color: var(--white);
    cursor: pointer;
    z-index: 3001;
    transition: transform 0.4s ease;
}

@media (max-width: 768px) {
    .menu-close {
        top: 1.5rem;
        right: 1.5rem;
        font-size: 3rem;
    }
}

.menu-close:hover {
    transform: rotate(90deg) scale(1.1);
}

.menu-content {
    width: 85%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.menu-left {
    flex: 1;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-link {
    font-size: 3rem;
    font-family: 'Nexa';
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    transition: all 0.4s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.menu-link:hover {
    color: #ffcccc;
    transform: translateX(15px);
}

.menu-link.active {
    color: var(--white);
    background: linear-gradient(to right, #ff0000, transparent);
    -webkit-background-clip: text;
    background-clip: text;
}

.menu-right {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-top: 3rem;
}

.info-section h3 {
    font-size: 1.4rem;
    font-family: 'Nexa';
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-section p {
    font-size: 1.1rem;
    font-family: 'Nexa';
    line-height: 1.6;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #660000;
    background-color: var(--white);
    text-decoration: none;
    font-size: 0.8rem;
    font-family: 'Nexa';
    font-weight: 900;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
    background-color: #ffcccc;
}


@media (max-width: 992px) {
    .menu-content {
        flex-direction: column;
        gap: 3rem;
        width: 90%;
        padding: 6rem 0 3rem;
        height: 100%;
        overflow-y: auto;
        justify-content: flex-start;
    }

    .menu-link {
        font-size: 2.2rem;
    }

    .menu-right {
        flex: none;
        width: 100%;
        flex-direction: column;
        gap: 2.5rem;
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .menu-link {
        font-size: 1.8rem;
        letter-spacing: -1px;
    }

    .info-section h3 {
        font-size: 1.2rem;
    }

    .info-section p {
        font-size: 1rem;
    }
}






.agency-intro {
    background-color: var(--bbdo-red);
    color: var(--white);
    padding: 4rem 4rem;
    position: relative;
    z-index: 10;
}

.intro-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.intro-left {
    flex: 0 0 45%;
}

.intro-subtitle {
    font-size: 1.5rem;
    font-family: 'Nexa';
    font-weight: 500;
    margin-bottom: 0.4rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.intro-title {
    font-size: 2.4rem;
    font-family: 'Nexa';
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2.2rem;
    border: 2px solid var(--white);
    border-radius: 100px;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Nexa';
    font-weight: 700;
    text-transform: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--bbdo-red);
}

.intro-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.intro-right p {
    font-size: 0.95rem;
    font-family: 'Nexa';
    line-height: 1.4;
    font-weight: 400;
    opacity: 0.9;
}

.intro-right strong {
    font-weight: 900;
}

.services-list {
    background-color: var(--white);
    color: var(--black);
    padding: 6rem 4rem;
    overflow: hidden;
}

.services-header {
    max-width: 1400px;
    margin: 0 auto 5rem;
    display: flex;
    justify-content: center;
}

.services-header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.services-header-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.services-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    font-family: 'Nexa';
    font-weight: 600;
    color: var(--black);
    white-space: none;
}

.services-arrow-line {
    width: 20px;
    height: 1px;
    background-color: var(--black);
    position: relative;
}

.services-arrow-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--black);
    border-right: 1px solid var(--black);
    transform: rotate(45deg);
}

.services-title {
    font-size: 3rem;
    font-family: 'Nexa';
    font-weight: 780;
    color: var(--bbdo-red);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    max-width: 100vw;
    overflow-x: hidden;
    padding-bottom: 5rem;
}

.services-items {
    flex: 1;
    max-width: 800px;
    border-left: 2px solid var(--bbdo-red);
    padding-left: 2rem;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    align-items: center;
    padding: 3rem 0;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
    max-width: 100%;
}

.service-item:hover {
    padding-left: 1rem;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    bottom: 0;
    background-color: var(--bbdo-red);
    z-index: 0;
    opacity: 0;
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s ease;
    pointer-events: none;
}

.service-item:hover::before {
    opacity: 1;
    width: 100%;
}



.service-item:hover .service-num,
.service-item:hover .service-name,
.service-item:hover .service-name a,
.service-item:hover .service-arrow {
    color: var(--white) !important;
}

.services-items a {
    text-decoration: none;
    color: #000;
}

.service-num {
    font-size: 1rem;
    color: var(--black);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-name {
    font-size: 1.8rem;
    font-family: 'Nexa';
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--black);
    position: relative;
    z-index: 2;
}

.service-arrow {
    font-size: 1.5rem;
    text-align: right;
    color: var(--black);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-hover-image {
    position: absolute;
    left: -20px;
    top: 50%;
    width: 170px;
    height: 150px;
    transform: translateY(-50%) scale(0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.service-hover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-item:hover .service-hover-image {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
    left: -190px;
}


@media (max-width: 992px) {
    .intro-container {
        flex-direction: column;
        gap: 2rem;
    }

    .intro-left {
        flex: none;
        width: 100%;
    }

    .intro-title {
        font-size: 2.8rem;
    }

    .services-header {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .services-title {
        font-size: 2rem;
        min-width: unset;
        min-height: auto;
    }

    .service-name {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .agency-intro {
        padding: 4rem 1.5rem;
    }

    .intro-title {
        font-size: 2.2rem;
    }

    .services-list {
        padding: 4rem 1.5rem;
    }

    .service-item {
        grid-template-columns: 30px 1fr 30px;
        padding: 2rem 0;
    }

    .service-hover-image {
        display: block !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) scale(0.8) !important;
        width: 120px !important;
        height: 100px !important;
        opacity: 0 !important;
        z-index: 1 !important;
    }

    .service-item:hover .service-hover-image {
        opacity: 0.4 !important;
        transform: translate(-50%, -50%) scale(1.1) !important;
    }
}

@media (max-width: 480px) {
    .intro-subtitle {
        font-size: 1.2rem;
    }

    .intro-title {
        font-size: 1.8rem;
    }

    .intro-right p {
        font-size: 0.9rem;
    }

    .services-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .services-title {
        font-size: 1.6rem;
        line-height: 1.1;
    }

    .services-header {
        margin-bottom: 2.5rem;
    }

    .service-name {
        font-size: 1.1rem;
    }
}







.cases-section {
    background-color: hsla(0, 0%, 60%, 0.304);
    padding: 2.5rem 4rem;
    color: var(--white);
    position: relative;
}

.cases-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 0;
}

.cases-sidebar {
    position: relative;
    width: 150px;
    min-height: 100%;
    align-items: start;
    justify-content: flex-start;
}

.cases-vertical-title {
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--bbdo-red);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    opacity: 0.4;
    letter-spacing: 5px;
    white-space: nowrap;
    position: relative;
    z-index: 5;
    will-change: transform;
}

.cases-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.cases-upper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
}

.cases-stacked {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cases-lower {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}


.case-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    cursor: pointer;
}

.case-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 14.5/11;
}

.large .case-image-wrapper {
    aspect-ratio: 0.9/1;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}


.case-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.25);
    mix-blend-mode: multiply;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.case-item:hover .case-img {
    transform: scale(1.15);
}

.case-item:hover .case-image-wrapper::after {
    opacity: 1;
}

.case-info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: auto;
}

.case-title {
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.case-category {
    color: var(--bbdo-red);
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-category::before {
    content: '';
    width: 20px;
    height: 1.5px;
    background-color: var(--bbdo-red);
}


.cases-footer {
    text-align: center;
    margin-top: 5rem;
}

.btn-portfolio {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Nexa';
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-portfolio:hover {
    background-color: var(--white);
    color: var(--black);
    border-color: var(--white);
    transform: translateY(-5px);
}


@media (max-width: 1200px) {
    .cases-vertical-title {
        font-size: 7rem;
    }

    .cases-sidebar {
        width: 100px;
    }
}

@media (max-width: 992px) {
    .cases-layout {
        flex-direction: column;
        padding: 0;
    }

    .cases-sidebar {
        display: none;
    }

    .cases-upper,
    .cases-lower {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cases-section {
        padding: 4rem 1.5rem;
    }

    .cases-grid {
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .case-title {
        font-size: 0.8rem;
    }

    .case-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .case-category::before {
        display: none;
    }
}


.ticker-section {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0;
    overflow: hidden;
    width: 100%;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ticker-lane {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
}

.ticker-wrapper {
    display: flex;
    width: fit-content;
    user-select: none;
}

.lane-solid .ticker-wrapper {
    animation: marquee-scroll 25s linear infinite;
}

.lane-outline .ticker-wrapper {
    animation: marquee-scroll-reverse 20s linear infinite;
}

.ticker-content {
    display: flex;
    flex-shrink: 0;
    gap: 4rem;
    padding-right: 4rem;
    align-items: center;
}

.ticker-text {
    font-size: 3rem;
    font-family: 'Nexa';
    font-weight: 900;
    white-space: nowrap;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
}

.ticker-text.solid {
    color: var(--white);
    font-family: 'Nexa';
}

.ticker-text.outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--white);
    opacity: 0.8;
    font-family: 'Nexa';
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes marquee-scroll-reverse {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}


@media (max-width: 768px) {
    .ticker-section {
        padding: 2rem 0;
    }

    .ticker-text {
        font-size: 4rem;
    }

    .ticker-content {
        gap: 2rem;
        padding-right: 2rem;
    }
}






.team-section {
    background-color: var(--bbdo-red);
    padding: 2.5rem 4rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.team-header {
    width: 100%;
    max-width: 1400px;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.team-title-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 0.5rem;
}

.team-label-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.team-label-text {
    display: flex;
    flex-direction: column;
    font-size: 0.7rem;
    font-family: 'Nexa';
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #000;
}

.team-label-line {
    width: 60px;
    height: 1px;
    background-color: var(--black);
    position: relative;
}

.team-label-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--black);
    border-right: 1px solid var(--black);
    transform: rotate(45deg);
}

.team-title {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Nexa';
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin: 0;
}

.team-grid {
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem 2rem;
}

.team-member {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.member-image {
    width: 100%;
    aspect-ratio: 0.85/1;
    background-color: #d9d9d9;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member:hover .member-image {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2;
}

.team-member:hover .member-overlay {
    opacity: 1;
    visibility: visible;
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0.1s;
}

.team-member:hover .member-info {
    transform: translateY(0);
}

.member-name {
    font-size: 1.1rem;
    font-family: 'Nexa';
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: var(--white);
    margin: 0;
}

.member-role {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
    color: var(--white);
    margin: 0;
}

.member-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0.2s;
}

.team-member:hover .member-social {
    transform: translateY(0);
}

.member-social a {
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.member-social a:hover {
    background-color: var(--white);
    color: var(--bbdo-red);
    border-color: var(--white);
    transform: scale(1.1);
}


@media (max-width: 1200px) {
    .team-title {
        font-size: 3.5rem;
    }

    .team-label-line {
        width: 100px;
    }
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .team-title {
        font-size: 2.5rem;
    }

    .team-section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .team-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .team-label-line {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 1rem;
    }

    .team-title {
        font-size: 1.8rem;
    }

    .member-overlay {
        padding: 1.2rem 1rem;
    }

    .member-info {
        padding: 0;
        transform: translateY(0);
    }

    .member-name {
        font-size: 0.78rem;
        letter-spacing: -0.2px;
        line-height: 1.2;
    }

    .member-role {
        font-size: 0.65rem;
        line-height: 1.3;
        margin-top: 0.2rem;
    }

    .member-social {
        margin-top: 0.8rem;
        gap: 0.6rem;
        transform: translateY(0);
    }

    .member-social a {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    /* Hide overlay by default on mobile, show only with show-info class */
    .team-member .member-overlay {
        opacity: 0;
        visibility: hidden;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
    }

    .team-member.show-info .member-overlay {
        opacity: 1;
        visibility: visible;
    }
}






.clients-section {
    background-color: var(--white);
    padding: 4rem 4rem;
    color: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.clients-header {
    width: 100%;
    max-width: 1400px;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.clients-title-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 0.5rem;
}

.clients-label-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.clients-label-text {
    display: flex;
    flex-direction: column;
    font-size: 0.7rem;
    font-family: 'Nexa';
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #000;
}

.clients-label-line {
    width: 60px;
    height: 1px;
    background-color: #000;
    position: relative;
}

.clients-label-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--black);
    border-right: 1px solid var(--black);
    transform: rotate(45deg);
}

.clients-arrow {
    font-size: 1.2rem;
    color: #333;
}

.clients-title {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Nexa';
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: var(--bbdo-red);
    margin: 0;
}

.clients-grid-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
    padding: 2rem 0;
}

.clients-row {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.row-1 {
    animation: marquee-left 40s linear infinite;
}

.row-2 {
    animation: marquee-scroll-reverse 45s linear infinite;
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-box {
    flex: 0 0 240px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.client-box img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    filter: none;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
}


.client-box::before {
    display: none;
}

.client-box:hover {
    transform: scale(1.02);
    background-color: var(--bbdo-red);
}

@media (max-width: 1200px) {
    .clients-title {
        font-size: 3rem;
    }

    .client-box {
        flex: 0 0 200px;
        height: 120px;
    }
}

@media (max-width: 992px) {
    .clients-section {
        padding: 6rem 2rem;
    }

    .client-box {
        flex: 0 0 220px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .clients-section {
        padding: 4rem 1.5rem;
    }

    .clients-title {
        font-size: 2rem;
    }

    .clients-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .clients-grid-container {
        padding: 1rem 0;
        gap: 1rem;
    }

    .clients-row {
        gap: 1rem;
    }

    .client-box {
        flex: 0 0 190px;
        height: 110px;
    }

    /* Logos 190px vs 240px original (~79%), ajustar duração ~1.26x para manter velocidade */
    .row-1 {
        animation-duration: 50s;
    }

    .row-2 {
        animation-duration: 57s;
    }
}

@media (max-width: 480px) {
    .clients-title {
        font-size: 1.6rem;
    }

    .client-box {
        flex: 0 0 150px;
        height: 85px;
    }

    /* Aumentar duração da animação em mobile para manter a mesma velocidade visual.
       Os logos ficam 62.5% do tamanho original (150/240), por isso o tempo aumenta ~1.6x */
    .row-1 {
        animation-duration: 65s;
    }

    .row-2 {
        animation-duration: 72s;
    }
}







.main-footer {
    background-color: #0d0d0f;
    color: var(--white);
    padding-top: 1rem;
    position: relative;
    z-index: 10;
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 3rem 1rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 10rem;
}

.footer-headline {
    font-size: 1.5rem;
    font-family: 'Nexa';
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin-bottom: 3rem;
    color: #f0f0f0;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 30px;
    height: 30px;
    background-color: #1a1a1c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--bbdo-red);
    transform: translateY(-5px);
}

.footer-subtitle {
    font-size: 0.8rem;
    font-family: 'Nexa';
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bullet {
    color: var(--bbdo-red);
    font-size: 1rem;
}

.pill-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    max-width: 400px;
}

.btn-pill {
    padding: 0.2rem 0.5rem;
    background-color: #1a1a1c;
    color: #999;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.72rem;
    font-family: 'Nexa';
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-pill:hover {
    background-color: #2a2a2c;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-info p {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    word-break: break-word;
}

.footer-bottom {
    background-color: var(--bbdo-red);
    padding: 0.5rem 1rem;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.privacy-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* --- MEDIA QUERIES CLONADAS DO SUCESSO (SOBRE NÓS) --- */
@media (max-width: 992px) {
    .menu-content {
        flex-direction: column !important;
        gap: 2rem !important;
        width: 90% !important;
        padding: 6rem 0 3rem !important;
        height: 100% !important;
        overflow-y: auto !important;
    }

    .menu-link {
        font-size: 2.2rem !important;
    }

    .menu-right {
        flex: none !important;
        width: 100% !important;
        flex-direction: column !important;
        gap: 2rem !important;
        padding-top: 0 !important;
    }

    .footer-top {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        padding: 3rem 1.5rem !important;
    }

    .footer-column {
        text-align: left !important;
    }

    .footer-headline {
        margin-bottom: 2rem !important;
    }

    .footer-subtitle {
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem 1.5rem !important;
    }

    header.scrolled {
        padding: 0.8rem 1.5rem !important;
    }

    .logo img {
        max-width: 140px !important;
        max-height: 35px !important;
    }

    .grid-overlay {
        display: none !important;
        /* Killer of horizontal scroll on Index */
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem 1rem !important;
    }
}

@media (max-width: 480px) {
    .footer-bottom-content {
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center !important;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem 0.5rem !important;
    }

    .member-name {
        font-size: 0.8rem !important;
    }

    .member-role {
        font-size: 0.65rem !important;
    }

    .clients-title {
        font-size: 1.5rem !important;
    }
}