/* =========================================================
   MODERN.CSS — Camada de modernização visual
   Este arquivo é somativo: não altera style.css nem qualquer
   script de rastreamento/pixel/UTM. Apenas refina a aparência.
   ========================================================= */

/* ---------- Header moderno / sticky ---------- */
.main-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 500;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.header-brand-name {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark-text);
    line-height: 1.15;
}

.header-brand-tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-cta {
    display: none;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(76, 175, 80, 0.45);
}

@media (min-width: 600px) {
    .header-cta {
        display: inline-block;
    }
}

/* ---------- Faixa de aviso ---------- */
.alert-banner {
    background: linear-gradient(135deg, #fdf3e7 0%, #fbe6d3 100%);
    padding: 26px 16px;
    text-align: center;
}

.alert-banner-inner {
    max-width: 640px;
    margin: 0 auto;
}

.alert-banner-line1 {
    font-weight: 800;
    font-size: 1.25rem;
    color: #1f4e3a;
    margin: 0 0 4px;
    line-height: 1.3;
}

.alert-banner-line2 {
    font-weight: 800;
    font-size: 1.3rem;
    color: #d3241a;
    margin: 0 0 14px;
    line-height: 1.3;
}

.alert-banner-sub {
    font-size: 0.9rem;
    color: #6b6b6b;
    margin: 0;
    line-height: 1.5;
}

@media (min-width: 600px) {
    .alert-banner {
        padding: 34px 16px;
    }
    .alert-banner-line1 {
        font-size: 1.55rem;
    }
    .alert-banner-line2 {
        font-size: 1.65rem;
    }
    .alert-banner-sub {
        font-size: 1rem;
    }
}

/* ---------- Hero moderno sobre o banner ---------- */
.hero-wrap {
    position: relative;
    overflow: hidden;
}

.hero-wrap .banner-image {
    filter: brightness(0.72);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 100%);
    padding: 24px 20px;
}

.hero-overlay-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    color: #fff;
}

.hero-overlay-inner h1 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    margin-bottom: 8px;
}

.hero-overlay-inner p {
    font-size: 0.95rem;
    opacity: 0.95;
    max-width: 560px;
}

@media (min-width: 768px) {
    .hero-overlay-inner h1 { font-size: 2.1rem; }
    .hero-overlay-inner p { font-size: 1.05rem; }
}

/* ---------- Barra de confiança ---------- */
.trust-bar {
    background: var(--dark-text);
    color: #fff;
    padding: 14px 0;
}

.trust-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 28px;
    font-size: 0.8rem;
    text-align: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f1f1f1;
    opacity: 0.95;
}

.trust-item .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-green);
    flex-shrink: 0;
}

/* ---------- Quem Somos — cartão moderno ---------- */
.about-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 8px 28px var(--shadow);
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-orange), var(--primary-green)) 1;
    max-width: 760px;
}

.about-card p {
    text-align: left;
}

.about-card p:first-child {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--dark-text) !important;
}

/* ---------- Impacto da doação — mais compacto no celular ---------- */
@media (max-width: 767px) {
    .impact-section {
        padding: 16px;
        border-radius: 14px;
        margin-top: 24px;
    }
    .impact-section h3 {
        font-size: 1rem;
        margin-bottom: 14px;
    }
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .impact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 8px;
        border-radius: 10px;
    }
    .impact-value {
        font-size: 0.7rem;
        padding: 3px 8px;
        min-width: 0;
    }
    .impact-description {
        font-size: 0.68rem;
        line-height: 1.25;
    }
}

/* ---------- Histórias de transformação e depoimentos — mais compactos ---------- */
.transformation-section {
    padding: 18px 0;
}

.transformation-subtitle {
    margin-bottom: 14px;
    font-size: 0.78rem;
    max-width: 420px;
}

.transformation-carousel {
    max-width: 340px;
    margin: 16px auto;
}

.transformation-card {
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 4px 16px var(--shadow);
}

.transformation-images {
    margin-bottom: 8px;
}

.before-after {
    gap: 6px;
}

.image-container {
    border-radius: 8px;
}

.image-label {
    padding: 2px 7px;
    font-size: 0.55rem;
    bottom: 4px;
    left: 4px;
    letter-spacing: 0.2px;
}

.transformation-content h3 {
    font-size: 0.85rem;
    margin-bottom: 3px;
    text-align: center;
}

.transformation-content p {
    font-size: 0.68rem;
    line-height: 1.3;
    text-align: center;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.transformation-controls {
    margin: 10px 0;
    gap: 12px;
}

.transformation-btn {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
}

.transformation-indicator {
    width: 6px;
    height: 6px;
}

.transformation-indicator.active {
    width: 8px;
    height: 8px;
}

.transformation-message {
    padding: 4px 0;
}

.transformation-cta-btn {
    padding: 11px 26px;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .transformation-carousel {
        max-width: 380px;
    }
}

@media (min-width: 1024px) {
    .transformation-carousel {
        max-width: 400px;
    }
}

.testimonials-section {
    padding: 18px 0;
}

.testimonials-subtitle {
    margin-bottom: 16px;
    font-size: 0.78rem;
}

.testimonials-carousel {
    max-width: 340px;
    height: 190px !important;
    border-radius: 16px;
}

.testimonial-card {
    padding: 14px 16px;
    min-height: 0 !important;
    height: 100%;
    border-radius: 16px;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 4px 16px var(--shadow);
}

.testimonial-card::before {
    content: '\201C';
    display: block;
    font-family: Georgia, serif;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--primary-orange);
    opacity: 0.5;
    margin-bottom: -4px;
}

