/* =========================================================
   1. RESET & BASE STYLES
========================================================= */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: Rajdhani, Helvetica, Arial, sans-serif;
    line-height: 1.2;
    color: #222;
    background-color: #121214;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

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

/* Lists */
ul {
    list-style: none;
}


/* =========================================================
   2. CSS VARIABLES (THEME)
========================================================= */

:root {
    --primary-color: #121214;
    --secondary-color: #fff;
    --marketing-color: #e52c32;
    --identity-color: #f9d002;
    --webdesign-color: #1f42fc;
    --webdev-color: #29d31a;
    --max-width: 1200px;
    --primary-font: 'JetBrains Mono', Helvetica, Arial, sans-serif;
    --secondary-font: 'Montserrat', Helvetica, Arial, sans-serif;
    --tertiary-font: 'Rubik Glitch', Helvetica, Arial, sans-serif;
    --compact-padding-horizontal: 0% 20%;
    --btn-border-radius: 200px;
}


/* =========================================================
   3. LAYOUT UTILITIES
========================================================= */

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.flex {
    display: flex;
    align-items: center;
}

.grid {
    display: grid;
}


/* =========================================================
   4. HEADER / NAVBAR
========================================================= */

header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
}

nav {
    display: flex;
    align-items: center;
    flex-flow: column;
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 10;
}

    nav #nav-main-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #nav-main-container .navbar-toggler {
        border: none !important;
        outline: 0 !important;
        box-shadow: none !important;
    }

nav ul {
    display: flex;
    gap: 1.5rem;
}


/* =========================================================
   5. HERO SECTION
========================================================= */

#canvas-parent {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -3;
}

