/* Abacode Tecnologia - Global Styles 
   Estilo: Dark & Cyber Tech (Alto Desempenho)
*/

:root {
    --bg-deep: #080C14;
    --bg-card: #10141D;
    --accent: #00E0FF;
    --accent-hover: #9AE5FF;
    --text-main: #F0F2F5;
    --text-dim: #AAB0BC;
    --white: #FFFFFF;
    --border-rgba: rgba(255, 255, 255, 0.05);
}

* { 
    box-sizing: border-box; 
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep) !important;
    color: var(--text-main) !important;
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Tipografia --- */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--white) !important;
    margin-top: 0;
}

/* --- Container --- */


.menu-toggle{
    display:none;
    font-size:30px;
    cursor:pointer;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header & Navegação --- */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(8, 12, 20, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 5%;
    border-bottom: 1px solid var(--border-rgba);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: 0.3s;
    font-weight: 600;
}

nav a:hover { 
    color: var(--accent); 
}

/* --- Seções Gerais --- */
section {
    padding: 100px 0 60px;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 { 
    font-size: clamp(2.2rem, 5vw, 3.5rem); 
    margin-bottom: 1rem; 
}

.hero p { 
    font-size: 1.2rem; 
    color: var(--accent); 
    max-width: 600px; 
}

/* --- Grid de Serviços & Cards --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-rgba);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 224, 255, 0.15);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* --- FAQ --- */
.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-rgba);
    padding-bottom: 1.5rem;
}

.faq-item h4 {
    color: var(--accent) !important;
    margin-bottom: 0.5rem;
}

/* --- Botões (CTAs) --- */
.btn-cta {
    background: var(--accent);
    color: #000 !important;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

/* --- Placeholders de Imagem --- */
.image-placeholder {
    width: 100%;
    height: 200px;
    background: #1a1f2a;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    font-size: 0.8rem;
    text-transform: uppercase;
    border: 1px dashed var(--border-rgba);
}

/* --- Responsividade / Mobile Menu --- */
@media (max-width: 768px) {

    section { padding: 60px 0; }

    .hero { 
        height: auto; 
        padding: 120px 0; 
    }

    /* Mostrar botão hamburguer */
    .menu-toggle{
        display:block;
    }

    /* Esconder menu inicialmente */
    nav{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background: var(--bg-deep);
        flex-direction:column;
        text-align:center;
        border-bottom:1px solid var(--border-rgba);
    }

    nav a{
        display:block;
        padding:15px;
        margin:0;
        border-top:1px solid var(--border-rgba);
    }

    /* Menu aberto */
    nav.active{
        display:flex;
    }

}