/* 
 * Dinâmica Contábil - Despachante Veicular
 * Estilos principais para o site
 */

/*--------------------------------------------------------------
# Variáveis Globais e Reset
--------------------------------------------------------------*/
:root {
    --color-primary: #e63946;
    --color-secondary: #1d3557;
    --color-accent: #457b9d;
    --color-background: #f1faee;
    --color-text: #333;
    --color-light: #f8f9fa;
    --color-dark: #212529;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--color-background);
}

/*--------------------------------------------------------------
# Estilos Gerais
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: #d12836;
    border-color: #d12836;
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.text-primary {
    color: var(--color-primary) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.section-title {
    margin-bottom: 2rem;
}

.section-title h6 {
    font-weight: 600;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-title h2 {
    margin-bottom: 0;
    position: relative;
}

/* Cookie Alert */
.cookie-alert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-dark);
    color: white;
    padding: 15px 0;
    z-index: 9998;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-content p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
}

/*--------------------------------------------------------------
# Header e Navegação
--------------------------------------------------------------*/
.navbar {
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary) !important;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    background: url('../images/banner.jpg') no-repeat center center;
    background-size: cover;
    height: 80vh;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(29, 53, 87, 0.8), rgba(29, 53, 87, 0.8));
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
}

.promo-banner {
    background-color: var(--color-primary);
    color: white;
    padding: 10px 0;
}

.promo-content span {
    margin: 0 20px;
    display: inline-block;
}

.promo-content i {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
}

/*--------------------------------------------------------------
# Sobre Nós
--------------------------------------------------------------*/
.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/*--------------------------------------------------------------
# Serviços
--------------------------------------------------------------*/
.service-card {
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card .icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.service-card h4 {
    margin-bottom: 15px;
}

.service-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.service-list li {
    margin-bottom: 10px;
}

.service-list i {
    color: var(--color-primary);
    margin-right: 10px;
}

/*--------------------------------------------------------------
# Depoimentos
--------------------------------------------------------------*/
.testimonial-item {
    padding: 20px;
}

.testimonial-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-content:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    font-style: italic;
    position: relative;
}

.testimonial-text::before, .testimonial-text::after {
    content: '\201C';
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--color-primary);
    position: absolute;
    opacity: 0.3;
}

.testimonial-text::before {
    top: -20px;
    left: -10px;
}

.testimonial-text::after {
    content: '\201D';
    bottom: -40px;
    right: 0;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.rating {
    color: #ffc107;
    margin-top: 5px;
}

/*--------------------------------------------------------------
# Contato
--------------------------------------------------------------*/
.contact-info-box, .contact-form-box {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-item .icon {
    min-width: 40px;
    height: 40px;
    background-color: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-primary);
}

.contact-item h5 {
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--color-primary);
    color: white;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    background-color: var(--color-dark);
    color: white;
}

.footer h4, .footer h5 {
    color: white;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
}

/*--------------------------------------------------------------
# Política de Privacidade e Termos
--------------------------------------------------------------*/
.policy-content, .terms-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/*--------------------------------------------------------------
# Responsividade
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
    .service-card, .testimonial-content, .contact-info-box, .contact-form-box {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
} 