/* Reset e Variáveis */
:root {
    --primary-color: #1e75c1;
    --secondary-color: #373737;
    --text-color: #373737;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(30, 117, 193, 0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 117, 193, 0.05) 0%, rgba(55, 55, 55, 0.02) 100%);
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(30, 117, 193, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 117, 193, 0.3);
}

.btn-primary:hover {
    background: #155a9e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 117, 193, 0.4);
}

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

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

.btn-full {
    width: 100%;
}

/* Section Styles */
section {
    padding: 100px 0;
    scroll-margin-top: 80px;
    position: relative;
}

section[id] {
    scroll-margin-top: 100px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(30, 117, 193, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Sobre Section */
.sobre {
    background: var(--bg-light);
    position: relative;
    z-index: 2;
}

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

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

.sobre-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow);
    transition: var(--transition);
}

.sobre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-hover);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 117, 193, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.sobre-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.sobre-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.sobre-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow);
}

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

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Serviços Section */
.servicos {
    position: relative;
    z-index: 2;
}

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

.servico-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.servico-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.servico-card-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.servico-card-toggle {
    display: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(30, 117, 193, 0.1);
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.servico-card-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.servico-card.active .servico-card-toggle svg {
    transform: rotate(180deg);
}

.servico-card-content {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

@media (min-width: 769px) {
    .servico-card-content {
        max-height: none !important;
        opacity: 1 !important;
        margin-top: 1.5rem !important;
        display: block !important;
    }
    
    .servico-card-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 0;
    }
    
    .servico-card-header-content {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .servico-icon {
        margin-bottom: 1.5rem;
    }
    
    .servico-card h3 {
        margin-bottom: 1rem;
        margin-top: 0;
    }
    
    .servico-card-toggle {
        display: none;
    }
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-hover);
    border-top-color: var(--primary-color);
}

.servico-icon {
    width: 70px;
    height: 70px;
    background: rgba(30, 117, 193, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.servico-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.servico-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.servico-features {
    list-style: none;
}

.servico-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.servico-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Soluções Section */
.solucoes {
    background: var(--bg-light);
    position: relative;
    z-index: 2;
}

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

.solucao-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.solucao-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.solucao-card-link:hover .solucao-card {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.solucao-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
    margin-bottom: 1rem;
    padding-bottom: 0;
}

.solucao-icon {
    width: 48px;
    height: 48px;
    background: rgba(30, 117, 193, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.solucao-icon-orange {
    background: rgba(249, 115, 22, 0.1);
}

.solucao-icon-orange svg {
    color: #f97316;
}

.solucao-icon-red {
    background: rgba(220, 38, 38, 0.1);
}

.solucao-icon-red svg {
    color: #dc2626;
}

.solucao-icon-blue {
    background: rgba(37, 99, 235, 0.1);
}

.solucao-icon-blue svg {
    color: #2563eb;
}

.solucao-icon-green {
    background: rgba(34, 197, 94, 0.1);
}

.solucao-icon-green svg {
    color: #22c55e;
}

.solucao-icon-gray {
    background: rgba(55, 55, 55, 0.1);
}

.solucao-icon-gray svg {
    color: #373737;
}

.solucao-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solucao-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.solucao-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1rem;
}

.solucao-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.solucao-link:hover {
    gap: 10px;
}

/* Parceiros Section */
.parceiros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.parceiro-link {
    text-decoration: none;
    color: inherit;
}

.parceiro-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.parceiro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-hover);
    border-color: var(--primary-color);
}

.parceiro-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.parceiro-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(30, 117, 193, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Contato Section */
.contato {
    background: var(--bg-light);
    position: relative;
    z-index: 2;
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contato-map {
    position: sticky;
    top: 100px;
}

.map-container {
    margin-top: 2rem;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 20px;
}

.contato-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.recaptcha-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    transition: color 0.3s ease;
}

.recaptcha-info svg {
    flex-shrink: 0;
}

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

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-message.success {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.form-message.error {
    background-color: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border: 1px solid #dc2626;
}

#submitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.g-recaptcha {
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 2rem 0 1rem;
}

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

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-contact a:hover {
    opacity: 0.8;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand .logo {
    margin: 0 0 1rem 0;
}

.footer-logo-img {
    height: 80px;
    filter: brightness(0) invert(1);
}

.footer-copyright {
    color: var(--white);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}


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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solucoes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contato-wrapper {
        grid-template-columns: 1fr;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .contato-map {
        position: static;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-social {
        grid-column: 1 / -1;
        justify-content: center;
    }
    
    .footer-logo-img {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 10px 30px var(--shadow);
        transition: var(--transition);
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .sobre-text {
        grid-template-columns: 1fr;
    }
    
    .servicos-grid,
    .solucoes-grid {
        grid-template-columns: 1fr;
    }
    
    .servico-card {
        padding: 1.5rem;
        cursor: pointer;
    }
    
    .servico-card-toggle {
        display: flex;
    }
    
    .servico-card-header {
        margin-bottom: 0;
    }
    
    .servico-card h3 {
        margin-bottom: 0;
        font-size: 1.2rem;
    }
    
    .servico-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
    }
    
    .servico-card-content {
        max-height: 0;
        opacity: 0;
        margin-top: 0;
        overflow: hidden;
    }
    
    .servico-card.active {
        border-top-color: var(--primary-color);
    }
    
    .servico-card.active .servico-card-content {
        max-height: 1000px;
        opacity: 1;
        margin-top: 1.5rem;
    }
    
    .servico-card:not(.active) .servico-card-content {
        display: none;
    }
    
    .servico-card:hover {
        transform: none;
    }
    
    .servico-card h3 {
        flex: 1;
    }
    
    .parceiros-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-logo-img {
        height: 80px;
    }
    
    .footer-column h4 {
        margin-top: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}