canvas {
      inset:0;
      width:100%;
      height:100%;
      display:block;
      z-index:-3;
      background:#000;
      transform: scale(1.5);
    }

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-family: var(--secondary-font);
    color: var(--secondary-color);
    font-weight: lighter;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.overlay-darker {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.overlay-lighter {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.overlay-swiper {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #000 20%, transparent);
    width: 70%;
    height: 100%;
    left: 0;
    z-index: 1;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    z-index: 3;
}

.video-bg iframe,
.video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;

    /* FORCE overscan like background-cover */
    width: 140vw;
    height: 140vh;
    min-width: 177.78vh;  /* forces cover behavior */
    min-height: 56.25vw;

    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.uppercase-txt {
    text-transform: uppercase;
}

.prim-font {
    font-family: var(--primary-font);
}

.sec-font {
    font-family: var(--secondary-font);
}

.ter-font {
    font-family: var(--tertiary-font);
}

.prim-txt {
    color: var(--primary-color);
}

.sec-txt {
    color: var(--secondary-color);
}

.ter-txt {
    color: var(--tertiary-color);
}

.marketing-txt {
    color: var(--marketing-color);
}

.marketing-bg {
    background-color: var(--marketing-color);
}

.identity-txt {
    color: var(--identity-color);
}

.identity-bg {
    background-color: var(--identity-color);
}

.webdesign-txt {
    color: var(--webdesign-color);
}

.webdesign-bg {
    background-color: var(--webdesign-color);
}

.webdev-txt {
    color: var(--webdev-color);
}

.webdev-bg {
    background-color: var(--webdev-color);
}

.light-txt {
    font-weight: 300;
}

.reg-txt {
    font-weight: normal;
}

.reg-more-txt {
    font-weight: 500;
}

.bold-txt {
    font-weight: bold;
}

.sel-caus,
.input-caus {
    background-color: transparent !important;
    font-weight: 400;
    font-family: var(--secondary-font);
    color: var(--secondary-color);
    border-radius: 4px !important;
    height: 45px;
}

.input-caus::placeholder,
.sel-caus::placeholder {
    font-family: var(--secondary-font);
    color: rgba(255, 255, 255, .3);
}

.sel-caus option {
    background-color: #121214 !important;
    color: var(--secondary-color);
}

#give-us-your-chaos-txt {
    font-size: 3rem;
}

form label {
    color: var(--secondary-color);
}

.main-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

    .main-btn.dark {
        color: var(--primary-color);
        border-color: var(--primary-color);
    }

    .main-btn.light {
        color: var(--secondary-color);
        border-color: var(--secondary-color);
    }

.main-btn::before {
    content: "";
    position: absolute;
    inset: 0;

    background: var(--secondary-color);
    transform: translateX(-100%);
    transition: transform 0.2s ease;

    z-index: 1;
}

    .main-btn.dark::before {
        background-color: var(--primary-color);
    }

    .main-btn.light::before {
        background-color: var(--secondary-color);
    }

.main-btn span {
    position: relative;
    z-index: 2;
}

.main-btn:hover::before {
    transform: translateX(0);
}

.main-btn.dark:hover,
.main-btn.dark:hover > span {
    color: var(--secondary-color) !important;
    font-weight: 500;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.main-btn.light:hover,
.main-btn.light:hover > span {
    color: var(--primary-color) !important;
    font-weight: 500;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

button,
button.btn {
    border-radius: var(--btn-border-radius);
    font-size: 1.2rem;
}

.hero-slider,
.swiper-slide,
.swiper-slide video {
    width: 100%;
    height: 100vh;
    position: relative;
}

.slider-ui {
    position: absolute;
    inset: 0;
    z-index: 10;

    padding-left: 250px;
    padding-right: 100px;
}

.separator-v {
    height: 100%;
    width: 1px;
    background-color: var(--secondary-color)
}

.separator-h {
    width: 100%;
    height: 1px;
    background-color: var(--secondary-color)
}

.work-details {
    position: absolute;
    bottom: 100px;
    z-index: 4;
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    align-items: center;
    margin-left: 23rem;
    padding-right: 2.3rem;
    gap: 2%;
    height: 80px;
    color: var(--secondary-color);
    cursor: pointer;
}

    .work-details .main-cont {
        display: flex;
        flex-flow: row;
        justify-content: space-between;
        align-items: center;
        color: var(--secondary-color);
    }

    .work-details .title-section {
        display: flex;
        flex-flow: column;
        align-items: flex-start;
        color: var(--secondary-color);
    }

        .work-details .title-section .title {
            color: var(--secondary-color);
            font-size: 2rem;
            font-weight: bold;
        }

        .work-details .title-section .cats {
            color: var(--secondary-color);
            font-size: 1.35rem;
            font-weight: normal;
        }

        .work-details .title-section .year {
            color: var(--secondary-color);
            font-weight: lighter;
        }

    .work-details .info-section {
        display: flex;
        flex-flow: column;
        align-items: flex-start;
        color: var(--secondary-color);
    }

        .work-details .info-section .txt {
            text-align: right;
            font-size: 1.15rem;
            font-weight: 300;
        }

.swiper-slide {
    width: 100%;
    height: 100%;

    overflow: hidden;
}

.swiper-wrapper {
     position: relative;
    z-index: 1;
}

.swiper-slide .full-img,
.swiper-slide video {
    width: 100%;
    height: 100vh;

    object-fit: cover;
    object-position: center;

    display: block;
}

.swiper-button-prev {
    margin-left: 23rem;
}

.swiper-button-prev,
.swiper-button-next {
    width: 45px !important;
    height: 45px !important;
    border-radius: 200px !important;
    /* border: 1px solid var(--secondary-color); */
    padding: .25rem .5rem;
    color: var(--secondary-color) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50% !important;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    z-index: 10;
}

    .swiper-button-prev svg,
    .swiper-button-next svg {
        display: none;
        height: 20px !important;
        width: 20px !important;
        transition: all 0.3s ease;
    }

.swiper-button-prev {
    left: 40px !important;
}

.swiper-button-next {
    right: 40px !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    transform: translateY(-50%) scale(1.05);
}

/* .swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
} */

/* vignette ABOVE canvas */
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;

  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.2) 70%,
    rgba(0,0,0,0.7) 100%
  );
}

/* DOT LAYER (FIXED VISIBILITY) */
.dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;

    /* base dot texture */
    background-image: radial-gradient(
        rgba(255,255,255,0.25) 1px,
        transparent 2.4px
    );

    background-size: 8px 8px;

    opacity: 1;

    mix-blend-mode: screen;

    /* THIS is the important part: corner emphasis */
    -webkit-mask-image: radial-gradient(
        circle at center,
        transparent 40%,
        transparent 60%,
        rgba(0,0,0,0.6) 100%,
        black 100%
    );
}   

#allow-us-txt {
    font-size: 1.75rem;
}

.sections-link-row {
    display: flex;
    flex-flow: column;
    align-items: flex-end;
    justify-content: flex-end;
}

#download-section .wrapper {
    display: flex;
    flex-flow: wrap;
    width: 100%;
    height: 100%;
}

#download-section #left,
#download-section #right {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    width: auto;
    padding: 5rem 0;
    flex: 1;
    z-index: 2;
}

