/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #050505;
    color: #fff;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
    width: 100%;
}

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

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* =========================
   MENU
========================= */

.floating-menu {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: 95%;
    max-width: 1450px;

    background: #030303;

    padding: 18px 30px;

    border-radius: 18px;

    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.292);
    transition: transform .35s ease;
}

.menu-contents {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.menu-brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.menu-logo {
    height: 28px;
    width: auto;
    max-width: 100%;
    display: block;
}

#main-navigation {
    display: flex;
    align-items: center;
    gap: 40px;

    list-style: none;
}

#main-navigation a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-instagram {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #ff0000;
    font-size: 22px;
}

.nav-instagram {
    display: none;
}

.nav-instagram a {

    display: flex;
    align-items: center;
    gap: 10px;

    color: #e10613 !important;

    font-weight: 600;

}

.nav-instagram i {

    font-size: 22px;

}

.budget-btn {
    background: #e10613;
    color: #fff;

    padding: 12px 22px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 500;

    transition: .3s;
}

.budget-btn:hover,
.budget-btn:active {
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    margin-top: -12px;
}

.hero-kicker span {
    color: #e10613;
    font-weight: 700;
}

/* =========================
   HERO VIDEO
========================= */

.intro-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.intro-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-kicker {
    color: #ffffff;
    opacity: .8;

    font-size: 13px;
    letter-spacing: .25em;
    text-transform: uppercase;

    margin-bottom: 24px;
}

.hero-overlay {
    position: absolute !important;
    top: auto !important;
    bottom: 80px !important;
    transform: none !important;
    left: 8% !important;
}

.hero-overlay h1 {
    font-family: "Inter", sans-serif;
    font-weight: 500;

    font-size: 64px;
    line-height: .85;

    white-space: nowrap;
}

.hero-overlay h1 span {
    color: #e10613;
}

.hero-description {
    margin-top: 24px;

    max-width: 550px;

    font-size: clamp(18px, 2vw, 24px);

    color: rgba(255, 255, 255, .75);

    line-height: 1.7;
}

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

    margin-top: 40px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 14px 14px 14px 24px;

    border-radius: 12px;

    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-arrow {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .12);

    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.btn-secondary:hover,
.btn-secondary:active {
    transform: translateY(-2px);
}

/* =========================
   PROJETOS (index)
========================= */

.featured-projects {
    background: #000;
    min-height: 100vh;

    padding: 80px 80px 60px;

    display: flex;
    flex-direction: column;
}

.projects-header {
    margin-bottom: 60px;
}

.projects-heading {
    display: flex;
    flex-direction: column;

    font-size: clamp(50px, 7vw, 80px);
    font-weight: 800;
    line-height: .88;

    color: #f2efeb;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

    width: 100%;
}

.projects-gallery img {
    width: 100%;
    height: 320px;

    object-fit: cover;

    transition: .35s ease;
    border-radius: 12px;
}

.projects-gallery img:hover,
.projects-gallery img.is-touch-active {
    transform: scale(1.02);
}

.projects-footer {
    display: flex;
    justify-content: flex-end;

    margin-top: 25px;
}

.projects-link {
    display: flex;
    align-items: center;
    gap: 14px;

    background: #ff0000;

    color: #fff;

    padding: 16px 18px;

    border-radius: 12px;

    font-size: 18px;
    font-weight: 500;
}

.projects-link .arrow {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .18);
    flex-shrink: 0;
}

.projects-link:hover,
.projects-link:active {
    transform: translateY(-2px);
}

/* =========================
   SOBRE
========================= */

.about-section {
    background: #000;
    padding: 80px;

    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-container {
    background: #000000;

    border-radius: 12px;

    min-height: 520px;

    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr 300px;

    align-items: center;

    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.227);
}

.about-left {
    padding-left: 60px;
    min-width: 0;
}

.about-kicker {
    display: block;

    color: #ff0000;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: .08em;

    margin-bottom: 15px;
}

.about-left h2 {
    color: #fff;

    font-size: clamp(55px, 5vw, 85px);
    font-weight: 700;

    line-height: .9;
}

.about-center {
    display: flex;
    justify-content: center;
    align-items: flex-end;

    width: 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
}

.about-center img {
    width: 100%;
    height: 85%;
    object-fit: cover;

    transform: translateX(-80px);
}

