/*
 * Página inicial Faixa a Faixa.
 * Todo o CSS fica sob classes faf-* para não interferir nas páginas internas do Foxiz.
 */

:root {
    --faf-accent: #e51b23;
    --faf-ink: #111111;
    --faf-muted: #686868;
    --faf-line: #e8e8e8;
    --faf-soft: #f5f5f5;
    --faf-white: #ffffff;
    --faf-radius: 3px;
    --faf-container: 1240px;
}

.faf-custom-home {
    margin: 0;
    background: #fff;
    color: var(--faf-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.faf-custom-home *,
.faf-custom-home *::before,
.faf-custom-home *::after {
    box-sizing: border-box;
}

.faf-custom-home a {
    color: inherit;
    text-decoration: none;
}

.faf-custom-home img {
    display: block;
    max-width: 100%;
}

.faf-container {
    width: min(calc(100% - 40px), var(--faf-container));
    margin-inline: auto;
}

.faf-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 99999;
    padding: 10px 14px;
    background: #000;
    color: #fff;
    transform: translateY(-150%);
}

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

/* Cabeçalho */
.faf-site-header {
    position: relative;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--faf-line);
}

.faf-topbar {
    border-bottom: 1px solid var(--faf-line);
    background: #fafafa;
    font-size: 12px;
}

.faf-topbar-inner {
    min-height: 42px;
    display: grid;
    grid-template-columns: 250px 1fr auto;
    align-items: center;
    gap: 24px;
}

.faf-mini-search {
    display: flex;
    align-items: center;
    min-width: 0;
}

.faf-mini-search input {
    width: 100%;
    padding: 5px 4px;
    border: 0;
    border-bottom: 1px solid #cfcfcf;
    outline: 0;
    background: transparent;
    color: #222;
    font: inherit;
}

.faf-mini-search input:focus {
    border-color: var(--faf-accent);
}

.faf-mini-search button {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}

.faf-trending {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
    overflow: hidden;
}

.faf-trending strong {
    color: #333;
}

.faf-trending a {
    color: #6b6b6b;
    transition: color .2s ease;
}

.faf-trending a:hover {
    color: var(--faf-accent);
}

.faf-top-social a {
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.faf-brand-row {
    background: #fff;
}

.faf-brand-inner {
    min-height: 118px;
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
}

.faf-branding {
    display: flex;
    justify-content: center;
    align-items: center;
}

.faf-branding .custom-logo-link,
.faf-footer-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.faf-branding .custom-logo {
    width: auto;
    max-width: 280px;
    max-height: 78px;
}

.faf-text-logo {
    display: inline-flex;
    align-items: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.055em;
}

.faf-text-logo::after {
    content: "";
    width: 10px;
    height: 10px;
    margin: 24px 0 0 8px;
    border-radius: 50%;
    background: var(--faf-accent);
}

.faf-menu-toggle,
.faf-search-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.faf-menu-toggle span:not(.screen-reader-text) {
    width: 22px;
    height: 2px;
    background: #111;
}

.faf-search-toggle {
    justify-self: end;
    font-size: 29px;
}

.faf-nav-row {
    border-top: 1px solid var(--faf-line);
}

.faf-primary-nav .faf-menu,
.faf-primary-nav > ul {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.6vw, 38px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.faf-primary-nav li {
    position: relative;
    margin: 0;
}

.faf-primary-nav a {
    display: flex;
    align-items: center;
    min-height: 54px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.faf-primary-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--faf-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.faf-primary-nav a:hover::after,
.faf-primary-nav .current-menu-item > a::after {
    transform: scaleX(1);
}

.faf-primary-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    width: 220px;
    display: none;
    margin: 0;
    padding: 12px 0;
    border: 1px solid var(--faf-line);
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    list-style: none;
}

.faf-primary-nav li:hover > .sub-menu {
    display: block;
}

.faf-primary-nav .sub-menu a {
    min-height: auto;
    padding: 10px 20px;
    font-size: 12px;
    text-transform: none;
}

.faf-search-panel {
    border-top: 1px solid var(--faf-line);
    background: #111;
    color: #fff;
}

.faf-search-panel .faf-container {
    padding-block: 22px;
}

.faf-search-panel label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.faf-search-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.faf-search-box input {
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #444;
    background: #1c1c1c;
    color: #fff;
    outline: 0;
}

.faf-search-box input:focus {
    border-color: var(--faf-accent);
}

.faf-search-box button {
    padding: 0 22px;
    border: 0;
    background: var(--faf-accent);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

/* Home */
.faf-home {
    padding: 34px 0 80px;
}

.faf-hero {
    margin-bottom: 54px;
}

.faf-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, .9fr) minmax(280px, .82fr);
    grid-template-rows: repeat(2, minmax(235px, 1fr));
    gap: 16px;
}

.faf-feature-card {
    position: relative;
    min-height: 235px;
    overflow: hidden;
    border-radius: var(--faf-radius);
    background-color: #202020;
    background-image: linear-gradient(135deg, #2d2d2d, #080808);
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.faf-feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(229,27,35,.12), transparent 55%);
}

.faf-card-link {
    position: absolute;
    inset: 0;
    z-index: 4;
}

.faf-card-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,.92) 0, rgba(0,0,0,.38) 48%, rgba(0,0,0,.08) 100%);
    transition: background .25s ease;
}

