/* ============================================================
   Garagem RPC — CSS Principal
   ============================================================ */

@font-face {
    font-family: 'Kasumi Regular';
    src: url('../fonts/Kasumi Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary: #E6E6E6;
    --primary-dark: #cccccc;
    --background-dark: #232323;
    --surface-dark: #1a1a1a;
    --font-display: 'Kasumi Regular', sans-serif;
    --font-text: 'Work Sans', sans-serif;
}

/* ── Reset / Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-text);
    background-color: var(--background-dark);
    color: white;
    overflow-x: hidden;
    margin: 0;
}

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

a:hover {
    color: inherit;
}

button {
    background: none;
    border: none;
    padding: 0;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
    font-family: var(--font-display) !important;
}

/* ── Typography Utilities ── */
.font-black {
    font-weight: 900 !important;
}

.font-bold {
    font-weight: 700 !important;
}

.font-medium {
    font-weight: 500 !important;
}

.uppercase {
    text-transform: uppercase !important;
}

.italic {
    font-style: italic !important;
}

.tracking-tighter {
    letter-spacing: -0.05em !important;
}

.tracking-tight {
    letter-spacing: -0.025em !important;
}

.tracking-widest {
    letter-spacing: 0.1em !important;
}

/* ── Color Utilities ── */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-primary-dark {
    background-color: var(--primary-dark) !important;
}

.bg-background-dark {
    background-color: var(--background-dark) !important;
}

.bg-surface-dark {
    background-color: var(--surface-dark) !important;
}

/* ── Transition Utilities ── */
.transition-all {
    transition: all 0.3s ease;
}

.transition-colors {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.hover-text-primary:hover {
    color: var(--primary) !important;
}

.hover-bg-primary:hover {
    background-color: var(--primary) !important;
}

.hover-bg-primary-dark:hover {
    background-color: var(--primary-dark) !important;
}

.hover-text-black:hover {
    color: #000 !important;
}

.hover-border-primary:hover {
    border-color: var(--primary) !important;
}

/* ── Group Hover Utilities ── */
.group:hover .group-hover-scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover-scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover-border-primary {
    border-color: var(--primary) !important;
}

.group:hover .group-hover-text-primary {
    color: var(--primary) !important;
}

/* ── Hero ── */
.h-screen-hero {
    height: 600px;
}

@media (min-width: 768px) {
    .h-screen-hero {
        height: 800px;
    }

    .display-1-hero {
        font-size: 6rem;
    }
}

/* ── Navbar ── */
nav.garagem-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(35, 35, 35, 0.95);
    backdrop-filter: blur(12px);
}

nav.garagem-nav .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

nav.garagem-nav .nav-links a {
    font-size: 0.875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    transition: color 0.3s;
}

nav.garagem-nav .nav-links a:hover {
    color: var(--primary);
}

/* ── Play Button ── */
.play-button-overlay {
    transition: all 0.3s ease;
}

.group:hover .play-button-overlay {
    background-color: rgba(230, 230, 230, 0.9);
    color: #232323;
    transform: scale(1.1);
}

/* ── Swiper / Timeline ── */
.timeline-swiper {
    padding-bottom: 3rem;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: none !important;
}

/* ── Form Inputs ── */
.form-control-dark {
    background-color: var(--background-dark);
    border: 2px solid transparent;
    color: white;
    font-weight: 700;
}

.form-control-dark:focus {
    background-color: var(--background-dark);
    border-color: var(--primary);
    color: white;
    box-shadow: none;
}

.form-select.form-control-dark option {
    background-color: var(--background-dark);
    color: white;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary);
}

/* ── Racing border decorativo ── */
.racing-border {
    position: relative;
}

.racing-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: repeating-linear-gradient(45deg,
            var(--primary), var(--primary) 10px,
            var(--background-dark) 10px, var(--background-dark) 20px);
}

/* ── Cursor pointer ── */
.cursor-pointer {
    cursor: pointer;
}

/* ── text-truncate 2 linhas ── */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Seção de episódios — card promocional ── */
.card-promo {
    background: linear-gradient(135deg, var(--surface-dark) 0%, #111 100%);
    border: 2px solid rgba(230, 230, 230, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 200px;
    padding: 2rem;
}

/* ── Paginação / btn outline ── */
.btn-outline-primary-garagem {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 3.5rem;
    padding: 0 2.5rem;
    background-color: var(--surface-dark);
    color: var(--primary);
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    border: 1px solid rgba(230, 230, 230, 0.2);
    transition: all 0.3s;
    cursor: pointer;
}

.btn-outline-primary-garagem:hover {
    background-color: var(--primary);
    color: #000;
}

/* ── Garagem admin notice ── */
.garagem-admin-page h2 {
    margin-bottom: 1rem;
}