@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Orbitron:wght@400;500;700;900&display=swap');

:root {
    --primary-color: #0ea5e9; /* Azul Neon Tecnológico */
    --primary-dark: #0284c7;
    --secondary-color: #475569;
    --bg-light: #0f172a; /* Fundo Escuro (Slate 900) */
    --text-dark: #f1f5f9; /* Texto Claro (Slate 100) */
    --text-light: #94a3b8; /* Texto Muted (Slate 400) */
    --white: #1e293b; /* Fundo dos Cards (Slate 800) */
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --radius: 0.75rem;
    --border-color: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light); /* Agora fundo escuro */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Fonte futurista para botões (exceto admin) */
button:not(.btn-admin), .btn-primary, .btn-orcamento, .btn-whatsapp, .btn-float {
    font-family: 'Orbitron', sans-serif;
}

/* Layout & Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Header & Navigation */
header {
    background-color: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
}

header h1 span {
    opacity: 0;
    display: inline-block;
    animation: fadeStagger 5s ease-in-out infinite;
    animation-delay: calc(0.1s * var(--i));
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Estilo para os links de navegação (Início, Sobre, etc.) */
nav#navbar a:not(.btn-orcamento) {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-family: 'Orbitron', sans-serif;
    transition: color 0.3s, transform 0.2s;
}

nav#navbar a:not(.btn-orcamento):hover {
    color: var(--primary-color);
    transform: scale(1.05); /* Efeito de zoom no hover */
}

.btn-admin, .btn-whatsapp, .btn-orcamento {
    padding: 8px 16px;
    border-radius: var(--radius);
    color: white !important;
    font-size: 0.9rem;
}

.btn-admin { background-color: var(--secondary-color); }
.btn-orcamento { 
    background-color: var(--primary-color); 
    font-weight: bold; 
    background-image: linear-gradient(45deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transition: all 0.3s ease;
}
.btn-orcamento:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.6);
    transform: translateY(-2px);
}

.btn-whatsapp { background-color: #25D366; }

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white !important;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: bold;
    background-image: linear-gradient(45deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.6);
    transform: translateY(-2px);
}

.btn-delete {
    background-color: #ef4444;
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
}
/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    /* A imagem é adicionada aqui, com o gradiente por cima como uma sobreposição */
    background: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(14, 165, 233, 0.5)),
        url('../assets/logo.png'); /* <-- Corrigido para o nome da sua imagem */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito de paralaxe */
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    color: white;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}
.hero p {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
}

/* Cards Grid (Services, Founders) */
.grid-container, .founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card, .founder-card {
    background: var(--white);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative; /* Para elementos absolutos */
    overflow: hidden;
}

.card:hover, .founder-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.35), 0 0 15px rgba(14, 165, 233, 0.2);
}

/* Barra de destaque no topo do card ao passar o mouse */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
}

/* Lista de Serviços dentro dos Cards */
.service-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 0.95em;
    display: flex;
    align-items: flex-start;
    transition: padding-left 0.2s, color 0.2s;
}

/* Remover borda do último item */
.service-list li:last-child {
    border-bottom: none;
}

.service-list li:hover {
    padding-left: 5px;
    color: var(--text-dark);
}

.service-list li::before {
    content: '▹'; /* Seta geométrica */
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1em;
    line-height: 1.4;
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    border-radius: var(--radius);
    font-family: inherit;
}

form button {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    background-image: linear-gradient(45deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

form button:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.6);
    transform: translateY(-2px);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

.founder-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
}

/* Footer */
footer {
    background-color: #0d1424; /* Um pouco mais claro que o fundo do rodapé inferior */
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 60px 0 0;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 1.2rem;
    color: var(--text-dark); /* Texto principal claro */
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section.about h3 {
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--primary-color), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section p, .footer-section a {
    text-decoration: none;
    color: var(--text-light);
    line-height: 1.8;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-bottom {
    background-color: #020617; /* O mais escuro */
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.9em;
}

/* Social Links in Footer */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--text-light);
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

/* Login Page Specific */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

/* Container para Anúncios (Google AdSense) */
.ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    width: 100%;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-light);
        padding: 20px;
        box-shadow: var(--shadow);
    }

    nav.active { display: flex; }
    
    .hero { padding: 60px 20px; }
    h2 { font-size: 1.5rem; }
}

/* Floating Buttons */
.floating-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-float {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.btn-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

.btn-whatsapp-float { background-color: #25D366; }
.btn-email { background-color: #EA4335; } /* Vermelho estilo Gmail */

.btn-float svg { width: 28px; height: 28px; }

/* Keyframes para Animação Fade Stagger */
@keyframes fadeStagger {
    0%, 100% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    20%, 80% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Slider de Portfólio */
.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    background: var(--white);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
    height: 500px; /* Altura do slider */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.slide img, .slide video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mantém a proporção da imagem/vídeo */
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    color: white;
    padding: 15px;
    text-align: center;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    margin-top: 0;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 50%;
    user-select: none;
    background-color: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev {
    left: 16px;
}

.next {
    right: 16px;
    border-radius: 50%;
}

.prev:hover, .next:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}