.faf-feature-card:hover .faf-card-shade {
    background: linear-gradient(to top, rgba(0,0,0,.96) 0, rgba(0,0,0,.48) 50%, rgba(0,0,0,.12) 100%);
}

.faf-card-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 24px;
    color: #fff;
}

.faf-hero-main {
    grid-row: 1 / 3;
}

.faf-hero-main .faf-card-content {
    padding: clamp(26px, 4vw, 48px);
}

.faf-hero-main h2 {
    max-width: 780px;
    margin: 10px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.4vw, 53px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.faf-hero-main p {
    max-width: 700px;
    margin: 0 0 16px;
    color: rgba(255,255,255,.84);
    font-size: 15px;
    line-height: 1.55;
}

.faf-hero-secondary h2 {
    margin: 9px 0 10px;
    font-size: clamp(18px, 1.65vw, 25px);
    line-height: 1.15;
}

.faf-card-content time,
.faf-editorial-content time,
.faf-news-card time,
.faf-compact-post time,
.faf-latest-card time {
    color: inherit;
    opacity: .67;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.faf-category {
    position: relative;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 2px;
    background: var(--faf-accent);
    color: #fff !important;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .055em;
    line-height: 1;
    text-transform: uppercase;
}

.faf-hero-latest {
    grid-column: 3;
    grid-row: 1 / 3;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--faf-line);
    background: #fff;
}

.faf-latest-title {
    margin-bottom: 6px;
    padding-bottom: 15px;
    border-bottom: 2px solid #111;
}

.faf-latest-title span {
    display: inline-block;
    margin-bottom: 4px;
    color: var(--faf-accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.faf-latest-title h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1;
}

.faf-compact-post {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--faf-line);
}

.faf-compact-post:last-child {
    border-bottom: 0;
}

.faf-hero-latest .faf-compact-post {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 15px 0;
}

.faf-list-number {
    color: #d9d9d9;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 800;
    line-height: 1;
}

.faf-compact-image {
    display: block;
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
    border-radius: 2px;
    background: #171717;
}

.faf-compact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.faf-compact-post:hover img {
    transform: scale(1.05);
}

.faf-compact-content {
    min-width: 0;
}

.faf-compact-content .faf-category {
    min-height: auto;
    padding: 0;
    background: transparent;
    color: var(--faf-accent) !important;
    font-size: 9px;
}

.faf-compact-content h3 {
    margin: 5px 0 7px;
    font-size: 15px;
    line-height: 1.28;
}

.faf-hero-latest .faf-compact-content h3 {
    display: -webkit-box;
    margin-top: 0;
    overflow: hidden;
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.faf-section {
    margin-top: 66px;
}

.faf-section-heading {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px;
}

.faf-section-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1;
    letter-spacing: -.035em;
}

.faf-heading-line {
    height: 1px;
    background: var(--faf-line);
}

.faf-section-heading > a {
    color: var(--faf-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.faf-section-heading > a:hover {
    color: var(--faf-accent);
}

.faf-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(340px, .95fr);
    gap: 36px;
}

.faf-split-section--reverse .faf-split-main {
    order: 2;
}

.faf-split-section--reverse .faf-split-list {
    order: 1;
}

.faf-editorial-feature {
    height: 100%;
}

.faf-editorial-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--faf-radius);
    background: #171717;
}

