/* ========================================
   AGROVENDER - CSS Moderno e Responsivo
   Mobile-First com Dark Mode
   ======================================== */

/* ========================================
   RESET E VARIÁVEIS
   ======================================== */

:root {
    /* Cores Quentes (Spices & Oranges) */
  --laranja-quente: #ff6e00;
  --laranja-terra: #b24e2f;
  --terra: #b25e21;
  --laranja-amarelado: #f48d3e;

  /* Cores Verdes (Leaves & Sage) */
  --verde-oliva: #376809;
  --verde-acizentado: #698c43;

  /* Gradiente Padrão (Linear para a direita) */
  --autumn-gradient: linear-gradient(90deg, 
    var(--laranja-quente), 
    var(--laranja-terra), 
    var(--terra), 
    var(--laranja-amarelado), 
    var(--verde-oliva), 
    var(--verde-acizentado)
  );
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--verde-acizentado) 0%, var(--verde-oliva) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 95, 70, 0.05) 100%);
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Bordas */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Transições */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Container */
    --container-max: 1200px;
}

/* Dark Mode Variables */
body.dark-mode {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color var(--transition-base), color var(--transition-base);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: all var(--transition-base);
}

ul {
    list-style: none;
}

/* ========================================
   CONTAINER E LAYOUT
   ======================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ========================================
   HEADER
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

body.dark-mode .header.scrolled {
    background-color: rgba(17, 23, 39, 0.95);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--spacing-sm);
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: bold;
    color: var(--verde-oliva);
    transition: all var(--transition-base);
}

.logo-agrovender {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.theme-toggle:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: rotate(15deg);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--verde-oliva);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(70px + var(--spacing-xl)) var(--spacing-sm) var(--spacing-xl);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-50px) scale(1.1);
    }
}

.hero-content {
    max-width: 700px;
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-button:active {
    transform: translateY(-1px);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-weight: 500;
    color: var(--text-primary);
}

.feature-badge i {
    color: var(--color-primary);
    font-size: 1.25rem;
}

.hero-illustration {
    display: none;
    font-size: 20rem;
    color: var(--color-primary);
    opacity: 0.1;
    position: absolute;
    right: -10%;
    bottom: -20%;
    z-index: 0;
}

/* ========================================
   SEÇÕES GERAIS
   ======================================== */

section {
    padding: var(--spacing-2xl) var(--spacing-sm);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.section-description {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

/* ========================================
   SEÇÃO HISTÓRIA
   ======================================== */


.link-faeb-senar {
    color: var(--verde-oliva);
}

.link-faeb-senar:hover {
    text-decoration: underline;
}

.historia {
    background-color: var(--bg-secondary);
}

.historia-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}



.historia-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.historia-text strong {
    color: var(--color-primary);
    font-weight: 600;
}

.historia-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background-color: #eef2ea;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.stat-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.historia-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.historia-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.historia-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: var(--spacing-md);
    left: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    background: rgba(16, 185, 129, 0.95);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* ========================================
   SEÇÃO PARCERIAS
   ======================================== */

/* --- Seção Geral --- */
.parcerias-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray-bg) 0%, #ffffff 100%);
    overflow: hidden;
}

/* --- Header (Título e Logos) --- */
.parcerias-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    gap: 32px;
    flex-wrap: wrap;
}

/* Título */
.section-title-custom {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--verde-oliva); 
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.icon-box {
    width: 48px;
    height: 48px;
    /* Ícone agora usa o gradiente LARANJA para destacar */
    background: linear-gradient(135deg, var(--laranja-quente), var(--terra));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(178, 94, 33, 0.3);
}

.title-underline {
    width: 96px;
    height: 4px;
    /* Sublinhado Laranja */
    background: linear-gradient(to right, var(--laranja-quente), var(--laranja-amarelado));
    border-radius: 99px;
    margin-top: 8px;
}

/* Logos dos Parceiros */

