/* Abertura da home: conteúdo editorial e slide independentes da TV. */
.fox-home-slides {
    position: relative;
    padding: 30px 0;
    background: radial-gradient(ellipse at 92% 18%, #d8f0ef 0, transparent 60%),
        linear-gradient(115deg, #f9fcff, #eff6fa 55%, #f4faf9);
    border-bottom: 1px solid #dce9ef;
    isolation: isolate;
}
.fox-home-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.32fr);
    align-items: center;
    gap: clamp(24px, 2.6vw, 42px);
    width: min(calc(100% - 56px), 1460px);
    margin: 0 auto;
}
.fox-home-intro-copy { min-width: 0; padding: 8px 0; }
.fox-home-intro-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
    color: #0b787f; font-size: .7rem; font-weight: 800; letter-spacing: .07em;
    text-transform: uppercase; overflow-wrap: anywhere;
}
.fox-home-intro-eyebrow svg { width: 17px; height: 17px; flex-shrink: 0; }
.fox-home-intro-copy h1 {
    margin: 15px 0 16px; color: #182f43;
    font-size: clamp(2rem, 3.45vw, 3.3rem); font-weight: 800;
    line-height: 1.09; letter-spacing: -.045em; white-space: pre-line; overflow-wrap: anywhere;
}
.fox-home-intro-copy > p {
    margin: 0; color: #596f82; font-size: clamp(.88rem, 1.05vw, 1rem);
    line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere;
}
.fox-home-intro-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.fox-home-intro-actions:empty { display: none; }
.fox-home-intro-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    max-width: 100%; padding: 12px 15px; border: 1px solid transparent; border-radius: 10px;
    font-size: .85rem; font-weight: 800; line-height: 1.25; text-decoration: none;
    transition: background .18s, box-shadow .18s;
}
.fox-home-intro-button span { overflow-wrap: anywhere; min-width: 0; }
.fox-home-intro-button svg { width: 19px; height: 19px; flex-shrink: 0; }
.fox-home-intro-button.is-primary { background: linear-gradient(115deg, #079c9b, #1eb8a9); color: #fff; box-shadow: 0 8px 22px #109e9b24; }
.fox-home-intro-button.is-secondary { border-color: #ccdce6; background: #ffffffeb; color: #223e53; }
.fox-home-intro-button:hover { box-shadow: 0 7px 20px #24475624; }
.fox-home-intro-button:focus-visible { outline: 3px solid #0a8f96; outline-offset: 3px; }
.fox-home-slides .hero-visual { position: relative; min-width: 0; width: 100%; margin: 0; container-type: inline-size; }
.fox-home-slides .hero-visual-image {
    width: 100%; aspect-ratio: 16 / 9; max-height: 480px; overflow: hidden;
    border: 1px solid #ffffff; border-radius: 24px;
    box-shadow: 0 18px 42px #234b621c, 0 0 0 5px #ffffffb3;
}
.fox-home-slides .hero-slide-content { box-sizing: border-box; }
.fox-home-slides .hero-slide-content strong,
.fox-home-slides .hero-slide-description,
.fox-home-slides .hero-slide-cta { overflow-wrap: anywhere; max-width: 100%; }
.fox-home-slides .hero-slider-controls { max-width: calc(100% - 24px); }
.fox-home-slides .hero-slider-dots { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.fox-home-slides .hero-slider-dots::-webkit-scrollbar { display: none; }
.fox-home-intro-grid.is-text-only { grid-template-columns: 1fr; }
.fox-home-intro-grid.is-text-only .fox-home-intro-copy { max-width: 850px; }
@container (max-width: 960px) {
    .fox-home-slides .hero-media-slide .hero-slide-content { bottom: 76px; }
}
@media (min-width: 981px) {
    .fox-home-slides .hero-visual-image {
        height: calc(56.25cqw + 50px);
        max-height: 530px;
        aspect-ratio: auto;
    }
}
@media (min-width: 981px) and (max-height: 740px) {
    .fox-home-slides { padding: 24px 0; }
    .fox-home-slides .hero-visual-image { max-height: max(370px, calc(100svh - 140px)); }
    .fox-home-intro-copy h1 { font-size: clamp(2rem, 3.1vw, 2.8rem); }
}
@media (max-width: 980px) {
    .fox-home-intro-grid { grid-template-columns: 1fr; gap: 26px; width: calc(100% - 40px); }
    .fox-home-intro-copy { max-width: 720px; }
    .fox-home-intro-copy h1 { font-size: clamp(2rem, 5vw, 2.7rem); }
    .fox-home-intro-copy > p { font-size: .95rem; }
    .fox-home-slides .hero-visual-image { max-height: 440px; }
}
@media (max-width: 620px) {
    .fox-home-slides { padding: 22px 0 26px; }
    .fox-home-intro-grid { width: calc(100% - 32px); }
    .fox-home-intro-copy h1 { font-size: clamp(1.9rem, 7vw, 2.4rem); }
    .fox-home-intro-actions { margin-top: 20px; }
    .fox-home-slides .hero-visual-image { aspect-ratio: 4 / 3; min-height: 320px; border-radius: 19px; }
}

/* Aparência e transições do slide de referência. */
.fox-home-slides .hero-media-slider {
    position: relative;
    isolation: isolate;
    background-image: none;
    background-color: #152c36;
    outline: none;
}

.fox-home-slides .hero-media-slides,
.fox-home-slides .hero-media-slide {
    position: absolute;
    inset: 0;
}

.fox-home-slides .hero-media-slide {
    z-index: 0;
    display: block;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.018);
    transition: opacity 900ms ease, transform 1100ms ease, visibility 0s linear 900ms;
}

.fox-home-slides .hero-media-slide::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(9, 9, 15, 0.015), rgba(9, 9, 15, 0.12));
    content: "";
    pointer-events: none;
}

.fox-home-slides .hero-media-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition-delay: 0s;
}

.fox-home-slides .hero-media-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--slide-focal-x, 50%) var(--slide-focal-y, 50%);
    transform: scale(1.045);
}