.about-right {
    padding-right: 60px;
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 35px;
}

.stat-item h3 {
    color: #ff0000;

    font-size: 42px;
    font-weight: 700;

    margin-bottom: 5px;
}

.stat-item p {
    color: #fff;

    font-size: 16px;
    line-height: 1.4;
}

/* =========================
   MÉTODO
========================= */

.method-section {
    background: #000;
    min-height: 100vh;

    display: grid;
    grid-template-columns: 520px 1fr;

    align-items: center;

    padding: 140px 0 80px;
}

/* BLOCO ESQUERDO */

.method-header {
    background: #000;

    width: 550px;
    height: 550px;

    padding: 170px 50px 80px 40px;

    border-radius: 0 120px 120px 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.method-header h2 {
    color: #f2efeb;

    font-size: clamp(50px, 7vw, 80px);
    line-height: .9;

    font-weight: 900;
}

.method-header p {
    margin-top: 40px;

    color: #ff002b;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.2;
}

.method-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* CARD GRANDE */

.method-slider {
    position: relative;

    width: 830px;
    height: 420px;

    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.633);
    border-radius: 40px;
    max-width: 100%;
}

.method-slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    pointer-events: none;

    transition: .4s ease;
}

.method-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.method-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 40px;
}

/* OVERLAY */

.method-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 0 24px;
}

.method-overlay h3 {
    font-size: 60px;
    line-height: .9;
    margin-bottom: 18px;
}

.method-overlay p {
    font-size: 16px;
    max-width: 420px;
    line-height: 1.2;

    margin: 0;
    text-align: left;
}

/* =========================
   SETAS DO MÉTODO
========================= */

.method-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.method-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 25px;
}

.method-arrow {
    width: 55px;
    height: 55px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .45);

    background: #111;
    color: #fff;

    cursor: pointer;
    transition: .3s;

    position: static;
    transform: none;

    padding: 0;
    flex-shrink: 0;
}

.method-arrow:hover {
    border-color: #fff;
}

.method-arrow.disabled {
    opacity: .3;
    pointer-events: none;
}

.method-arrow i {
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
}

/* =========================
   SERVIÇOS
========================= */
#servicos {
    scroll-margin-top: 80px;
}

.services-section {
    background: #000;
    padding: 46px 5.5% 70px;
    overflow: hidden;
}

.services-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 34px;
}

.services-title {
    color: #f2eee5;
    font-size: clamp(62px, 7.35vw, 130px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.04em;
    margin: 0;
}

.services-tabs {
    display: flex;
    align-items: center;
    align-self: center;
    margin-top: 18px;
}

.service-tab {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 25px;
    border: 0;
    border-left: 1px solid rgba(242, 238, 229, .35);
    background: transparent;
    color: #f2eee5;
    font-family: "Oswald", sans-serif;
    font-size: clamp(14px, 1.3vw, 21px);
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.service-tab:first-child {
    border-left: 0;
}

.service-tab span {
    color: #f2eee5;
    font-size: .8em;
}

.service-tab.is-active,
.service-tab.is-active span {
    color: #ed1017;
}

.service-tab.is-active::after {
    position: absolute;
    right: 25px;
    bottom: -19px;
    left: 25px;
    height: 4px;
    background: #ed1017;
    content: "";
}

.services-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) repeat(3, minmax(0, 1fr));
    height: min(37vw, 532px);
    min-height: 420px;
    gap: 3px;
}

.service-card {
    min-width: 0;
    height: 100%;

    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card:nth-child(1) {
    grid-column: 1;
}

.service-card:nth-child(2) {
    grid-column: 2;
}

.service-card:nth-child(3) {
    grid-column: 3;
}

.service-card:nth-child(4) {
    grid-column: 4;
}

.service-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.service-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 0 18px 31px;

    background: linear-gradient(to top,
            rgba(0, 0, 0, .9),
            rgba(0, 0, 0, .13),
            transparent);
}

.service-label {
    display: flex;
    align-items: baseline;
    gap: 9px;
    color: #f2eee5;
}

.service-label span {
    position: absolute;
    top: 18px;
    left: 18px;
    color: #f2eee5;
    font-family: "Oswald", sans-serif;
    font-size: clamp(25px, 2.25vw, 42px);
    line-height: 1;
}

