/**
 * Home Page Custom Styles
 * Petições Online - Home Page Template
 *
 * @file home_page.css
 * @description Estilos customizados para a página inicial do site
 * @author Alberto Bezerra - Petições Online
 * @version 1.0.0
 *
 * ÍNDICE:
 * 1. Variáveis CSS (Root)
 * 2. Reset & Base Styles
 * 3. Top Bar
 * 4. Header
 * 5. Hero Section
 * 6. Search Bar
 * 7. Pioneer Section
 * 8. Benefits Section
 * 9. No AI Section
 * 10. Categories Section
 * 11. Stats Section
 * 12. Testimonials Section
 * 13. CTA Section
 * 14. Footer
 * 15. Responsive Design
 */

/* ==================== 1. VARIÁVEIS CSS (ROOT) ==================== */
:root {
    /* Brand Colors - Institutional */
    --primary-green: #2d5f2e;
    --secondary-green: #4a8f4d;
    --dark-green: #1a4020;
    --light-green: #e8f5e9;
    --accent-gold: #d4af37;
    --gold-dark: #b8941f;
    
    /* Neutral Colors */
    --charcoal: #1a1a1a;
    --dark-gray: #2d2d2d;
    --medium-gray: #666666;
    --light-gray: #f5f5f5;
    --border-gray: #e0e0e0;
    --white: #ffffff;
    
    /* Typography - Professional */
    --font-serif: 'Merriweather', Georgia, serif;
    --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Layout */
    --max-width: 1440px;
    --section-spacing: 100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    line-height: 1.7;
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-green);
}

p {
    margin-bottom: 1rem;
}

/* Container */
.container-custom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 3. TOP BAR ==================== */
.top-bar {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.pioneer-badge {
    background: var(--accent-gold);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    animation: pulse 2s infinite;
    white-space: nowrap;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.top-bar-text {
    text-align: center;
}

.top-bar a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid var(--accent-gold);
}

.top-bar a:hover {
    border-bottom: 2px solid var(--accent-gold);
}

/* Top Bar Rating Widget */
.top-bar-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.top-bar-rating .rating-stars {
    display: flex;
    gap: 3px;
}

.top-bar-rating .rating-star {
    font-size: 0.9rem;
    color: var(--accent-gold);
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
}

.top-bar-rating .rating-star:hover {
    transform: scale(1.15);
    color: #ffd700;
}

.top-bar-rating .rating-text {
    font-size: 0.85rem;
    color: var(--white);
}

.top-bar-rating .rating-text strong {
    font-size: 0.95rem;
    color: var(--accent-gold);
    margin-right: 4px;
}

.top-bar-rating .rating-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
}

/* ==================== 4. HEADER ==================== */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-green);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.logo:hover {
    opacity: 0.8;
}

.logo sup {
    font-size: 0.5em;
    font-weight: 700;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.logo-badge-year {
    background: var(--accent-gold);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.main-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.main-nav a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-green);
}

.main-nav a:hover::after {
    width: 100%;
}

.btn-login {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--primary-green);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.btn-login:hover::after {
    display: none;
}

/* User Account Dropdown */
.user-account-dropdown {
    position: relative;
    display: inline-block;
}

.btn-my-account {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 4px 15px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

.btn-my-account:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 95, 46, 0.25);
}

.btn-my-account i.bi-person-circle {
    font-size: 1.2rem;
}

.btn-my-account i.bi-chevron-down {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.user-account-dropdown.active .btn-my-account i.bi-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-green);
}

.dropdown-item i {
    font-size: 1.1rem;
    color: var(--primary-green);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-gray);
    margin: 4px 0;
}

/* Cart Button */
.btn-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: auto;
    min-width: 55px;
    height: 44px;
    padding: 0 15px;
    background: var(--white);
    border: 2px solid var(--primary-green);
    border-radius: 6px;
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
}

.btn-cart > i.bi-cart3 {
    position: absolute;
    left: 5px;
}

.btn-cart > i.bi-arrow-right-short {
    position: absolute;
    right: 2px;
    line-height: 0;
}

.btn-cart:hover {
    background: var(--primary-green);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.btn-cart:hover::after {
    display: none;
}

.btn-cart i {
    font-size: 1.3rem;
}

.btn-cart .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
    z-index: 10;
}

.noticias-prop1::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary-green);
    transform: scaleX(0);
    transform-origin: left;
    animation: slideUp 2s ease-in-out infinite;
}

