/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (DIA DA PESCA SANTA MARIA)
   ========================================================================== */
:root {
    /* Paleta de Cores Cinemática Verde Santa Maria */
    --bg-primary: #0a0c10;
    --bg-secondary: #11141b;
    --bg-tertiary: #161c24;
    --bg-glass: rgba(17, 20, 27, 0.7);
    --bg-glass-active: rgba(26, 34, 46, 0.85);
    
    /* Verde Santa Maria */
    --color-green-dark: #0f3d23;
    --color-green: #15803d;
    --color-green-light: #22c55e;
    --color-green-glow: rgba(34, 197, 94, 0.25);
    
    /* Tons Neutros */
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-text-dark: #475569;
    --color-border: rgba(255, 255, 255, 0.04);
    --color-border-green: rgba(34, 197, 94, 0.15);
    
    /* Configurações Tipográficas e Efeitos */
    --font-title: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --shadow-premium: 0 20px 45px -15px rgba(0, 0, 0, 0.8);
    --shadow-green-glow: 0 0 25px rgba(34, 197, 94, 0.2);
}

/* ==========================================================================
   RESET & CONFIGURAÇÃO GERAL
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--color-text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Containers e Grids */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
    position: relative;
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

/* Grids */
.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ==========================================================================
   ESTILOS TIPOGRÁFICOS & TÍTULOS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 40%, var(--color-green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--color-green-light);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}

.title-underline {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-green-light), transparent);
    margin-bottom: 30px;
}

.title-underline.center {
    margin: 0 auto 40px auto;
    background: linear-gradient(90deg, transparent, var(--color-green-light), transparent);
}

/* ==========================================================================
   HEADER / NAVEGAÇÃO
   ========================================================================== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.header-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
}

.logo {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffffff;
    line-height: 1.1;
}

.logo-accent {
    color: var(--color-green-light);
}

.logo-cnpj {
    font-size: 0.65rem;
    color: var(--color-text-dark);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 4px;
}
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-meta {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.01);
    padding: 6px 16px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    color: var(--color-text-dark);
    font-weight: 700;
}

.meta-val {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text);
}

.meta-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0 12px;
}

.status-badge {
    color: var(--color-green-light);
}

.btn-download-pdf {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 8px 16px;
    color: #ffffff;
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-download-pdf:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: var(--color-green-light);
    color: var(--color-green-light);
}

.pdf-generating {
    cursor: wait !important;
    opacity: 0.7;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 80px 24px;
    text-align: center;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 50% 30%, rgba(10, 12, 16, 0) 10%, #0a0c10 90%),
        linear-gradient(rgba(10, 12, 16, 0.4), #0a0c10), 
        url('assets/dia_pesca_hero_bg.png');
    background-size: cover;
    background-position: center;
}

.hero-glow-green {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, var(--color-green-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 840px;
    z-index: 2;
}

.proposal-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 40px;
    color: var(--color-green-light);
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-dark);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    z-index: 2;
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid var(--color-text-dark);
    border-radius: 10px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 6px;
    background-color: var(--color-green-light);
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-mouse 1.8s infinite ease-in-out;
}

@keyframes scroll-mouse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 6px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

/* ==========================================================================
   BOTÕES E COMPONENTES DE AÇÃO
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 6px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-green-light), var(--color-green));
    color: #ffffff;
    box-shadow: var(--shadow-green-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4ade80, var(--color-green-light));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.35);
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    box-shadow: 0 0 15px var(--color-green-light);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-glow:hover::after {
    opacity: 0.4;
}

/* ==========================================================================
   SECTION 1 — SOBRE O PROJETO
   ========================================================================== */
.about-section {
    background-color: var(--bg-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.01);
}

.about-card {
    background: var(--bg-glass);
    border: 1px solid rgba(34, 197, 94, 0.08);
    border-radius: 16px;
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-premium);
}

.about-tag {
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-green-light);
    margin-bottom: 12px;
}

.about-text {
    font-size: 1.25rem;
    color: var(--color-text);
    line-height: 1.7;
    font-weight: 400;
}

/* ==========================================================================
   SECTION 2 — O QUE ESTÁ INCLUSO
   ========================================================================== */
.scope-section {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.01);
}

