/* Custom CSS Variables */
:root {
    --primary-green: #198754;
    --light-green: #f0f8f5;
    --success-light: #d1f4e0;
    --dark-green: #0d4829;
}

/* Global Styles */
* {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    border-bottom: thin solid #ccc;
}

.navbar-light .navbar-nav .nav-link {
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #6c648c;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f3e2cd 0%, #fffbec 50%, #f7ecd9 100%);
    display: flex;
    align-items: center;
}

.badge-custom {
    display: inline-flex;
    align-items: center;
    background-color: var(--success-light);
    color: var(--dark-green);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.gradient-text {
    background: linear-gradient(135deg, #6c648c 0%, #20c997 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Divider */
.divider {
    width: 80px;
    height: 4px;
    background-color: #6c648c;
    margin: 0 auto;
    border-radius: 2px;
}

/* Background Colors */
.bg-light-green {
    background-color: #fafafa;
    border-top: thin solid #ccc;
    border-bottom: thin solid #ccc;
}

.bg-success-light {
    background-color: #fffbec;
}

/* Cards */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Eixos Temáticos */
.eixo-card {
    transition: all 0.3s ease;
    background-color: white;
}

.eixo-card:hover {
    border-color: #6c648c !important;
    box-shadow: 0 0.5rem 1rem rgba(25, 135, 84, 0.15);
    transform: translateY(-5px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    font-size: 1.5rem;
}

/* Accordion */
.accordion-item {
    border: 2px solid #e0e0e0 !important;
    margin-bottom: 1rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-green);
    color: #6c648c;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.accordion-button::after {
    filter: brightness(0) saturate(100%) invert(36%) sepia(68%) saturate(664%) hue-rotate(94deg) brightness(94%) contrast(92%);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 2px;
    height: calc(100% + 1rem);
    background-color: var(--success-light);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    position: absolute;
    left: -1.875rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background-color: #6c648c;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background-color: var(--light-green);
    padding: 1.5rem;
    border-radius: 8px;
}

/* Critérios */
.criterios-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.criterio-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.criterio-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.criterio-icon i {
    font-size: 1.5rem;
}

/* Steps */
.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #6c648c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Observações */
.obs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.obs-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.obs-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Footer */
.hover-link {
    transition: color 0.3s ease;
}

.hover-link:hover {
    color: white !important;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    display: flex;
}

/* Buttons */
.btn {
    transition: all 0.3s ease;
}

.btn-success {
    background-color: #6c648c;
    border-color: #6c648c;
}

.btn-success:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.4);
}

.btn-outline-success {
    color: #6c648c;
    border-color: #6c648c;
}

.btn-outline-success:hover {
    background-color: #6c648c;
    border-color: #6c648c;
    color: white;
}

.copyright-text {
    font-size: 9px;
    line-height: 14px;
    text-transform: uppercase;
    max-width: 200px;
    margin: 0 auto;
    padding: 0;
    color: #fff;
    font-family: 'Arial', sans-serif;
    letter-spacing: 2px;
}

.copyright-text img {
    width: 40px;
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Smooth scrolling offset for fixed navbar */
section {
    scroll-margin-top: 80px;
}

div#navbarNav {
    padding: 6px 0;
}

/* Print styles */
@media print {
    .navbar,
    .back-to-top,
    footer {
        display: none;
    }

    .hero-section {
        padding-top: 20px;
    }
}

.banner-section {
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    text-align: center;
    padding-top: 70px;
}

.banner-section img {
    width: 100%;
}

.text-success {
    color: #6c648c !important;
}

.bg-success {
    background-color: #6c648c !important;;
}

#buttonwhatsapp {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 30px 8px 30px 30px;
    background-color: #075e54;
    box-shadow: none;
    color: #fff;
    z-index: 2147483647;
    cursor: pointer;
    padding: 8px 22px;
    -webkit-font-smoothing: antialiased;
    position: fixed;
    bottom: 20px;
    right: 20px;
}

#buttonwhatsapp h5 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    padding: 0;
    margin: 0;
    line-height: 27px;
}

#buttonwhatsapp svg {
    display: block;
}