/* Variáveis de Cores */
:root {
    --primary-blue: #003366; /* Azul Escuro Institucional */
    --secondary-blue: #2563eb; /* Azul Vibrante para detalhes */
    --accent-color: #25D366; /* Verde WhatsApp */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-bg: #f3f4f6;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Utilitários */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 70px; 
    width: auto;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    transition: 0.3s;
}

.navbar a:hover {
    color: var(--secondary-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-icon:hover {
    color: var(--secondary-blue);
}

.btn-cta-header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-cta-header:hover {
    background-color: var(--secondary-blue);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
}

/* Menu Mobile */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: 0.4s ease;
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    padding: 10px;
}

.mobile-cta {
    background-color: var(--accent-color);
    color: white !important;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); /* Imagem de Logística */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px; /* Altura do header */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

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

.btn-primary {
    background-color: var(--secondary-blue);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
    border: 2px solid var(--secondary-blue);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--secondary-blue);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Sobre Nós */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
    text-align: justify;
}

.values-list {
    list-style: none;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-blue);
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Autoridade (Fundador) */
.authority-container {
    display: flex;
    flex-direction: row-reverse; /* Imagem à direita */
    align-items: center;
    gap: 50px;
}

.founder-img {
    flex: 1;
}

.founder-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.founder-text {
    flex: 1;
}

.founder-text h3 {
    color: var(--secondary-blue);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.founder-text h4 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.founder-text p {
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    padding: 100px 20px;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.contact-numbers {
    margin: 30px 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-large:hover {
    background-color: #1ebc57;
    color: white;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 5px;
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    margin-left: 20px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: var(--secondary-blue);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- Widget WhatsApp Avançado --- */

.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* Balão de Texto (Tooltip) */
.whatsapp-tooltip {
    background-color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s forwards 2s; /* Aparece 2 segundos depois que o site carrega */
    position: relative;
}

/* Seta do balão */
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 25px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
}

/* Bolinha Verde Pulsante (Status Online) */
.status-dot {
    width: 10px;
    height: 10px;
    background-color: #25D366; /* Verde WhatsApp */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulse-green 2s infinite;
}

/* Botão Principal */
.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #1ebc57;
}

/* Notificação Vermelha (Gatilho de Curiosidade) */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff3b30;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Animações */
@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .whatsapp-tooltip {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Responsividade (Mobile) */
@media (max-width: 768px) {
    .navbar, .header-actions {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-container, .authority-container {
        flex-direction: column;
    }

    .authority-container {
        flex-direction: column; /* Mantém ordem normal no mobile */
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-social a {
        margin: 0 10px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
/* --- LGPD Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 9999; /* Fica acima de tudo, menos do botão do whats se quiser */
    display: none; /* Começa oculto, JS ativa */
    border-top: 4px solid var(--primary-blue);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-dark);
    flex: 1;
    min-width: 300px;
}

.btn-cookie {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-cookie:hover {
    background-color: var(--secondary-blue);
}

/* --- Créditos do Desenvolvedor --- */
.developer-credit {
    margin-top: 5px;
    font-size: 0.8rem;
    opacity: 0.6;
}

.developer-credit a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
}

.developer-credit a:hover {
    text-decoration: underline;
}

/* Ajuste Mobile para o Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Levanta o botão do WhatsApp para não ficar em cima do banner de cookies */
    .whatsapp-widget {
        bottom: 100px; 
        transition: bottom 0.3s;
    }
    
    /* Quando o banner sumir, o whats volta pro lugar (via JS se quiser, ou deixa fixo) */
}