/* 
* Logitek - Despachante Veicular
* CSS personalizado
*/

:root {
    /* Cores principais */
    --primary-color: #4CAF50;         /* Verde */
    --secondary-color: #FFB74D;       /* Laranja Suave */
    --accent-color: #2196F3;          /* Azul */
    --background-color: #f8f9fa;      /* Cinza Claro */
    
    /* Cores de texto */
    --text-dark: #343a40;
    --text-light: #6c757d;
    --text-white: #ffffff;
    
    /* Outras cores */
    --border-color: #dee2e6;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(45deg, #4CAF50, #2E7D32);
    
    /* Fontes */
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    /* Arredondamento */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    
    /* Transições */
    --transition-speed: 0.3s;
}

/* ======= Estilos Gerais ======= */
body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: #2E7D32;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2E7D32;
    border-color: #2E7D32;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h6 {
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-weight: 600;
    position: relative;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
}

.line {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.line.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ======= Preloader ======= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(76, 175, 80, 0.2);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ======= Cookie Notice ======= */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 999;
    display: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 1rem;
}

.btn-cookie {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.btn-cookie:hover {
    background-color: #2E7D32;
}

/* ======= WhatsApp Float ======= */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

/* ======= Header & Navigation ======= */
.header {
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    font-family: var(--font-secondary);
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all var(--transition-speed) ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* ======= Hero Banner ======= */
.hero-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--text-white);
}

.hero-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-secondary);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Banner Promocional Deslizante */
.promo-banner {
    background-color: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 0.75rem 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.promo-carousel {
    display: flex;
    overflow: hidden;
    position: relative;
}

.promo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    white-space: nowrap;
    animation: promo-scroll 20s linear infinite;
}

.promo-item i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.promo-item p {
    margin-bottom: 0;
    font-weight: 500;
}

@keyframes promo-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ======= Sobre Nós ======= */
.sobre-section {
    padding: 5rem 0;
}

.sobre-img {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.sobre-destaque {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.sobre-info-blocks {
    margin-top: 2rem;
}

.sobre-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.sobre-info-item .icon-wrap {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.sobre-info-item .info h5 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.sobre-info-item .info p {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ======= Serviços ======= */
.servicos-section {
    padding: 5rem 0;
}

.servico-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) ease;
    text-align: center;
    border-top: 3px solid transparent;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--primary-color);
}

.servico-card .icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all var(--transition-speed) ease;
}

.servico-card:hover .icon-wrapper {
    background-color: var(--primary-color);
    color: white;
}

.servico-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.servico-lista {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
    text-align: left;
}

.servico-lista li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.servico-lista li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* ======= Depoimentos ======= */
.depoimentos-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.depoimento-card {
    padding: 2.5rem;
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    margin: 1rem 0;
}

.ratings i {
    color: var(--warning-color);
    font-size: 1.2rem;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 1rem;
}

.quote::before,
.quote::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.quote::before {
    top: -10px;
    left: -10px;
}

.quote::after {
    bottom: -30px;
    right: -10px;
}

.depoimento-autor {
    display: flex;
    align-items: center;
}

.autor-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid var(--primary-color);
}

.autor-info h5 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.autor-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.carousel-indicators {
    bottom: -3rem;
}

.carousel-indicators button {
    background-color: var(--border-color) !important;
    height: 10px !important;
    width: 10px !important;
    border-radius: 50% !important;
    opacity: 1 !important;
}

.carousel-indicators button.active {
    background-color: var(--primary-color) !important;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 60%;
}

/* ======= Contato ======= */
.contato-section {
    padding: 5rem 0;
}

.contato-info {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.contato-info-item {
    display: flex;
    margin-bottom: 2rem;
}

.contato-info-item:last-child {
    margin-bottom: 0;
}

.contato-info-item .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.contato-info-item .content h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contato-info-item .content p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.contato-form-container {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.contato-form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

.maps-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* ======= Footer ======= */
.footer {
    background-color: #333;
    color: rgba(255, 255, 255, 0.7);
    padding-bottom: 2rem;
}

.footer-title {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-subtitle {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    margin-right: 0.5rem;
    transition: all var(--transition-speed) ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-legal {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: flex-end;
}

.footer-legal li {
    margin-left: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: all var(--transition-speed) ease;
}

.footer-legal a:hover {
    color: white;
}

/* ======= Políticas e Termos ======= */
.politica-container,
.termos-container {
    padding: 5rem 0;
    background-color: #ffffff;
}

.politica-content h2,
.termos-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.politica-content h3,
.termos-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.politica-content ul,
.termos-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.politica-content ul li,
.termos-content ul li {
    margin-bottom: 0.5rem;
}

/* ======= Responsividade ======= */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .contato-info,
    .contato-form-container {
        margin-bottom: 1.5rem;
    }
    
    .sobre-img {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-banner {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-legal li {
        margin: 0 0.75rem;
    }
    
    .copyright {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .sobre-info-item .icon-wrap {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contato-form-container,
    .contato-info {
        padding: 1.5rem;
    }
    
    .depoimento-card {
        padding: 1.5rem;
    }
    
    .quote {
        font-size: 1rem;
    }
    
    .promo-item {
        font-size: 0.85rem;
    }
}

/* Animações AOS personalizadas */
[data-aos="custom-fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition-property: opacity, transform;
}

[data-aos="custom-fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
} 