/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 20px 0;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600; /* Roboto Semi-Bold */
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 0.6rem;
    color: #cccccc;
}

/* Cabeçalho */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 700; /* Roboto Bold */
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
}

.header .logo-text {
    font-size: 1.26rem; /* 30% menor que 1.8rem original */
}

.logo-accent {
    color: #8b5cf6;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: #8b5cf6;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8b5cf6;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.login-btn {
    background: none;
    border: none;
    color: #cccccc;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.login-btn:hover {
    color: #8b5cf6;
}

/* Seção Hero */
.hero-section {
    padding: 50px 0;
    min-height: 400px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::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(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.highlight-text {
    display: block;
    margin-top: 0.5rem;
}

.highlight-green {
    color: #b79b10;
}

.highlight-purple {
    color: #8b5cf6;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: #cccccc;
    line-height: 1.4;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #b79b10 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #8b5cf6;
}

.btn-secondary:hover {
    background: #8b5cf6;
    transform: translateY(-2px);
}

/* Seções */
.section-header {
    text-align: center;
    margin-bottom: 1.2rem;
}

.section-description {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 1rem;
    color: #cccccc;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #8b5cf6 0%, #b79b10 100%);
    margin: 0 auto;
    border-radius: 2px;
}

/* Seção Sobre */
.about-section {
    background: #111111;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: center;
}

.about-text p {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 0.2rem;
}

.stat-label {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Seção de Serviços */
.services-section {
    background: #0a0a0a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
}

.service-card {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #8b5cf6 0%, #b79b10 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6 0%, #b79b10 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #cccccc;
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-card li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.service-card li i {
    color: #b79b10;
    margin-right: 0.5rem;
}

.read-more {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #b79b10;
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Seção de Portfólio */
.portfolio-section {
    background: #111111;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid rgba(139, 92, 246, 0.3);
    color: #cccccc;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #8b5cf6;
    color: white;
    border-color: #8b5cf6;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.portfolio-item {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Suporte a vídeos no portfólio */
.portfolio-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: none;
}

.portfolio-item iframe {
    width: 100%;
    height: 200px;
    border: none;
    transition: transform 0.3s ease;
}

.portfolio-item:hover iframe {
    transform: scale(1.05);
}

.portfolio-item:hover video {
    transform: scale(1.05);
}

.item-info {
    padding: 1rem;
}

.item-info h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.item-info p {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Seção de Contato */
.contact-section {
    background: #0a0a0a;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-content.single-column {
    display: flex;
    justify-content: center;
}

.contact-form-wrapper {
    width: 100%;
}

.contact-form {
    display: flex;
    gap: 2rem;
}

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

.form-col.right button[type="submit"] {
    align-self: flex-end;
    margin-top: 0.5rem;
}

.contact-form {
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 0.6rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6rem;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888888;
}

.captcha-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.captcha-display {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.captcha-display img {
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 40px;
}

.refresh-captcha-btn {
    background: #8b5cf6;
    border: none;
    color: white;
    padding: 0.4rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.8rem;
}

.refresh-captcha-btn:hover {
    background: #b79b10;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-info-card,
.social-media-card {
    background: #1a1a1a;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-card h3,
.social-media-card h3 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.contact-item i {
    color: #8b5cf6;
    font-size: 1rem;
    margin-top: 0.1rem;
}

.contact-item div {
    flex: 1;
}

.contact-label {
    display: block;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.15rem;
    font-size: 0.85rem;
}

.contact-value {
    color: #cccccc;
    line-height: 1.3;
    font-size: 0.85rem;
}

.social-icons {
    display: flex;
    gap: 0.6rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #2a2a2a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-icons a:hover {
    background: #8b5cf6;
    color: white;
    transform: translateY(-2px);
}

/* Rodapé */
.footer {
    background: #111111;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-content .social-icons {
    order: 3;
    margin-top: 1rem;
}

.footer-text p {
    color: #888888;
    margin: 0;
}

.footer .logo-text {
    font-size: 0.94rem; /* ~30% maior que 0.72rem, ainda menor que o header */
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #1a1a1a;
    margin: 10% auto;
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #cccccc;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #8b5cf6;
}

.modal-content h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
    font-size: 0.9rem;
}

.forgot-password {
    color: #8b5cf6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #b79b10;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section-padding {
        padding: 15px 0;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        gap: 1rem;
    }

    .hero-section {
        padding: 40px 0;
        min-height: 350px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }

    .section-header {
        margin-bottom: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 0.6rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .portfolio-filters {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 35px 0;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-buttons {
        gap: 0.5rem;
    }
    
    .section-padding {
        padding: 15px 0;
    }

    .section-header {
        margin-bottom: 0.8rem;
    }
    
    .service-card,
    .contact-form,
    .contact-info-card,
    .social-media-card {
        padding: 1.2rem;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 1.5rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Área de mensagens do formulário */
.form-message-area {
    border-radius: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.form-message-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
}

.message-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.message-content i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.message-content span {
    line-height: 1.4;
}

/* Animação para a área de mensagens */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 100px;
    }
}

/* Estado de loading do botão */
.contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #666666;
}

.contact-form button[type="submit"]:disabled:hover {
    background: #666666;
    transform: none;
}

/* Loading do portfólio */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #cccccc;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(80, 5, 255, 0.3);
    border-radius: 50%;
    border-top-color: #8b5cf6;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1rem;
}

.loading p {
    margin: 0;
    font-size: 1rem;
    color: #888888;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Área do Cliente no Footer */
.footer-links {
    margin: 1rem 0;
}

.client-area-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.client-area-link:hover {
    color: #8b5cf6;
    border-color: #8b5cf6;
    background: rgba(80, 5, 255, 0.1);
    transform: translateY(-2px);
}

.client-area-link i {
    font-size: 1.1rem;
}

.client-site-logo img {
    height: 50px;
    object-fit: contain;
    margin-right: 20px;
}
.client-site-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-right: 20px;
}

@media (max-width: 768px) {
    .footer-content {
        text-align: center;
    }
    
    .footer-links {
        margin: 1.5rem 0;
    }
}

