/* ============================================================
   Formatos comerciais — padrão Globo Ads (nov/2026)
   ------------------------------------------------------------
   Folha única de formatoscomercial.php, f_tv.php, f_digital.php e
   f_digital_detalhe.php. Referência: "Produtos e soluções" e
   "Formatos comerciais" do globoads.globo.com — banner com a arte em
   largura total e texto à esquerda, cards pequenos (quadrado + texto),
   abas de filtro e o bloco "Pronto para anunciar?" no fim.

   Fundo branco do topo ao rodapé. Tokens, botões (.btn-ads), selo
   (.ads-selo), títulos (.ads-titulo) e animação (data-anima) vêm de
   css/base/tokens.css e css/base/componentes.css (carregados pela
   navbar). Classes daqui começam com .fmt- para não colidir com o
   style.css antigo nem com o Bootstrap.
   ============================================================ */

.fmt-body {
    font-family: var(--tvrs-fonte);
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: var(--tvrs-tracking-corpo);
    color: var(--tvrs-texto);
    background: #ffffff;
}

.fmt-body h1,
.fmt-body h2,
.fmt-body h3 {
    margin: 0;
    color: var(--tvrs-texto);
}

/* ===== BANNER DE TOPO =====
   A "arte" é montada aqui mesmo: o degradê da marca, a palavra gigante
   translúcida (como o "glo" do Globo Ads) e uma vitrine com peças reais
   do formato. Por ser CSS, não há arte para cortar no celular — abaixo
   de 992px a vitrine fica em cima e o texto desce para o painel, que
   continua o mesmo degradê. */
.fmt-hero {
    position: relative;
    height: clamp(360px, 27.8vw, 440px);
    overflow: hidden;
    background: var(--fmt-hero-fundo, var(--tvrs-grad-faixa));
    color: #ffffff;
}

.fmt-hero--quente {
    --fmt-hero-fundo: linear-gradient(100deg, #ff0062 0%, #c2189a 45%, #8800f8 100%);
}

.fmt-hero__arte {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fmt-hero__arte > .container {
    position: relative;
    height: 100%;
}

.fmt-hero__palavra {
    position: absolute;
    right: -2%;
    bottom: -0.2em;
    font-family: var(--tvrs-fonte-titulo);
    font-size: clamp(200px, 22vw, 320px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.12);
    white-space: nowrap;
    user-select: none;
}

/* Vitrine: até três telas inclinadas, com uma flutuação lenta */
.fmt-hero__vitrine {
    position: absolute;
    top: 50%;
    right: 0;
    width: min(46%, 520px);
    aspect-ratio: 16 / 10;
    transform: translateY(-50%);
}

.fmt-tela {
    position: absolute;
    margin: 0;
    overflow: hidden;
    /* As capas (css/imagens-formatos_tv) já vêm com o canto arredondado e
       transparente, ~9% da largura. Fundo branco + raio menor deixava uma
       borda branca nos cantos: sem fundo e com o mesmo raio, em %. */
    border-radius: 9% / 16%;
    background: transparent;
    box-shadow: 0 24px 48px rgba(16, 10, 60, 0.32);
    animation: fmtFlutua 5s ease-in-out infinite alternate;
}

.fmt-tela img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fmt-tela--1 {
    z-index: 2;
    left: 14%;
    top: 12%;
    width: 72%;
    aspect-ratio: 16 / 9;
}

.fmt-tela--2 {
    z-index: 1;
    left: 0;
    top: -2%;
    width: 44%;
    aspect-ratio: 16 / 9;
    transform: rotate(-6deg);
    animation-delay: -1.6s;
}

.fmt-tela--3 {
    z-index: 3;
    right: -2%;
    bottom: -2%;
    width: 40%;
    aspect-ratio: 16 / 9;
    transform: rotate(5deg);
    animation-delay: -3.2s;
}

/* Uma tela só (detalhe do formato): grande e reta */
.fmt-hero__vitrine--uma .fmt-tela--1 {
    left: 8%;
    top: 4%;
    width: 84%;
    aspect-ratio: 3 / 2;
}

@keyframes fmtFlutua {
    from { translate: 0 0; }
    to { translate: 0 -8px; }
}

/* Véu só do lado do texto, que some em 62% da largura */
.fmt-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.18) 24%, rgba(0, 0, 0, 0.05) 44%, rgba(0, 0, 0, 0) 62%);
}

