﻿/* ============================================
   CABRAL CONSULTORIA - DESIGN MODERNO
   RenovaÃ§Ã£o Visual 2025
   ============================================ */

:root {
    --cor-primaria: #0f7a4f;
    --cor-secundaria: #0c5f3d;
    --cor-destaque: #13a66a;
    --cor-texto: #333333;
    --cor-texto-claro: #666666;
    --cor-fundo: #ffffff;
    --cor-fundo-claro: #f8f9fa;
    --cor-borda: #e0e0e0;
    --sombra-suave: 0 2px 10px rgba(0,0,0,0.1);
    --sombra-media: 0 4px 20px rgba(0,0,0,0.15);
    --transicao: all 0.3s ease;
}

/* ============================================
   HEADER MODERNO
   ============================================ */
.main-header {
    background: #fff;
    box-shadow: var(--sombra-suave);
    position: relative;
    z-index: 1000;
}

.main-header .navbar {
    margin-bottom: 0;
    border: none;
    min-height: 80px;
}

.main-header .navbar-brand {
    padding: 15px 0;
}

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

.main-header .navbar-nav > li > a {
    color: var(--cor-texto);
    font-weight: 500;
    padding: 30px 20px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transicao);
}

.main-header .navbar-nav > li > a:hover,
.main-header .navbar-nav > li.active > a {
    color: var(--cor-primaria);
    background: transparent;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    color: white;
    overflow: hidden;
    padding: 100px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: var(--cor-primaria);
    border: 2px solid white;
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transicao);
}

.btn-primary:hover {
    background: var(--cor-fundo-claro);
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
    color: var(--cor-primaria);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transicao);
}

.btn-outline:hover {
    background: white;
    color: var(--cor-primaria);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    display: block;
}

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

/* ============================================
   SERVIÃ‡OS SECTION
   ============================================ */
.services-section {
    padding: 100px 0;
    background: var(--cor-fundo-claro);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cor-texto);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--cor-texto-claro);
    margin-bottom: 60px;
}

.service-grid {
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--sombra-suave);
    transition: var(--transicao);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-media);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--cor-primaria);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--cor-texto-claro);
    line-height: 1.8;
    flex: 1;
    margin-bottom: 20px;
}

.service-link {
    color: var(--cor-primaria);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transicao);
    display: inline-block;
}

.service-link:hover {
    color: var(--cor-secundaria);
    transform: translateX(5px);
}

/* ============================================
   SOBRE SECTION
   ============================================ */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--sombra-media);
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cor-texto);
    margin-bottom: 20px;
}

.about-content .lead {
    font-size: 1.2rem;
    color: var(--cor-primaria);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--cor-texto-claro);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-values {
    margin-top: 30px;
}

.value-item {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--cor-fundo-claro);
    border-radius: 8px;
    border-left: 4px solid var(--cor-primaria);
}

.value-item h4 {
    color: var(--cor-primaria);
    font-weight: 600;
    margin-bottom: 10px;
}

.value-item h4 i {
    margin-right: 10px;
}

.value-item p {
    margin: 0;
    color: var(--cor-texto-claro);
}

/* ============================================
   DIFERENCIAIS SECTION
   ============================================ */
.features-section {
    padding: 100px 0;
    background: var(--cor-fundo-claro);
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--sombra-suave);
    transition: var(--transicao);
    margin-bottom: 30px;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
}

.feature-icon {
    font-size: 3rem;
    color: var(--cor-primaria);
    margin-bottom: 20px;
}

.feature-box h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--cor-texto-claro);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-section .lead {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn-white {
    background: white;
    color: var(--cor-primaria);
    border: 2px solid white;
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transicao);
}

.btn-white:hover {
    background: var(--cor-fundo-claro);
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
    color: var(--cor-primaria);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-widget h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-widget p {
    color: #999;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transicao);
}

.footer-links a:hover {
    color: var(--cor-destaque);
    padding-left: 5px;
}

.footer-widget address {
    color: #999;
    line-height: 1.8;
}

.footer-widget address strong {
    color: white;
    display: block;
    margin-bottom: 10px;
}

.footer-widget address a {
    color: var(--cor-destaque);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 40px;
}

.footer-bottom p {
    color: #999;
    margin: 0;
}

.footer-bottom a {
    color: var(--cor-destaque);
    text-decoration: none;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .service-card,
    .feature-box {
        margin-bottom: 30px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

/* ============================================
   STICKY HEADER
   ============================================ */
.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--sombra-media);
}

.main-header.sticky .navbar {
    min-height: 70px;
}

.main-header.sticky .navbar-brand {
    padding: 10px 0;
}

.main-header.sticky .logo-img {
    max-height: 45px;
}

.main-header.sticky .navbar-nav > li > a {
    padding: 25px 20px;
}

/* ============================================
   SCROLL UP BUTTON
   ============================================ */
.scrollup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--cor-primaria);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transicao);
    z-index: 1000;
    box-shadow: var(--sombra-media);
    text-decoration: none;
}

.scrollup.visible {
    opacity: 1;
    visibility: visible;
}

.scrollup:hover {
    background: var(--cor-secundaria);
    transform: translateY(-5px);
    color: white;
}

/* ============================================
   ANIMAÃ‡Ã•ES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}





