/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFD700;
    --secondary-color: #1E3A8A;
    --accent-color: #059669;
    --background-color: #F8FAFC;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-color);
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary, .btn-secondary, .btn-whatsapp, .btn-submit, .btn-card, .btn-servico, .btn-cookie {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: #F5C842;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #1E40AF;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1FA851;
}

.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.icon-large {
    width: 48px;
    height: 48px;
    fill: currentColor;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: var(--white);
    padding: 16px 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
}

.cookie-content a {
    color: var(--primary-color);
}

.btn-cookie {
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 8px 16px;
    font-size: 14px;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--accent-color), #10B981);
    color: var(--white);
    padding: 12px 0;
    position: relative;
    overflow: hidden;
}

.promo-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: slideIn 0.5s ease;
}

.promo-text {
    text-align: center;
    font-weight: 500;
}

.close-promo {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.close-promo:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.tagline {
    font-size: 14px;
    color: var(--text-light);
}

.header-contact {
    display: flex;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
}

/* Navigation */
.main-nav {
    background: var(--secondary-color);
    padding: 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(5, 150, 105, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    color: var(--white);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.contact-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 24px;
    color: var(--secondary-color);
}

.contact-info {
    margin-bottom: 24px;
}

.contact-card .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-card .contact-item div {
    flex: 1;
}

.contact-card .contact-item strong {
    display: block;
    margin-bottom: 2px;
}

.contact-card .contact-item span {
    font-size: 14px;
    color: var(--text-light);
}

.btn-card {
    background: var(--accent-color);
    color: var(--white);
    width: 100%;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    color: var(--white);
    font-size: 32px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Sobre Section */
.section-sobre {
    background: var(--white);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-item {
    margin-bottom: 40px;
}

.sobre-item h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.valores-list {
    list-style: none;
}

.valores-list li {
    margin-bottom: 12px;
    padding-left: 0;
}

.sobre-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--background-color);
    border-radius: var(--border-radius);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.sobre-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sobre-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 24px;
    text-align: center;
}

/* Serviços Section */
.section-servicos {
    background: var(--background-color);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.servico-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.servico-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.servico-icon {
    margin-bottom: 24px;
    color: var(--accent-color);
}

.servico-titulo {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.servico-descricao {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-servico {
    background: var(--accent-color);
    color: var(--white);
}

.servicos-destaque {
    background: var(--white);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow);
}

.destaque-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 32px;
}

.destaque-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.destaque-item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.destaque-item .icon {
    color: var(--accent-color);
}

/* Depoimentos Section */
.section-depoimentos {
    background: var(--white);
}

.depoimentos-carousel {
    position: relative;
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.depoimento-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.depoimento-slide.active {
    display: block;
    opacity: 1;
}

.depoimento-card {
    background: var(--background-color);
    padding: 40px;
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

.depoimento-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cliente-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.cliente-info {
    text-align: left;
}

.cliente-nome {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.cliente-empresa {
    font-size: 14px;
    color: var(--text-light);
}

.depoimento-rating {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 24px;
}

.star {
    width: 20px;
    height: 20px;
    fill: var(--border-color);
}

.star.filled {
    fill: var(--primary-color);
}

.depoimento-texto {
    font-size: 18px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
}

.carousel-btn {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
}

.depoimentos-stats {
    text-align: center;
}

.stat-box {
    display: inline-block;
    background: var(--background-color);
    padding: 24px 32px;
    border-radius: var(--border-radius);
}

.stat-box .stat-number {
    font-size: 36px;
    color: var(--accent-color);
}

.stat-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

/* Contato Section */
.section-contato {
    background: var(--background-color);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contato-info h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.info-item .icon {
    color: var(--accent-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.social-links {
    margin-top: 40px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.social-link.whatsapp {
    background: #25D366;
    color: var(--white);
}

.contato-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contato-form h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    margin: 32px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
}

.checkbox-label input:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 12px;
}

.btn-submit {
    background: var(--accent-color);
    color: var(--white);
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 18px;
}

.btn-submit:hover {
    background: #047857;
}

.form-messages {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--border-radius);
    display: none;
}

.form-messages.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.form-messages.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.mapa-container {
    margin-top: 60px;
}

.mapa-container h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 24px;
    text-align: center;
}

.mapa-embed {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
.main-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 8px;
    color: #D1D5DB;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #D1D5DB;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #374151;
}

.footer-copyright {
    color: #9CA3AF;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
    background: #1FA851;
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: var(--shadow-lg); }
    50% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0.3); }
    100% { box-shadow: var(--shadow-lg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contato-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .sobre-stats {
        grid-template-columns: 1fr;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .destaque-items {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .header-contact {
        display: none;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-card {
        padding: 24px;
    }
    
    .contato-form {
        padding: 24px;
    }
    
    .destaque-content {
        padding: 32px 24px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
    }
}

/* Print styles */
@media print {
    .whatsapp-float,
    .cookie-banner,
    .promo-banner,
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Animações de entrada */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: slideIn 0.6s ease-out;
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modo escuro */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #1F2937;
        --white: #374151;
        --text-dark: #F9FAFB;
        --text-light: #D1D5DB;
        --border-color: #4B5563;
    }
} 