.scope-card {
    background: var(--bg-glass);
    border: var(--color-border);
    border-radius: 12px;
    padding: 36px 24px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.scope-card:hover {
    transform: translateY(-6px);
    border: var(--color-border-green);
    background: var(--bg-glass-active);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(34, 197, 94, 0.05);
}

.card-icon {
    color: var(--color-green-light);
    margin-bottom: 24px;
    display: inline-flex;
    transition: var(--transition-smooth);
}

.scope-card:hover .card-icon {
    transform: scale(1.1);
}

.scope-card h3 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.scope-card p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   SECTION 3 — ENTREGA
   ========================================================================== */
.delivery-section {
    background-color: var(--bg-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.01);
}

.delivery-card {
    background: var(--bg-glass);
    border: var(--color-border);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.delivery-card:hover {
    transform: translateY(-4px);
    border: var(--color-border-green);
    box-shadow: var(--shadow-premium);
}

.delivery-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.delivery-icon {
    color: var(--color-text-muted);
    display: inline-flex;
}

.delivery-icon.text-accent {
    color: var(--color-green-light);
}

.delivery-card h4 {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.delivery-card-value {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.delivery-card-value.text-accent {
    color: var(--color-green-light);
}

.delivery-card-desc {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   SECTION 4 — INVESTIMENTO
   ========================================================================== */
.investment-section {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.01);
}

.investment-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-glass);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-premium), 0 0 35px rgba(34, 197, 94, 0.02);
}

.investment-header {
    margin-bottom: 24px;
}

.invest-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 4px;
    color: var(--color-green-light);
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.investment-header h3 {
    font-size: 1.35rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.investment-price-box {
    margin-bottom: 24px;
}

.investment-price-box .currency {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-green-light);
    vertical-align: super;
    margin-right: 4px;
}

.investment-price-box .price-val {
    font-family: var(--font-title);
    font-size: 3.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.investment-body {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */
.footer {
    background-color: #06070a;
    padding: 80px 0 40px 0;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.01);
}

.footer-note {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-weight: 400;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.copyright {
    color: var(--color-text-dark);
}

/* ==========================================================================
   MODAL DE APROVAÇÃO
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal.modal-active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 7, 10, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    padding: 40px;
    position: relative;
    z-index: 1002;
    box-shadow: var(--shadow-premium), 0 0 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px) scale(0.95);
    transition: var(--transition-smooth);
}

.modal.modal-active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-text-dark);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: #ffffff;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--color-green-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.modal-header h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Formulários */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 10px 14px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus {
    border-color: var(--color-green-light);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.1);
}

.form-group-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.form-group-checkbox input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--color-green-light);
}

.form-group-checkbox label {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    cursor: pointer;
}

/* Mensagem de sucesso do Modal */
.modal-success-msg {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    color: var(--color-green-light);
    margin-bottom: 20px;
}

.modal-success-msg h4 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.modal-success-msg p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   EFEITOS DE REVEAL (SCROLL)
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delays das grades */
.grid-4-col .scope-card:nth-child(1) { transition-delay: 0.05s; }
.grid-4-col .scope-card:nth-child(2) { transition-delay: 0.1s; }
.grid-4-col .scope-card:nth-child(3) { transition-delay: 0.15s; }
.grid-4-col .scope-card:nth-child(4) { transition-delay: 0.2s; }

.delivery-grid .delivery-card:nth-child(1) { transition-delay: 0.05s; }
.delivery-grid .delivery-card:nth-child(2) { transition-delay: 0.1s; }
.delivery-grid .delivery-card:nth-child(3) { transition-delay: 0.15s; }
.delivery-grid .delivery-card:nth-child(4) { transition-delay: 0.2s; }

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .section-padding {
        padding: 90px 0;
    }
    
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .delivery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-card {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .grid-4-col {
        grid-template-columns: 1fr;
    }
    
    .delivery-grid {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .header-actions {
        width: 100%;
        flex-direction: column-reverse;
        gap: 12px;
    }
    
    .header-meta {
        width: 100%;
        justify-content: space-between;
        border-radius: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 16px;
    }
    
    .meta-divider {
        display: none;
    }
    
    .about-card {
        padding: 30px 20px;
    }
    
    .investment-card {
        padding: 30px 20px;
    }
    
    .modal-card {
        padding: 30px 20px;
        max-width: 90%;
    }
}



/* ==========================================================================
   CARDS DE PORTFÓLIO E CAPAS (NETFLIX THUMBNAILS)
   ========================================================================== */
.netflix-row {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding: 20px 0;
    scroll-behavior: smooth;
    /* Hide scrollbar for Chrome, Safari and Opera */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.netflix-row::-webkit-scrollbar {
    display: none;
}

.netflix-card {
    flex: 0 0 280px;
    cursor: pointer;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.3s;
    z-index: 1;
}

.netflix-card:hover {
    transform: scale(1.15) translateY(-5px);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0,0,0,0.8);
}

.netflix-card img.netflix-thumbnail {
    width: 100%;
    height: 157px; /* 16:9 ratio for 280px width */
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* MODAL DE DETALHES ESTILO NETFLIX */
.netflix-detail-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    display: none; /* Toggled by JS */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 40px 20px;
}

.netflix-detail-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.netflix-detail-card {
    background-color: #181818;
    width: 100%;
    max-width: 850px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin: auto;
}

.netflix-detail-modal-overlay.active .netflix-detail-card {
    transform: scale(1);
}

.detail-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #181818;
    border: none;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: background 0.2s;
}

.detail-close-btn:hover {
    background: #333;
}

.detail-hero {
    position: relative;
    width: 100%;
    height: 480px;
}

.detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, #181818 0%, transparent 100%);
    z-index: 1;
}

.detail-hero-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    width: 80%;
}

.netflix-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 20px;
    font-family: var(--font-title);
    line-height: 1.1;
}