/* --- CONTAINER DAS LOGOS (Alinha na horizontal) --- */
.partners-logos {
    display: flex;           /* O comando mágico que coloca lado a lado */
    flex-direction: row;     /* Garante a direção horizontal */
    flex-wrap: wrap;         /* Permite que quebre para a linha de baixo se a tela for muito pequena (celular) */
    gap: 20px;               /* Espaço entre um quadrado e outro */
    align-items: center;     /* Centraliza verticalmente */
    justify-content: flex-start; /* Alinha à esquerda (use 'center' se quiser no meio) */
}

.partner-card {
    position: relative;
    width: 120px; /* Aumentei um pouco a largura para caber melhor logos horizontais */
    height: 96px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(105, 140, 67, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    
    /* Centraliza a imagem dentro do card */
    display: flex;
    align-items: center; 
    justify-content: center;
}

.partner-card img {
    width: 100%;
    height: 100%;
    /* O SEGREDO ESTÁ AQUI: 'contain' mostra a imagem inteira */
    object-fit: contain; 
    /* Adiciona um respiro para a logo não colar na borda */
    padding: 12px; 
    filter: grayscale(100%);
    transition: 0.3s;
}

/* Mantendo o hover e o overlay correto */
.partner-card:hover {
    transform: scale(1.05); /* Um pouco menos de zoom para não distorcer */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--verde-acizentado);
}

.partner-card:hover img {
    filter: grayscale(0%);
}

.partner-overlay {
    position: absolute;
    inset: 0;
    /* Gradiente mais forte para garantir leitura do texto sobre a logo */
    background: linear-gradient(to top, var(--verde-oliva) 20%, rgba(55, 104, 9, 0.4) 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    transition: 0.3s;
}

.partner-card:hover .partner-overlay {
    opacity: 1;
}

.partner-overlay span {
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
}

/* --- Grid Principal --- */
.parcerias-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Lado Esquerdo: Card de Texto */
.content-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border-left: 6px solid var(--verde-acizentado); /* Detalhe lateral verde */
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;/* Adiciona uma transição suave ao trocar de tema */
}

/* --- REGRAS PARA MODO ESCURO (Dark Mode) --- */
body.dark-mode .content-card {
    /* Troca o fundo Branco pelo Cinza Escuro Secundário */
    background: var(--bg-secondary);
    
    /* Usa a sombra mais forte definida nas suas variáveis */
    box-shadow: var(--shadow-xl);
    
    /* Garante que a borda verde lateral continue visível (opcional) */
    border-left: 6px solid var(--verde-acizentado);
}

/* Ajusta o Título dentro do card no modo escuro */
body.dark-mode .card-title,
body.dark-mode .content-card h3 {
    color: var(--text-primary) !important; /* Força a cor branca/clara */
}

/* Ajusta os Parágrafos e Listas dentro do card */
body.dark-mode .content-card p,
body.dark-mode .content-card li {
    color: var(--text-secondary) !important; /* Cinza claro para leitura */
}

body.dark-mode .objetivos-box {
    background: var(--bg-tertiary); /* Um tom um pouco mais claro que o fundo */
    border-color: var(--verde-acizentado);
}

body.dark-mode .objetivos-box h4 {
    color: var(--text-primary);
}

.dark-mode .stat-item {
    background-color: var(--bg-primary); 
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--verde-oliva);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.green-pill {
    width: 8px;
    height: 32px;
    /* Pílula decorativa em Laranja Terra */
    background: linear-gradient(to bottom, var(--laranja-quente), var(--terra));
    border-radius: 99px;
    display: block;
}

.card-body p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.highlight {
    font-weight: 700;
    color: var(--terra); /* Texto destacado cor de terra */
}

/* --- Lado Direito: Slider --- */
.slider-container {
    position: relative;
    width: 100%;
}

.slider-viewport {
    overflow: hidden;
    border-radius: 16px;
}

.slider-track {
    display: flex;
    width: 100%;
}