#download-section #left {
    object-fit: cover;
    background: url('../images/webp/FundoMarmoreLight.webp') no-repeat center center/cover;
}

#download-section #right {
    object-fit: cover;
    background: url('../images/webp/FundoMarmorePreto.webp') no-repeat center center/cover;
}

.social-icon {
    font-size: 1.75rem;
}

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.4);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* Active state */
.modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Modal box */
.modal-content:not(.project-modal .modal-content) {
    background: #fff;
    padding: 2rem;
    border-radius: 14px;
    max-width: 420px;
    width: 90%;

    text-align: center;

    /* start state */
    transform: translateY(30px);
    opacity: 0;
    filter: blur(8px);

    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animate in when modal opens */
.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
}

.project-modal .modal-header {
    border: none !important;
}

.project-modal .wrapper {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.project-modal .modal-content .intro {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.project-modal .modal-content .intro .intro-title-wrapper {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    padding: 1rem 0;
    margin-top: 1rem;
}

    .project-modal .modal-content .intro .title {
        font-size: 2.5rem;
        font-family: var(--tertiary-font);
    }

    .project-modal .modal-content .intro .cats {
        font-size: 1.3rem;
        font-family: var(--secondary-font);
    }

    .project-modal .modal-content .intro .year {
        font-size: 1rem;
        font-family: var(--secondary-font);
        margin: 0;
    }

.project-modal .modal-content .intro .intro-img {
    margin-top: 1.5rem;
    width: 100%;
    height: 50vh;
    background-color: #adadad;
    background-size: cover !important;
}

.project-modal .modal-section {
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.project-modal .statement-txt {
    font-family: var(--secondary-font);
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}


.project-modal .statement-sm-txt {
    font-size: 2rem;
    font-family: var(--secondary-font);
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

.project-modal .intoorder .title-wrapper,
.project-modal .received .title-wrapper {
    display: flex;
    flex-flow: nowrap;
    align-items: flex-start;
    gap: 2.5rem;
}

.project-modal .received-title,
.project-modal .intoorder-title {
    flex: 0 0 auto;
    font-family: var(--secondary-font);
    font-size: 2rem;
    line-height: 1;
    font-weight: 500;
}

    .project-modal .received-title-longer {
        font-size: 3.45rem;
    }

    .project-modal .intoorder-title-longer {
        font-size: 3.25rem;
    }

.project-modal .received-txt-block,
.project-modal .intoorder-txt-block {
    font-family: var(--secondary-font);
    font-size: 1.3rem;
    font-weight: 400;
    text-align: justify;
}

.project-modal .images {
    display: flex;
    width: 100%;
}

    .project-modal .images .grid {
        display: grid;
        width: 100%;
        grid-template-columns: 50% 50%;
        grid-auto-rows: 50% 50%;
        row-gap: 1rem;
        column-gap: 1rem;
        justify-content: start;
    }

        .project-modal .images .grid img {
            width: 100%;
            max-width: 100%;
            height: 100%;
            object-fit: cover;
        }

.project-modal .sticky-wrapper {
    display: grid;
    grid-template-columns: 30% 1fr;
    align-items: start;
    position: relative;
}

.project-modal .caus-way {
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 75vh;
}

.project-modal .caus-way-sticky {
    position: sticky;
    /* top: 0; */
    top: calc(50% - 2.5rem);
    height: auto;
    width: 100%;
}

.project-modal .caus-way-item-list-parent {
    position: relative;
    width: calc(100% + 1px);
    height: 100%;
}

    .project-modal .caus-way-item-list-parent ul {
        text-decoration: none;
        text-decoration-style: none;
        position: relative;
    }

        .project-modal .caus-way-item-list-parent ul li {
            height: 50vh;
            width: 50%;
            display: flex;
            flex-flow: column;
            align-items: center;
            margin: auto;
            font-family: var(--secondary-font);
        }

            .project-modal .caus-way-item-list-parent ul li .number {
                font-weight: bolder;
                font-size: 3rem;
                text-align: center;
            }

            .project-modal .caus-way-item-list-parent ul li .title {
                font-weight: bold;
                font-size: 1.5rem;
                text-align: center;
                margin-bottom: 1rem;
            }

            .project-modal .caus-way-item-list-parent ul li .text {
                font-weight: normal;
                font-size: 1rem;
                text-align: center;
            }

.project-modal .digital {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 0;
}

    .project-modal .digital img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Laptop */
    .project-modal .digital .desktop {
        flex: 2 1 300px;
        max-width: 600px;
    }

    /* Phone */
    .project-modal .digital .mobile {
        flex: 1 1 120px;
        max-width: 200px;
    }

    .project-modal .device {
        position: relative;
    }

    .project-modal .device .frame {
        position: relative;
        z-index: 2;
        display: block;
        width: 100%;
    }

    .project-modal .device .screen {
        position: absolute;
        z-index: 1;
        object-fit: fill;
    }

    .project-modal .desktop .screen {
        top: 6.5%;
        left: 16%;
        width: 70%;
        height: 59%;
    }

    .project-modal .mobile .screen {
        top: 12%;
        left: 8%;
        width: 84%;
    }

/* container */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

/* hidden state */
.cookie-banner.hidden {
    display: none;
}

/* box */
.cookie-box {
    width: 320px;
    background: rgba(20,20,20,0.95);
    color: #fff;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);

    transform: translateY(20px);
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
}

/* text */
.cookie-text {
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.4;
    opacity: 0.9;
}

/* buttons */
.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.cookie-btn {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* styles */
.cookie-btn.primary {
    background: #ffffff;
    color: #000;
}

.cookie-btn.ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.cookie-btn.link {
    background: transparent;
    color: rgba(255,255,255,0.7);
}

/* hover */
.cookie-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* animation */
@keyframes slideIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* overlay */
.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.cookie-modal.show {
    opacity: 1;
    pointer-events: auto;
}

/* box */
.cookie-modal-box {
    width: 420px;
    background: #111;
    color: #fff;
    padding: 20px;
    border-radius: 14px;
    transform: translateY(20px);
    animation: modalIn 0.3s ease forwards;
}

/* header */
.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: white;
    cursor: pointer;
}

/* text */
.cookie-desc {
    font-size: 13px;
    opacity: 0.8;
    margin: 10px 0 20px;
}

/* options */
.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cookie-option p {
    font-size: 12px;
    opacity: 0.7;
    margin: 2px 0 0;
}

/* buttons */
.cookie-modal-actions {
    margin-top: 20px;
    text-align: right;
}

/* animation */
@keyframes modalIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #fff;
    border-radius: 999px;
    transition: 0.3s;
}

.slider:before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    left: 3px;
    top: 3px;
    background: #795548;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .slider {
    background: #fff;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

/* =========================================================
   6. SECTIONS (GENERIC)
========================================================= */

section {
    padding: 4rem 0;
    height: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: clip;
}

.main-section {
    min-height: 120vh;
    padding: 0 5%;
    height: auto;
    align-items: center;
    justify-content: center;
    position: relative;
    /* overflow: hidden; */
}

.service-section,
.service-content {
    min-height: 120vh;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    flex-flow: column;
    padding: 6rem 0;
    flex: 1;
}

    .service-content.marketing {
        background-color: var(--marketing-color);
        text-align: left;
    }

    .service-content.identity {
        background-color: var(--identity-color);
    }

    .service-content.webdesign {
        background-color: var(--webdesign-color);
    }

    .service-content.webdev {
        background-color: var(--webdev-color);
    }

.service-content .wrapper {
    height: 100%;
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-flow: column;
    padding-left: 4vw;
    gap: 2rem;
}

.service-content .title {
    font-size: 2.5rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    font-family: var(--tertiary-font);
}

.service-content .highlight.dark p {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-family: var(--secondary-font);
    text-transform: uppercase;
    font-weight: bold;
}

    .service-content .highlight.light p {
        font-size: 2rem;
        color: var(--secondary-color);
        font-family: var(--secondary-font);
        text-transform: uppercase;
        font-weight: bold;
    }

.service-content .text.dark p {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-family: var(--secondary-font);
    font-weight: 300;
    margin: 0;
}

    .service-content .text.light p {
        font-size: 1.15rem;
        color: var(--secondary-color);
        font-family: var(--secondary-font);
        font-weight: 300;
        margin: 0;
    }

.service-content p {
    margin: 0;
}

.service-content-element {
    text-align: left;
    width: 100%;
}

.services-wrapper {
    position: absolute;
    top: 245px;
    left: 130px;
    width: 350px;
    height: 100%;
    pointer-events: none;
}

#panther-fixed-section {
    background: url('/images/panteras/PanteraVermelha.png') no-repeat center center;
    background-size: cover;
    position: sticky;
    top: 0;
    width: 200px;
    height: 100vh;
    flex-shrink: 0;
    z-index: 2;
    background-color: var(--primary-color);
}

.services-panther-sticky {
    position: sticky;
    top: 0;

    height: 100vh;
    width: 220px;

    flex-shrink: 0;
    background: url('/images/panteras/PanteraVermelha.png')
        no-repeat center center;
    background-size: cover;
    z-index: 3;
}

#form-title-side .img-div {
    width: 100%;
    height: 20px;
    position: relative;
}

    #form-title-side .img-div::after {
        content: "";
        flex-shrink: 0;
        position: absolute;
        width: 170%;
        height: 60px;
        left: -120px;
        top: 60%;
        background: url(../images/Garra_Light_Vect.svg) center / contain no-repeat;
        transform: translateY(-50%);
    }