.service-label h3 {
    color: #f2eee5;
    font-family: "Oswald", sans-serif;
    font-size: clamp(32px, 3.3vw, 60px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.03em;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.service-card.is-active .service-label h3 {
    font-size: clamp(46px, 4.1vw, 76px);
}

.service-card.is-active .service-label span {
    color: #ed1017;
    font-size: clamp(36px, 3.2vw, 58px);
}

.services-section.is-service-expanded .services-grid {
    position: relative;
}

.services-section.is-service-expanded .service-card.is-active {
    position: absolute;
    top: 50%;
    bottom: auto;
    z-index: 2;
    height: auto;
    aspect-ratio: 16 / 9;
    transform: translateY(-50%);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .45);
    transition: width .45s cubic-bezier(.2, .8, .2, 1), transform .45s cubic-bezier(.2, .8, .2, 1);
}

.services-section.is-service-expanded .service-card.is-active img {
    object-fit: cover;
}

.services-section.is-service-expanded .service-card:nth-child(1).is-active {
    left: 0;
    width: 37%;
}

.services-section.is-service-expanded .service-card:nth-child(2).is-active {
    left: 28%;
    width: 42%;
}

.services-section.is-service-expanded .service-card:nth-child(3).is-active {
    right: 8%;
    width: 42%;
}

.services-section.is-service-expanded .service-card:nth-child(4).is-active {
    right: 0;
    width: 37%;
}

.service-rule {
    display: block;
    width: 100px;
    height: 3px;
    margin: 25px 0;
    background: #ed1017;
}

.service-overlay p {
    max-width: 290px;
    margin: 0;
    color: rgba(242, 238, 229, .9);
    font-size: clamp(14px, 1.2vw, 20px);
    line-height: 1.35;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease;
}

.service-card.is-active .service-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   FOOTER
========================= */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, .08);

    padding: 30px;

    text-align: center;

    color: rgba(255, 255, 255, .5);

    font-size: 13px;
}

/* =========================
   PÁGINA PROJETOS
========================= */

#projects-section,
#films-section {
    scroll-margin-top: 100px;
}

.projects-page {
    background: #000000;
    min-height: 100vh;

    padding: 170px clamp(24px, 4.6vw, 88px) 80px;
}

.projects-page-title {
    margin-bottom: 42px;
}

.projects-page-title h1 {
    color: #ffffff;

    font-size: clamp(72px, 10.2vw, 148px);
    line-height: .82;
    font-weight: 900;
}

.project-showcase {
    width: min(1180px, 100%);
    min-height: 620px;
    margin: 0 auto;
    padding: 58px 0;

    display: none;
    grid-template-columns: 92px 1fr 92px;
    align-items: center;
    gap: 36px;

    background: #000000;
    color: #050505;
}

.project-showcase-content {
    width: min(700px, 100%);
    margin: 0 auto;
}

.project-counter {
    display: block;
    margin-bottom: 12px;

    color: rgba(0, 0, 0, .45);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.project-showcase-title {
    margin-bottom: 22px;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 45px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.project-photo-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    grid-template-rows: 214px 246px;
    gap: 8px 16px;
}

.project-photo {
    overflow: hidden;
    border-radius: 14px;
    background: #151515;
}

.project-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .22s ease, transform .35s ease;
}

.project-photo-wide img {
    object-position: center 36%;
}

.project-photo-tall {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.project-photo-tall img {
    object-position: center center;
}

.project-photo-square img {
    object-position: center 62%;
}

.project-showcase.is-changing .project-photo img {
    opacity: .35;
    transform: scale(1.02);
}

.project-nav {
    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: transparent;
    color: #ffffff;

    cursor: pointer;

    transform: translateY(120px);
    transition: transform .25s ease, opacity .25s ease;
}

.project-nav i {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 50%;

    font-size: 24px;
}

.project-nav:hover,
.project-nav:focus-visible {
    opacity: .75;
    transform: translateY(118px);
}

.project-nav:focus-visible {
    outline: 2px solid #e10613;
    outline-offset: 4px;
}

.projects-red-frame {
    display: block;
    background: transparent;

    width: 100%;
    max-width: none;

    margin: 0 auto;
    padding: 0;
}

.projects-grid-custom {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

    border: none;
}

.project-card {
    position: relative;

    border: none;
    background: none;
    padding: 0;
    margin: 0;

    cursor: pointer;
    overflow: hidden;

    outline: none;
}

.project-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.4 / 1;

    object-fit: cover;

    transition: transform .35s ease;
}

