/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores baseadas no design */
    --primary-blue: #1e4a6b;
    --secondary-blue: #2563a3;
    --white: #ffffff;
    --text-white: #ffffff;
    --text-title: #ffffff;
    --text-title-2: #ffffff;
    --text-description: rgba(255, 255, 255, 0.9);
    --text-subtitle: rgba(255, 255, 255, 0.85);
    --pink-button: #c44a8a;
    --gray-button: #6c757d;
    
    /* Sombras */
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --text-shadow-title: 0 2px 4px rgba(0, 0, 0, 0.3);
    --text-shadow-subtitle: 0 1px 3px rgba(0, 0, 0, 0.4);
    --text-shadow-strong: 0 1px 2px rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ==================== ESTILOS BASE (DESKTOP-FIRST) ==================== */

/* Body e Layout Geral */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: url('../images/Background sem Cabeçalho (Menu).jpg') center center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 74, 107, 0.50) 0%, rgba(37, 99, 163, 0.35) 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    padding: 1.5rem 0 1rem;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

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

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

.logo-seger {
    height: auto;
    max-width: clamp(180px, 25vw, 280px);
    max-height: clamp(50px, 8vw, 70px);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.logo-seger:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: visible;
    min-height: 0;
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr clamp(400px, 40vw, 600px);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: end;
    padding: 0;
    margin: 0;
    flex: 1;
    min-height: 0;
    overflow: visible;
}

.hero-text {
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    height: 100%;
    align-self: stretch;
    padding-bottom: 0;
    padding-right: 2rem;
}

.hero-main-content {
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
    max-width: clamp(600px, 80vw, 900px);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    color: var(--text-white);
    flex-shrink: 0;
    min-height: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0px;
    backdrop-filter: blur(1px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-main-content h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.2;
    color: var(--text-title);
    max-width: 100%;
    text-align: center;
    text-shadow: var(--text-shadow-title);
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

.hero-main-content .hero-description {
    font-size: clamp(0.8rem, 2vw, 1rem);
    line-height: 1.6;
    color: var(--text-description);
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 clamp(1rem, 3vw, 2rem);
    width: 100%;
    font-weight: 400;
}

.hero-description strong {
    color: var(--text-title-2);
    font-weight: 800;
    text-shadow: var(--text-shadow-strong);
}

/* Access Options */
.access-options {
    display: flex;
    gap: 3rem;
    align-items: stretch;
    padding: 1rem 0 3rem 0;
    justify-content: flex-start;
    margin-top: auto;
    flex-shrink: 0;
    align-self: flex-start;
}

.access-option {
    flex: 1;
    max-width: 280px;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 0px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

}

.access-option:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.access-option h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-title-2);
    text-shadow: var(--text-shadow-subtitle);
    letter-spacing: -0.01em;
    text-align: left;
}

.access-option p {
    font-size: 0.9rem;
    color: var(--text-subtitle);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-weight: 300;
    text-align: left;
    flex-grow: 1;
 
}

.divider-line {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, var(--pink-button) 0%, rgba(196, 74, 138, 0.8) 50%, var(--pink-button) 100%);
    background-size: 200% 100%;
    margin: 0.5rem 0;
    border-radius: 2px;
    animation: shimmer 3s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(196, 74, 138, 0.4);
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    50% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Botões de Acesso */
.btn-access {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    overflow: hidden;
    display: block;
    position: relative;
    margin-top: auto;

}

.btn-access::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-access img {
    width: auto;
    height: 50px;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.btn-access:hover:not(:disabled) {
    transform: translateY(-4px) scale(1.02);
    filter: brightness(1.15);
}

.btn-access:hover:not(:disabled)::before {
    opacity: 1;
    transform: scale(1.05);
}

.btn-access:hover:not(:disabled) img {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.btn-access:focus {
    outline: 2px solid var(--text-white);
    outline-offset: 4px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.btn-access:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-access:disabled:hover {
    transform: none;
    filter: none;
}

/* Hero Image */
.hero-image {
    text-align: center;
    position: relative;
    align-self: end;
    height: auto;
    max-height: calc(100vh - 150px);
    margin-bottom: 0;
    padding-bottom: 0;
    display: flex;
    align-items: end;
    justify-content: center;
    overflow: hidden;
}

.people-image {
    width: 100%;
    max-width: 780px;
    height: auto;
    max-height: calc(100vh - 60px);
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.25));
    display: block;
    transition: all 0.6s ease;
}

.people-image:hover {
    transform: scale(1.01);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: var(--transition);
}

.loading-spinner {
    text-align: center;
    color: var(--text-white);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--text-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}


/* Correção para notebooks (1829px até 1350px) */
@media (max-width: 1829px) and (min-width: 1350px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Divide o espaço igualmente e de forma flexível */
        gap: 1rem;
        align-items: end;
    }
    .hero-main-content {
        max-width: 100%; /* Garante que o texto se ajuste à largura da coluna */
    }

    .logo-seger {
        max-width: 250px;
    }
    
    .access-options {
        gap: 1rem;
    }
    
    .people-image {
        max-width: 100%;
        height: auto;
        object-fit: contain;        
    }
    
    .divider-line {
        width: 172px;
    }
    
    .hero-image {
        width: 500px; 
        display: flex !important; /* Garante que a imagem seja exibida */
 
    }
}