.caus-way-sect {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

    .caus-way-sect .img-div {
        gap: 1rem;
        
    }

    .caus-way-sect .img-div,
    .caus-way-sect .img-div img {
        z-index: 2;
    }

    .caus-way-sect .content {
        display: flex;
        flex-flow: column;
        color: var(--secondary-color);
        z-index: 2;
    }

        .caus-way-sect .content .title {
            color: var(--secondary-color);
            font-style: var(--secondary-font);
            font-weight: bold;
            text-align: center;
            z-index: 2;
        }

         .caus-way-sect .content .description {
            color: var(--secondary-color);
            font-style: var(--secondary-font);
            text-align: center;
            z-index: 2;
            font-weight: lighter;
            font-size: 1.25rem;
        }

.caus-way-video-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

    .caus-way-video-bg video {
        width: 100%;
        object-fit: cover;
        height: inherit;
    }

/* .work-content .swiper.hero-slider {
    height: 100%;
    width: 75%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
    flex-flow: column;
    padding-left: 2vw;
} */

.secondary-section {
    background: var(--secondary-bg-color);
}

.section-compact-h {
    padding: var(--compact-padding-horizontal);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    display: inline-block;
    z-index: 1;
}

/* SENTINEL (trigger point for observer) */
.section-sentinel {
    position: absolute;
    top: 20%;
    width: 1px;
    height: 1px;
}

/* BASE TITLE STATE (hidden) */
.section-title-side {
    position: sticky;
    position: -webkit-sticky;
    top: 120px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    z-index: 10;
    width: fit-content;
    max-width: 100%;
    contain: layout paint;
    font-size: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;   /* important: allow children to extend outside */
}

    .section-title-side .img-div {
        width: 400px;
        height: 100px;
        right: -120px;  /* pushes it outside the container */
        top: 50%;
    }

    .section-title-side.right .img-div::after {
        content: "";
        flex-shrink: 0;
        position: absolute;
        width: 100%;
        height: 100px;
        right: -140px;
        top: 70%;
        background: url(../images/Garra_Light_Vect.svg) center / contain no-repeat;
        transform: translateY(-50%);
    }

    .section-title-side.left .img-div::after {
        content: "";
        flex-shrink: 0;
        position: absolute;
        width: 100%;
        height: 100px;
        left: -140px;
        top: 70%;
        background: url(../images/Garra_Light_Vect.svg) center / contain no-repeat;
        transform: translateY(-50%);
    }

.section-title-side.left {
    position: sticky;
    /* left: 20px; */
    transform: translateX(-20px);
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: flex-start;
}

/* RIGHT */
.section-title-side.right {
    position: sticky;
    /* right: 20px; */
    margin-left: auto;
    transform: translateX(20px);
    display: flex;
    flex-flow: column;
    align-items: flex-end;
    justify-content: flex-end;
}

.section-title-side.right .sticky-title-txt {
    text-align: right;
    margin-right: 25px;
    font-family: var(--secondary-font);
    color: var(--secondary-color);
    font-weight: bold;
}

.section-title-side.left .sticky-title-txt {
    text-align: left;
    margin-left: 25px;
    font-family: var(--secondary-font);
    color: var(--secondary-color);
    font-weight: bold;
}

/* VISIBLE STATE */
.section-title-side.is-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.services-layout {
    display: grid;
    grid-template-columns: 25% 1fr;
    align-items: start;
}

.services-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
}