.slide-item {
    flex-shrink: 0; /* Impede que o slide encolha */
    min-width: 100%; /* Cada slide ocupa 100% da largura do container */
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    height: 320px;
    cursor: pointer;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.slide-item:hover img {
    transform: scale(1.1);
}

/* Overlay do Slide */
.slide-overlay {
    position: absolute;
    inset: 0;
    /* Gradiente misturando verde escuro e preto para legibilidade */
    background: linear-gradient(to top, var(--verde-oliva), rgba(0,0,0,0.2) 60%, transparent);
    opacity: 0;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: white;
}

.slide-item:hover .slide-overlay {
    opacity: 1;
}

.slide-overlay h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--laranja-amarelado); /* Título interno em amarelo/laranja */
}

.slide-overlay p {
    font-size: 0.875rem;
    color: #f0f0f0;
}

/* Badge Destaque */
.badge-destaque {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* Badge Laranja Vibrante */
    background: var(--laranja-quente);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 12px;
    width: fit-content;
    box-shadow: 0 4px 10px rgba(255, 110, 0, 0.4);
}

.pulse {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

/* Borda Ativa */
.active-border {
    position: absolute;
    inset: 0;
    border: 4px solid var(--laranja-quente);
    border-radius: 16px;
    pointer-events: none;
    opacity: 0.7;
}

/* Botões de Navegação */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: var(--verde-acizentado); /* Cor normal */
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--laranja-quente); /* Hover Laranja */
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-btn.prev { left: -20px; }
.nav-btn.next { right: -20px; }

/* Pontinhos (Dots) */
.slide-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    background: white;
    padding: 12px 24px;
    border-radius: 99px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dot {
    width: 8px;
    height: 8px;
    background: #d1d5db;
    border-radius: 99px;
    transition: 0.3s;
    cursor: pointer;
}

.dot.active {
    width: 32px;
    background: var(--laranja-terra); /* Dot ativo cor de terra */
}

/* --- Responsividade (Celular) --- */
@media (max-width: 1024px) {
    .parcerias-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .parcerias-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-btn.prev { left: 0; }
    .nav-btn.next { right: 0; }
}


/* ========================================
   SEÇÃO EQUIPE
   ======================================== */
/* ========================================
   SEÇÃO EQUIPE (ESTILO NETFLIX)
   ======================================== */

.equipe {
    background-color: var(--bg-primary);
    overflow: hidden; /* Evita rolagem horizontal na página */
}

/* Wrapper que segura tudo (botões + slides) */
.netflix-slider-wrapper {
    position: relative;
    padding: 0 50px; /* Espaço nas laterais para as setas não ficarem em cima dos cards */
}

.netflix-viewport {
    overflow: hidden;
    width: 100%;
}

.netflix-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Movimento suave estilo app */
    gap: 20px; /* Espaço entre os cards */
    padding: 20px 0; /* Espaço para a sombra não cortar */
}

/* O ITEM INDIVIDUAL (CONTAINER DO CARD) */
.netflix-slide-item {
    /* Por padrão (Desktop): Mostra 4 itens. 
       Cálculo: 100% / 4 = 25%. O 'flex-shrink: 0' impede que esprema. */
    flex: 0 0 calc(25% - 15px); 
    min-width: calc(25% - 15px);
    transition: transform var(--transition-base);
}

