/**
 * Espaço Log - Landing Page Styles
 * Design moderno e responsivo com tema industrial/logístico
 * 
 * Paleta de Cores (Identidade Visual Oficial):
 * - Roxo Principal: #4A3B64 (backgrounds, elementos primários)
 * - Laranja Destaque: #FF8C00 (CTAs, destaques)
 * - Cinza Claro: #F7F7F8 (backgrounds secundários)
 * - Texto Escuro: #111
 */

/* ============================================
   Reset e Base
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111;
    background-color: #F7F7F8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Header
   ============================================ */
.header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 50px;
    width: auto;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #4A3B64;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 80px 0;
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 32px;
}

.hero h2 .highlight {
    color: #FF8C00;
    font-weight: 700;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 40px;
}

.hero-benefits li {
    font-size: 1.125rem;
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
}

.hero-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FF8C00;
    font-weight: bold;
    font-size: 1.25rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #FF8C00;
    color: #fff;
}

.btn-primary:hover {
    background: #e09619;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.btn-secondary {
    background: #4A3B64;
    color: #fff;
}

.btn-secondary:hover {
    background: #1a1c24;
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   Sections
   ============================================ */
.diferenciais,
.contato,
.contact-info {
    padding: 80px 0;
}

.diferenciais {
    background: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4A3B64;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #666;
    text-align: center;
    margin-bottom: 48px;
}

/* ============================================
   Cards
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-icon {
    margin-bottom: 24px;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4A3B64;
    margin-bottom: 16px;
}

.card p {
    color: #666;
    line-height: 1.7;
}

/* ============================================
   Location Map Section
   ============================================ */
.localizacao {
    background: #F7F7F8;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    border: 3px solid #fff;
}

.location-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.info-card {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.info-card svg {
    flex-shrink: 0;
    margin-top: 4px;
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4A3B64;
    margin-bottom: 8px;
}

.info-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Leaflet custom marker popup */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
    margin: 16px;
    font-family: inherit;
}

.leaflet-popup-content h3 {
    color: #4A3B64;
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.leaflet-popup-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   Contact Info Section
   ============================================ */
.contact-info {
    background: #fff;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.contact-method {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #4A3B64;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: #FF8C00;
    transform: translateY(-2px);
}

/* ============================================
   Success Page
   ============================================ */
.success-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.success-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.success-icon {
    margin-bottom: 32px;
}

.success-content h1 {
    font-size: 2.5rem;
    color: #4A3B64;
    margin-bottom: 24px;
}

.success-message {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.7;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.redirect-notice {
    color: #999;
    font-size: 0.875rem;
    margin-top: 24px;
}

.redirect-notice a {
    color: #FF8C00;
    text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #4A3B64;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-lgpd {
    font-size: 0.875rem;
    color: #ccc;
    margin-bottom: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #999;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero-benefits li {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 400px;
    }
    
    .location-info {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 24px;
    }
    
    .success-content {
        padding: 40px 24px;
    }
    
    .success-content h1 {
        font-size: 2rem;
    }
    
    .success-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .success-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero h2 {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.9375rem;
    }
}