.panther-stack {
    position: relative;
    width: calc(100% + 1px);
    height: 100%;
}

.panther {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    will-change: opacity;
}

/* your images */
.panther.marketing {
    background-image: url('/images/panteras/PanteraVermelha.png');
}

.panther.identity {
    background-image: url('/images/panteras/PanteraAmarela.jpeg');
}

.panther.webdesign {
    background-image: url('/images/panteras/PanteraAzul.jpeg');
}

.panther.webdev {
    background-image: url('/images/panteras/PanteraVerde.jpeg');
}

/* active state */
.panther.active {
    opacity: 1;
}

#intro-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-bg-color);
}

.intro-text {
    width: 60%;
}

#bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    background: transparent !important;
}

.link {
    text-decoration:underline;
    /* color:#2196F3; */
    color: var(--primary-color);
}

.sec-link {
    text-decoration: underline;
    color: var(--secondary-color);
}

.error-message {
    display: none;
    color: firebrick;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: bold;
    text-transform: uppercase;
}

.error-message.show {
    display: block;
}

    .error-message::before {
        content: "\f071";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: firebrick;
        margin-right: 0.25rem;
    }

.fi {
    font-size: 20px;
    border-radius: 3px;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.fi.show {
    opacity: 1;
    transition: transform 0.2s ease;
}

.lang-btn:hover .fi {
    opacity: 1;
    transform: scale(1.2);
}

.loadingSpinner {
    position: fixed;
    opacity: 0;
    visibility: hidden; 
    pointer-events: none;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    background: rgba(0, 0, 0, 0.98);
    z-index: 9999;
    width: 100%;
    height: 100%;
    transition: 0.5s;
}

    .loadingSpinner.show {
        opacity: 1;
        visibility: visible;
    }
    
#menu-sticky {
    display: flex;
    align-items: flex-end;
    flex-flow: column; 
    padding: 2rem 2.5rem;
    font-size: 1.3rem;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 9998;
    /* opacity: 0; */
    /* pointer-events: none; */
    transition: opacity 0.35s ease;
}