/* ==================== MEDIA QUERIES (DESKTOP-FIRST) ==================== */
/* Correção para notebooks (1829px até 1000px) */
@media (max-width: 1349px) and (min-width: 1000px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Divide o espaço igualmente e de forma flexível */
        gap: 1rem;
        align-items: end;
    }
    .hero-main-content {
        max-width: 100%; /* Garante que o texto se ajuste à largura da coluna */
    }

    .logo-seger {
        max-width: 250px;
    }
    
    .access-options {
        gap: 1rem;
    }
    
    .people-image {
        max-width: 100%;
        height: auto;
        object-fit: contain;        
    }
    
    .divider-line {
        width: 172px;
    }
    
    .hero-image {
        display: flex !important; /* Garante que a imagem seja exibida */
 
    }
}
/* Transição intermediária (999px até 769px) */
@media (max-width: 999px) and (min-width: 769px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .hero-text {
        padding-right: 0;
        width: 100%;
    }
    
    .hero-image {
        display: none !important;
    }
    
    .access-options {
      gap: 1rem
    }
}

/* Tablet/Mobile (768px e menor) */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .header {
        padding: 1rem 0 0.5rem;
        flex-shrink: 0;
    }
    
    .logo-seger {
        max-width: 200px;
    }
    
    .hero-section {
        height: auto;
        min-height: calc(100vh - 80px);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        align-items: center;
        height: auto;
        padding: 2rem 0;
        justify-content: center;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-text {
        order: 1;
        height: auto;
        justify-content: center;
        gap: 2rem;
        width: 100%;
        text-align: center;
        padding-right: 0;
    }
    
    .hero-main-content {
        margin-bottom: 0.5rem;
        flex: none;
        padding: 2.5rem 2rem 2.5rem 2rem;
        width: 100%;
        max-width: 500px;
    }
    
    .hero-image {
        display: none !important;
    }
    
    .hero-main-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
        text-align: left;
        font-weight: 700;
        text-shadow: var(--text-shadow-title);
        line-height: 1.3;
    }
    
    .hero-main-content .hero-description {
        font-size: 0.9rem;
        max-width: 100%;
        padding: 0;
        text-align: left;
        line-height: 1.5;
    }
     
    .access-options {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        margin-top: 0;
        align-self: center;
        padding: 1rem 0 5rem 0;
        justify-content: center;
        width: 100%;
    }
    
    .access-option {
        max-width: 300px;
        min-height: 230px; 
        text-align: left;
        padding: 1.2rem;
        
    }
    
    .access-option h3 {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .access-option p {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .divider-line {
        width: 100%;
        height: 2px;
    }
    
    .main-content {
        padding: 0;
        overflow: visible;
        justify-content: center;
        align-items: center;
    }
}

/* Mobile (480px e menor) */
@media (max-width: 480px) {
    .hero-main-content {
        padding: 2rem 1.5rem 2rem 1.5rem;
        max-width: 100%;
    }
    
    .hero-main-content h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .hero-main-content .hero-description {
        font-size: 0.85rem;
        padding: 0;
        line-height: 1.4;
        text-align: left;
    }
    
    .access-option h3 {
        font-size: 1rem;
    }
    
    .access-option p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .divider-line {
        width: 100%;
        height: 2px;
    }
    
    .btn-access img {
        height: 45px;
    }
    
    .people-image {
        max-width: 250px;
    }
    
    .logo-seger {
        max-width: 180px;
    }
    
    .access-options {
        gap: 1.2rem;
        padding: 1rem 0 5rem 0;
    }
}

/* Mobile Muito Pequeno (360px e menor) */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-main-content {
        padding: 1.5rem 1rem 1.5rem 1rem; 
    }
    
    .hero-main-content h1 {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .hero-main-content .hero-description {
        font-size: 0.8rem;
        padding: 0;
        text-align: left;
    }
    
    .access-option h3 {
        font-size: 0.95rem;
    }
    
    .access-option p {
        font-size: 0.8rem;
    }
    
    .divider-line {
        width: 100%;
        height: 2px;
    }
    
    .access-options {
        gap: 1rem;
        padding: 1rem 0 4rem 0;
    }
    
    .btn-access img {
        height: 40px;
    }
}

/* ==================== ACESSIBILIDADE E UTILITÁRIOS ==================== */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus para navegação por teclado */
*:focus {
    outline: 2px solid var(--text-white);
    outline-offset: 2px;
}

/* Melhorias para leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
} 

/* ==================== PREVENIR SELEÇÃO DE TEXTO ==================== */

/* Prevenir seleção de texto e cursor piscando em elementos visuais */
.logo-seger,
.people-image,
.btn-access,
.btn-access img,
.hero-image,
.access-option h3,
.divider-line {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Garantir que imagens não sejam arrastáveis */
.logo-seger,
.people-image,
.btn-access img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
}

/* Manter texto selecionável apenas onde faz sentido */
.hero-main-content h1,
.hero-main-content .hero-description,
.access-option p {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

/* ==================== CORRIGIR CURSOR DE TEXTO ==================== */

/* Aplicar user-select: none em toda a área do header */
.header,
.header-content,
.header-logo,
.container,
body,
* {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

/* Permitir seleção APENAS nos textos principais */
.hero-main-content h1,
.hero-main-content .hero-description,
.access-option p,
p,
span {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

/* Garantir que nenhum elemento seja arrastável */
img,
button,
div,
section,
header,
main {
    -webkit-user-drag: none;
    -moz-user-drag: none;
    user-drag: none;
}