/* ========================================
   HOLY CONTABILIDADE - LAYOUT
   Versão: 1.0
   Autor: DataNove Tecnologia

   Estrutura do site
   (header, footer, sections, grids, etc)
======================================== */

/* ========================================
   TOP BAR
======================================== */
.top-bar {
    background: var(--gradient-primary);
    padding: var(--spacing-md) 0;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

.top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-links {
    display: flex;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
    justify-content: center;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.header {
    background: var(--light-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: var(--spacing-lg) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.logo-icon i {
    font-size: var(--font-size-3xl);
    color: var(--light-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: var(--font-size-xs);
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-2xl);
    align-items: center;
    margin: 0;
}

.nav-menu a {
    color: var(--gray-dark);
    font-weight: 600;
    font-size: var(--font-size-base);
    position: relative;
    padding: var(--spacing-sm) 0;
    transition: var(--transition-base);
}

.nav-menu a:not(.btn-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: var(--transition-base);
    border-radius: var(--radius-full);
}

.nav-menu a:not(.btn-cta):hover::after {
    width: 100%;
}

.nav-menu a:not(.btn-cta):hover {
    color: var(--primary-color);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1554224311-beee460c201f?w=1920') center/cover;
    opacity: 0.15;
    animation: kenburns 20s ease infinite alternate;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,61,165,0.95) 0%, rgba(0,36,97,0.98) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--light-color);
    margin-bottom: var(--spacing-xl);
    line-height: 1.1;
    font-weight: 800;
}

.title-line {
    display: block;
}

.title-highlight {
    background: linear-gradient(135deg, var(--accent-color) 0%, #00E5FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: var(--spacing-md);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--spacing-2xl);
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
}

/* ========================================
   SECTIONS GERAIS
======================================== */
section {
    padding: var(--spacing-4xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-color);
    margin-bottom: var(--spacing-lg);
    font-weight: 800;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 0 auto;
    border-radius: var(--radius-full);
}

/* ========================================
   VALORES SECTION - LAYOUT
======================================== */
.valores-section {
    background: var(--gray-lightest);
}

.valores-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.valores-image {
    position: relative;
}

.valores-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.valores-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

/* ========================================
   SERVIÇOS SECTION - LAYOUT
======================================== */
.servicos-section {
    background: var(--light-color);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-2xl);
}

/* ========================================
   QUEM SOMOS SECTION - LAYOUT
======================================== */
.quem-somos-section {
    background: var(--gray-lightest);
}

.quem-somos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.quem-somos-text {
    position: relative;
}

.quem-somos-text h3 {
    font-size: var(--font-size-3xl);
    color: var(--dark-color);
    margin-bottom: var(--spacing-xl);
    padding-left: var(--spacing-3xl);
    font-weight: 800;
}

.quem-somos-text p {
    color: var(--gray-medium);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.quem-somos-image {
    position: relative;
}

.quem-somos-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   CONTATO SECTION - LAYOUT
======================================== */
.contato-section {
    background: var(--light-color);
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.contato-form-wrapper {
    background: var(--light-color);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: var(--font-size-2xl);
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--gradient-dark);
    color: var(--light-color);
    padding: var(--spacing-4xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-desc {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.footer-links h4,
.footer-contact h4 {
    font-size: var(--font-size-lg);
    color: var(--light-color);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-md);
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: var(--spacing-sm);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    color: rgba(255,255,255,0.8);
}

.footer-contact i {
    color: var(--accent-color);
    font-size: var(--font-size-lg);
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--spacing-sm);
}

.footer-credits a {
    color: var(--accent-color);
    font-weight: 600;
}

.footer-credits a:hover {
    text-decoration: underline;
}

/* ========================================
   BOTÕES FLUTUANTES
======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: var(--spacing-2xl);
    right: var(--spacing-2xl);
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--light-color);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
}

.scroll-top-btn.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.whatsapp-float {
    position: fixed;
    bottom: var(--spacing-2xl);
    left: var(--spacing-2xl);
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--light-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: var(--z-fixed);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}