/* ESTILO DOS CARDS (Reaproveitando o seu estilo bonito) */
.team-card {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%; /* Garante altura igual */
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden; 
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.team-role {
    color: var(--laranja-quente);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.team-social a:hover {
    background: var(--verde-oliva);
    color: white;
}

/* BOTÕES DE NAVEGAÇÃO LATERAIS */
.netflix-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 100%; /* Botão ocupa toda a altura lateral (estilo Netflix real) */
    background: transparent;
    border: none;
    color: var(--verde-oliva);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: 0.3s;
}

.netflix-nav:hover {
    background: rgba(0,0,0,0.05); /* Leve sombra ao passar o mouse */
    opacity: 1;
    color: var(--laranja-quente);
}

.netflix-nav.prev { left: 0; }
.netflix-nav.next { right: 0; }

/* RESPONSIVIDADE */

/* Tablet (Mostra 2 por vez) */
@media (max-width: 1024px) {
    .netflix-slide-item {
        flex: 0 0 calc(33.333% - 15px);
        min-width: calc(33.333% - 15px);
    }
}

/* Celular (Mostra 1 por vez) */
@media (max-width: 600px) {
    .netflix-slider-wrapper {
        padding: 0; /* Remove padding lateral no celular */
    }
    
    .netflix-slide-item {
        flex: 0 0 80%; /* 1 item inteiro */
        min-width: 80%;
        scroll-snap-align: center; /*alinha o centro do card com o centro do viewport*/
        display: flex;
        justify-content: center;
    }

    .netflix-viewport {
        display: flex;
        justify-content: center; /* Ajuda no alinhamento inicial */
    }

    .netflix-slider-wrapper {
        padding: 0; /* Remove paddings que podem empurrar o card para o lado */
    }
    
    .netflix-nav {
        width: 40px;
        height: 40px; /* No celular botão redondo pequeno */
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        border-radius: 50%;
    }
    .netflix-nav.prev { left: 10px; }
    .netflix-nav.next { right: 10px; }

    #team-prev, 
    #team-next,
    .nav-btn, /* Seus botões de setas genéricos */
    .slider-buttons { 
        display: none !important;
    }

    /* Garante que o usuário consiga deslizar com o dedo já que não há botões */
    .netflix-track, 
    .slider-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch; /* Melhora o deslize no iPhone */
    }
}

/* ========================================
   SEÇÃO DOWNLOAD
   ======================================== */

.download {
    background: var(--laranja-quente);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.download .section-title {
    color: var(--color-white);
}

.download-description {
    text-align: center;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

.download-content {
    display: grid;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.download-features {
    display: grid;
    justify-content: space-evenly;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    text-align: left;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
}

.download-feature i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 1.25rem 3rem;
    background: var(--gradient-primary);
    color: var(--color-primary-dark);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
    margin-bottom: var(--spacing-md);
}

.download-button:hover {
    background-color: var(--gradient-primary);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.download-button i {
    font-size: 1.75rem;
}

.download-warning {
    align-items: flex-start;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto;
}

.download-warning i {
    flex-shrink: 0;
    margin-top: 2px;
}

.download-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.qr-code {
    width: 200px;
    height: 200px;
    background-color: var(--color-white);
    padding: var(--spacing-sm);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.qr-code svg {
    width: 100%;
    height: 100%;
}

.qr-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--bg-tertiary);
    padding: var(--spacing-2xl) var(--spacing-sm) var(--spacing-lg);
}

body.dark-mode .footer {
    background-color: var(--color-black);
}

.footer-content {
    display: grid;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.footer-brand .footer-logo i {
    font-size: 1.75rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-info {
    display: grid;
    gap: var(--spacing-xl);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.footer-section p,
.footer-section li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-section a:hover {
    color: var(--verde-acizentado);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 1.125rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

body.dark-mode .footer-bottom {
    border-color: var(--bg-secondary);
}

/* ========================================
   ANIMAÇÕES
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   MEDIA QUERIES - MOBILE FIRST
   ======================================== */


/* MOBILE FIRST AJUSTES */
.container {
    padding: 0 1rem;
}

.hero-title {
    font-size: 2rem;
}

.hero-subtitle {
    font-size: 1rem;
}

.section-title {
    font-size: 2rem;
}

.historia-content,
.download-content,
.footer-info,
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.hero-illustration {
    display: none;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 4px 0;
    background: var(--verde-oliva);
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-lg);
    transform: translateY(-120%);
    transition: transform var(--transition-base);
    gap: var(--spacing-md);
    z-index: 1000;
}
.nav-menu.active {
    transform: translateY(0);
}
.nav-link::after {
    display: none;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tablets (min-width: 640px) */
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .footer-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (min-width: 1024px) */
@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    .hero {
        padding: calc(70px + 4rem) 2rem 4rem;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.375rem;
    }
    .hero-illustration {
        display: block;
    }
    .section-title {
        font-size: 3rem;
    }
    .historia-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .download-content {
        gap: 2rem;
    }
    .footer-content {
        grid-template-columns: 2fr 3fr;
    }
    .footer-info {
        grid-template-columns: repeat(3, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .theme-toggle,
    .menu-toggle,
    .cta-button,
    .download-button,
    .footer-social {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
