/**
 * Adriana Santos Miranda - Despachante Veicular
 * Estilos principais do site
 */

/* ===== Variáveis ===== */
:root {
    /* Cores */
    --cor-primaria: #ffd700; /* Amarelo */
    --cor-secundaria: #365b6d; /* Azul escuro */
    --cor-destaque: #ff6b35; /* Laranja */
    --cor-fundo: #f5f5f5; /* Cinza claro */
    --cor-texto: #333333; /* Cinza escuro */
    --cor-texto-claro: #ffffff; /* Branco */
    --cor-borda: #dddddd; /* Cinza médio */
    --cor-erro: #e74c3c; /* Vermelho */
    --cor-sucesso: #2ecc71; /* Verde */
    
    /* Fontes */
    --fonte-primaria: 'Montserrat', sans-serif;
    --fonte-secundaria: 'Poppins', sans-serif;
    
    /* Tamanhos */
    --container-largura: 1200px;
    --espacamento-padrao: 2rem;
    --borda-raio: 5px;
}

/* ===== Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-primaria);
    font-size: 16px;
    line-height: 1.6;
    color: var(--cor-texto);
    background-color: var(--cor-fundo);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--cor-secundaria);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--cor-destaque);
}

ul, ol {
    list-style-type: none;
}

/* ===== Utilitários ===== */
.container {
    max-width: var(--container-largura);
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--borda-raio);
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--fonte-primaria);
}

.btn-primary {
    background-color: var(--cor-primaria);
    color: var(--cor-secundaria);
}

.btn-primary:hover {
    background-color: var(--cor-secundaria);
    color: var(--cor-texto-claro);
}

.btn-secondary {
    background-color: var(--cor-secundaria);
    color: var(--cor-texto-claro);
}

.btn-secondary:hover {
    background-color: var(--cor-destaque);
    color: var(--cor-texto-claro);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--cor-secundaria);
    font-family: var(--fonte-secundaria);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--cor-primaria);
    margin: 0.5rem auto;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--cor-texto);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cor-fundo);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--cor-borda);
    border-top-color: var(--cor-primaria);
    border-radius: 50%;
    animation: spinner 1s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Header ===== */
.site-header {
    background-color: var(--cor-texto-claro);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cor-secundaria);
}

.logo-description {
    font-size: 0.9rem;
    color: var(--cor-texto);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--cor-secundaria);
    margin: 2px 0;
    transition: all 0.3s ease;
}

.main-nav .nav-list {
    display: flex;
}

.main-nav .nav-list li {
    margin: 0 1rem;
}

.main-nav .nav-list a {
    padding: 0.5rem 0;
    font-weight: 500;
    position: relative;
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--cor-primaria);
    transition: width 0.3s ease;
}

.main-nav .nav-list a:hover::after {
    width: 100%;
}

.header-contact .phone-link {
    display: flex;
    align-items: center;
    color: var(--cor-secundaria);
}

.header-contact i {
    margin-right: 0.5rem;
    color: var(--cor-primaria);
}

/* ===== Hero Section ===== */
.hero-section {
    background-image: url('../images/banner.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--cor-texto-claro);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-family: var(--fonte-secundaria);
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--cor-primaria);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===== Sobre Section ===== */
.sobre-section {
    padding: 5rem 0;
    background-color: var(--cor-texto-claro);
}

.sobre-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.sobre-image {
    flex: 1;
}

.sobre-text {
    flex: 2;
}

.sobre-text h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--cor-secundaria);
}

.sobre-destaque {
    display: block;
    font-style: italic;
    color: var(--cor-destaque);
    margin-bottom: 1.5rem;
}

.sobre-text p {
    margin-bottom: 1.5rem;
}

.sobre-info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-right: 2rem;
    margin-bottom: 1rem;
    flex: 1 0 calc(50% - 2rem);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--cor-primaria);
    margin-right: 1rem;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--cor-secundaria);
}

.sobre-valores h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.sobre-valores ul {
    display: flex;
    flex-wrap: wrap;
}

.sobre-valores li {
    flex: 1 0 33%;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.sobre-valores i {
    color: var(--cor-primaria);
    margin-right: 0.5rem;
}

/* ===== Serviços Section ===== */
.servicos-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.servico-item {
    background-color: var(--cor-texto-claro);
    border-radius: var(--borda-raio);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.servico-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background-color: var(--cor-primaria);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
}

.servico-icon i {
    font-size: 2rem;
    color: var(--cor-secundaria);
}

.servico-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--cor-secundaria);
}

.servico-item p {
    margin-bottom: 1.5rem;
}