.testimonial-image {
    width: 44px;
    height: 44px;
    margin: 0 auto 6px;
    border-width: 2px;
}

.testimonial-content h4 {
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.testimonial-content p {
    font-size: 0.7rem;
    line-height: 1.35;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-controls {
    margin: 10px 0 0;
    gap: 12px;
}

.testimonial-btn {
    width: 30px;
    height: 30px;
    font-size: 1rem;
}

.testimonial-indicator {
    width: 6px;
    height: 6px;
}

.testimonial-indicator.active {
    width: 8px;
    height: 8px;
}

@media (min-width: 768px) {
    .testimonials-carousel {
        height: 200px !important;
        max-width: 360px;
    }
    .testimonial-card {
        padding: 16px 20px;
    }
}

@media (min-width: 1024px) {
    .testimonials-carousel {
        height: 205px !important;
        max-width: 380px;
    }
}

/* ---------- Cartão de transparência / CNPJ ---------- */
.transparency-section {
    background: var(--light-gray);
}

.transparency-subtitle {
    text-align: center;
    color: var(--gray-text);
    max-width: 560px;
    margin: 0 auto 24px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.transparency-toggle-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 20px;
    padding: 18px 22px;
    box-shadow: 0 8px 28px var(--shadow);
    max-width: 640px;
    margin: 0 auto;
}

.transparency-check {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.transparency-summary {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.transparency-row {
    font-size: 0.85rem;
    color: var(--dark-text);
    font-weight: 500;
    transition: filter 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.transparency-summary.blurred-group .transparency-row {
    filter: blur(4px);
    user-select: none;
}

.transparency-toggle-btn {
    border: 1.5px solid var(--primary-green);
    color: var(--dark-green);
    background: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.2s ease;
}

.transparency-toggle-btn:hover {
    background: rgba(76, 175, 80, 0.08);
    transform: translateY(-1px);
}

.transparency-toggle-btn .chevron {
    display: inline-block;
    transition: transform 0.25s ease;
}

.transparency-toggle-btn.expanded .chevron {
    transform: rotate(180deg);
}

.transparency-reveal {
    max-width: 320px;
    margin: 20px auto 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px var(--shadow);
    animation: transparencyReveal 0.35s ease;
}

.transparency-reveal img {
    width: 100%;
    display: block;
}

@keyframes transparencyReveal {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 599px) {
    .transparency-toggle-card {
        flex-wrap: wrap;
    }
    .transparency-summary {
        order: 3;
        width: 100%;
    }
    .transparency-toggle-btn {
        margin-left: auto;
    }
}

.transparency-card {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 32px var(--shadow);
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

.transparency-image {
    width: 100%;
    max-width: 340px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 20px var(--shadow);
}

.transparency-image img {
    width: 100%;
    height: auto;
    display: block;
}

.transparency-text h3 {
    color: var(--dark-green);
    font-size: var(--h4-size);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.transparency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(76, 175, 80, 0.12);
    color: var(--dark-green);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.transparency-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    color: var(--gray-text);
    font-size: 0.92rem;
    line-height: 1.7;
}

.transparency-list li strong {
    color: var(--dark-text);
}

@media (min-width: 768px) {
    .transparency-card {
        flex-direction: row;
        text-align: left;
        padding: 40px;
    }
    .transparency-text {
        flex: 1;
    }
}

/* ---------- Como Ajudar via PIX — mesmo layout, acabamento mais moderno ---------- */
.pix-instructions {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pix-instructions h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pix-instructions h3::before {
    content: '📌';
    font-size: 1rem;
}

.pix-instructions li {
    padding-left: 2px;
}

.pix-key-container {
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.pix-key {
    border-radius: 12px;
    letter-spacing: 0.4px;
    border: 1px dashed rgba(255, 139, 61, 0.4);
}

.copy-btn {
    border-radius: 40px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.copy-btn:hover {
    filter: brightness(1.05);
}

.donation-footer {
    margin-top: 4px;
}

/* ---------- CTA final — mais compacto, mas bem visível ---------- */
.cta-section {
    padding: 24px 0;
}

.cta-section h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 0.85rem;
    margin-bottom: 18px;
    max-width: 480px;
}

.cta-btn {
    letter-spacing: 0.3px;
    padding: 14px 28px;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 32px 0;
    }
    .cta-section h2 {
        font-size: 1.6rem;
    }
    .cta-section p {
        font-size: 0.95rem;
    }
}

/* ---------- Footer moderno ---------- */
.footer {
    position: relative;
    padding-top: 46px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-green));
}

.footer-logo img {
    border-radius: 50%;
    padding: 6px;
    background: rgba(255,255,255,0.06);
}

.footer-section {
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 16px 18px;
}

.footer-section h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.social-links {
    gap: 10px !important;
}

.social-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    margin-bottom: 0 !important;
    transition: background 0.25s ease, transform 0.25s ease;
}

.social-link:hover {
    background: rgba(255,139,61,0.25);
    transform: translateY(-2px);
}

.footer-link {
    font-size: 0.85rem;
    opacity: 0.9;
}

.footer-link:hover {
    opacity: 1;
}

.footer-bottom {
    opacity: 0.85;
}

@media (min-width: 768px) {
    .footer-content {
        gap: 30px;
    }
    .social-links {
        flex-wrap: wrap;
    }
}

/* ---------- Botão WhatsApp — leve refinamento sobre o CSS já existente ---------- */
.whatsapp-float {
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.25));
}

/* ---------- Ajustes finos de seção ---------- */
.section-title {
    letter-spacing: -0.3px;
}

::selection {
    background: var(--primary-green);
    color: #fff;
}
