@media (max-width: 768px) {
    .topbar {
        top: 10px;
        width: calc(100% - 24px);
        height: 54px;
        padding: 0 16px;
    }

    a{
        cursor: none !important;
    }


    .brand img {
        max-width: 110px;
        height: 32px;
    }

    .menu-button {
        width: 42px;
        height: 42px;
    }

    .menu-button img {
        width: 22px;
        height: 22px;
    }

    .hero {
        padding: 116px 10px 110px;
    }

    .hero-copy {
        width: 100%;

        img{
            width: clamp(200px, 40vw, 300px);
            height: auto;
        }
    }

    .hero-copy h1 {
        font-size: clamp(2.2rem, 9vw, 3rem);
        letter-spacing: 1px;
        
    }

    .hero-copy p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .media-card {
        border-radius: 18px;
    }

    .play-button {
        width: 76px;
        height: 76px;
    }

    .play-caption {
        left: 16px;
        bottom: 16px;
    }

    .play-caption .eyebrow {
        font-size: 1rem;
    }

    .play-caption .caption {
        font-size: 1.2rem;
    }

    .video-controls {
        right: 12px;
        bottom: 12px;
        gap: 10px;
        padding: 8px 12px;
    }

    .video-toggle,
    .video-close {
        width: 34px;
        height: 34px;
    }

    .video-progress {
        width: clamp(60px, 24vw, 110px);
    }

    .cta {
        padding: 14px 26px;
        font-size: 1.05rem;
    }

    .cta img {
        width: 20px;
        height: 20px;
    }

    .about-section {
        padding: 64px 20px 72px;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .about-media {
        order: -1;
    }

    .about-media #about-media-image {
        width: clamp(240px, 60vw, 320px);
        height: auto;
        aspect-ratio: 432 / 547;
        object-fit: cover;
        border-radius: 80px 12px 80px 12px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    }

    .estrela-about-media img {
        width: clamp(70px, 18vw, 110px);
    }

    .circle-about-media {
        right: -15%;
        width: 120px;
    }

    .parallax-imagem {
        width: 100%;
        min-height: 25vh; 
        
        background-image: url('/assets/parallax-4.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment:scroll; 
    }

    .purpose-section {
        padding: 64px 16px 88px;
    }

    .purpose-grid {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-rows: repeat(3, minmax(0, 1fr));
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
        max-width: 1220px;
        margin: 0 auto;
        align-items: stretch;
    }

    .purpose-card {
        display: grid;
        align-items: center;
        justify-items: center;
        padding: 1.75rem 1.25rem;
        min-height: 190px;
        border-radius: 24px;
        border: 1px solid #E6DFE8;
        background: var(--white);
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);

        transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
    }

    .purpose-card:hover {
        transform: none;
    }

    .purpose-card__icon img {
        width: 34px;
        margin-bottom: 8px;
        object-fit: contain;
    }

    .purpose-card h3 {
        margin-bottom: 12px;
        font-family: "League Spartan", sans-serif;
        text-align: center;
        font-size: 1.25rem;
        font-weight: 300;
        letter-spacing: 0.12em;
        color: var(--purple-950);
    }

    .purpose-card p {
        margin: 0;
        font-family: "Nunito", sans-serif;
        font-size: 0.85rem;
        line-height: 1.65;
        color: var(--purple-950);
        font-weight: 600;
        text-align: center;
    }

    .how-it-works-section {
        min-height: auto;
        padding: 64px 20px 72px;
    }

    .how-it-works-intro {
        margin-bottom: 2.5rem;
    }

    .how-it-works-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-left: 1.5rem;
        align-items: start;
    }

    .timeline-line {
        top: 0;
        bottom: 0;
        left: 0.55rem;
        right: auto;
        width: 1px;
        height: auto;
        transform: scaleY(0);
        transform-origin: top;
    }

    .how-it-works-section.is-visible .timeline-line {
        transform: scaleY(1);
    }

    .timeline-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
        padding: 0;
    }

    .timeline-step__bg-number {
        top: -0.2rem;
        left: 1.2rem;
        transform: none;
        opacity: 0.04;
        font-size: 2.8rem;
    }

    .step-node {
        margin-top: 0.2rem;
        flex-shrink: 0;
    }

    .timeline-step__content {
        max-width: 100%;
    }

    .portfolio-section {
        padding: 48px 16px 0;
    }

    .portfolio-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .portfolio-cards-container {
        gap: 20px;
    }

    .portfolio-card {
        position: relative;
        width: 100%;
        height: 260px;

        overflow: hidden;

        border-radius: 24px;
        background: #000;
    }

    .portfolio-text-container {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .contact-section{
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
        text-align: center;
        background-image: url("/assets/contact-background.png");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        z-index: 1;
        margin: 20px 0 0px 0;
        padding: 0px 24px;

        .left-text{
            width: 100%;
            color: var(--white);
            z-index: 3;
            font-family: "League Spartan", sans-serif;
            font-size: 1.65rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            padding: 10px 0px 0px 0px;
            margin-top: 20px;
        }

        .center-image{
            img{
                width: clamp(400px, 30vw, 550px);
                height: auto;
            }
        }

        .right-button{
            position: absolute;
            bottom: 10%;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            z-index: 3;
            color: rgba(255, 255, 255, 0.744);
            font-family: "League Spartan", sans-serif;
            display: flex;
            align-items: center;
            justify-content: space-around;
            gap: 10px;
            padding: 10px 18px;
            background-color: #dad9ea2d;
            border-radius: 100px;
            border: 1px solid #ffffffad;
            transition: all 0.3s ease-in-out;
            cursor: none;
            text-decoration: none;
            
            &:hover{
                background-color: #dad9ea4d;
                border: 1px solid #ffffffad;
            }
        }
    }

    .contact-section::after{
        z-index: 2;
        content: "";
        position: absolute;
        background: rgba(0, 0, 0, 0.304);
        inset: 0;
    }

    .testimonials-section {
        padding: 72px 20px 72px;
    }

    .testimonials-title {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .testimonial-rating {
        gap: 10px;
        margin-bottom: 20px;
    }

    .testimonial-star {
        width: 28px;
    }

    .testimonial-action {
        padding: 16px 26px;
        font-size: 1rem;
    }

    .site-footer {
        position: relative;
        padding: 64px 24px 56px;
        background: #000000;
        color: #ffffff;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 1320px;
        margin: 0 auto;
        align-items: center;
    }

    .footer-logo img {
        width: min(180px, 100%);
        height: auto;
    }

    .footer-follow-card {
        min-height: 220px;
    }
}
