/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF4757;
    --secondary-color: #1E3A5F;
    --dark-blue: #0F2137;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-img {
    height: 50px;
    width: auto;
}

.hero-logo {
    max-width: 300px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 3px 3px 20px rgba(0,0,0,0.4);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

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

.btn-login {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-blue) 100%);
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        linear-gradient(45deg, var(--primary-color) 25%, transparent 25%),
        linear-gradient(-45deg, var(--primary-color) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--primary-color) 75%),
        linear-gradient(-45deg, transparent 75%, var(--primary-color) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.highlight {
    color: var(--primary-color);
    display: block;
    font-size: 4rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #ff3344;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* Sections */
section {
    padding: 5rem 0;
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Services */
.services {
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b7a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Quem Somos */
.quem-somos {
    padding: 5rem 0;
    background: white;
    text-align: center;
}

.quem-somos-content {
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.sobre-texto {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.sobre-texto h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.sobre-texto p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
    text-align: center;
}

.sobre-texto strong {
    color: var(--primary-color);
    font-weight: 700;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    justify-items: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.valor-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    max-width: 350px;
}

.valor-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.2);
}

.valor-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b7a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.valor-card h4 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.valor-card p {
    color: #666;
    line-height: 1.6;
    text-align: center;
}

.valores-lista {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
}

.valores-lista li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.valores-lista i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.diferenciais {
    margin-bottom: 4rem;
    text-align: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.diferenciais h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.diferencial-item {
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 280px;
}

.diferencial-item:hover {
    transform: translateY(-5px);
}

.diferencial-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.diferencial-item h5 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    text-align: center;
}

.diferencial-item p {
    color: #666;
    font-size: 0.95rem;
    text-align: center;
}

.estatisticas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--dark-blue), #0F2137);
    border-radius: 20px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    color: white;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-align: center;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.portfolio-image {
    height: 250px;
    overflow: hidden;
    background: var(--secondary-color);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.tecnologias {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    background: var(--light-gray);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

/* Videos */
.videos {
    background: var(--light-gray);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.video-thumbnail {
    height: 200px;
    background: var(--dark-blue);
}

.video-thumbnail iframe {
    width: 100%;
    height: 100%;
}

.video-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--primary-color);
    font-size: 3rem;
}

.video-placeholder a {
    color: var(--white);
    text-decoration: none;
    background: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.video-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Clientes Section */
.clientes-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.clientes-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    margin-top: 3rem;
}

.cliente-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 120px;
    width: 100%;
    max-width: 200px;
}

.cliente-logo-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cliente-logo-link img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.cliente-logo-link:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .clientes-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .cliente-logo-link {
        height: 100px;
    }
}

/* Contato */
.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contato-info {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    color: var(--white);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item h4 {
    margin-bottom: 0.3rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.contato-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contato-form .btn {
    width: 100%;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.mensagem-sucesso {
    background: #00b894;
    color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.mensagem-erro {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.no-content {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 2rem;
    grid-column: 1 / -1;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .highlight {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Quem Somos Responsive */
    .valores-grid {
        grid-template-columns: 1fr;
    }

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

    .estatisticas {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .sobre-texto h3 {
        font-size: 1.5rem;
    }

    .sobre-texto p {
        font-size: 1rem;
    }
}