.btn-servico {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 2px solid var(--cor-primaria);
    color: var(--cor-secundaria);
    border-radius: var(--borda-raio);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-servico:hover {
    background-color: var(--cor-primaria);
    color: var(--cor-secundaria);
}

.servicos-cta {
    text-align: center;
    padding: 2rem;
    background-color: var(--cor-secundaria);
    color: var(--cor-texto-claro);
    border-radius: var(--borda-raio);
}

.servicos-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.servicos-cta p {
    margin-bottom: 1.5rem;
}

/* ===== Depoimentos Section ===== */
.depoimentos-section {
    padding: 5rem 0;
    background-color: var(--cor-texto-claro);
}

.depoimentos-carousel {
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
}

.depoimento-slide {
    padding: 0 1rem;
}

.depoimento-content {
    background-color: #f9f9f9;
    border-radius: var(--borda-raio);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.depoimento-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--cor-primaria);
}

.depoimento-texto {
    flex: 1;
}

.depoimento-rating {
    margin-bottom: 1rem;
}

.depoimento-rating i {
    color: var(--cor-primaria);
    margin-right: 3px;
}

.depoimento-texto p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.depoimento-autor h4 {
    font-size: 1.2rem;
    color: var(--cor-secundaria);
    margin-bottom: 0.3rem;
}

.depoimentos-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.depoimento-prev, .depoimento-next {
    background-color: var(--cor-secundaria);
    color: var(--cor-texto-claro);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.depoimento-prev:hover, .depoimento-next:hover {
    background-color: var(--cor-primaria);
    color: var(--cor-secundaria);
}

.depoimento-dots {
    display: flex;
    margin: 0 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--cor-borda);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--cor-primaria);
}

.depoimentos-cta {
    text-align: center;
}

/* ===== Contato Section ===== */
.contato-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.contato-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contato-info {
    flex: 1;
    min-width: 300px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--cor-primaria);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 1rem;
}

.info-icon i {
    font-size: 1.2rem;
    color: var(--cor-secundaria);
}

.info-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--cor-secundaria);
}

.social-media h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--cor-secundaria);
}

.social-icons {
    display: flex;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--cor-secundaria);
    color: var(--cor-texto-claro);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--cor-primaria);
    color: var(--cor-secundaria);
}

.contato-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--cor-texto-claro);
    padding: 2rem;
    border-radius: var(--borda-raio);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contato-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--cor-secundaria);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--cor-borda);
    border-radius: var(--borda-raio);
    font-family: var(--fonte-primaria);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cor-primaria);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-checkbox input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-checkbox label {
    font-size: 0.9rem;
}

.form-button {
    text-align: center;
}

#form-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--borda-raio);
    text-align: center;
    display: none;
}

.mapa-container {
    margin-top: 3rem;
}

.mapa-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--cor-secundaria);
    text-align: center;
}

.mapa {
    border-radius: var(--borda-raio);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* ===== Promocao Section ===== */
.promocao-section {
    padding: 3rem 0;
    background-color: var(--cor-secundaria);
    color: var(--cor-texto-claro);
}

.promocao-slider {
    overflow: hidden;
}

.promocao-slide {
    text-align: center;
    padding: 1rem;
}

.promocao-slide h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--cor-primaria);
}

.promocao-slide p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* ===== Cookie Notice ===== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--cor-texto);
    color: var(--cor-texto-claro);
    padding: 1rem 0;
    z-index: 999;
    display: none;
}

.cookie-notice .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-notice p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-notice a {
    color: var(--cor-primaria);
}

/* ===== WhatsApp Flutuante ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: var(--cor-texto-claro);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1da851;
    color: var(--cor-texto-claro);
    transform: scale(1.1);
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--cor-secundaria);
    color: var(--cor-texto-claro);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo,
.footer-links,
.footer-contato,
.footer-legal {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--cor-primaria);
}

.footer-links h4,
.footer-contato h4,
.footer-legal h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--cor-primaria);
}

.footer-links ul li,
.footer-contato ul li,
.footer-legal ul li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-contato a,
.footer-legal a {
    color: var(--cor-texto-claro);
}

.footer-links a:hover,
.footer-contato a:hover,
.footer-legal a:hover {
    color: var(--cor-primaria);
}

.footer-contato ul li {
    display: flex;
    align-items: flex-start;
}

.footer-contato i {
    margin-right: 10px;
    color: var(--cor-primaria);
    margin-top: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--cor-texto-claro);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--cor-primaria);
    color: var(--cor-secundaria);
}

/* ===== Política de Privacidade & Termos de Uso ===== */
.page-header {
    background-color: var(--cor-secundaria);
    color: var(--cor-texto-claro);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
}

.breadcrumb-item {
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin: 0 0.5rem;
}

.breadcrumb-item a {
    color: var(--cor-primaria);
}

.breadcrumb-item.active {
    color: var(--cor-texto-claro);
}

.politica-privacidade,
.termos-uso {
    padding: 5rem 0;
    background-color: var(--cor-texto-claro);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.last-update {
    margin-bottom: 2rem;
    color: #777;
    font-style: italic;
}

.content-block {
    margin-bottom: 2.5rem;
}

.content-block h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--cor-secundaria);
}

.content-block p {
    margin-bottom: 1rem;
}

.content-block ul,
.content-block ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-block ul li,
.content-block ol li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.contact-info li {
    list-style-type: none;
    margin-bottom: 0.8rem;
} 