/* Variáveis CSS com a paleta de cores da IPS */
:root {
    --azul-escuro: #1F3B6D;
    --amarelo: #F4B000;
    --vermelho: #E53935;
    --azul-claro: #2196F3;
    --cinza-claro: #A0A0A0;
    --branco: #ffffff;
    --preto: #000000;
}

/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--preto) 0%, #1a1a1a 50%, var(--preto) 100%);
    color: var(--branco);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header e Logo */
.header {
    padding: 2rem 0;
    text-align: center;
    flex-shrink: 0;
}

.logo {
    display: inline-block;
}

.logo-image {
    margin-bottom: 0.5rem;
}

.logo-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-tagline {
    font-size: 1rem;
    color: var(--cinza-claro);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Conteúdo principal */
.main-content {
    padding: 2rem 0;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.construction-content {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

/* Ícone de construção simples */
.construction-icon {
    margin-bottom: 3rem;
}

.gear-container {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
}

.gear {
    position: absolute;
    border-radius: 50%;
    border: 4px solid;
    animation: rotate 4s linear infinite;
    will-change: transform;
}

.gear-1 {
    width: 70px;
    height: 70px;
    border-color: var(--amarelo);
    top: 15px;
    left: 15px;
    animation-duration: 4s;
}

.gear-2 {
    width: 50px;
    height: 50px;
    border-color: var(--vermelho);
    top: 25px;
    left: 60px;
    animation-duration: 3s;
    animation-direction: reverse;
}

.gear-3 {
    width: 35px;
    height: 35px;
    border-color: var(--azul-claro);
    top: 35px;
    left: 35px;
    animation-duration: 2s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Títulos e textos */
.title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--azul-claro);
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: var(--cinza-claro);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.5;
    word-wrap: break-word;
}

/* Informações de contato */
.contact-info {
    background: rgba(31, 59, 109, 0.1);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 12px;
    border: 1px solid rgba(31, 59, 109, 0.3);
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-info h2 {
    color: var(--azul-claro);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem;
    color: var(--cinza-claro);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: all 0.3s ease;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.contact-item:hover {
    background: rgba(31, 59, 109, 0.2);
    transform: translateX(5px);
}

.contact-item:active {
    transform: translateX(2px);
}

.contact-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--cinza-claro);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    flex-shrink: 0;
}

/* Responsividade - Tablet */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .logo-img {
        max-width: 280px;
    }
    
    .contact-info {
        margin: 2rem 1rem 0 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header {
        padding: 1.5rem 0;
    }
    
    .logo-img {
        max-width: 250px;
    }
    
    .main-content {
        padding: 1.5rem 0;
    }
    
    .gear-container {
        width: 80px;
        height: 80px;
    }
    
    .gear-1 {
        width: 60px;
        height: 60px;
    }
    
    .gear-2 {
        width: 40px;
        height: 40px;
        left: 50px;
    }
    
    .gear-3 {
        width: 30px;
        height: 30px;
    }
    
    .contact-info {
        padding: 1.5rem;
        margin: 1.5rem 0 0 0;
    }
    
    .contact-item {
        padding: 1rem;
        text-align: center;
    }
}

/* Responsividade - Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 1rem 0;
    }
    
    .logo-img {
        max-width: 200px;
    }
    
    .main-content {
        padding: 1rem 0;
    }
    
    .gear-container {
        width: 70px;
        height: 70px;
    }
    
    .gear-1 {
        width: 50px;
        height: 50px;
        top: 10px;
        left: 10px;
    }
    
    .gear-2 {
        width: 35px;
        height: 35px;
        top: 20px;
        left: 40px;
    }
    
    .gear-3 {
        width: 25px;
        height: 25px;
        top: 25px;
        left: 25px;
    }
    
    .contact-info {
        padding: 1rem;
        margin: 1rem 0 0 0;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0.5rem;
        text-align: center;
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
    
    .footer {
        padding: 1.5rem 0;
    }
}

/* Responsividade - Mobile pequeno */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .logo-img {
        max-width: 180px;
    }
    
    .title {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .contact-info {
        padding: 0.8rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
}

/* Melhorias para touch devices */
@media (hover: none) and (pointer: coarse) {
    .logo-img:hover {
        transform: none;
    }
    
    .contact-item:hover {
        transform: none;
        background: rgba(31, 59, 109, 0.1);
    }
    
    .contact-item:active {
        background: rgba(31, 59, 109, 0.3);
        transform: scale(0.98);
    }
}

/* Orientação landscape em mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        padding: 1rem 0;
    }
    
    .main-content {
        padding: 1rem 0;
    }
    
    .logo-img {
        max-width: 200px;
    }
    
    .gear-container {
        width: 60px;
        height: 60px;
    }
    
    .gear-1 {
        width: 40px;
        height: 40px;
    }
    
    .gear-2 {
        width: 30px;
        height: 30px;
        left: 35px;
    }
    
    .gear-3 {
        width: 20px;
        height: 20px;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .gear {
        animation: none;
    }
    
    .logo-img:hover {
        transform: none;
    }
    
    .contact-item:hover {
        transform: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Melhorias para dispositivos de alta densidade */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Suporte para modo escuro do sistema */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, var(--preto) 0%, #0a0a0a 50%, var(--preto) 100%);
    }
}

/* Melhorias para impressão */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .gear {
        animation: none !important;
    }
    
    .contact-info {
        background: #f5f5f5 !important;
        border: 1px solid #ddd !important;
    }
} 