#menu-sticky.show {
    opacity: 1;
    pointer-events: all;
}

    #menu-sticky i,
    #menu-sticky svg {
        background-color: var(--light-brown-color);
        padding: 0.25rem;
    }

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--secondary-color);
;
    position: relative;

    transition: background-color 0.25s ease, transform 0.25s ease, top 0.25s ease, opacity 0.15s ease;
}

    #menu-sticky.show .menu-icon,
    #menu-sticky.show .menu-icon::before,
    #menu-sticky.show .menu-icon::after {
            background-color: var(--light-brown-color);
    }

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.menu-icon::before {
    top: -7px;
}

.menu-icon::after {
    top: 7px;
}

.menu-icon.open {
    background: transparent;
}

.menu-icon.open::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-icon.open::after {
    top: 0;
    transform: rotate(-45deg);
}

.logo-into-order-txt {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: center;
    margin-top: 13px;
    margin-left: 5px;
}

    .logo-into-order-txt .text {
        color: var(--secondary-color);
        font-family: var(--secondary-font);
        font-size: .65rem;
    }

    .logo-into-order-txt .text.dark {
        color: var(--primary-color);
        font-family: var(--secondary-font);
        font-size: .75rem;
    }

.logo-into-order-footer-txt {
    display: flex;
    flex-flow: row;
    align-items: flex-start;
    justify-content: center;
    margin-top: 22px;
}

#backToTopBtn {
    position: fixed;
    bottom: 15px;
    left: 47.5%;
    transform: translateX(47%);
    display: flex;
    justify-content: center;
    z-index: 100;
    padding: .75rem .95rem;
    font-size: .9rem;
    border: none;
    opacity: 0;
    background-color: transparent;
    box-shadow: 0 0 3px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid var(--secondary-color);
    /* visibility: hidden;
    pointer-events: none; */
    transition: opacity 0.3s ease, visibility 0.3s ease, bottom 0.4 s ease, left 0.4 s ease;
}

    #backToTopBtn svg {
        color: var(--secondary-color);
    }

    #backToTopBtn.show {
        opacity: 1;
    }

    button#backToTopBtn.raise {
        bottom: 100px !important;
        mix-blend-mode: difference;
    }

        /* button#backToTopBtn.raise svg {
            color: var(--secondary-color) !important;
        } */

    button#backToTopBtn.slide-left {
        left: 0 !important;
    }

/* #menu-sticky .lang-switcher { */
.lang-switcher {
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
    justify-content: flex-end !important;
    max-width: 200px;
    position: absolute;
    top: 70px;
    right: 28px;
    margin-top: 0 !important;
}