.project-card:hover img,
.project-card.is-touch-active img,
.project-card:focus-visible img {
    transform: scale(1.05);
}

.project-card:focus,
.project-card:focus-visible {
    outline: 2px solid #e10613;
    outline-offset: -2px;
}

.project-name {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;

    z-index: 5;

    color: #fff;

    font-size: clamp(10px, .78vw, 14px);
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .12em;
    text-align: left;

    text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}

/* =========================
   FILMES
========================= */

.films-section {
    background: #000000;
    padding-top: 120px;
    padding-bottom: 100px;
}

.films-header {
    padding: 0 40px 40px;
}

.films-header h2 {
    color: #ffffff;
    text-align: right;

    font-size: clamp(55px, 6vw, 95px);
    font-weight: 900;
    line-height: .9;
}

.films-header span {
    color: #ff0000;
}

.films-gallery {
    background: #000000;

    padding: 80px 40px 100px;

    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    flex-wrap: wrap;

    width: 100%;
}

.film-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 550px;
}

.film-block img {
    width: 100%;
    max-width: 550px;
    height: auto;
    aspect-ratio: 550 / 312;
    object-fit: cover;

    display: block;
    border: 1px solid #c1c1c1;
}

.film-btn {
    margin-top: 20px;

    background: #000000;
    color: #ffffff;

    border: 2px solid #676767;
    border-radius: 999px;

    padding: 14px 34px;

    font-size: 16px;
    cursor: pointer;

    transition: .3s;
}

.film-btn:hover,
.film-btn:active {
    transform: translateY(-2px);
}

/* MODAL FILMES */

.film-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
}

.film-modal.active {
    display: flex;
}

.film-modal-content {

    width: 1220px;
    height: 730px;
    max-width: 100%;

    background: #050505;

    border: 1px solid rgba(255, 255, 255, .15);

    display: grid;
    grid-template-columns: 62% 38%;

    padding: 42px;

    gap: 40px;

    position: relative;
}

.film-close {

    position: absolute;
    top: 18px;
    right: 22px;

    background: none;
    border: none;

    color: #fff;

    font-size: 48px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
}

.film-poster {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.film-poster img {
    width: 100%;
    height: 610px;

    object-fit: cover;
}

.film-meta-bar {

    height: 55px;

    border-top: 1px solid rgba(255, 255, 255, .08);

    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;

    color: #bcbcbc;

    font-size: 12px;
    letter-spacing: .12em;
}

.film-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-y: auto;
}

.film-section-title {

    color: #9b1c1c;

    font-size: 14px;

    letter-spacing: .25em;

    margin-bottom: 22px;

    font-weight: 400;
}

#film-description {

    color: #d4d4d4;

    font-size: 16px;

    line-height: 1.9;
}

.film-line {

    height: 1px;

    background: rgba(255, 255, 255, .08);

    margin: 35px 0;
}

.film-tech-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 22px 30px;
}

.film-tech-grid span {

    display: block;

    color: #fff;

    font-size: 12px;

    letter-spacing: .15em;

    margin-bottom: 8px;
}

.film-tech-grid p {

    color: #cfcfcf;

    font-size: 15px;
    word-break: break-word;
}

.film-bottom {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;
}

.film-bottom.film-bottom--single {
    grid-template-columns: 1fr;
}

.watch-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 180px;
    max-width: 100%;
    height: 46px;

    border: 1px solid rgba(255, 255, 255, .35);

    color: #fff;

    font-size: 13px;

    text-decoration: none;
}

.watch-btn:hover,
.watch-btn:active {
    background: rgba(255, 255, 255, .08);
}

#film-festivals {

    color: #cfcfcf;

    font-size: 13px;

    line-height: 1.8;
}

#film-platforms {
    color: #cfcfcf;

    font-size: 13px;

    line-height: 1.8;
}

body.modal-open {
    overflow: hidden;
}

.method-arrow i,
.slider-btn i {
    display: block;
    width: auto;
    height: auto;

    font-size: 18px;
    line-height: 1;

    color: #fff;

    margin: 0;
    padding: 0;
}