.fmt-hero__texto {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}

.fmt-hero__texto > .container {
    width: 100%;
}

.fmt-hero__copy {
    max-width: 520px;
}

.fmt-hero__copy > * {
    animation: fmtTextoEntra 0.7s var(--tvrs-ease) both;
}

.fmt-hero__copy > *:nth-child(2) { animation-delay: 0.08s; }
.fmt-hero__copy > *:nth-child(3) { animation-delay: 0.16s; }
.fmt-hero__copy > *:nth-child(4) { animation-delay: 0.24s; }

@keyframes fmtTextoEntra {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.fmt-hero__voltar {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
}

.fmt-hero__voltar:hover,
.fmt-hero__voltar:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.fmt-hero__voltar i {
    font-size: 0.75rem;
}

.fmt-hero .ads-selo {
    margin-bottom: 16px;
}

.fmt-hero__titulo {
    margin: 0 0 16px;
    font-family: var(--tvrs-fonte-titulo);
    font-size: var(--tvrs-fs-display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #ffffff !important;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.18);
    text-wrap: balance;
}

.fmt-hero__sub {
    margin: 0 0 24px;
    max-width: 48ch;
    color: #ffffff;
    font-size: 1rem;
    line-height: 24px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

.fmt-hero__sub:last-child {
    margin-bottom: 0;
}

/* ===== SEÇÕES ===== */
.fmt-secao {
    padding: 96px 0 48px;
}

.fmt-secao--primeira {
    padding-top: 64px;
}

.fmt-cabeca {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.fmt-cabeca__texto {
    max-width: 640px;
}

.fmt-cabeca .ads-subtitulo {
    margin-top: 8px;
}

.fmt-vazio {
    padding: 48px 0;
    color: var(--tvrs-texto-suave);
    text-align: center;
}

/* ===== BUSCA ===== */
.fmt-busca {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.fmt-busca i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--tvrs-texto-apagado);
    font-size: 0.875rem;
    pointer-events: none;
}

.fmt-busca .ads-campo {
    padding-left: 40px;
}

/* ===== ABAS DE FILTRO (as de "Produtos Globo") =====
   Rolam de lado quando não cabem; o mouse arrasta (data-arrastar). */
.fmt-abas {
    display: flex;
    gap: 8px;
    margin: 0 0 32px;
    padding: 0;
    overflow-x: auto;
    border-bottom: 1px solid var(--tvrs-linha);
    scrollbar-width: none;
}

.fmt-abas::-webkit-scrollbar {
    display: none;
}

.fmt-aba {
    position: relative;
    flex: 0 0 auto;
    padding: 8px 12px 12px;
    border: 0;
    background: transparent;
    color: var(--tvrs-texto-suave);
    font-family: var(--tvrs-fonte);
    font-size: 1rem;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.fmt-aba::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--tvrs-grad-faixa);
    transform: scaleX(0);
    transition: transform 0.3s var(--tvrs-ease);
}

.fmt-aba:hover {
    color: var(--tvrs-texto);
}

.fmt-aba.is-ativa {
    color: var(--tvrs-texto);
}

.fmt-aba.is-ativa::after {
    transform: scaleX(1);
}

.fmt-aba small {
    margin-left: 4px;
    color: var(--tvrs-texto-apagado);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===== QUADRADO COLORIDO + ÍCONE (formato sem foto) ===== */
.fmt-quadro {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--fmt-tom);
}

/* brilho suave no canto, para o degradê não ficar chapado */
.fmt-quadro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 60%);
}

.fmt-quadro svg {
    position: relative;
    width: 40%;
    height: 40%;
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.5s var(--tvrs-ease);
}