/* =========================================================
   7. BUTTONS
========================================================= */

.btn {
    display: inline-block;
    padding: 1.2rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: 1px solid var(--secondary-color);
    border-radius: 5px !important; 
    font-family: var(--secondary-font);
    font-weight: 200;
    font-size: .95rem !important;
    text-transform: uppercase;
    transition: 0.3s;
}

    /* .btn.dark {
        display: inline-block;
        padding: 1.2rem 1.5rem;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
        border-radius: 5px !important; 
        font-family: var(--secondary-font);
        font-weight: 200;
        font-size: .95rem !important;
        text-transform: uppercase;
        transition: 0.3s;
    }

    .btn.light {
        display: inline-block;
        padding: 1.2rem 1.5rem;
        color: var(--secondary-color) !important;
        border: 1px solid var(--secondary-color);
        border-radius: 5px !important; 
        font-family: var(--secondary-font);
        font-weight: 200;
        font-size: .95rem !important;
        text-transform: uppercase;
        transition: 0.3s;
    } */

.btn:hover {
    opacity: 0.8;
}


/* =========================================================
   8. FOOTER
========================================================= */

footer {
    background: var(--secondary-color);
    color: var(--primary-color) !important;
    text-align: center;
    padding: 2rem 0;
    overflow: hidden;
}


/* =========================================================
   9. RESPONSIVE DESIGN
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* =========================
   Large screens (desktops)
========================= */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

/* =========================
   Tablets
========================= */
@media (max-width: 992px) {

    nav ul {
        gap: 1rem;
    }

    .hero {
        /* min-height: 70vh; */
        padding: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    #intro-section .intro-text {
        width: 85%;
    }

    .section-title-side .sticky-title-txt {
        font-size: 2rem;
    }

    .section-title-side.right .img-div::after {
        height: 100px;
        right: -210px;
        top: 60%;
        transform: translateY(-45%);
    }

    .section-title-side.left .img-div::after {
        height: 40px;
        left: -170px;
        top: 60%;
        transform: translateY(-45%);
    }

    .work-details {
        margin-left: 20px;
    }

    .swiper-button-prev, .swiper-rtl .swiper-button-next {
        margin: 0 !important;
    }

    #form-main-div {
        flex-flow: column;
    }
    
        #form-main-div #form-title-side {
            margin-bottom: 3rem;
        }
}