/* ===========================================
   MODAL DOS PROJETOS
=========================================== */

.project-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(12px);
    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: .35s;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.project-modal-container {

    width: min(1450px, 92vw);
    max-height: 90vh;

    overflow-y: auto;

    background: #111;
    border-radius: 24px;

    border: 1px solid rgba(255, 255, 255, .08);

    animation: modalUp .45s ease;

    position: relative;

    padding: 35px;
}

.project-modal-container {
    -ms-overflow-style: none;
    /* IE e Edge antigo */
    scrollbar-width: none;
    /* Firefox */
}

.project-modal-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Edge e Safari */
}

@keyframes modalUp {

    from {

        transform: translateY(40px);
        opacity: 0;

    }

    to {

        transform: translateY(0);
        opacity: 1;

    }

}

.project-modal-close {

    position: absolute;

    right: 25px;
    top: 25px;

    width: 48px;
    height: 48px;

    border: none;

    border-radius: 50%;

    background: #1b1b1b;

    color: white;

    cursor: pointer;

    transition: .25s;

}

.project-modal-close:hover {

    background: #b90d18;

}

.project-modal-hero {

    width: 100%;
    height: 620px;

    border-radius: 18px;

    overflow: hidden;

    margin-bottom: 45px;

}

.project-modal-hero img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}

.project-modal-content {

    display: grid;

    grid-template-columns: 2fr 360px;

    gap: 70px;

    margin-bottom: 60px;

}

.project-modal-main h2 {

    font-size: 52px;

    margin-bottom: 25px;

    color: white;

}

.modal-category {

    display: inline-block;

    color: #d81921;

    font-weight: 700;

    letter-spacing: .15em;

    margin-bottom: 18px;

    text-transform: uppercase;

}

.project-modal-main p {

    color: #bfbfbf;

    font-size: 18px;

    line-height: 1.8;

}

.project-modal-sidebar {

    background: #181818;

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 18px;

    padding: 35px;

    height: fit-content;

}

.modal-info {

    display: flex;

    flex-direction: column;

    gap: 8px;

    padding: 18px 0;

    border-bottom: 1px solid rgba(255, 255, 255, .08);

}

.modal-info:last-child {

    border: none;

}

.modal-info span {

    color: #8a8a8a;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: .12em;

}

.modal-info strong {

    color: white;

    font-size: 18px;

    font-weight: 500;

}

.modal-gallery-section {

    margin-top: 70px;

}

.modal-gallery-section h3,
.modal-video-section h3,
.modal-results-section h3 {

    color: white;

    font-size: 34px;

    margin-bottom: 30px;

}

.modal-gallery {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

}

.modal-gallery img {

    width: 100%;

    aspect-ratio: 1;

    object-fit: cover;

    border-radius: 14px;

}

.modal-video-section {

    margin-top: 70px;

}

#modal-video iframe {

    width: 100%;
    height: 700px;
    border: none;
    border-radius: 16px;

}

.modal-results-section {

    margin-top: 70px;

}

.modal-results-section p {

    color: #bfbfbf;

    line-height: 1.8;

    font-size: 18px;

}

/* Projeto detalhado — composição editorial */
.project-modal {
    padding: 22px;
    background: rgba(0, 0, 0, .92);
    align-items: flex-start;
    overflow-y: auto;
}

.project-modal-container {
    width: min(1180px, 100%);
    max-height: none;
    min-height: calc(100vh - 44px);
    margin: 0 auto;
    padding: 0 0 42px;
    background: #050505;
    border: 1px solid #202020;
    border-radius: 16px;
    overflow: hidden;
}

.project-modal-close {
    z-index: 3;
    right: 22px;
    top: 22px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(0, 0, 0, .55);
}

.project-modal-hero {
    height: min(620px, 56vw);
    min-height: 470px;
    margin: 0;
    border-radius: 0;
    position: relative;
}

.project-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .38) 50%, rgba(0, 0, 0, .12) 100%), linear-gradient(0deg, rgba(0, 0, 0, .5), transparent 52%);
}

.project-modal-title-block {
    position: absolute;
    left: clamp(26px, 7vw, 92px);
    bottom: clamp(28px, 7vw, 76px);
    max-width: min(650px, 58vw);
    z-index: 1;
}

