/*
* Spm Leiloes - Despachante Veicular
* Arquivo de Estilos CSS
*/

:root {
    --primary-color: #2e7d32; /* Verde */
    --secondary-color: #455a64; /* Azul escuro */
    --accent-color: #ff6f00; /* Laranja */
    --background-color: #f5f5f5; /* Cinza claro */
    --text-color: #333333;
    --light-color: #ffffff;
    --dark-color: #212121;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset e ConfiguraÃ§Ãµes Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
}

/* UtilitÃ¡rios */
.highlight {
    color: var(--accent-color);
}

.btn {
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-description {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: var(--secondary-color);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#preloader .spinner {
    width: 60px;
    height: 60px;
    border: 6px solid var(--border-color);
    border-top: 6px 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: var(--dark-color);
    color: var(--light-color);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-notice p {
    margin-bottom: 0;
    font-size: 14px;
}

.cookie-notice a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Header e NavegaÃ§Ã£o */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
}

.navbar-brand:hover {
    color: var(--accent-color);
}

.nav-link {
    font-weight: 500;
    font-size: 16px;
    padding: 8px 15px !important;
    color: var(--text-color);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 70%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.header-cta .btn {
    padding: 8px 20px;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-right: 20px;
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 20px;
}

.hero-image {
    position: relative;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* About Section */
.about-section {
    background-color: var(--background-color);
}

.about-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-image {
    position: relative;
}

.about-image:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    top: -15px;
    left: -15px;
    z-index: -1;
    border-radius: var(--border-radius);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

.info-item h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 16px;
    margin-bottom: 0;
    color: var(--secondary-color);
}

/* Services Section */
.services-section {
    background-color: var(--light-color);
}

.service-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 15px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 10px;
    position: relative;
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--background-color);
}

.testimonial-item {
    padding: 40px 20px;
}

.testimonial-content {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid rgba(46, 125, 50, 0.1);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 18px;
    margin: 0 2px;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
}

.testimonial-author {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.testimonial-position {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.carousel-control-prev, 
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.carousel-control-prev i, 
.carousel-control-next i {
    color: var(--light-color);
    font-size: 16px;
}

.testimonial-stats {
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    background-color: var(--light-color);
}

.contact-info {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    color: var(--light-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item .icon {
    font-size: 24px;
    margin-right: 20px;
    min-width: 30px;
}

.contact-item .content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--light-color);
}

.contact-item .content p {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item .content a {
    color: var(--light-color);
}

.social-media h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--light-color);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form-container {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form-container h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.form-label {
    font-weight: 500;
    color: var(--text-color);
}

.form-control, .form-select {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    color: var(--text-color);
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.map-container {
    margin-top: 80px;
}

.map-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--light-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-links i {
    font-size: 12px;
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-payment h5 {
    font-size: 16px;
    color: var(--light-color);
    margin-bottom: 15px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-icons i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 14px;
}

.developed-by a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Float Button & Back To Top */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: var(--light-color);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.float-whatsapp:hover {
    background-color: #20bd5a;
    color: var(--light-color);
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 90px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
    z-index: 99;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-5px);
}

/* Legal Pages */
.legal-section {
    padding-top: 140px;
    padding-bottom: 80px;
}

.legal-content {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.legal-title {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.last-update {
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 15px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
}

.legal-content ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

/* Responsiveness */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 42px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 140px 0 80px;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .about-image {
        margin-bottom: 40px;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
    
    .footer-widget {
        margin-bottom: 40px;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 30px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .about-content h3 {
        font-size: 20px;
    }
    
    .testimonial-content {
        padding: 30px 20px;
    }
    
    .carousel-control-prev, 
    .carousel-control-next {
        display: none;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
    
    .copyright,
    .developed-by {
        text-align: center;
    }
    
    .developed-by {
        margin-top: 10px;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 30px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .hero-buttons .btn {
        margin-bottom: 10px;
    }
    
    .info-item h5 {
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-text {
        font-size: 16px;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 30px 20px;
    }
    
    .legal-title {
        font-size: 28px;
    }
} 