.fmt-tom--1 { --fmt-tom: linear-gradient(135deg, #185cfb 0%, #8800f8 100%); }
.fmt-tom--2 { --fmt-tom: linear-gradient(135deg, #ff0062 0%, #ff8400 100%); }
.fmt-tom--3 { --fmt-tom: linear-gradient(135deg, #05a6ff 0%, #185cfb 100%); }
.fmt-tom--4 { --fmt-tom: linear-gradient(135deg, #8800f8 0%, #ff0062 100%); }

/* ===== DESTAQUES — trilha que sangra até a borda direita ===== */
.fmt-trilha {
    display: flex;
    gap: 24px;
    margin-right: calc(50% - 50vw);
    padding: 0 24px 8px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.fmt-trilha::-webkit-scrollbar {
    display: none;
}

.fmt-destaque {
    flex: 0 0 344px;
    scroll-snap-align: start;
}

.fmt-destaque__midia {
    position: relative;
    aspect-ratio: 16 / 9;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: var(--tvrs-raio-md);
    background: var(--tvrs-fundo);
}

.fmt-destaque__midia img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--tvrs-ease);
    -webkit-user-drag: none;
}

.fmt-destaque:hover .fmt-destaque__midia img {
    transform: scale(1.05);
}

.fmt-destaque .ads-selo {
    margin-bottom: 8px;
}

.fmt-destaque__texto {
    margin: 0;
    color: var(--tvrs-texto-suave);
    font-size: 0.875rem;
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fmt-destaque--card {
    flex-basis: 264px;
    height: auto;
}

.fmt-setas {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

/* Botão de play por cima da foto (formatos com vídeo) */
.fmt-play {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--tvrs-raio);
    background: rgba(12, 13, 26, 0.55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: var(--tvrs-fonte);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.fmt-play:hover,
.fmt-play:focus-visible {
    background: rgba(12, 13, 26, 0.8);
}

.fmt-play i {
    font-size: 0.625rem;
}

/* Versão compacta, só o ícone, no quadrado da lista */
.fmt-play--icone {
    left: auto;
    right: 8px;
    bottom: 8px;
    width: 32px;
    padding: 0;
    justify-content: center;
}

/* ===== LISTA (quadrado + texto, como "Produtos Globo") ===== */
.fmt-lista {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 32px;
}

.fmt-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.fmt-item[hidden] {
    display: none;
}

.fmt-item__midia {
    position: relative;
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    overflow: hidden;
    border-radius: var(--tvrs-raio-md);
    background: var(--tvrs-fundo);
}

.fmt-item__midia > img,
.fmt-item__midia > .fmt-quadro {
    width: 100%;
    height: 100%;
}

.fmt-item__midia > img {
    display: block;
    object-fit: cover;
    transition: transform 0.7s var(--tvrs-ease);
}

.fmt-item:hover .fmt-item__midia > img {
    transform: scale(1.05);
}

.fmt-item:hover .fmt-quadro svg {
    transform: scale(1.08);
}

.fmt-item__corpo {
    min-width: 0;
}

.fmt-item .ads-selo {
    margin-bottom: 8px;
}

.fmt-nome {
    margin: 0 0 8px;
    font-family: var(--tvrs-fonte-titulo);
    font-size: var(--tvrs-fs-card);
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0;
    color: var(--tvrs-texto);
    overflow-wrap: anywhere;
}

.fmt-texto {
    margin: 0;
    color: var(--tvrs-texto-suave);
    font-size: 0.875rem;
    line-height: 20px;
}

.fmt-mais {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.fmt-mais[hidden] {
    display: none;
}

/* ===== GRADE DIGITAL (foto em cima, texto embaixo) ===== */
.fmt-grade {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 24px;
}

.fmt-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
    -webkit-user-drag: none;
}

.fmt-card:hover {
    color: inherit;
}

.fmt-card:focus-visible {
    outline: 3px solid var(--tvrs-azul);
    outline-offset: 6px;
    border-radius: var(--tvrs-raio-md);
}

.fmt-card__midia {
    aspect-ratio: 3 / 2;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: var(--tvrs-raio-md);
    background: var(--tvrs-fundo);
}

.fmt-card__midia img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--tvrs-ease);
}

.fmt-card__midia .fmt-quadro {
    width: 100%;
    height: 100%;
}

.fmt-card:hover .fmt-card__midia img {
    transform: scale(1.05);
}

.fmt-card .ads-selo {
    align-self: flex-start;
    margin-bottom: 8px;
}

.fmt-card .fmt-texto {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fmt-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 20px;
}

.fmt-card__link i {
    transition: transform 0.3s var(--tvrs-ease);
}

.fmt-card:hover .fmt-card__link i {
    transform: translateX(3px);
}

/* ===== DOIS CAMINHOS (formatoscomercial) ===== */
.fmt-caminhos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.fmt-caminho {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.fmt-caminho:hover {
    color: inherit;
}

.fmt-caminho:focus-visible {
    outline: 3px solid var(--tvrs-azul);
    outline-offset: 6px;
    border-radius: var(--tvrs-raio-lg);
}

.fmt-caminho__arte {
    position: relative;
    aspect-ratio: 2 / 1;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: var(--tvrs-raio-lg);
}

.fmt-caminho__arte .fmt-quadro {
    position: absolute;
    inset: 0;
    transition: transform 0.7s var(--tvrs-ease);
}

.fmt-caminho__arte .fmt-quadro svg {
    width: 22%;
    height: 22%;
}

.fmt-caminho:hover .fmt-caminho__arte .fmt-quadro {
    transform: scale(1.04);
}

/* palavra gigante translúcida, a mesma textura dos murais do Globo Ads */
.fmt-caminho__palavra {
    position: absolute;
    left: -2%;
    bottom: -0.22em;
    z-index: 1;
    font-family: var(--tvrs-fonte-titulo);
    font-size: clamp(120px, 14vw, 200px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.14);
    white-space: nowrap;
    pointer-events: none;
}

.fmt-caminho__titulo {
    margin: 0 0 8px;
    font-family: var(--tvrs-fonte-titulo);
    font-size: var(--tvrs-fs-secao);
    font-weight: 400;
    line-height: 1.2;
}

.fmt-caminho__texto {
    margin: 0 0 24px;
    max-width: 52ch;
    color: var(--tvrs-texto-2);
    font-size: 1rem;
    line-height: 24px;
}

.fmt-caminho .btn-ads {
    align-self: flex-start;
    margin-top: auto;
}

.fmt-caminho:hover .btn-ads {
    background: var(--tvrs-azul-claro);
}

/* ===== DETALHE DO FORMATO ===== */
.fmt-sobre {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 48px;
    align-items: start;
}

.fmt-sobre__cabeca {
    position: sticky;
    top: calc(var(--tvrs-altura-navbar) + 32px);
}

.fmt-sobre__cabeca .ads-subtitulo {
    margin-top: 16px;
}

/* Conteúdo do editor (Tiptap): parágrafos, títulos, listas e negrito */
.fmt-rico {
    color: var(--tvrs-texto-2);
    font-size: 1rem;
    line-height: 26px;
}

.fmt-rico > :first-child { margin-top: 0; }
.fmt-rico > :last-child { margin-bottom: 0; }

.fmt-rico p {
    margin: 0 0 16px;
}

.fmt-rico h1,
.fmt-rico h2,
.fmt-rico h3,
.fmt-rico h4 {
    margin: 32px 0 12px;
    font-family: var(--tvrs-fonte-titulo);
    font-size: var(--tvrs-fs-card);
    font-weight: 600;
    line-height: 24px;
    color: var(--tvrs-texto);
}

.fmt-rico ul,
.fmt-rico ol {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.fmt-rico li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 28px;
}

.fmt-rico li p {
    margin: 0;
}

/* marcador: quadradinho em degradê no lugar da bolinha */
.fmt-rico ul > li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--tvrs-grad-faixa);
}

.fmt-rico ol {
    counter-reset: fmt-item;
}

.fmt-rico ol > li::before {
    counter-increment: fmt-item;
    content: counter(fmt-item);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--tvrs-azul);
    font-weight: 600;
}

.fmt-rico strong,
.fmt-rico b {
    color: var(--tvrs-texto);
    font-weight: 600;
}

.fmt-rico a {
    color: var(--tvrs-azul);
}

/* Ficha técnica: parágrafo que começa com "<strong>Rótulo:</strong>"
   vira uma linha de duas colunas (rótulo | valor), como uma tabela. */
.fmt-rico p:has(> strong:first-child) {
    display: grid;
    grid-template-columns: minmax(120px, 0.38fr) 1fr;
    gap: 16px;
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--tvrs-linha);
}

.fmt-rico p:has(> strong:first-child):first-child {
    padding-top: 0;
}

.fmt-rico p:has(> strong:first-child) > strong:first-child {
    color: var(--tvrs-texto-apagado);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ===== PRONTO PARA ANUNCIAR — arte arredondada, cartão branco no meio ===== */
.fmt-cta {
    padding: 96px 0 48px;
}

.fmt-cta__arte {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 156px;
    border-radius: var(--tvrs-raio-lg);
    background: #2b3bff url('../imagens/negtv.jpg') center / cover no-repeat;
}

.fmt-cta__cartao {
    width: 100%;
    padding: 40px 32px 32px;
    border-radius: var(--tvrs-raio-md);
    background: #ffffff;
    text-align: center;
}

.fmt-cta__titulo {
    margin: 0 0 16px;
    font-family: var(--tvrs-fonte-titulo);
    font-size: var(--tvrs-fs-titulo);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.fmt-cta__texto {
    margin: 0 auto 24px;
    max-width: 56ch;
    color: var(--tvrs-texto-2);
    font-size: 1rem;
    line-height: 24px;
}

/* ===== MODAL DO VÍDEO (f_tv) ===== */
.fmt-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: var(--tvrs-raio-lg);
}

.fmt-modal .modal-header {
    padding: 20px 24px;
    border-bottom: 0;
}

.fmt-modal .modal-title {
    font-family: var(--tvrs-fonte-titulo);
    font-size: var(--tvrs-fs-card);
    font-weight: 600;
    line-height: 24px;
}

.fmt-modal .modal-body {
    padding: 0 24px 24px;
}

.fmt-modal video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    border-radius: var(--tvrs-raio-md);
    background: #000000;
}

/* Menos movimento no sistema: nada flutua nem desliza */
@media (prefers-reduced-motion: reduce) {
    .fmt-tela,
    .fmt-hero__copy > * {
        animation: none;
    }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1199.98px) {
    .fmt-lista {
        gap: 32px 24px;
    }

    .fmt-cta__arte {
        padding: 56px 64px;
    }
}

@media (max-width: 991.98px) {
    /* Banner empilhado: vitrine em cima, texto embaixo no mesmo degradê */
    .fmt-hero {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .fmt-hero::after {
        display: none;
    }

    .fmt-hero__arte {
        position: relative;
        inset: auto;
        height: clamp(240px, 52vw, 400px);
    }

    .fmt-hero__vitrine {
        right: 50%;
        width: min(78%, 480px);
        transform: translate(50%, -46%);
    }

    .fmt-hero__palavra {
        font-size: clamp(120px, 34vw, 240px);
    }

    .fmt-hero__texto {
        position: static;
        display: block;
        padding: 8px 0 40px;
    }

    .fmt-hero__copy {
        max-width: 640px;
    }

    .fmt-hero__titulo,
    .fmt-hero__sub {
        text-shadow: none;
    }

    .fmt-lista {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fmt-grade {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fmt-sobre {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .fmt-sobre__cabeca {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .fmt-secao,
    .fmt-cta {
        padding: 48px 0 16px;
    }

    .fmt-secao--primeira {
        padding-top: 40px;
    }

    .fmt-hero__texto {
        padding-bottom: 32px;
    }

    .fmt-cabeca {
        margin-bottom: 24px;
    }

    .fmt-busca {
        max-width: none;
    }

    .fmt-abas {
        margin-bottom: 24px;
    }

    .fmt-lista {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .fmt-item__midia {
        flex-basis: 80px;
        width: 80px;
        height: 80px;
    }

    .fmt-nome {
        font-size: 1rem;
        line-height: 20px;
    }

    .fmt-grade {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 16px;
    }

    .fmt-card .fmt-texto {
        -webkit-line-clamp: 3;
    }

    .fmt-trilha {
        gap: 16px;
        padding-right: 16px;
    }

    .fmt-destaque {
        flex-basis: 272px;
    }

    .fmt-destaque--card {
        flex-basis: 220px;
    }

    .fmt-cabeca > .btn-ads {
        display: none;
    }

    .fmt-caminhos {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .fmt-caminho__arte {
        border-radius: var(--tvrs-raio-md);
    }

    .fmt-cta__arte {
        padding: 24px 16px;
        border-radius: var(--tvrs-raio-md);
    }

    .fmt-cta__cartao {
        padding: 32px 20px 24px;
    }

    .fmt-rico p:has(> strong:first-child) {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