.faf-editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.faf-editorial-feature:hover img {
    transform: scale(1.025);
}

.faf-editorial-content {
    max-width: 92%;
    margin: -52px 0 0 28px;
    padding: 24px 26px 0 0;
    position: relative;
    z-index: 2;
    background: #fff;
}

.faf-editorial-content h3 {
    margin: 10px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.faf-editorial-content p {
    margin: 0 0 16px;
    color: var(--faf-muted);
    font-size: 15px;
    line-height: 1.65;
}

.faf-split-list .faf-compact-post:first-child {
    padding-top: 0;
}

.faf-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 22px;
}

.faf-news-card-image {
    display: block;
    aspect-ratio: 1.48 / 1;
    overflow: hidden;
    border-radius: var(--faf-radius);
    background: #171717;
}

.faf-news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.faf-news-card:hover img {
    transform: scale(1.035);
}

.faf-news-card-content {
    padding-top: 15px;
}

.faf-news-card-content .faf-category,
.faf-latest-card .faf-category {
    min-height: auto;
    padding: 0;
    background: transparent;
    color: var(--faf-accent) !important;
}

.faf-news-card h3 {
    margin: 8px 0 11px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.18;
}

.faf-latest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 34px;
}

.faf-latest-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--faf-line);
}

.faf-latest-image {
    display: block;
    aspect-ratio: 1.34 / 1;
    overflow: hidden;
    border-radius: 2px;
    background: #171717;
}

.faf-latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faf-latest-card h3 {
    margin: 7px 0 8px;
    font-size: 20px;
    line-height: 1.18;
}

.faf-latest-card p {
    margin: 0 0 11px;
    color: var(--faf-muted);
    font-size: 13px;
    line-height: 1.5;
}

.faf-image-fallback {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 22%, rgba(229,27,35,.9) 0 9%, transparent 9.5%),
        linear-gradient(145deg, #252525, #080808);
}

.faf-image-fallback::after {
    content: "Faixa a Faixa";
    position: absolute;
    right: 18px;
    bottom: 14px;
    left: 18px;
    color: rgba(255,255,255,.88);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 800;
}

.faf-empty-state {
    padding: 80px 24px;
    border: 1px dashed #ccc;
    text-align: center;
}

/* Rodapé */
.faf-site-footer {
    background: #0b0b0b;
    color: #fff;
}

.faf-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 54px;
    padding-block: 64px;
}

.faf-footer-brand .custom-logo {
    width: auto;
    max-width: 210px;
    max-height: 62px;
    filter: brightness(0) invert(1);
}

.faf-text-logo--footer {
    color: #fff;
    font-size: 36px;
}

.faf-footer-brand p {
    max-width: 340px;
    margin: 20px 0 0;
    color: #aaa;
    font-size: 14px;
    line-height: 1.7;
}

.faf-footer-column h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.faf-footer-links,
.faf-footer-column .faf-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.faf-footer-links li,
.faf-footer-column .faf-menu li {
    margin: 0 0 10px;
}

.faf-footer-links a,
.faf-footer-column .faf-menu a,
.faf-social-list a {
    color: #aaa;
    font-size: 13px;
}

.faf-footer-links a:hover,
.faf-footer-column .faf-menu a:hover,
.faf-social-list a:hover {
    color: #fff;
}

.faf-social-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faf-footer-bottom {
    border-top: 1px solid #252525;
}

.faf-footer-bottom .faf-container {
    min-height: 62px;
    display: flex;
    align-items: center;
}

