.textos-page {
    --textos-ink: #f3efeb;
    --textos-muted: #bab4ae;
    --textos-accent: #d6ae8c;
    --textos-border: #3a3531;
    --texto-rolagem-opacidade: .7;
}

.textos-page #hero #hero-caption {
    height: auto;
    min-height: 100svh;
    padding: 110px clamp(20px, 7vw, 110px) 130px;
}

.textos-page #hero-caption .hero-title {
    max-width: 1150px;
    margin-inline: auto;
    font-size: clamp(54px, 10vw, 156px);
    line-height: .98;
    letter-spacing: .025em;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.textos-index #hero-caption .hero-title {
    font-size: clamp(100px, 20vw, 285px);
}

.textos-page #hero .hero-subtitle {
    max-width: 760px;
    margin: 22px auto 0;
    color: var(--textos-ink);
    text-wrap: balance;
}

.textos-page #hero .hero-subtitle > span {
    color: var(--textos-ink);
}

.textos-page #hero-image-wrapper {
    width: 100%;
    height: 100svh;
}

.textos-page #hero-bg-image {
    image-rendering: auto;
    background-position: center 42%;
}

.textos-page #hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #0c0c0c99, #0c0c0ca8 50%, #0c0c0ce8);
}

.textos-page .textos-scroll {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: inherit;
}

.textos-page #hero-footer,
.textos-page #hero-footer .hero-footer-left,
.textos-page #hero-footer .hero-footer-right {
    opacity: 1 !important;
}

.textos-page #hero-footer .hero-footer-left { transform: none !important; }
.textos-page #hero #hero-footer .textos-scroll .icon-wrap { width: 44px; height: 44px; }
.textos-page #hero #hero-footer .textos-scroll .button-text { display: inline-block; margin: 0; }

.textos-page #main-page-content,
.textos-page #catalogo-textos {
    scroll-margin-top: 24px;
}

.textos-width {
    width: min(100% - clamp(40px, 12vw, 160px), 1280px);
    margin-inline: auto;
}

.textos-intro {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 6vw, 96px);
}

.textos-intro h2, .textos-catalog-heading h2, .textos-contact h2 {
    font-size: clamp(46px, 7vw, 104px);
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}

.textos-intro p {
    max-width: 60ch;
    font-size: clamp(16px, 1.7vw, 20px);
    line-height: 1.75;
    color: #35312e;
}

.textos-catalog-heading {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.textos-views:not([hidden]) { display: inline-flex; gap: 4px; }
.textos-views button {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--textos-border);
    border-radius: 4px;
    background: transparent;
    color: var(--textos-ink);
    font: 500 13px/1.3 Poppins, sans-serif;
    cursor: pointer;
}

.textos-views button[aria-pressed="true"] {
    background: var(--textos-accent);
    border-color: var(--textos-accent);
    color: #211a15;
}

.textos-views i { margin-inline-end: 5px; }
.textos-page .textos-catalog {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.textos-page .textos-catalog li {
    margin: 0;
    padding: 0;
}

.textos-page .textos-card {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
    border: 1px solid var(--textos-border);
    border-radius: 10px;
    background: #151312;
    overflow: hidden;
    box-sizing: border-box;
    color: var(--textos-ink);
    transition: border-color .25s ease, background-color .25s ease;
}

.textos-page .textos-card:is(:hover, :focus-visible) {
    border-color: var(--textos-accent);
    background: #201a16;
}

.textos-card-media {
    display: grid;
    place-items: center;
    overflow: hidden;
    aspect-ratio: 2 / 1;
    background: #24201d;
    color: var(--textos-accent);
}

.textos-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 44%;
    transition: transform .45s ease;
}

.textos-card:hover img { transform: scale(1.04); }
.textos-card-media .fa-solid { font-size: clamp(36px, 5vw, 76px); }
.textos-card-copy { padding: 24px 44px 26px 22px; }

.textos-page .textos-card-label {
    margin: 0 0 12px;
    color: var(--textos-accent);
    font-size: 11px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.textos-page .textos-card h3 {
    margin: 0 0 10px;
    color: inherit;
    font: 600 clamp(16px, 1.8vw, 22px)/1.32 Poppins, sans-serif;
}

.textos-page .textos-card-desc {
    margin: 0;
    color: var(--textos-muted);
    font-size: 14px;
    line-height: 1.58;
}

.textos-card-arrow {
    position: absolute;
    right: 18px;
    bottom: 21px;
    color: var(--textos-accent);
    transition: transform .25s ease;
}

.textos-card:hover .textos-card-arrow { transform: translateX(3px); }
.textos-page .textos-catalog[data-view="list"] { grid-template-columns: minmax(0, 1fr); gap: 0; }
.textos-catalog[data-view="list"] .textos-card {
    display: grid;
    grid-template-columns: clamp(64px, 14vw, 160px) minmax(0, 1fr);
    align-items: center;
    border-width: 0 0 1px;
    border-radius: 0;
    background: transparent;
}

.textos-catalog[data-view="list"] .textos-card-media { margin-inline-start: 8px; border-radius: 4px; }
.textos-catalog[data-view="list"] .textos-card-media .fa-solid { font-size: 30px; }
.textos-catalog[data-view="list"] .textos-card-copy { padding-block: 18px; }
.textos-catalog[data-view="list"] .textos-card-arrow { bottom: auto; top: 50%; translate: 0 -50%; }
.textos-contact { padding-top: clamp(22px, 5vw, 80px); border-top: 1px solid var(--textos-border); }
.textos-contact p { max-width: 62ch; margin: 24px auto; color: var(--textos-muted); }
.textos-page .textos-back { padding: 26px 0; margin: 0 auto; font-size: 14px; }
.textos-page .textos-back a { color: var(--textos-accent); text-decoration: underline; text-underline-offset: .24em; }
.textos-back i { margin-inline-end: 7px; }

.textos-page :is(.light-section, .dark-section) :is(h2, h3).primary-font-title {
    white-space: normal;
    overflow-wrap: anywhere;
}

.textos-page #page-nav .next-hero-title {
    font-size: clamp(48px, 10vw, 140px);
    line-height: 1;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.textos-page #page-nav .next-hero-subtitle { max-width: 68ch; line-height: 1.6; white-space: normal; }
.textos-page.runtime-fallback #hero-bg-image { opacity: 1; }

.textos-page.runtime-fallback .caption-timeline span,
.textos-page.runtime-fallback .hero-footer-left,
.textos-page.runtime-fallback .hero-footer-right { opacity: 1; transform: none; }
.textos-page.runtime-fallback #backtotop { display: none; }

.textos-page.runtime-fallback .has-mask-fill > span { background: none; -webkit-text-fill-color: currentColor; }
.textos-page.runtime-fallback .clip-effects { clip-path: none; }

@media (max-width: 950px) {
    .textos-page .textos-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
    .textos-page #hero #hero-caption { padding-block: 105px 124px; }
    .textos-page #hero .hero-subtitle { margin-top: 16px; }
    .textos-intro, .textos-page .textos-catalog { grid-template-columns: minmax(0, 1fr); }
    .textos-page #hero-footer #info-text { display: none; }
}

.textos-page button#backtotop {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    text-align: left;
}
