/* ==========================================================
   DEFCIBRAS - CSS INSTITUCIONAL DE ELITE
   ========================================================== */

* {
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
}

body {
    background-color: #0a0b10;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

#matrix-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999; pointer-events: none;
    opacity: 0; transition: opacity 0.3s ease;
    background-color: rgba(10, 11, 16, 0.85);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

p { text-align: justify; hyphens: auto; color: #a0aec0; }

/* --- HEADER & NAV --- */
header {
    background: rgba(10, 11, 16, 0.95);
    border-bottom: 1px solid #1a1c25;
    position: sticky; top: 0; z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo-img { height: 80px; width: auto; transition: 0.3s; }

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a { text-decoration: none; color: #cbd5e0; transition: 0.3s; font-weight: 500; }
nav a:hover { color: #00f2ff; }

.btn-contato {
    background: #00f2ff !important;
    color: #0a0b10 !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
}

/* --- HERO SECTION --- */
#hero {
    min-height: 30vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #161b33, #0a0b10);
    padding: 100px 0;
}

#hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; color: #fff; }
#hero h1 span { color: #00f2ff; }
#hero p { font-size: 1.2rem; max-width: 600px; margin-bottom: 35px; }

.cta-group { display: flex; gap: 15px; }

.btn-primary { background: #00f2ff; color: #0a0b10; padding: 14px 35px; text-decoration: none; border-radius: 4px; font-weight: bold; display: inline-block; }
.btn-secondary { border: 1px solid #00f2ff; color: #00f2ff; padding: 14px 35px; text-decoration: none; border-radius: 4px; display: inline-block; }

/* --- SEÇÕES --- */
.section-padding { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.8rem; margin-bottom: 15px; }

/* --- CARDS ESPECIALIDADES --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: #11131c;
    border: 1px solid #1a1c25;
    padding: 45px 35px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
}

.card:hover { transform: translateY(-10px); border-color: #00f2ff; }
.card-icon-img { width: 160px; margin-bottom: 25px; }

/* --- SEÇÃO SOBRE --- */
.sobre-content {
    display: flex;
    align-items: center;
    gap: 60px;
}
.sobre-texto, .sobre-imagem { flex: 1; }
.sobre-texto h2 { font-size: 2.5rem; margin-bottom: 25px; color: #fff; }
.sobre-img { width: 100%; border-radius: 8px; border: 1px solid #1a1c25; box-shadow: 0 0 20px rgba(0,242,255,0.1); }

/* --- FORMULÁRIO DE CONTATO (PC BLINDADO) --- */
.contato-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    background: #11131c;
    padding: 60px;
    border-radius: 8px;
    border: 1px solid #1a1c25;
    align-items: start;
}

.contato-info h2 { font-size: 2.5rem; margin-bottom: 25px; }
.contato-lista { list-style: none; margin-top: 30px; }
.contato-lista li { margin-bottom: 15px; color: #00f2ff; font-weight: bold; }

.contato-form { display: flex; flex-direction: column; gap: 20px; }
.contato-form input, .contato-form textarea {
    width: 100%; padding: 18px;
    background: #0a0b10; border: 1px solid #2d3748;
    color: #fff; border-radius: 4px; font-size: 1rem;
}
.contato-form input:focus, .contato-form textarea:focus { border-color: #00f2ff; outline: none; }

/* --- WHATSAPP DEFCIBRAS --- */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px; right: 30px;
    width: 60px; height: 60px;
    background-color: #00f2ff !important;
    border-radius: 50px; z-index: 10001;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
    transition: 0.3s;
}

.whatsapp-float img {
    width: 32px !important;
    height: 32px !important;
    filter: none; /* Remove qualquer efeito de cor */
    display: block;
}

footer { text-align: center; padding: 50px; border-top: 1px solid #1a1c25; color: #4a5568; }

/* --- RESPONSIVIDADE --- */
@media (max-width: 900px) {
    nav { flex-direction: column; height: auto; padding: 20px 0 !important; gap: 15px; }
    .logo-img { height: 50px; }
    nav ul { gap: 15px; }
    .btn-contato { background: transparent !important; border: 1px solid #00f2ff !important; color: #00f2ff !important; padding: 6px 15px !important; }

    #hero { padding: 60px 0 !important; text-align: center; min-height: auto; }
    #hero h1 { font-size: 2rem !important; }
    .cta-group { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }

    .cards-grid, .contato-container, .sobre-content {
        display: flex !important; flex-direction: column !important;
        align-items: center !important; text-align: center !important; gap: 40px;
    }
    
    .card { width: 100% !important; max-width: 340px; }
    p { text-align: center !important; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
}