/* =========================
   Small tablets / large phones
========================= */
@media (max-width: 768px) {

    footer {
        padding: 2rem 2rem !important;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

        nav #nav-main-container {
            display: flex;
            justify-content: space-between !important;
            flex-flow: wrap !important;
        }
            nav #nav-main-container .lang-switcher {
                justify-content: flex-end !important;
                background-color: #fff;
                padding: 1rem;
            }

    button.main-btn {
        padding: .85rem 1rem;
    }

    button.main-btn span {
        font-size: .85rem;
    }

    .panther {
        background-position: 40% center;
    }

    .swiper-slide .overlay-swiper {
        display: none;
    }

    .swiper-slide .work-details {
        margin: 0;
        flex-flow: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5%;
        position: absolute;
        bottom: 220px;
        margin-top: auto;
        display: flex;
        transform-origin: bottom;
    }

    .swiper-slide .work-details img {
        width: 80px;
        margin-bottom: 1rem;
        margin-right: auto;
    }

    .swiper-slide .work-details .main-cont {
        flex-flow: column;
        align-items: flex-start;
    }

    .swiper-slide .work-details .title-section .title {
        font-size: 1.25rem;
    }

    .swiper-slide .work-details .title-section .cats {
        font-size: 1rem;
    }

    .swiper-slide .work-details .title-section .year {
        font-size: .85rem;
    }

    .swiper-slide .work-details .info-section .txt {
        font-size: 1rem;
        margin-top: 20px;
        text-align: justify;
    }

    .swiper-button-prev,
    .swiper-button-next {
        margin: auto;
        transform: translateY(-100%);
    }

    .swiper-button-prev {
        left: 10px !important;
    }

    .swiper-button-next {
        right: 10px !important;
    }

    #get-info-form {
        margin-top: 3rem;
    }

    input,
    select {
        font-size: .85rem !important;
    }

    .section-title-side .sticky-title-txt,
    #form-title-side #give-us-your-chaos-txt {
        font-size: 2rem;
        line-height: 1;
    }

    #form-section #form-main-div {
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .section-title-side.right .sticky-title-txt {
        margin-right: 10px;
    }

    .section-title-side.left .sticky-title-txt {
        margin-left: 10px;
    }

    .section-title-side.left .img-div::after {
        content: "";
        flex-shrink: 0;
        position: absolute;
        width: 60%;
        height: 100px;
        left: -70px;
        top: 60%;
        background: url(../images/Garra_Light_Vect.svg) center / contain no-repeat;
        transform: translateY(-50%);
    }

    .caus-way-sect .img-div img {
        width: 10px;
        margin-bottom: 7px;
    }

        .caus-way-sect .content {
            padding: 0 .75rem;
        }

        .caus-way-sect .content .description {
            font-size: 1rem;
            text-align: center;
        }
 
    .section-title {
        font-size: 1.5rem;
    }

    #intro-text,
    .intro-text {
        width: auto !important;
    }

    #intro-section span.intro-text {
        font-size: 1rem !important;
    }

    .logo-main {
        width: 120px;
    }
    
    #form-main-div {
        flex-flow: column;
    }

    #transform-project-el {
        margin-bottom: 2.5rem;
    }

    .main-section {
        padding: 5% 5%;
    }

    .section-title-side {
        position: relative !important;
        top: 0 !important;
    }

    .service-content .wrapper {
        width: 90%;
    }

    .services-layout {
        grid-template-columns: 30% 1fr;
    }

    .service-content .title {
        font-size: 1.25rem;
        width: 100%;
    }

    .service-content .highlight p {
        font-size: 1.5rem !important;
        width: 100%;
    }

    .service-content .text p {
        font-size: 1.1rem !important;
        width: 100%;
    }

    .section-compact-h {
        padding: 0;
    }

    #footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-row {
        align-items: self-start !important;
        width: 100% !important; 
        margin-bottom: 1rem !important;
    }

    .contact-row:last-child {
        flex-flow: row;
        display: flex;
        justify-content: space-between;
    }

    #backToTopBtn {
        bottom: 10px !important;
        left: calc(100% - 14.35rem) !important;
        width: 13px !important;
        padding: .75rem 1.2rem;
        background-color: transparent;
        box-shadow: 0 0 3px 4px rgba(255, 255, 255, 0.1);
        border: 1px solid var(--secondary-color);
    }

    #backToTopBtn svg {
        color: var(--secondary-color);
    }

    #menu-sticky {
        padding: 1rem .75rem;
        font-size: 1.3rem;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        z-index: 9998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
    }

    #nav-main-container .navbar-toggler {
        font-size: 1rem;
    }

    #form-title-side .img-div::after {
        height: 40px;
        left: -120px;
    }

    #allow-us-txt {
        font-size: 1.15rem;
        margin-top: 1.75rem !important;
    }
}

/* =========================
   Phones
========================= */
@media (max-width: 576px) {

    body {
        font-size: 14px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 2rem 0;
    }
}

/* =========================
   Extra small devices
========================= */
@media (max-width: 400px) {

    .hero {
        padding: 1rem;
    }

    .section-title {
        font-size: 1.3rem;
    }
}

/* =========================
   Animations
========================= */

.blur-in {
    opacity: 0;
    filter: blur(10px);
    scale: 0.85;
    transition:
        transform 0.6s ease-out,
        opacity 0.6s ease-out,
        scale 0.6s ease-out,
        filter 0.6s ease-out;

    will-change: transform, opacity, scale, filter;
}

.blur-in-left {
    transform: translate3d(-60px, 0, 0);
    filter: blur(0);
    scale: 1;
}

.blur-in-right {
    transform: translate3d(60px, 0, 0);
    filter: blur(0);
    scale: 1;
}

.blur-in-top {
    transform: translate3d(0, -60px, 0);
    filter: blur(0);
    scale: 1;
}

.blur-in-bottom {
    transform: translate3d(0, 60px, 0);
    filter: blur(0);
    scale: 1;
}

.blur-in.show {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.animate {
    opacity: 0;

    transition:
        transform 0.6s ease-out,
        opacity 0.6s ease-out;

    will-change: transform, opacity;
}

.animate-left {
    transform: translate3d(-60px, 0, 0);
}

.animate-right {
    transform: translate3d(60px, 0, 0);
}

.animate-top {
    transform: translate3d(0, -60px, 0);
}

.animate-bottom {
    transform: translate3d(0, 60px, 0);
}

.animate.show {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@keyframes myAnimation {
  from {background-color: red;}
  to {background-color: yellow;}
}   