.faf-footer-bottom p {
    margin: 0;
    color: #777;
    font-size: 12px;
}

/* Responsividade */
@media (max-width: 1120px) {
    .faf-topbar-inner {
        grid-template-columns: 210px 1fr auto;
    }

    .faf-hero-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr);
        grid-template-rows: 320px 260px auto;
    }

    .faf-hero-main {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .faf-hero-secondary--one {
        grid-column: 2;
        grid-row: 1;
    }

    .faf-hero-secondary--two {
        grid-column: 2;
        grid-row: 2;
    }

    .faf-hero-latest {
        grid-column: 1 / 3;
        grid-row: 3;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .faf-latest-title {
        grid-column: 1 / -1;
    }

    .faf-hero-latest .faf-compact-post {
        display: grid;
        border: 0;
    }

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

@media (max-width: 900px) {
    .faf-topbar-inner {
        grid-template-columns: 1fr auto;
    }

    .faf-mini-search {
        display: none;
    }

    .faf-trending {
        justify-content: flex-start;
    }

    .faf-menu-toggle {
        display: inline-flex;
    }

    .faf-nav-row {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        background: #fff;
        box-shadow: 0 18px 35px rgba(0,0,0,.12);
    }

    .faf-menu-open .faf-nav-row {
        display: block;
    }

    .faf-primary-nav .faf-menu,
    .faf-primary-nav > ul {
        min-height: 0;
        display: block;
        padding: 12px 0 22px;
    }

    .faf-primary-nav a {
        min-height: 44px;
        border-bottom: 1px solid var(--faf-line);
    }

    .faf-primary-nav a::after {
        display: none;
    }

    .faf-primary-nav .sub-menu {
        position: static;
        width: auto;
        display: block;
        padding: 0 0 0 18px;
        border: 0;
        box-shadow: none;
    }

    .faf-split-grid {
        grid-template-columns: 1fr;
    }

    .faf-split-section--reverse .faf-split-main,
    .faf-split-section--reverse .faf-split-list {
        order: initial;
    }

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

    .faf-latest-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .faf-container {
        width: min(calc(100% - 28px), var(--faf-container));
    }

    .faf-topbar-inner {
        min-height: 38px;
        grid-template-columns: 1fr;
    }

    .faf-trending {
        gap: 9px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .faf-top-social {
        display: none;
    }

    .faf-brand-inner {
        min-height: 82px;
    }

    .faf-branding .custom-logo {
        max-width: 200px;
        max-height: 56px;
    }

    .faf-text-logo {
        font-size: 37px;
    }

    .faf-home {
        padding-top: 18px;
    }

    .faf-hero-grid {
        display: block;
    }

    .faf-feature-card {
        min-height: 250px;
        margin-bottom: 12px;
    }

    .faf-hero-main {
        min-height: 440px;
    }

    .faf-hero-main h2 {
        font-size: 34px;
    }

    .faf-hero-main p {
        display: none;
    }

    .faf-hero-secondary h2 {
        font-size: 23px;
    }

    .faf-hero-latest {
        display: block;
        margin-top: 12px;
        padding: 20px;
    }

    .faf-section {
        margin-top: 48px;
    }

    .faf-section-heading {
        grid-template-columns: 1fr auto;
        gap: 12px;
        margin-bottom: 20px;
    }

    .faf-heading-line {
        display: none;
    }

    .faf-section-heading h2 {
        font-size: 30px;
    }

    .faf-editorial-content {
        max-width: calc(100% - 18px);
        margin: -32px 0 0 18px;
        padding: 20px 18px 0 0;
    }

    .faf-editorial-content h3 {
        font-size: 28px;
    }

    .faf-editorial-content p {
        font-size: 14px;
    }

    .faf-split-list .faf-compact-post {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .faf-card-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .faf-news-card h3 {
        font-size: 24px;
    }

    .faf-latest-card {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 14px;
    }

    .faf-latest-card p {
        display: none;
    }

    .faf-latest-card h3 {
        font-size: 17px;
    }

    .faf-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-block: 46px;
    }
}

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