.detail-actions {
    display: flex;
    gap: 12px;
}

.btn-netflix-play {
    background-color: white;
    color: black;
    border: none;
    border-radius: 4px;
    padding: 8px 24px 8px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-netflix-play:hover {
    background-color: rgba(255, 255, 255, 0.75);
}

.detail-info-area {
    padding: 0 40px 40px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    grid-column: 1 / -1;
}

.detail-match {
    color: #46d369;
    font-weight: 700;
}

.detail-year, .detail-duration {
    color: #bcbcbc;
}

.detail-age {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0 5px;
    border-radius: 2px;
    font-size: 0.8rem;
    color: #bcbcbc;
}

.detail-hd {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0 5px;
    border-radius: 2px;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
}

.detail-synopsis-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: white;
}

.detail-cast {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}

.detail-cast strong {
    color: #bcbcbc;
}

@media (max-width: 768px) {
    .netflix-title { font-size: 1.8rem; }
    .detail-hero { height: 300px; }
    .detail-hero-content { left: 20px; bottom: 20px; }
    .detail-info-area { padding: 20px; grid-template-columns: 1fr; gap: 20px; }
    .netflix-card { flex: 0 0 160px; }
    .netflix-card img.netflix-thumbnail { height: 90px; }
}

/* ==========================================================================
   MODAL DO PLAYER CUSTOMIZADO (NETFLIX STYLE VIDEO PLAYER)
   ========================================================================== */
.netflix-player-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: none; /* Controlado via JS (flex) */
    align-items: center;
    justify-content: center;
    background: #000000;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.netflix-player-modal.modal-active {
    display: flex;
    opacity: 1;
}

.player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1;
}

.player-container {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
}

.player-main-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.player-video-box {
    position: relative;
    width: 100%;
    max-width: 90vw;
    height: 0;
    padding-top: 50.625vw; /* Proporção 16:9 baseada na largura */
    background: #000000;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.9);
}

/* Em telas com proporção maior, trava na altura */
@media (min-aspect-ratio: 16/9) {
    .player-video-box {
        width: 160vh;
        max-width: 90vw;
        height: 90vh;
        max-height: 90vh;
        padding-top: 0;
    }
}

.player-video-box iframe,
.player-video-box #yt-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none; /* Desativa cliques do Iframe direto para não abrir infos do YT */
}

/* Captura de clique transparente acima do iframe para dar play/pause */
.player-click-capture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

/* Botão Fechar Modal */
.player-close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    font-size: 2.8rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    z-index: 100;
    transition: var(--transition-fast);
    line-height: 1;
}

.player-close-btn:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Botão Próximo Vídeo Lateral */
.player-next-btn-side {
    position: absolute;
    right: 3vw;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    cursor: pointer;
    z-index: 50;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
}

.player-next-btn-side:hover {
    background: var(--color-green);
    border-color: var(--color-green-light);
    transform: scale(1.1) translateX(5px);
    box-shadow: var(--shadow-green-glow);
}

/* Painel de Controles Customizados Inferior */
.player-controls-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    padding: 30px 4vw 40px 4vw;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0; /* Invisível por padrão, aparece ao passar o mouse */
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

/* Exibe controles em hover no container do player */
.player-container:hover .player-controls-panel,
.netflix-player-modal.controls-visible .player-controls-panel {
    opacity: 1;
    transform: translateY(0);
}

/* Barra de Progresso Customizada */
.player-progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: height 0.15s ease;
}

.player-progress-container:hover {
    height: 6px;
}

.player-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--color-green-light);
    border-radius: 2px;
    position: relative;
}

.progress-handle {
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    transition: transform 0.15s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.player-progress-container:hover .progress-handle {
    transform: translateY(-50%) scale(1);
}

/* Linha de Controles */
.player-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.controls-left, .controls-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.control-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-fast);
    padding: 4px;
}

.control-btn:hover {
    color: var(--color-green-light);
    transform: scale(1.15);
}

.control-btn-lbl {
    font-size: 0.65rem;
    font-weight: 800;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    pointer-events: none;
}

/* Volume Slider */
.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 0;
    opacity: 0;
    height: 4px;
    accent-color: var(--color-green-light);
    transition: width 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.volume-container:hover .volume-slider {
    width: 70px;
    opacity: 1;
}

/* Mostrador do Tempo */
.player-time-display {
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.05em;
    user-select: none;
}

.time-sep {
    margin: 0 4px;
    color: var(--color-text-dark);
}

/* Título Ativo */
.active-video-title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-right: 10px;
    letter-spacing: 0.02em;
    max-width: 30vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsividade do Player */
@media (max-width: 768px) {
    .player-close-btn {
        top: 20px;
        right: 20px;
        font-size: 2.2rem;
    }
    
    .player-next-btn-side {
        right: 4vw;
        width: 44px;
        height: 44px;
    }
    
    .player-next-btn-side svg {
        width: 24px;
        height: 24px;
    }
    
    .player-controls-panel {
        padding: 20px 4vw 24px 4vw;
    }
    
    .active-video-title {
        display: none;
    }
}