.fox-home-slides .hero-media-slide.is-active img {
    animation: foxHomeSlideFocus var(--slide-duration, 7s) linear both;
}
.fox-home-slides .hero-media-slider.is-paused .hero-media-slide.is-active img {
    animation-play-state: paused;
}

.fox-home-slides .hero-slide-content {
    position: absolute;
    bottom: 18px;
    left: 18px;
    z-index: 3;
    display: flex;
    width: min(52%, 370px);
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 15px 17px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(15, 37, 48, 0.52), rgba(24, 51, 61, 0.42));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    color: #fff;
    text-align: left;
    text-decoration: none;
    opacity: 0;
    transform: translateY(12px);
    backdrop-filter: blur(2px);
    transition: opacity 420ms ease, transform 520ms cubic-bezier(0.2, 0.78, 0.2, 1);
}

.fox-home-slides .hero-media-slide.is-active .hero-slide-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 240ms;
}

.fox-home-slides .hero-slide-content strong {
    text-shadow: 0 1px 3px #102630, 0 2px 8px #102630b3;
    display: -webkit-box;
    overflow: hidden;
    color: #58f5a7;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(0.96rem, 1.25vw, 1.12rem);
    font-weight: 800;
    letter-spacing: -0.018em;
    line-height: 1.18;
    text-transform: uppercase;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fox-home-slides .hero-slide-description {
    text-shadow: 0 1px 3px #102630, 0 2px 8px #102630b3;
    display: -webkit-box;
    overflow: hidden;
    margin-top: 2px;
    color: #fff;
    font-size: 0.78rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fox-home-slides .hero-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #58f5a7;
    box-shadow: 0 7px 22px rgba(88, 245, 167, 0.2);
    color: #10251b;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.fox-home-slides .hero-slide-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 160ms ease;
}

.fox-home-slides .hero-slide-cta:hover svg {
    transform: translate(2px, -2px);
}

.fox-home-slides .hero-slider-controls {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 16px;
    background: rgba(14, 34, 44, 0.86);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px) saturate(140%);
}

.fox-home-slides .hero-slider-arrow,
.fox-home-slides .hero-slider-toggle,
.fox-home-slides .hero-slider-dot {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    color: #fff;
    cursor: pointer;
}

.fox-home-slides .hero-slider-arrow,
.fox-home-slides .hero-slider-toggle {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.09);
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.fox-home-slides .hero-slider-arrow:hover,
.fox-home-slides .hero-slider-toggle:hover {
    background: #7de5d9;
    color: #101015;
    transform: translateY(-1px);
}

.fox-home-slides .hero-slider-arrow svg,
.fox-home-slides .hero-slider-toggle svg {
    width: 17px;
    height: 17px;
}

.fox-home-slides .hero-slider-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 3px;
}

.fox-home-slides .hero-slider-dot {
    width: 20px;
    height: 28px;
    padding: 0;
    background: transparent;
}

.fox-home-slides .hero-slider-dot span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    transition: width 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.fox-home-slides .hero-slider-dot.is-active span {
    width: 20px;
    background: #7de5d9;
    box-shadow: 0 0 14px rgba(125, 229, 217, 0.5);
}

.fox-home-slides .hero-media-slider:focus-visible,
.fox-home-slides .hero-slider-controls button:focus-visible,
.fox-home-slides .hero-media-slide:focus-visible,
.fox-home-slides .hero-slide-cta:focus-visible {
    outline: 3px solid rgba(125, 229, 217, 0.72);
    outline-offset: 3px;
}

@keyframes foxHomeSlideFocus {
    from { transform: scale(1.055); }
    to { transform: scale(1.012); }
}

@media (max-width: 620px) {
    .fox-home-slides .hero-slide-content {
        right: 12px;
        bottom: 62px;
        left: 12px;
        width: auto;
        max-width: 360px;
        padding: 12px 14px 13px;
        border-radius: 15px;
    }

    .fox-home-slides .hero-slide-content strong {
        font-size: 0.94rem;
    }

    .fox-home-slides .hero-slide-description {
        font-size: 0.73rem;
    }

    .fox-home-slides .hero-slider-controls {
        right: 12px;
        bottom: 12px;
        padding: 5px;
        border-radius: 14px;
    }

    .fox-home-slides .hero-slider-arrow,
    .fox-home-slides .hero-slider-toggle {
        width: 32px;
        height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fox-home-slides .hero-media-slide,
    .fox-home-slides .hero-media-slide.is-active,
    .fox-home-slides .hero-media-slide.is-active img,
    .fox-home-slides .hero-slide-content,
    .fox-home-slides .hero-media-slide.is-active .hero-slide-content {
        animation: none;
        transition: none;
        transform: none;
    }
}
