/**
 * Estilos customizados para a página de Kits de Petições
 */

:root {
    --primary-green: #2d5f2e;
    --secondary-green: #4a8f4d;
    --light-green: #e8f5e9;
    --accent-green: #66bb6a;
    --gold: #d4af37;
    --text-dark: #333;
    --text-gray: #666;
}

.navbar-main {
    margin-top: 60px;
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 200px;
    opacity: 0.3;
}

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

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

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

.hero-benefits {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.0625rem;
}

.hero-benefit i {
    font-size: 1.5rem;
    color: var(--accent-green);
}

/* VALUE PROPOSITION BAR */
.value-bar {
    background: white;
    padding: 25px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.value-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-green);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-text h4 {
    font-size: 1.125rem;
    color: var(--primary-green);
    margin-bottom: 3px;
    font-weight: 700;
}

.value-text p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0;
}

/* UPDATES BANNER */
.updates-banner {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.updates-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.updates-content {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.updates-icon {
    width: 70px;
    height: 70px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    flex-shrink: 0;
    animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.updates-text {
    flex: 1;
}

.updates-text h3 {
    color: #d68910;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.updates-text p {
    color: #856404;
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 0;
}

.updates-text strong {
    color: #d68910;
    font-weight: 700;
}

.updates-badge {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    flex-shrink: 0;
}

.updates-badge i {
    font-size: 2.5rem;
    color: var(--secondary-green);
}

.updates-badge span {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}

/* FILTERS SECTION */
.filters-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.filters-title {
    font-size: 1.25rem;
    color: var(--primary-green);
    font-weight: 700;
}

.results-count {
    color: var(--text-gray);
    font-size: 0.9375rem;
}

.filter-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.9375rem;
}

.filter-tag:hover,
.filter-tag.active {
    border-color: var(--secondary-green);
    background: var(--light-green);
    color: var(--primary-green);
}

.filter-tag i {
    margin-right: 6px;
}

/* KITS GRID */
.kits-section {
    padding: 50px 0;
    background: #f5f5f5;
}

.kits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.kit-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    display: flex;
    flex-direction: column;
}

.kit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(74, 143, 77, 0.15);
}

.kit-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 700;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.kit-badge.popular {
    background: #e74c3c;
}

.kit-badge.completo {
    background: #3498db;
}

.economy-calculator {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 12px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.economy-calculator-label {
    font-size: 0.6875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.economy-calculator-value {
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.kit-image-link {
    display: block;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.kit-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--light-green) 0%, #c8e6c9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.kit-image-link:hover .kit-image {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
}

.kit-image i {
    font-size: 5rem;
    color: var(--secondary-green);
    opacity: 0.3;
    transition: all 0.3s;
}

.kit-image-link:hover .kit-image i {
    opacity: 0.5;
    transform: scale(1.1);
}

.kit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.kit-image-link:hover .kit-image img {
    transform: scale(1.05);
}

.kit-count {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(45, 95, 46, 0.95);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kit-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.kit-category {
    color: var(--secondary-green);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.kit-title-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.kit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 65px;
    transition: color 0.3s;
}

.kit-title-link:hover .kit-title {
    color: var(--secondary-green);
    text-decoration: underline;
}

.kit-description {
    font-size: 0.9375rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 70px;
}

.kit-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.kit-features li {
    padding: 8px 0;
    font-size: 0.875rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.kit-features li i {
    color: var(--secondary-green);
    font-size: 1rem;
}

.kit-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.kit-price {
    display: flex;
    flex-direction: column;
}

.price-original {
    font-size: 0.875rem;
    color: #999;
    text-decoration: line-through;
}

.price-current {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-green);
}

.price-economy {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 500;
    line-height: 1.4;
}

.kit-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 145px;
}

.btn-view-kit {
    background: transparent;
    color: var(--secondary-green);
    padding: 12px 24px;
    border: 2px solid var(--secondary-green);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9375rem;
    text-decoration: none;
}

.btn-view-kit:hover {
    background: var(--light-green);
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-add-cart {
    background: var(--secondary-green);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
}

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

/* COMPARISON SECTION */
.comparison-section {
    background: var(--light-green);
    padding: 60px 0;
    margin-top: 0;
}

.comparison-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 40px;
    font-weight: 700;
}

.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: var(--primary-green);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 700;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table tr:hover {
    background: var(--light-green);
}

/* FAQ SECTION */
.faq-section {
    padding: 60px 0;
    background: white;
}

.faq-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 40px;
    font-weight: 700;
}

/* Bootstrap Accordion Customization */
.accordion {
    --bs-accordion-border-color: #e0e0e0;
    --bs-accordion-border-radius: 12px;
}

.accordion-item.faq-item {
    background: white;
    border-radius: 12px !important;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0 !important;
}

.accordion-button.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--primary-green) !important;
    font-size: 1.125rem;
    transition: background 0.3s;
    user-select: none;
    background: white !important;
    border: none !important;
    box-shadow: none !important;
}

.accordion-button.faq-question:hover {
    background: var(--light-green) !important;
}

.accordion-button.faq-question:not(.collapsed) {
    background: var(--light-green) !important;
    color: var(--primary-green) !important;
}

.accordion-button.faq-question::after {
    display: none; /* Esconde a seta padrão do Bootstrap */
}

.accordion-button.faq-question i {
    transition: transform 0.3s;
}

.accordion-button.faq-question:not(.collapsed) i {
    transform: rotate(180deg);
}

.accordion-body.faq-answer {
    padding: 0 25px 25px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* TRUST SECTION */
.trust-section {
    background: white;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
}

.trust-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

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

.trust-icon {
    font-size: 3rem;
    color: var(--secondary-green);
    margin-bottom: 15px;
}

.trust-text {
    font-size: 1.125rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 5px;
}

.trust-subtext {
    font-size: 0.875rem;
    color: var(--text-gray);
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .kits-grid {
        grid-template-columns: 1fr;
    }

    .value-items {
        flex-direction: column;
        align-items: flex-start;
    }

    .comparison-table {
        overflow-x: auto;
    }

    .updates-content {
        flex-direction: column;
        text-align: center;
    }

    .updates-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .updates-badge {
        width: 100%;
    }

    .kit-footer {
        flex-direction: column;
        gap: 15px;
    }

    .kit-actions {
        width: 100%;
    }

    .btn-view-kit,
    .btn-add-cart {
        width: 100%;
        justify-content: center;
    }
}
