/* contato.css */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0d0b1a;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background */
.bg-grid {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(118,75,162,0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118,75,162,0.13) 1px, transparent 1px);
    background-size: 52px 52px;
    z-index: -3;
}

.grid-lines {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(150,90,220,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150,90,220,0.04) 1px, transparent 1px);
    background-size: 26px 26px;
    animation: gridMove 18s linear infinite;
    z-index: -2;
}

.grid-lines::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(118,75,162,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(102,63,200,0.06) 0%, transparent 50%);
}

@keyframes gridMove {
    0%   { transform: translateY(0); }
    100% { transform: translateY(26px); }
}

.bg-glow { position: fixed; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }
.bg-glow-1 { width: 600px; height: 600px; top: -200px; left: -200px; background: rgba(118,75,162,0.18); animation: glowPulse 10s ease-in-out infinite; }
.bg-glow-2 { width: 500px; height: 500px; bottom: -150px; right: -150px; background: rgba(102,63,200,0.14); animation: glowPulse 13s ease-in-out 4s infinite; }
.bg-glow-3 { width: 300px; height: 300px; top: 40%; left: 50%; transform: translate(-50%,-50%); background: rgba(150,90,220,0.07); animation: glowPulse 8s ease-in-out 2s infinite; }
@keyframes glowPulse { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }

.bg-sweep { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-sweep::before { content: ''; position: absolute; top: 0; bottom: 0; left: -20%; width: 2px; background: linear-gradient(180deg, transparent 0%, rgba(180,130,255,0.0) 15%, rgba(180,130,255,0.35) 40%, rgba(200,160,255,0.5) 50%, rgba(180,130,255,0.35) 60%, rgba(180,130,255,0.0) 85%, transparent 100%); filter: blur(3px); animation: lineSweep 7s ease-in-out infinite; }
@keyframes lineSweep { 0% { left: -5%; opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { left: 105%; opacity: 0; } }

.star { position: fixed; width: 2px; height: 2px; background: #fff; border-radius: 50%; animation: twinkle 3s infinite; z-index: -1; }
@keyframes twinkle { 0%, 100% { opacity: 0.1; } 50% { opacity: 0.4; } }

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0 50px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(144, 0, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo { font-size: 24px; font-weight: 700; color: #ffffff; letter-spacing: 1px; }

nav { display: flex; gap: 40px; align-items: center; height: 100%; }

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

nav a.btn-aplicacoes {
    background: transparent;
    border: 3px solid #ffffff;
    color: #fff;
    padding: 0 35px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    height: 70px;
    margin-right: -50px;
}

nav a.btn-aplicacoes:hover { background: rgba(255, 255, 255, 0.1); box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }

/* Main Content */
main {
    padding-top: 120px;
    padding-bottom: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 50px;
    padding-right: 50px;
}

.page-title { font-size: 48px; font-weight: 900; color: #fff; margin-bottom: 30px; text-align: center; }

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.contact-item { font-size: 18px; color: rgba(255, 255, 255, 0.9); margin-bottom: 20px; line-height: 1.6; }
.contact-item strong { color: #fff; font-weight: 700; }

.btn-email {
    display: inline-block;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    margin-top: 10px;
}

.btn-email:hover { background: rgba(255, 255, 255, 0.1); box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); }

.cards-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 40px; }

.info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
}

.info-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1); }
.info-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.info-card p { font-size: 16px; color: rgba(255, 255, 255, 0.8); line-height: 1.8; }

.photos-section { display: grid; grid-template-columns: 200px 1fr 200px; gap: 30px; align-items: start; }

.photo-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.photo-box:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1); }

.photo-placeholder {
    width: 150px; height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.photo-label { font-size: 16px; font-weight: 700; color: #fff; text-align: center; }

.center-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
}

.center-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1); }
.center-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.center-card p { font-size: 16px; color: rgba(255, 255, 255, 0.8); line-height: 1.8; }

@media (max-width: 968px) {
    header { padding: 0 20px; }
    main { padding-left: 20px; padding-right: 20px; }
    .cards-container { grid-template-columns: 1fr; }
    .photos-section { grid-template-columns: 1fr; }
    nav a.btn-aplicacoes { height: 60px; padding: 0 20px; margin-right: -20px; }
}