@font-face {
    font-family: "IBM Plex Sans";
    src: url("/assets/fonts/IBMPlexSans-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("/assets/fonts/IBMPlexSans-LightItalic.woff2") format("woff2");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("/assets/fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("/assets/fonts/IBMPlexSans-SemiBoldItalic.woff2") format("woff2");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("/assets/fonts/PlayfairDisplay-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("/assets/fonts/PlayfairDisplay-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("/assets/fonts/PlayfairDisplay-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("/assets/fonts/PlayfairDisplay-MediumItalic.woff2") format("woff2");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

:root {
    --color-primary: #1A1A1A;
    --color-text: #0D0D0D;
    --color-gold: #C9A858;
    --color-gold-light: #E0CCA8;
    --color-background: #F7F7F7;
    --color-secondary: #ECECEC;
    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "IBM Plex Sans", Arial, sans-serif;
    --container-width: 100rem;
    color-scheme: light;
    font-size: clamp(12px, 0.833333vw, 16px);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-background);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

strong, b {
    font-weight: 600;
}

html {
    scroll-behavior: smooth;
    /* Somado aos 80px das âncoras, deixa espaço para o header revelado. */
    scroll-padding-top: max(0px, calc(var(--header-height, 0px) - 80px + 16px));
}

#conteudo, #sobre, #solucoes, #portfolio, #contato,
#mentoria, #storymaking, #producao, #producao-de-conteudo {
    scroll-margin-top: 80px;
}

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

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible, [tabindex="0"]:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 6px;
}

p, h1, h2, h3 {
    margin: 0;
}

.container {
    width: min(83.333333%, var(--container-width));
    margin-inline: auto;
}

.textured {
    background: linear-gradient(#1a1a1aa1, #1a1a1aa1),
        var(--color-primary) url("/assets/img/background.avif") center / cover;
    color: var(--color-background);
}

.skip-link {
    position: fixed;
    z-index: 10;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--color-text);
    background: var(--color-background);
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

.button {
    --button-sizing-font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    min-height: 3.875rem;
    padding: 1rem 1.875rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.button img {
    flex: 0 0 auto;
    width: 1.125rem;
    height: 1.125rem;
}

.button--gold {
    color: var(--color-primary);
}

.button--dark {
    color: #fff;
    background: var(--color-primary);
    transition: background-color 400ms ease, transform 400ms ease;
}

.button--dark:hover {
    color: #fff;
    background: #C9A858;
    transform: scale(0.9);
}

/* A caixa invisível mantém a medida anterior; só o rótulo visível usa 14px.
   Assim a correção tipográfica não redimensiona os CTAs aprovados. */
.button-label {
    position: relative;
    display: block;
    min-width: 0;
}

.button-label::before {
    content: attr(data-label);
    display: block;
    visibility: hidden;
    font-size: var(--button-sizing-font-size);
    line-height: 1.3;
    pointer-events: none;
    user-select: none;
}

.button-label > span {
    position: absolute;
    inset-inline: 0;
    top: 50%;
    transform: translateY(-50%);
}

.button-gradiente {
    font-weight: 600;
    background: linear-gradient(45deg, #C9A858, #F7F7F7, #D2B67C, #C9A858);
    background-size: 300% 300%;
    animation: movimentoGradient 4s ease infinite;
    transition: transform 0.4s ease;
}

.button-gradiente:hover {
    transform: scale(0.9);
}

@keyframes movimentoGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.titulo-gradiente {
    font-weight: 600;
    background: linear-gradient(45deg, #C9A858, #F7F7F7, #D2B67C, #C9A858);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: movimentoTitulo 4s ease infinite;
    display: inline-block;
    max-width: 100%;
    transition: transform 0.4s ease;
}

@keyframes movimentoTitulo {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.titulo-gradiente-2 {
    font-weight: 600;
    background: linear-gradient(45deg, #A68536, #1A1A1A, #A68536);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: movimentoTituloReverso 4s ease infinite;
    display: inline-block;
    max-width: 100%;
    transition: transform 0.4s ease;
}

@keyframes movimentoTituloReverso {
    0% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.gira, .gira-2 {
    transform-origin: center;
    animation: girar 6s linear infinite;
}

.gira-2 {
    animation-direction: reverse;
}

@keyframes girar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.site-header {
    position: relative;
    z-index: 5;
    color: var(--color-background);
    background: var(--color-primary);
    border-bottom: 1px solid #ffffff26;
    overflow-anchor: none;
}

body.has-floating-header {
    padding-top: var(--header-height);
}

.site-header.is-floating {
    position: fixed;
    inset: 0 0 auto;
    transform: translateY(-100%);
    transition: transform 250ms ease;
}

.site-header.is-floating.is-visible {
    transform: translateY(0);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 7.375rem;
}

.brand {
    width: 22rem;
    flex: 0 0 auto;
}

.main-nav {
    display: flex;
    align-self: stretch;
    gap: 3.125rem;
    font-size: 1.125rem;
    text-transform: uppercase;
}

.main-nav a {
    display: flex;
    align-items: center;
    padding-inline: 1rem;
    border-bottom: 1px solid transparent;
}

.main-nav a[aria-current], .main-nav a:hover {
    color: var(--color-gold-light);
    border-bottom-color: var(--color-gold-light);
}

.main-nav .compact-contact {
    display: none;
}

.menu-toggle[hidden] {
    display: none;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.375rem;
    border: 0;
    border-radius: 0.375rem;
    color: var(--color-primary);
    background: var(--color-gold);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.menu-toggle svg {
    display: block;
    width: 100%;
    height: 100%;
}

.menu-toggle .menu-icon-close,
.menu-toggle[aria-expanded="true"] .menu-icon-open {
    display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
    display: block;
}

.hero-section {
    padding-block: 3.125rem;
    background: var(--color-primary);
}

.hero {
    position: relative;
    isolation: isolate;
    aspect-ratio: 1600 / 858;
    overflow: hidden;
    border: 1px solid var(--color-gold-light);
    border-radius: 1.875rem;
    background: #424c46;
    color: var(--color-background);
}

.hero::before {
    content: "";
    position: absolute;
    inset: -1rem;
    z-index: -1;
    background: url("/assets/img/background-escritorio.avif") center / cover;
    filter: blur(5px);
}

.hero-videos {
    position: absolute;
    inset: 6% 11.4%;
    display: grid;
    grid-template-columns: 1fr 1.14fr 1fr;
    gap: 3%;
    align-items: center;
}

.hero-video {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 0.75rem;
    background: #1a1a1a33;
}

.hero-video--2 {
    border-radius: 1.375rem;
}

.hero-copy {
    position: absolute;
    z-index: 1;
    inset: 58% 2% auto;
    text-align: center;
    pointer-events: none;
}

.hero h1 {
    display: inline;
    padding: 0 0.75rem;
    color: var(--color-background);
    background: #000000ad;
    box-shadow: 0 0 1rem 0.75rem #000000ad;
    font-size: 4.5rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.25;
}

.hero h1 em {
    color: var(--color-gold-light);
    font-style: inherit;
}

.hero-copy p {
    margin-top: 1.5rem;
    font-size: 2.5rem;
    line-height: 1.35;
}

.hero-copy p span {
    padding-inline: 0.5rem;
    background: var(--color-gold);
}

.section-title {
    font-size: 4rem;
    font-weight: 400;
    text-align: center;
}

.about {
    padding-block: 6.25rem;
}

.about-title {
    padding-bottom: 3.125rem;
    border-bottom: 1px solid #ffffff26;
    color: var(--color-background);
}

.about-title em, .about-portrait em, .clients em {
    color: var(--color-gold-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 41.666667% 1fr;
    gap: 5rem;
    padding-top: 6.25rem;
}

.about-portrait h3 {
    max-width: 34rem;
    color: var(--color-background);
    font-size: 2.25rem;
    line-height: 1.15;
}

.about-portrait h3 em {
    display: block;
    font-weight: 500;
}

.about-portrait > img {
    width: 21.875rem;
    margin-top: 2rem;
}

.about-copy {
    color: #c4c4c4;
}

.about-copy p + p {
    margin-top: 2.5rem;
}

.about-copy .button {
    margin-top: 2rem;
}

.clients {
    display: grid;
    grid-template-columns: 24.5% 1fr;
    align-items: center;
    gap: 2rem;
    margin-top: 6.25rem;
    padding-top: 3.125rem;
    border-top: 1px solid #ffffff26;
}

.clients h2 {
    color: var(--color-background);
    font-size: 2.5rem;
}

.client-logos {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.client-logos img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.375rem;
}

.solutions {
    padding-block: 6.25rem;
}

.solutions-title {
    padding-bottom: 3.75rem;
    border-bottom: 1px solid var(--color-gold-light);
    line-height: 1.1;
}

.solutions-title em {
    color: #7b6935;
}

.solutions-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-block: 6.25rem;
}

.solutions-intro > p {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.15;
}

.service-list {
    display: grid;
    gap: 3.125rem;
}

.service-card {
    display: grid;
    grid-template-columns: 36% 1fr;
    align-items: center;
    gap: 3.125rem;
    min-height: 39.5rem;
    padding: 3.125rem;
    border: 1px solid #8b7c58;
    border-radius: 1.875rem;
    color: #c4c4c4;
    background-color: var(--color-primary);
    background-position: center;
    background-size: cover;
}

.service-card--mentoria {
    background-image: linear-gradient(#000c, #000c), url("/assets/img/mentoria-de-producao-de-conteudo.png");
}

.service-card--storymaking {
    grid-template-columns: 1fr 36%;
    background-image: linear-gradient(#000c, #000c), url("/assets/img/storymaking.avif");
}

.service-card--producao-de-conteudo {
    background-image: linear-gradient(#000c, #000c), url("/assets/img/producao-de-conteudo.avif");
}

.service-visual {
    position: relative;
    min-width: 0;
}

.service-card--storymaking .service-visual {
    grid-column: 2;
    grid-row: 1;
}

.service-card--storymaking .service-copy {
    grid-column: 1;
    grid-row: 1;
}

.service-photo {
    width: 100%;
    aspect-ratio: 1.015;
    object-fit: cover;
    border-radius: 1.875rem;
}

.service-seal {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    width: 9.375rem;
    aspect-ratio: 1;
}

.service-copy h3 {
    margin-bottom: 2rem;
    color: var(--color-background);
    font-size: 2.625rem;
    line-height: 1.2;
}

.service-copy p + p {
    margin-top: 2.5rem;
}

.service-copy .button {
    margin-top: 2rem;
}

.portfolio {
    padding-block: 6.25rem 7.5rem;
}

.work-contact {
    position: relative;
    isolation: isolate;
    color: var(--color-background);
    background: var(--color-primary) url("/assets/img/background.avif") center top / cover no-repeat;
}

.work-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, #0000002e 0%, #0000005c 48%, #0000007a 100%);
    pointer-events: none;
}

.portfolio-composition {
    position: relative;
    width: 87.5%;
    margin-inline: auto;
    overflow: visible;
}

.portfolio-composition > picture {
    display: block;
}

.portfolio-art {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: var(--portfolio-transform, none);
    transform-origin: center;
}

.portfolio-copy {
    position: absolute;
    inset: 67% -5% auto;
    text-align: center;
}

.portfolio-copy h2 {
    color: var(--color-background);
    font-size: 4.5rem;
    font-weight: 500;
    font-style: italic;
    text-shadow: 0 2px 2px #000, 0 0 8px #000000d9, 0 0 18px #00000099;
}

.portfolio-copy .button {
    margin-top: 1.5rem;
}

.contact {
    padding-block: 6.25rem;
}

.contact-panel {
    position: relative;
    width: 70%;
    margin-inline: auto;
    padding: 5.375rem 2rem;
    border: 1px solid var(--color-gold-light);
    border-radius: 1.875rem;
    color: var(--color-text);
    background: var(--color-background);
    text-align: center;
}

.contact-panel h2 {
    font-size: 4rem;
}

.contact-panel p {
    margin-block: 2rem;
    color: #666;
}

.contact-star {
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 5rem;
}

.contact-stars {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    width: 6.25rem;
}

.site-footer {
    padding-block: 3.125rem;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.875rem;
    margin-bottom: 3.125rem;
}

.social-link {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 8.125rem;
    padding: 1.875rem;
    border: 1px solid #888;
    border-radius: 1.875rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    font-weight: 500;
    color: var(--color-primary);
    background: var(--color-background);
    transition: color 400ms ease;
}

.social-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(110deg, #C9A858, #D2B67C, #C9A858);
    opacity: 0;
    transition: opacity 400ms ease;
    pointer-events: none;
}

.social-link:is(:hover, :focus-visible) {
    color: #fff;
}

.social-link:is(:hover, :focus-visible)::before {
    opacity: 1;
}

.social-link img {
    width: 3.75rem;
    height: 3.75rem;
    object-fit: contain;
    transition: filter 400ms ease;
}

.social-link:is(:hover, :focus-visible) img {
    filter: brightness(0) invert(1);
}

.social-link[aria-disabled] {
    cursor: default;
}

.footer-panel {
    padding: 3.125rem;
    border-radius: 1.875rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 20% 24%;
    gap: 2rem;
    min-height: 22.75rem;
}

.footer-brand {
    width: 28.125rem;
    max-width: 100%;
    align-self: start;
}

.footer-top h2 {
    margin-bottom: 2rem;
    color: var(--color-gold);
    font-size: 2rem;
    font-weight: 500;
    font-style: italic;
}

.footer-top nav a {
    display: block;
    width: fit-content;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    transition: color 400ms ease;
}

.footer-top nav a:is(:hover, :focus-visible) {
    color: #C9A858;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #c9a85866;
    color: #d0d0d0;
    font-size: 1.25rem;
}

@media (max-width: 1100px) {
    .main-nav {
        gap: 1rem;
    }

    .brand {
        width: 18rem;
    }

    .header-inner {
        gap: 1rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 3.5vw, 3.6rem);
    }

    .about-grid {
        grid-template-columns: 40% 1fr;
        gap: 3rem;
    }

    .service-card {
        padding: 2.5rem;
        gap: 2.5rem;
    }

    .service-copy h3 {
        font-size: 2.25rem;
    }

    .portfolio-copy h2 {
        font-size: clamp(2rem, 3.4vw, 4.5rem);
    }
}

@media (max-width: 1100px) {
    .header-inner {
        flex-wrap: wrap;
        min-height: 5.666667rem;
        padding-block: 1rem;
        position: relative;
    }

    .header-inner > .button {
        display: none;
    }

    .main-nav {
        order: 3;
        justify-content: center;
        width: 100%;
    }

    .main-nav a {
        padding-block: 1.5rem;
    }

    .main-nav .compact-contact {
        display: flex;
    }

    .site-header.menu-ready .header-inner {
        position: static;
    }

    .site-header.menu-ready .main-nav {
        display: none;
        position: absolute;
        inset: 100% 0 auto;
        z-index: 6;
        width: auto;
        max-height: calc(100vh - var(--header-height, 80px));
        max-height: calc(100dvh - var(--header-height, 80px));
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 8px 0;
        border: 0;
        border-top: 1px solid #ffffff26;
        background: var(--color-primary);
        font-size: 14px;
        line-height: 1.4;
    }

    .site-header.menu-ready .main-nav.is-open {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .site-header.menu-ready .main-nav a {
        min-height: 44px;
        padding: 12px var(--menu-gutter, 5vw);
        border: 0;
    }
}

@media (min-width: 761px) and (max-width: 1100px) {
    :root {
        font-size: clamp(12px, 1.5625vw, 16px);
        --menu-gutter: 4.166667vw;
    }

    .container {
        width: 91.666667%;
    }

    .brand {
        width: 19rem;
    }

    .button {
        --button-sizing-font-size: max(14px, 1.125rem);
    }

    .hero-section {
        padding-block: 3.333333rem;
    }

    .hero {
        aspect-ratio: 1.32;
    }

    .hero-videos {
        inset: 13.5% 3.6%;
    }

    .hero-copy {
        inset: 55% 3% auto;
    }

    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .hero-copy p {
        font-size: 2rem;
        line-height: 1.2;
    }

    .about {
        padding-block: 7.5rem;
    }

    .about-title {
        padding-bottom: 2.25rem;
        font-size: 2.8rem;
    }

    .about-grid {
        padding-top: 7.5rem;
    }

    .about-portrait h3 {
        font-size: 1.75rem;
    }

    .about-portrait > img {
        width: 100%;
    }

    .client-logos {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .client-logos li {
        flex: 0 0 calc((100% - 3rem) / 4);
        scroll-snap-align: start;
    }

    .client-logos li:last-child {
        order: -1;
    }

    .solutions {
        padding-block: 7.5rem;
    }

    .solutions-title {
        font-size: 3.0625rem;
        padding-bottom: 3rem;
    }

    .solutions-intro > p {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 2rem;
        gap: 2rem;
    }

    .service-visual {
        align-self: stretch;
    }

    .service-photo {
        height: 100%;
        aspect-ratio: auto;
    }

    .service-copy {
        font-size: 1.375rem;
        line-height: 1.4;
    }

    /* Redução de 12,5% só nos headings de tablet. */
    .service-copy h3 {
        font-size: 1.96875rem;
    }

    .clients h2 {
        font-size: 2.1875rem;
    }

    .portfolio-composition {
        width: 100%;
    }

    .portfolio-copy {
        inset: 78% 0 auto;
    }

    .portfolio-copy h2 {
        font-size: 3.15rem;
    }

    .contact-panel {
        width: 80%;
        padding-block: 3rem;
    }

    .contact-panel h2 {
        font-size: 2.8rem;
    }

    .social-links {
        gap: 1.25rem;
    }

    .social-link {
        min-height: 7.5rem;
        padding: 1.5rem;
        font-size: 1.5rem;
    }

    .social-link img {
        width: 3rem;
        height: 3rem;
    }

    .footer-panel {
        padding: 2rem;
    }

    .footer-top h2 {
        font-size: 1.3125rem;
    }

    .footer-brand {
        width: 20rem;
    }
}

/* Composição mobile baseada em references/home-mobile.png. */
@media (max-width: 760px) {
    :root {
        font-size: 14px;
    }

    body {
        font-size: 14px;
        line-height: 1.6;
    }

    .container {
        width: 90%;
    }

    .header-inner {
        flex-wrap: wrap;
        padding-block: 10px;
        min-height: 54px;
    }

    .brand {
        width: 170px;
    }

    .menu-toggle {
        width: 28px;
        height: 28px;
        padding: 4px;
        border-radius: 6px;
    }

    .header-inner > .button {
        --button-sizing-font-size: 0.7rem;
        padding: 0.75rem;
        gap: 0.5rem;
        min-height: 3rem;
    }

    .header-inner > .button img {
        width: 0.8rem;
        height: 0.8rem;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 0;
        font-size: 0.85rem;
    }

    .main-nav a {
        padding: 1rem 0.5rem;
    }

    .hero-section {
        padding-block: 36px;
    }

    .hero {
        aspect-ratio: 0.675;
        border-radius: 1rem;
    }

    .hero-videos {
        display: block;
        inset: 7.5% 14.5%;
    }

    .hero-video--1 {
        height: 100%;
    }

    .hero-video--2, .hero-video--3 {
        display: none;
    }

    .hero-copy {
        inset: 58% 3% auto;
    }

    .hero h1 {
        display: inline-block;
        max-width: 90%;
        font-size: clamp(24px, 8vw, 32px);
        line-height: 1.1;
        box-shadow: 0 0 0.6rem 0.3rem #000000ad;
        padding-inline: 0.25rem;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }

    .hero-copy p {
        margin-top: 0.8rem;
        font-size: clamp(16px, 5.15vw, 20px);
        line-height: 1.1;
    }

    .hero-copy p span {
        display: inline-block;
        width: 100%;
    }

    .section-title, .contact-panel h2 {
        font-size: 2.5rem;
    }

    .about {
        padding-block: 76px;
    }

    .solutions {
        padding-block: 70px;
    }

    .about-title {
        font-size: clamp(24px, 7.8vw, 30px);
    }

    .solutions-title, .contact-panel h2 {
        font-size: 28px;
    }

    .about-title, .solutions-title {
        padding-bottom: 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        padding-top: 72px;
        gap: 40px;
    }

    .about-portrait h3 {
        max-width: 270px;
        margin-inline: auto;
        text-align: center;
        font-size: 18px;
    }

    .about-portrait > img {
        width: 79%;
        margin: 20px auto 0;
    }

    .about-copy p + p {
        margin-top: 28px;
    }

    .clients {
        grid-template-columns: 1fr;
        margin-top: 70px;
        padding-top: 38px;
    }

    .clients h2 {
        display: flex;
        justify-content: center;
        gap: 0.25em;
        font-size: 22px;
    }

    .clients h2 br {
        display: none;
    }

    .client-logos {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .client-logos li {
        flex: 0 0 calc((100% - 24px) / 3);
        scroll-snap-align: start;
    }

    .client-logos li:last-child {
        order: -1;
    }

    .solutions-intro {
        align-items: center;
        flex-direction: column;
        margin-block: 70px;
    }

    .solutions-intro > p {
        text-align: center;
        font-size: 18px;
    }

    .service-list {
        gap: 38px;
    }

    .service-card, .service-card--storymaking {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        min-height: 0;
        padding: 1.5rem;
        border-radius: 1.25rem;
    }

    .service-card--storymaking .service-visual,
    .service-card--storymaking .service-copy {
        grid-column: auto;
        grid-row: auto;
    }

    .service-seal {
        width: 7rem;
        bottom: -1rem;
        left: -0.75rem;
    }

    .service-photo {
        aspect-ratio: 0.96;
    }

    .service-copy h3 {
        font-size: 22px;
        margin-bottom: 1.5rem;
    }

    .service-copy p + p {
        margin-top: 1.5rem;
    }

    .button {
        --button-sizing-font-size: 14px;
        min-height: 3.25rem;
        gap: 0.75rem;
        padding: 0.85rem 1.25rem;
    }

    .portfolio {
        padding-block: 100px 110px;
    }

    .portfolio-composition {
        width: 100%;
        aspect-ratio: auto;
        overflow: visible;
    }

    .portfolio-copy {
        inset: 78% -2% auto;
    }

    .portfolio-copy h2 {
        font-size: clamp(20px, 6.9vw, 27px);
    }

    .portfolio-copy .button {
        margin-top: 0.75rem;
    }

    .contact {
        padding-block: 70px;
    }

    .contact-panel {
        width: 100%;
        padding: 38px 20px;
        border-radius: 1.25rem;
    }

    .contact-star {
        width: 3.5rem;
        right: -5vw;
        top: -1.5rem;
    }

    .contact-stars {
        width: 4.5rem;
        left: -5vw;
        bottom: -1.5rem;
    }

    .social-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 22px;
    }

    .social-link {
        justify-content: center;
        min-height: 60px;
        padding: 12px;
        font-size: 1.5rem;
        border-radius: 1.25rem;
    }

    .social-link img {
        width: 30px;
        height: 30px;
    }

    .social-link span {
        display: none;
    }

    .site-footer {
        padding-block: 2rem;
    }

    .footer-panel {
        padding: 2rem 1.5rem;
        border-radius: 1.25rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 32px;
        padding-bottom: 32px;
    }

    .footer-brand {
        grid-column: auto;
        width: min(100%, 270px);
    }

    .footer-top h2 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .footer-top nav a, .footer-bottom {
        font-size: 12px;
        line-height: 1.5;
    }

    .footer-top nav a {
        margin-bottom: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding-top: 20px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .button:hover, .gira, .gira-2, .portfolio-art {
        transform: none;
    }

    .button-gradiente, .titulo-gradiente, .titulo-gradiente-2 {
        background-position: 50% 50%;
    }

}