.modal-category {
    display: block;
    width: fit-content;
    color: #e1262f;
    font-family: "Oswald", sans-serif;
    font-size: clamp(15px, 1.55vw, 22px);
    font-weight: 600;
    letter-spacing: .035em;
    line-height: 1.15;
    margin-bottom: 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    text-transform: uppercase;
}

.project-modal-title-block h2 {
    margin: 0;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: clamp(58px, 8vw, 112px);
    font-weight: 600;
    letter-spacing: -.025em;
    text-transform: uppercase;
    line-height: .88;
    text-wrap: balance;
}

.project-modal-title-block h2::after {
    content: "";
    display: block;
    width: clamp(76px, 9vw, 128px);
    height: clamp(3px, .3vw, 5px);
    margin: clamp(24px, 3vw, 38px) 0 clamp(22px, 2.5vw, 32px);
    background: #e1262f;
    border-radius: 999px;
}

.project-modal-title-block p {
    margin: 0;
    color: #e1e1e1;
    font-size: 15px;
    line-height: 1.5;
    max-width: 430px;
}

.modal-watch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
}

.modal-watch i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 50%;
    font-size: 11px;
}

.project-modal-content,
.modal-gallery-section,
.modal-video-section,
.modal-bottom-grid,
.modal-project-navigation,
.modal-cta {
    width: min(1040px, calc(100% - 64px));
    margin-left: auto;
    margin-right: auto;
}

.project-modal-content {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 70px;
    margin-top: 54px;
    margin-bottom: 60px;
}

.project-modal-main h3,
.modal-gallery-section h3,
.modal-video-section h3,
.modal-behind-section h3,
.modal-results-section h3 {
    margin: 0 0 20px;
    color: #e1262f;
    font-size: 14px;
    letter-spacing: .02em;
    font-weight: 700;
    text-transform: uppercase;
}

.project-modal-main p {
    margin: 0 0 19px;
    color: #d1d1d1;
    font-size: 15px;
    line-height: 1.72;
}

.project-modal-sidebar {
    background: #111;
    border-color: #303030;
    border-radius: 12px;
    padding: 8px 20px;
}

.modal-info {
    display: flex;
    flex-direction: row;
    gap: 14px;
    padding: 18px 0;
}

.modal-info>i {
    width: 22px;
    padding-top: 4px;
    color: #e1262f;
    font-size: 17px;
}

.modal-info>div {
    display: grid;
    gap: 5px;
}

.modal-info span {
    font-size: 10px;
    color: #8f8f8f;
    letter-spacing: .04em;
    text-transform: none;
}

.modal-info strong {
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
}

.modal-gallery-section,
.modal-video-section {
    margin-top: 0;
    margin-bottom: 55px;
}

.modal-gallery {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 115px;
    gap: 6px;
}

.modal-gallery img {
    border-radius: 6px;
    aspect-ratio: auto;
    height: 100%;
    grid-column: span 3;
}

.modal-gallery img:nth-child(1) {
    grid-column: span 5;
    grid-row: span 2;
}

.modal-gallery img:nth-child(2) {
    grid-column: span 4;
    grid-row: span 2;
}

.modal-gallery img:nth-child(3) {
    grid-column: span 3;
    grid-row: span 2;
}

.modal-gallery img:nth-child(4) {
    grid-column: span 3;
    grid-row: span 2;
}

.modal-gallery img:nth-child(5) {
    grid-column: span 6;
    grid-row: span 2;
}

.modal-gallery img:nth-child(6) {
    grid-column: span 3;
    grid-row: span 2;
}

.modal-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.modal-project-video {
    display: block;
    width: 100%;
    max-height: 78vh;
    border-radius: 7px;
    background: #000;
}

.modal-project-video-block {
    display: grid;
    gap: 12px;
}

.modal-project-video-block h4 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}

.modal-project-video-block p {
    margin: 0 0 8px;
    color: #aaa;
    font-size: 13px;
    line-height: 1.6;
}

.growth-project-modal .modal-videos-grid {
    grid-template-columns: 1fr;
}

.growth-project-modal .modal-gallery-section,
.growth-project-modal .modal-behind-section {
    display: none;
}

.growth-project-modal .modal-bottom-grid {
    grid-template-columns: 1fr;
}

