/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de cores baseada na logo */
    --primary-dark: #1a1f2e;      /* Azul-acinzentado escuro */
    --primary-gold: #d4af37;      /* Dourado metálico */
    --primary-silver: #c0c0c0;    /* Prata/Cinza metálico */
    --secondary-dark: #2a2f3e;    /* Cinza escuro */
    --accent-blue: #3a4f6b;       /* Azul acento */
    --text-light: #ffffff;        /* Texto claro */
    --text-dark: #1a1f2e;        /* Texto escuro */
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --shadow-light: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navegação */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 31, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-hexagon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-silver), var(--primary-gold));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px var(--shadow-dark);
}

.logo-hexagon::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--secondary-dark);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.logo-symbol {
    color: var(--primary-gold);
    font-weight: 900;
    font-size: 18px;
    z-index: 1;
    text-shadow: 0 2px 4px var(--shadow-dark);
}

.logo-text h1 {
    color: var(--primary-gold);
    font-size: 24px;
    font-weight: 900;
    text-shadow: 0 2px 4px var(--shadow-dark);
    letter-spacing: 2px;
}

.logo-text span {
    color: var(--primary-silver);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.admin-link {
    background: var(--primary-gold);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.admin-link:hover {
    background: var(--primary-silver);
    color: var(--text-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-blue) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(192,192,192,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-gold);
    text-shadow: 0 4px 8px var(--shadow-dark);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-silver);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.hero-highlight {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-silver));
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-silver);
    border: 2px solid var(--primary-silver);
}

.btn-secondary:hover {
    background: var(--primary-silver);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Floating Cards */
.floating-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--shadow-light);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 2s; }
.card:nth-child(3) { animation-delay: 4s; }

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.card i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.card h4 {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-gold);
    text-shadow: 0 4px 8px var(--shadow-dark);
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-silver));
    margin: 0 auto;
    border-radius: 2px;
}

/* Quem Somos Section */
.quem-somos {
    padding: 6rem 0;
    background: var(--secondary-dark);
}

.quem-somos-content {
    text-align: center;
}

.quem-somos-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--shadow-light);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: var(--primary-silver);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Tecnologia Section */
.tecnologia {
    padding: 6rem 0;
    background: var(--primary-dark);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-silver));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.tech-icon i {
    font-size: 2rem;
    color: var(--text-dark);
}

.tech-item h3 {
    color: var(--primary-silver);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.tech-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Serviços Section */
.servicos {
    padding: 6rem 0;
    background: var(--secondary-dark);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servico-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.servico-card:hover::before {
    left: 100%;
}

.servico-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-silver));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.servico-icon i {
    font-size: 2rem;
    color: var(--text-dark);
}

.servico-card h3 {
    color: var(--primary-silver);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.servico-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Redes Sociais Section */
.redes-sociais {
    padding: 6rem 0;
    background: var(--primary-dark);
}

.redes-grid {
    display: flex;
    justify-content: center;
}

.rede-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
}

.rede-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.rede-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-silver));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.rede-icon i {
    font-size: 3rem;
    color: var(--text-dark);
}

.rede-item h3 {
    color: var(--primary-silver);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.rede-item p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Contato Section */
.contato {
    padding: 6rem 0;
    background: var(--secondary-dark);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--shadow-light);
}

.contato-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-silver));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contato-icon i {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.contato-details h4 {
    color: var(--primary-silver);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contato-details p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Formulário de Contato */
.contato-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--shadow-light);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--primary-silver);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--shadow-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-hexagon.small {
    width: 40px;
    height: 40px;
}

.logo-hexagon.small .logo-symbol {
    font-size: 14px;
}

.footer-text h3 {
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.footer-text span {
    color: var(--primary-silver);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--primary-silver);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-contact p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--primary-gold);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--shadow-light);
}

.footer-bottom p {
    color: var(--primary-silver);
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow-dark);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .hero-highlight {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contato-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .floating-cards {
        order: -1;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-highlight {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* Animações de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--shadow-light);
    border-radius: 50%;
    border-top-color: var(--primary-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
