/* ============================================
   VAKINHA CLONE - ESTILO EXATO
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Montserrat:wght@400;700&display=swap');

:root {
    --primary: #24ca68;
    --primary-dark: #009d4e;
    --primary-darker: #007a48;
    --text-dark: #282828;
    --text-gray: #3a3a3a;
    --text-light: #8a8a8a;
    --border-color: #f1f0f0;
    --bg-gray: #f9f9f9;
    --bg-light: #f1f0f0;
    --white: #fff;
    --footer-bg: #282828;
    --footer-secondary: #5a5a5a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    font-family: 'Lato', 'Montserrat', Arial, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #282828;
    font-size: 16px;
    line-height: 1.5;
}

body.modal-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: #8a8a8a;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   HEADER - VAKINHA EXATO
   ============================================ */
.header-wrapper {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 90px;
    background: #fff;
    z-index: 200;
}

.header {
    display: flex;
    min-height: 90px;
    align-items: center;
    border-bottom: 2px solid #24ca68;
    background-color: #fff;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo svg {
    height: 40px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0 16px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #282828;
    text-decoration: none;
}

.nav-item:hover {
    color: #5a5a5a;
}

.nav-item svg {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    fill: #282828;
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 16px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #24ca68;
}

.nav-search svg {
    width: 24px;
    height: 24px;
    fill: #24ca68;
}

.nav-search:hover {
    color: #009d4e;
}

.nav-search:hover svg {
    fill: #009d4e;
}

.nav-account {
    padding: 0 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #282828;
    text-decoration: none;
}

.nav-account:hover {
    color: #5a5a5a;
}

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background-color: #24ca68;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    margin-left: 16px;
}

.btn-cta:hover {
    background-color: #009d4e;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #5a5a5a;
    border-radius: 2px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    padding-top: 90px;
}

.campaign-container {
    padding: 20px 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-main {
    position: relative;
    width: 100%;
    padding: 0 15px;
}

@media (min-width: 992px) {
    .col-main {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

.col-sidebar {
    position: relative;
    width: 100%;
    padding: 0 15px;
}

@media (min-width: 992px) {
    .col-sidebar {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Campaign Image */
.campaign-image-wrapper {
    position: relative;
    padding-bottom: 58.5%;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f0f0;
}

@media (max-width: 767px) {
    .campaign-image-wrapper {
        padding-bottom: 50%;
    }
}

.campaign-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #8a8a8a;
    gap: 8px;
}

.image-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.4;
}

/* Campaign Info */
.campaign-info {
    padding-top: 20px;
}

.campaign-category {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #8a8a8a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.campaign-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #282828;
    margin: 0 0 4px;
}

@media (max-width: 767px) {
    .campaign-title {
        font-size: 24px;
    }
}

.campaign-id {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #3a3a3a;
    margin-bottom: 16px;
}

.campaign-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #3a3a3a;
}

.ver-tudo {
    color: #3BA7B8;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.ver-tudo:hover {
    text-decoration: underline;
}

/* ============================================
   SIDEBAR - VAKINHA EXATO
   ============================================ */
.sidebar-sticky {
    position: sticky;
    top: 105px;
}

@media (max-width: 767px) {
    .sidebar-sticky {
        border-radius: 0 0 8px 8px;
    }
}

.sidebar-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

/* Progress Section */
.progress-label {
    display: flex;
    align-items: center;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #282828;
    margin-bottom: 8px;
}

.progress-label::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #24ca68;
    border-radius: 2px;
    margin-right: 8px;
}

.amount-value {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #24ca68;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .amount-value {
        font-size: 20px;
    }
}

.goal-text {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #8a8a8a;
    margin-bottom: 16px;
}

@media (max-width: 767px) {
    .goal-text {
        font-size: 16px;
    }
}

/* Progress Bar */
.progress-bar-wrapper {
    width: 100%;
    height: 4px;
    background: #f1f0f0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.progress-bar-fill {
    height: 100%;
    background: #24ca68;
    border-radius: 16px;
}