.modal-results-section li span {
    display: grid;
    gap: 4px;
}

.modal-results-section li strong {
    color: #fff;
    font-size: 14px;
}

.modal-results-section li small {
    color: #aaa;
    font-size: 12px;
    line-height: 1.5;
}

.modal-video-card {
    position: relative;
    display: grid;
    gap: 8px;
    color: #fff;
}

.modal-video-card img {
    width: 100%;
    aspect-ratio: 1.55;
    object-fit: cover;
    border-radius: 7px;
    filter: brightness(.78);
}

.modal-video-card strong {
    font-size: 13px;
}

.modal-video-card small {
    color: #aaa;
    font-size: 11px;
}

.modal-video-play {
    position: absolute;
    top: calc((100% - 48px)/2);
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .65);
    font-size: 13px;
}

.modal-bottom-grid {
    display: grid;
    grid-template-columns: 1.35fr .85fr;
    gap: 46px;
    padding-top: 28px;
    border-top: 1px solid #242424;
}

.modal-behind-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.modal-behind-gallery img {
    width: 100%;
    height: 106px;
    object-fit: cover;
    border-radius: 5px;
}

.modal-results-section {
    margin: 0;
}

.modal-results-section ul {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.modal-results-section li {
    display: flex;
    gap: 11px;
    color: #ddd;
    font-size: 13px;
    line-height: 1.4;
}

.modal-results-section li i {
    color: #e1262f;
    font-size: 16px;
}

.modal-project-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 42px;
    padding: 21px 0;
    border-top: 1px solid #242424;
    border-bottom: 1px solid #242424;
}

.modal-project-navigation button {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    padding: 0;
    background: none;
    border: 0;
    color: #ddd;
    cursor: pointer;
    font-size: 13px;
}

.modal-project-navigation button:hover {
    color: #e1262f;
}

.modal-project-navigation-icon {
    color: #bbb;
}

.modal-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 32px;
    margin-top: 35px;
    border: 1px solid #292929;
    border-radius: 12px;
}

.modal-cta>i {
    color: #e1262f;
    font-size: 39px;
}

.modal-cta span {
    color: #e1262f;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
}

.modal-cta h3 {
    margin: 4px 0;
    color: #fff;
    font-size: 23px;
}

.modal-cta p {
    margin: 0;
    color: #9f9f9f;
    font-size: 12px;
}

.modal-cta .budget-btn {
    margin-left: auto;
    white-space: nowrap;
}

.project-showcase-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    margin-bottom: 45px;

}

.project-details-btn {
    width: fit-content;
    min-width: 180px;
    white-space: nowrap;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, .15);
    padding: 18px 38px;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-align: center;
    gap: 10px;
    transition: .25s;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 20px;

}

.project-details-btn:hover {
    background: #b90d18;
    border-color: #b90d18;
}


/* ==========================================
   O QUE FAZEMOS — AJUSTES DE DIMENSÃO
   Preserva o visual e o funcionamento atual
========================================== */

.services-section,
.services-section * {
    box-sizing: border-box;
}

.services-section {
    min-width: 0;
    padding: clamp(40px, 5vw, 70px) 5.5%;
}

.services-heading {
    align-items: flex-end;
    flex-wrap: wrap;
    column-gap: clamp(24px, 3vw, 48px);
    row-gap: 24px;
    margin-bottom: clamp(28px, 3vw, 40px);
}

.services-title {
    min-width: 0;
    max-width: 100%;
    font-size: clamp(44px, 6.5vw, 100px);
    line-height: 0.95;
    overflow-wrap: break-word;
}

.services-tabs {
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-self: flex-end;
    gap: 0;
}

.service-tab {
    min-width: 0;
    padding: 10px clamp(10px, 1.5vw, 22px);
    font-size: clamp(12px, 1.15vw, 18px);
    white-space: normal;
    line-height: 1.25;
}

.service-tab.is-active::after {
    right: clamp(10px, 1.5vw, 22px);
    left: clamp(10px, 1.5vw, 22px);
    bottom: -10px;
    height: 2px;
}

.services-grid {
    width: 100%;
    height: clamp(340px, 38vw, 520px);
    min-height: 0;
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
    gap: 4px;
}