@keyframes slideUp {
    0% {
        transform: scaleX(0);
        bottom: -2px;
    }
    25% {
        transform: scaleX(1);
        bottom: -2px;
    }
    50% {
        transform: scaleX(1);
        bottom: -2px;
    }
    75% {
        transform: scaleX(1);
        bottom: 0;
        opacity: 0;
    }
    100% {
        transform: scaleX(0);
        bottom: 8px;
        opacity: 0;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.25rem;
}

/* ==================== 5. HERO SECTION - SEARCH FIRST ==================== */
.hero-section {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Padrão decorativo sutil */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(45, 95, 46, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 143, 77, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Badge pequeno e discreto */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(45, 95, 46, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(45, 95, 46, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge i {
    font-size: 1rem;
}

/* Título hero - curto e direto */
.hero-title {
    font-size: 3rem;
    color: var(--primary-green);
    margin: 0 0 40px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.hero-highlight {
    color: var(--secondary-green);
    position: relative;
}

/* ==================== 6. SEARCH BOX - PROTAGONISTA ==================== */
.search-hero {
    margin: 0 auto 24px;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.search-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.search-wrapper input {
    width: 100%;
    padding: 22px 160px 22px 28px;
    border: 3px solid #e0e0e0;
    border-radius: 60px;
    font-size: 18px;
    transition: all 0.3s;
    background: white;
    color: var(--dark-gray);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.search-wrapper input::placeholder {
    color: #999;
}

.search-wrapper input:hover {
    border-color: #a5d6a7;
    box-shadow: 0 6px 24px rgba(74, 143, 77, 0.12);
}

.search-wrapper input:focus {
    outline: none;
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 5px rgba(74, 143, 77, 0.15);
}

/* Botão interno - direita */
.btn-search-hero {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px 32px;
    background: var(--secondary-green);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(74, 143, 77, 0.3);
}

.btn-search-hero:hover {
    background: var(--primary-green);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 16px rgba(45, 95, 46, 0.4);
}

.btn-search-hero:active {
    transform: translateY(-50%) scale(0.98);
}

.btn-search-hero i {
    font-size: 1.125rem;
}

/* Micro-copy de confiança */
.hero-microcopy {
    font-size: 1rem;
    color: var(--medium-gray);
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.hero-microcopy i {
    color: var(--secondary-green);
    font-size: 1.25rem;
}

/* Sugestões clicáveis */
.search-suggestions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.9375rem;
    margin-top: 20px;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.search-suggestions .label {
    color: var(--medium-gray);
    font-weight: 500;
}

.suggestion-tag {
    background: white;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--primary-green);
    border: 2px solid #e0e0e0;
    transition: all 0.2s;
    font-weight: 600;
}

.suggestion-tag:hover {
    background: var(--secondary-green);
    color: white;
    border-color: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 143, 77, 0.2);
}

/* Trust badges - menores e secundários */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(45, 95, 46, 0.1);
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.5s backwards;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--medium-gray);
    font-size: 0.9375rem;
}

.trust-item i {
    font-size: 2rem;
    color: var(--secondary-green);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 7. PIONEER HIGHLIGHT SECTION ==================== */
.pioneer-section {
    background: var(--white);
    padding: var(--section-spacing) 0;
    border-bottom: 1px solid var(--border-gray);
}

.pioneer-card {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--white) 100%);
    border: 3px solid var(--accent-gold);
    border-radius: 16px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.pioneer-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.pioneer-icon i {
    font-size: 3.5rem;
    color: var(--white);
}

.pioneer-card h2 {
    font-size: 2.75rem;
    color: var(--dark-green);
    margin-bottom: 24px;
    font-weight: 900;
}

.pioneer-year {
    color: var(--accent-gold);
    font-size: 4rem;
    font-weight: 900;
    font-family: var(--font-serif);
    display: block;
    margin: 16px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.pioneer-card p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 800px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

.pioneer-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.pioneer-stat {
    text-align: center;
}

.pioneer-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-green);
    font-family: var(--font-serif);
    display: block;
    margin-bottom: 8px;
}

.pioneer-stat-label {
    font-size: 0.95rem;
    color: var(--medium-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== 8. BENEFITS SECTION ==================== */
.benefits-section {
    padding: var(--section-spacing) 0;
    background: var(--light-gray);
}

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

.section-badge {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 16px;
    font-weight: 900;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-gray);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.benefit-icon i {
    font-size: 2.5rem;
    color: var(--primary-green);
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: var(--dark-green);
    margin-bottom: 16px;
    font-weight: 700;
}

.benefit-card p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin: 0;
}

/* ==================== 9. NO AI SECTION ==================== */
.no-ai-section {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.no-ai-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.no-ai-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.no-ai-icon-container {
    margin-bottom: 32px;
}

.no-ai-icon {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.15);
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.no-ai-icon i {
    font-size: 4rem;
    color: var(--white);
    opacity: 0.3;
}

.no-ai-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #dc3545;
    transform: translateY(-50%) rotate(-45deg);
    box-shadow: 0 0 12px #dc3545;
}

.no-ai-badge {
    display: inline-block;
    background: #dc3545;
    color: var(--white);
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.4);
}

.no-ai-content h2 {
    font-size: 2.75rem;
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 900;
}

.no-ai-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 32px;
    opacity: 0.95;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 16px 32px;
    border-radius: 50px;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

.author-link:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Certification Badge */
.certification-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    padding: 20px 30px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
    border: 3px solid #fff;
    line-height: 1.4;
}

.certification-badge .emoji {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
}

.certification-sub {
    font-size: 14px;
    margin-top: 8px;
    font-weight: 600;
    line-height: 1.6;
}

/* No AI Description */
.no-ai-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Comparison Table */
.comparison-table {
    max-width: 700px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 80px 80px;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    background: rgba(255, 255, 255, 0.15);
    font-weight: 700;
}

.comparison-check {
    text-align: center;
    font-size: 20px;
}

.comparison-check.check-yes {
    color: #4ade80;
}

.comparison-check.check-warning {
    color: #dc3545;
}

/* No AI CTA Buttons */
.no-ai-cta {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-no-ai-primary,
.btn-no-ai-secondary {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-no-ai-primary {
    background: white;
    color: var(--primary-green);
}

.btn-no-ai-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-no-ai-secondary {
    background: transparent;
    color: white;
}

.btn-no-ai-secondary:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* Responsive - Comparison Table */
@media (max-width: 768px) {
    .comparison-row {
        grid-template-columns: 1fr 60px 60px;
        font-size: 14px;
        padding: 12px 15px;
    }

    .comparison-check {
        font-size: 18px;
    }

    .certification-badge {
        font-size: 16px;
        padding: 18px 24px;
    }

    .certification-badge .emoji {
        font-size: 24px;
    }
}

/* ==================== 10. CATEGORIES SECTION ==================== */
.categories-section {
    padding: var(--section-spacing) 0;
    background: var(--white);
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border: 0.35em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

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

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mt-3 {
    margin-top: 1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.category-card {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(45, 95, 46, 0.3);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 700;
}

.category-count {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 600;
}

/* ==================== 11. STATS SECTION ==================== */
.stats-section {
    background: var(--light-green);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: var(--primary-green);
    opacity: 0.2;
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-green);
    font-family: var(--font-serif);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== 12. TESTIMONIALS SECTION ==================== */
.testimonials-section {
    padding: var(--section-spacing) 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
}

.testimonial-stars {
    color: var(--accent-gold);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--charcoal);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-author-info h4 {
    font-size: 1rem;
    color: var(--dark-green);
    margin-bottom: 4px;
    font-weight: 700;
}

.testimonial-author-info p {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin: 0;
}

/* ==================== 13. CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 900;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--accent-gold);
    color: var(--white);
    padding: 18px 48px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    padding: 18px 48px;
    border: 2px solid var(--white);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

/* ==================== 14. FOOTER ==================== */
.main-footer {
    background: var(--charcoal);
    color: #b0b0b0;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--primary-green);
    margin-bottom: 16px;
    font-weight: 900;
}

.footer-description {
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-green);
    transform: translateY(-4px);
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-payment {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-badge {
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    margin-top: 48px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-pioneer {
    color: var(--accent-gold);
    font-weight: 700;
}

/* ==================== 15. RESPONSIVE DESIGN ==================== */
@media (max-width: 991px) {
    .main-nav {
        display: none;
    }

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

    .logo-image {
        height: 38px;
    }

    .hero-section {
        padding: 60px 20px 40px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .hero-badge {
        font-size: 0.8125rem;
        padding: 6px 16px;
    }

    .search-wrapper input {
        padding: 20px 70px 20px 20px;
        font-size: 16px; /* Evita zoom automático iOS */
        border-width: 2px;
    }

    .btn-search-hero {
        padding: 18px;
        right: 6px;
    }

    .btn-text {
        display: none; /* Só ícone em mobile */
    }

    .hero-microcopy {
        font-size: 0.875rem;
    }

    .search-suggestions {
        gap: 8px;
    }

    .suggestion-tag {
        padding: 6px 14px;
        font-size: 0.875rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: 20px;
    }

    .pioneer-year {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 12px;
    }

    .btn-search {
        border-radius: 0 0 12px 12px;
    }
}

@media (max-width: 767px) {
    .top-bar-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 8px;
    }

    .pioneer-badge {
        justify-self: center;
    }

    .top-bar-rating {
        justify-self: center;
    }

    .logo-image {
        height: 32px;
    }

    .logo-badge-year {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .pioneer-card {
        padding: 40px 24px;
    }

    .stat-item::after {
        display: none;
    }

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

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .search-wrapper input {
        padding: 18px 60px 18px 18px;
        font-size: 16px;
    }

    .btn-search-hero {
        padding: 16px;
        right: 4px;
    }
}
