/* ========================================
   HW Collector - Website Styles
   Nova Paleta de Cores:
   - Fundo: #FFF2E6 (bege suave)
   - Texto primário: #4E4D47 (cinza escuro)
   - Botões primários: #FF6A13 (laranja queimado)
   - Destaques: #5B8F67 (verde)
   - Detalhes: #F1C40F (amarelo brilhante)
======================================== */

/* Variables CSS */
:root {
    --primary-color: #FF6A13;
    --secondary-color: #5B8F67;
    --accent-color: #F1C40F;
    --text-dark: #4E4D47;
    --text-light: #4E4D47;
    --bg-light: #FFF2E6;
}

/* ========================================
   BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

html, body {
    height: 100%;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

/* ========================================
   BUTTONS
======================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #e55a0f);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 106, 19, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========================================
   FOOTER
======================================== */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 40px 0 20px 0;
    margin-top: auto;
}

.footer-content {
    text-align: center;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

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

.social-links {
    margin: 20px 0;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* ========================================
   HOME PAGE - HERO SECTION
======================================== */
#hero-main,
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding-top: 120px !important;
    padding-bottom: 100px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cars" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="100" fill="none"/><path d="M20,50 Q30,30 50,50 Q70,70 80,50" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></pattern></defs><rect width="100%" height="100%" fill="url(%23cars)"/></svg>') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.app-mockup {
    max-width: 300px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.app-screen {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 15px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

/* ========================================
   HOME PAGE - FEATURES SECTION
======================================== */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(255, 242, 230, 0.8) 100%);
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.feature-card:hover .feature-icon {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

/* ========================================
   HOME PAGE - STATS SECTION
======================================== */
.stats-section {
    padding: 60px 0;
    background: white;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* ========================================
   PRIVACY PAGE
======================================== */
#privacy-header-main,
#terms-header-main,
.privacy-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding-top: 100px !important;
    padding-bottom: 50px !important;
    text-align: center;
}

.privacy-content {
    padding: 60px 0;
    background: var(--bg-light);
}

.privacy-section {
    margin-bottom: 40px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-color);
}

.privacy-section h2 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.privacy-section h2 i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.privacy-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-section ul {
    color: var(--text-dark);
    line-height: 1.8;
}

.privacy-section ul li {
    margin-bottom: 8px;
    padding-left: 10px;
}

.contact-info {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

.contact-email {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-email:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumb-custom {
    background: transparent;
    padding: 20px 0;
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item a:hover {
    text-decoration: underline;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 70, 67, 0.1));
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

.last-updated {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    /* Hero Section */
    #hero-main,
    .hero-section {
        padding-top: 80px !important;
        padding-bottom: 60px !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .hero-content .btn {
        width: 100%;
        max-width: 280px;
        margin-bottom: 10px;
        font-size: 0.95rem;
        padding: 14px 20px;
    }
    
    .app-mockup {
        max-width: 250px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .app-screen {
        height: 300px;
    }
    
    .app-screen p {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    /* Privacy Page */
    #privacy-header-main,
    #terms-header-main,
    .privacy-header {
        padding-top: 80px !important;
        padding-bottom: 40px !important;
    }
    
    .privacy-section {
        padding: 20px;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .privacy-section h2 i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content .lead {
        font-size: 0.9rem;
    }
    
    .hero-content .btn {
        font-size: 0.9rem;
        padding: 12px 18px;
    }
    
    .app-screen p {
        font-size: 0.9rem;
    }
    
    .app-mockup {
        max-width: 220px;
    }
}