.service-card {
    min-width: 0;
    min-height: 0;
    isolation: isolate;
}

.service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overlay {
    z-index: 1;
    padding: 18px clamp(12px, 1.5vw, 22px);
    min-width: 0;
    overflow: hidden;
}

.service-label {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.service-label span {
    top: 16px;
    left: clamp(12px, 1.5vw, 22px);
    font-size: clamp(20px, 2vw, 34px);
}

.service-label h3,
.service-card.is-active .service-label h3 {
    min-width: 0;
    max-width: 100%;
    font-size: clamp(23px, 2.5vw, 42px);
    line-height: 0.98;
    white-space: normal;
    overflow-wrap: anywhere;
    text-overflow: clip;
}

.service-card.is-active .service-label span {
    font-size: clamp(24px, 2.3vw, 38px);
}

.service-rule {
    width: clamp(36px, 6vw, 80px);
    max-width: 100%;
    height: 2px;
    margin: clamp(12px, 2vw, 22px) 0;
    flex-shrink: 0;
}

.service-overlay p {
    width: 100%;
    max-width: 100%;
    font-size: clamp(12px, 1vw, 16px);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Card em destaque: mantém-se dentro da área dos cards */
.services-section.is-service-expanded .services-grid {
    overflow: hidden;
    isolation: isolate;
}

.services-section.is-service-expanded .service-card.is-active {
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

.services-section.is-service-expanded .service-card.is-active .service-overlay {
    padding: clamp(16px, 2vw, 28px);
}

@media (max-width: 1000px) {
    .services-heading {
        align-items: flex-start;
    }

    .services-tabs {
        justify-content: flex-start;
        width: 100%;
    }

    .service-tab {
        padding-right: 14px;
        padding-left: 14px;
    }

    .services-grid {
        height: 400px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .service-label h3,
    .service-card.is-active .service-label h3 {
        font-size: clamp(19px, 2.5vw, 30px);
    }
}

@media (max-width: 600px) {
    .services-section {
        padding: 48px 18px 56px;
    }

    .services-heading {
        gap: 24px;
        margin-bottom: 28px;
    }

    .services-title {
        font-size: clamp(42px, 12vw, 68px);
        line-height: 0.95;
    }

    .services-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        row-gap: 12px;
    }

    .service-tab {
        justify-content: flex-start;
        padding: 8px 10px;
        font-size: clamp(12px, 3.2vw, 15px);
        text-align: left;
    }

    .service-tab.is-active::after {
        right: 10px;
        bottom: -3px;
        left: 10px;
    }

    .services-grid {
        height: auto;
        min-height: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(230px, 62vw);
        gap: 5px;
    }

    .service-card {
        width: 100%;
        height: 100%;
    }

    .service-overlay {
        padding: 14px 12px;
    }

    .service-label {
        gap: 6px;
    }

    .service-label span {
        top: 12px;
        left: 12px;
        font-size: 22px;
    }

    .service-label h3,
    .service-card.is-active .service-label h3 {
        font-size: clamp(20px, 5.5vw, 30px);
        line-height: 1;
    }

    .service-card.is-active .service-label span {
        font-size: 24px;
    }

    .service-rule {
        margin: 12px 0;
    }

    .service-overlay p {
        font-size: 12px;
        line-height: 1.4;
    }

    .services-section.is-service-expanded .service-card.is-active {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .services-section *,
    .services-section *::before,
    .services-section *::after {
        transition-duration: 0.01ms !important;
    }
}


/* SERVIÇOS — INFORMAÇÕES AO PASSAR O MOUSE */

/* Esconde as descrições inicialmente */
#servicos .service-overlay p {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Mostra título, descrição e linha ao passar o mouse */
#servicos .service-card:hover .service-overlay p,
#servicos .service-card:focus-within .service-overlay p {
    opacity: 1;
    transform: translateY(0);
}

#servicos .service-rule {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#servicos .service-card:hover .service-rule,
#servicos .service-card:focus-within .service-rule {
    opacity: 1;
}

/* Evita que o card mude de tamanho no hover */
#servicos .service-card:hover {
    transform: none;
}

/* Em telas sensíveis ao toque, mantém as informações visíveis */
@media (hover: none) {

    #servicos .service-overlay p,
    #servicos .service-rule {
        opacity: 1;
        transform: none;
    }
}