:root {
    /* Opção 1: Azul Profundo + Teal (Recomendado para contabilidade) */
    --primary-color: #2563eb;
    --secondary-color: #0891b2;
    --accent-color: #06b6d4;
    
    --dark-color: #2d3748;
    --light-bg: #f7fafc;
    --border-gray: #e2e8f0;
    --text-gray: #4a5568;
}

body {
    background-color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-gray);
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand img {
    max-height: 50px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.hero-section {
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 100px 0 120px;
    position: relative;
    overflow: visible;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Efeito de grid animado */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Partículas flutuantes */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: floatParticle 20s infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    left: 20%;
    top: 80%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 40%;
    top: 40%;
    animation-delay: 4s;
    animation-duration: 12s;
}

.particle:nth-child(4) {
    left: 60%;
    top: 60%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    left: 80%;
    top: 30%;
    animation-delay: 8s;
    animation-duration: 14s;
}

.particle:nth-child(6) {
    left: 70%;
    top: 70%;
    animation-delay: 3s;
    animation-duration: 17s;
}

.particle:nth-child(7) {
    left: 30%;
    top: 10%;
    animation-delay: 5s;
    animation-duration: 13s;
}

.particle:nth-child(8) {
    left: 90%;
    top: 50%;
    animation-delay: 7s;
    animation-duration: 19s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    50% {
        transform: translate(50px, -100px) scale(1.5);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Cards flutuantes de serviços rápidos */
.hero-quick-cards {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-quick-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.hero-quick-card:nth-child(1) { animation-delay: 0.8s; }
.hero-quick-card:nth-child(2) { animation-delay: 1s; }
.hero-quick-card:nth-child(3) { animation-delay: 1.2s; }

.hero-quick-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-quick-card i {
    font-size: 1.2rem;
}

/* Elementos decorativos flutuantes */
.hero-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    animation: floatIcon 8s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 40%;
    right: 25%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    top: 65%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* Linhas decorativas corporativas */
.hero-lines-divider {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    z-index: 10;
}

.hero-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 20%, 
        var(--secondary-color) 50%, 
        var(--accent-color) 80%, 
        transparent 100%);
    opacity: 0.3;
    animation: lineGlow 3s ease-in-out infinite;
}

.hero-line:nth-child(1) {
    animation-delay: 0s;
    opacity: 0.5;
    width: 80%;
    margin: 0 auto;
}

.hero-line:nth-child(2) {
    animation-delay: 1s;
    opacity: 0.3;
    width: 60%;
    margin: 0 auto;
}

.hero-line:nth-child(3) {
    animation-delay: 2s;
    opacity: 0.2;
    width: 40%;
    margin: 0 auto;
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.2;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.6;
        transform: scaleX(0.95);
    }
}

.hero-section h1 {
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
    font-weight: 800;
}

.hero-section .lead {
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section .fs-5 {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.section-title {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Seção de Serviços */
#servicos {
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

#servicos::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.service-card {
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.service-card h4 {
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card:hover h4 {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Seção de Estatísticas */
.stats-section {
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Seção Sobre */
#sobre {
    position: relative;
    overflow: hidden;
}

#sobre::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

#sobre img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#sobre img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(102, 126, 234, 0.3);
}

#sobre .bi-check-circle-fill {
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

#sobre h5 {
    color: var(--dark-color);
    font-weight: 600;
}

/* Seção de Contato */
.contact-section {
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info {
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-info i {
    color: white;
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-section > div > div:first-child {
    transition: transform 0.3s ease;
}

.contact-section > div > div:first-child:hover {
    transform: translateY(-5px);
}

.btn-custom {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
}

.btn-custom:hover::before {
    left: 100%;
}

.btn-custom:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.btn-custom i {
    transition: transform 0.3s ease;
}

.btn-custom:hover i {
    transform: scale(1.2);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.footer {
    background: var(--dark-gray);
    color: black;
    padding: 30px 0;
}

.footer a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--light-gray);
}

.map-container {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-lines-divider {
        bottom: -30px;
        height: 30px;
    }
    
    .hero-line {
        height: 1.5px;
    }
    
    .hero-quick-cards {
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .floating-icon {
        display: none;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Adicionar destaque nos links de contato */
.contact-info a {
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-info a:hover {
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