/* Stats Box */
.stats-box {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 24px;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.stats-row:not(:last-child) {
    border-bottom: 1px solid #f1f0f0;
}

.stats-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #3a3a3a;
}

.stats-label svg {
    width: 18px;
    height: 18px;
}

.heart-green {
    fill: #24ca68;
}

.stats-value {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #282828;
}

/* Buttons */
.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    background-color: #24ca68;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 8px;
}

.btn-primary:hover {
    background-color: #009d4e;
}

.btn-primary.disabled {
    background-color: #dfdfdf;
    color: #fff;
    pointer-events: none;
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    background-color: #fff;
    color: #5a5a5a;
    border: 1px solid #5a5a5a;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #3a3a3a;
    color: #fff;
    border-color: transparent;
}

.btn-secondary.disabled {
    background-color: #dfdfdf;
    color: #fff;
    border-color: transparent;
    pointer-events: none;
}

/* Protected Badge */
.protected-badge-wrapper {
    margin-top: 16px;
}

.protected-badge-wrapper svg {
    width: 130px;
    height: 28px;
}

/* Organizer */
.organizer-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.organizer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #f1f0f0;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.organizer-avatar svg {
    width: 24px;
    height: 24px;
    color: #8a8a8a;
}

.organizer-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.organizer-name {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #282828;
}

.organizer-since {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    color: #8a8a8a;
}

/* ============================================
   TABS - VAKINHA EXATO
   ============================================ */
.tabs-wrapper {
    margin-top: 32px;
    background: #fff;
    border-radius: 8px;
}

.tabs-header {
    display: flex;
    overflow-x: auto;
    border-bottom: 2px solid #dfdfdf;
}

.tab-btn {
    padding: 8px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #3a3a3a;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

.tab-btn:hover {
    color: #282828;
}

.tab-btn.active {
    color: #24ca68;
    border-bottom-color: #24ca68;
}

.tab-content {
    padding: 16px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-date {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #3a3a3a;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f0f0;
    margin-bottom: 16px;
}

.tab-text {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #3a3a3a;
}

.tab-text p {
    margin-bottom: 16px;
}

/* ============================================
   FAQ - VAKINHA EXATO
   ============================================ */
.faq-section {
    padding: 32px 0;
}

.faq-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #3a3a3a;
    margin-bottom: 24px;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    background: #fff;
    border: none;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #3a3a3a;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    fill: #8a8a8a;
    transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

.faq-answer p {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #3a3a3a;
    line-height: 1.6;
}

.report-link {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #8a8a8a;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 24px;
    display: inline-block;
}

.legal-notice {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f1f0f0;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    color: #8a8a8a;
    line-height: 1.6;
}

/* ============================================
   FOOTER - VAKINHA EXATO
   ============================================ */
.footer {
    background-color: #3a3a3a;
    padding: 32px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #555;
}

.footer-logo svg {
    height: 24px;
    width: auto;
}

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

.footer-social a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column h4 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #24ca68;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    color: #ccc;
    margin-bottom: 8px;
    text-decoration: none;
}

.footer-column a:hover {
    color: #fff;
}

.footer-column p {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    color: #ccc;
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-seal {
    margin-top: 12px;
}

.footer-seal img {
    height: 40px;
}

.footer-apps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-apps img {
    height: 35px;
    width: auto;
}

.footer-bottom {
    background-color: #282828;
    padding: 12px 0;
    text-align: center;
}

.footer-bottom p {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    color: #fff;
    margin: 0;
}

/* Legacy footer support */
.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-brand svg {
    height: 32px;
    width: auto;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column li a {
    margin-bottom: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px 16px;
        gap: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    .nav.active .nav-item,
    .nav.active .nav-search,
    .nav.active .nav-account {
        padding: 12px 0;
    }
    
    .nav.active .btn-cta {
        margin-left: 0;
        margin-top: 16px;
    }
}

@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .amount-value {
        font-size: 24px;
    }
    
    .goal-text {
        font-size: 14px;
    }
}
