/* Importação de fontes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&family=Roboto+Mono:wght@400;500&display=swap');

:root {
    --primary: #2C4A5A;
    --dark: #1E2930;
    --led-green: #10b981;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

.hero-background {
    position: absolute;
    inset: 0;
}

/* --- BACKGROUNDS --- */

.concrete-texture {
    background-color: #F4F6F7;
    /* Mantive a tua lógica de pontos, mas adicionei uma camada de ruído para parecer betão real */
    background-image:
        url("https://www.transparenttextures.com/patterns/concrete-wall.png"),
        radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px);
}

.concrete-light {
    background-color: #ffffff;
    background-image:
        url("https://www.transparenttextures.com/patterns/concrete-wall-3.png"),
        radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px);
}


/* Navbar */
.nav {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.7);
}

/* LED Animado */
.led-status {
    width: 10px;
    height: 10px;
    background-color: var(--led-green);
    border-radius: 50%;
    display: inline-block;
    margin-right: 12px;
    box-shadow: 0 0 10px var(--led-green);
    animation: blink 2s infinite ease-in-out;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.9); }
}

/* VIDEO PLACEHOLDER */

@keyframes scroll {
 0% { transform: translateX(100%); }
 100% { transform: translateX(-100%); }
}

.video {
    background: linear-gradient(135deg, #5d89a4 0%, #163648 100%);
}

.prototipo {
    background: linear-gradient(135deg, #000000 0%, #163648 100%);
}

.scrolling-text {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    color: #ffffff;
    animation: scroll 5s linear infinite;
}

/* TEAM */
h1 {
    font-size: 44px;
    margin-bottom: 70px;
    letter-spacing: 3px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeTitle 1s ease forwards;
}

@keyframes fadeTitle {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* GRID 3x2 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.card {
background: white;
border-radius: 18px;
padding: 25px;
box-shadow: 0 15px 40px rgba(0,0,0,0.08);
position: relative;
overflow: hidden;
transition: all 0.4s ease;
opacity: 0;
transform: translateY(40px);
animation: fadeUp 0.8s ease forwards;

display: flex;
align-items: center;
gap: 25px;
text-align: left;
}

.card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }
.card:nth-child(4) { animation-delay: 0.8s; }
.card:nth-child(5) { animation-delay: 1s; }
.card:nth-child(6) { animation-delay: 1.2s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.card:hover img {
    transform: scale(1.08);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.card p.email {
    font-size: 12px;
    color: #3b82f6;
    margin-bottom: 10px;
    word-break: break-word;
}

.card p.description {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 32px;
    }
}

.concrete-texture {
    background-color: #F4F6F7;
    /* Mantive a tua lógica de pontos, mas adicionei uma camada de ruído para parecer betão real */
    background-image:
        url("https://www.transparenttextures.com/patterns/concrete-wall.png"),
        radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px);
}

.social-buttons {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.email-btn,
.linkedin-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #1e2930;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.email-btn:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
}

.linkedin-btn:hover {
    background: #0A66C2;
    color: white;
    transform: translateY(-3px);
}