/* --- GERAL E VARIÁVEIS --- */
:root {
    --bg-color: #0A0A0A;
    --surface-color: #121212;
    --text-color: #EAEAEA;
    --primary-color: #007BFF; /* Azul Elétrico */
    --primary-hover: #00C2FF; /* Ciano para hover */
    --title-font: 'Rajdhani', 'Orbitron', sans-serif;
    --body-font: 'Inter', 'Poppins', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--body-font);
    line-height: 1.6;
}

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

.section {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--title-font);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* --- HEADER --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

#header.scrolled {
    background-color: var(--surface-color);
}

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

#header .logo {
    font-family: var(--title-font);
    font-size: 1.8rem;
    color: var(--text-color);
    text-decoration: none;
}

#header .menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

#header .menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

#header .menu a:hover {
    color: var(--primary-color);
}

/* --- HERO --- */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

#hero .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color); /* Fallback */
    z-index: 1;
}

#hero .video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

#hero .hero-content {
    position: relative;
    z-index: 3;
    padding: 0 1rem;
}

#hero h1 {
    font-family: var(--title-font);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-family: var(--body-font);
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* --- SOBRE --- */
#sobre .sobre-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

#sobre .sobre-img img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

#sobre .sobre-text h2 {
    font-family: var(--title-font);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

#sobre .sobre-text p {
    margin-bottom: 1rem;
}

#sobre .formacao {
    list-style: none;
    margin-top: 2rem;
}

#sobre .formacao li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

#sobre .formacao span {
    margin-right: 10px;
}

/* --- PORTFÓLIO --- */
#portfolio {
    background-color: var(--surface-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.card h3 {
    font-family: var(--title-font);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Faz o parágrafo ocupar o espaço disponível */
}

.card .stores {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card .stores img {
    height: 30px;
}

.card-button {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.card-button:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* --- DEPOIMENTOS --- */
.depoimentos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.depoimento-card {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.depoimento-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.depoimento-card cite {
    font-weight: bold;
    color: var(--text-color);
}

/* --- CONTATO --- */
#contato {
    background-color: var(--surface-color);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contato-text {
    padding: 20px;
}

.contato-text h2 {
    font-family: var(--title-font);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contato-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contato-form input,
.contato-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--body-font);
}

.contato-form input::placeholder,
.contato-form textarea::placeholder {
    color: #888;
}

#form-feedback {
    margin-top: 1rem;
    font-weight: bold;
}

/* --- FOOTER --- */
#footer {
    background-color: var(--bg-color);
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid #222;
}

#footer .social-links {
    margin-bottom: 1.5rem;
}

#footer .social-links a {
    color: var(--text-color);
    margin: 0 1rem;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

#footer .social-links a:hover {
    color: var(--primary-color);
}

#footer .footer-nav {
    margin-bottom: 1rem;
}

#footer .footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

#footer .footer-nav a:hover {
    color: var(--primary-color);
}

#footer .footer-contact a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

#footer .footer-contact a:hover {
    color: var(--primary-color);
}

#footer .copyright {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #888;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    #hero h1 {
        font-size: 2.8rem;
    }

    #sobre .sobre-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #sobre .sobre-img {
        margin-bottom: 2rem;
    }

    .contato-content {
        grid-template-columns: 1fr;
    }

    .contato-text {
        text-align: center;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #header .menu {
        /* Adicionar lógica para menu hamburguer aqui se necessário */
        display: none; 
    }

    #hero h1 {
        font-size: 2.2rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .depoimentos-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
