/* ============================================
   LIDERANÇA DE REINO — STYLESHEET
   Paleta: Azul Petróleo #2c3e50 | Verde #25d366 | Dourado #c9a84c
   ============================================ */

/* ======================== RESET & BASE ======================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --azul: #2c3e50;
    --azul-deep: #1a1a2e;
    --azul-mid: #16213e;
    --verde: #25d366;
    --verde-dark: #1da851;
    --dourado: #c9a84c;
    --dourado-light: #e8d5a3;
    --branco: #f5f5f5;
    --cinza: #a0a0b0;
    --cinza-card: rgba(255, 255, 255, 0.05);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.4);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--azul-deep);
    color: var(--branco);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* ======================== TIPOGRAFIA ======================== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color: var(--dourado);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.12);
    color: var(--dourado);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    color: var(--branco);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--cinza);
    line-height: 1.8;
}

/* ======================== BOTÕES ======================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background: linear-gradient(135deg, var(--dourado), #d4a843);
    color: var(--azul-deep);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}

.btn--primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.5);
}

.btn--outline {
    background: transparent;
    color: var(--branco);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn--outline:hover {
    border-color: var(--verde);
    color: var(--verde);
    transform: translateY(-3px);
}

.btn--download {
    background: linear-gradient(135deg, var(--verde), var(--verde-dark));
    color: #fff;
    padding: 12px 24px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn--download:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.btn--whatsapp {
    background: linear-gradient(135deg, var(--verde), var(--verde-dark));
    color: #fff;
    font-size: 1.1rem;
    padding: 18px 40px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn--whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.btn--glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35); }
    to { box-shadow: 0 4px 35px rgba(201, 168, 76, 0.6); }
}

.btn--pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ======================== HEADER ======================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.header--scrolled {
    background: rgba(26, 26, 46, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    z-index: 1001;
}

.logo__icon {
    color: var(--dourado);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.4));
}

.logo__accent {
    color: var(--dourado);
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cinza);
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dourado);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--branco);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

.hamburger__line {
    width: 28px;
    height: 2px;
    background: var(--branco);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ======================== HERO ======================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--azul-deep) 0%, var(--azul-mid) 50%, var(--azul) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero__container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.25);
    color: var(--dourado);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 24px;
    color: var(--branco);
}

.hero__highlight {
    color: var(--dourado);
    display: block;
}

.hero__verse {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--dourado-light);
    margin-bottom: 24px;
    opacity: 0.85;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__verse i {
    font-size: 0.8rem;
    margin-right: 4px;
    opacity: 0.6;
}

.hero__verse-ref {
    display: block;
    font-size: 0.85rem;
    margin-top: 6px;
    opacity: 0.7;
    font-style: normal;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--cinza);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dourado);
}

.hero__stat-label {
    font-size: 0.85rem;
    color: var(--cinza);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll a {
    color: var(--cinza);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ======================== EBOOKS ======================== */
.ebooks {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--azul-deep) 0%, var(--azul-mid) 100%);
    position: relative;
}

.ebooks::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.ebooks__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

/* ======================== EBOOK CARD (Glassmorphism) ======================== */
.ebook-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ebook-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(201, 168, 76, 0.3);
}

.ebook-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--dourado), #d4a843);
    color: var(--azul-deep);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(201, 168, 76, 0.4);
}

.ebook-card__icon {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.1) 0%, rgba(37, 211, 102, 0.05) 100%);
    padding: 40px;
    text-align: center;
    font-size: 3rem;
    color: var(--dourado);
    position: relative;
}

.ebook-card__icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.ebook-card__content {
    padding: 28px;
}

.ebook-card__title {
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: var(--branco);
}

.ebook-card__full-title {
    font-size: 0.82rem;
    color: var(--dourado);
    font-weight: 500;
    margin-bottom: 14px;
    opacity: 0.85;
}

.ebook-card__desc {
    font-size: 0.92rem;
    color: var(--cinza);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* ======================== SOBRE ======================== */
.sobre {
    padding: 100px 0;
    background: var(--azul-deep);
    position: relative;
}

.sobre__wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.sobre__image-box {
    width: 100%;
    aspect-ratio: 1;
    max-width: 350px;
    margin: 0 auto;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--dourado);
    position: relative;
    overflow: hidden;
}

.sobre__image-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sobre__content .section-tag {
    margin-bottom: 16px;
}

.sobre__content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.sobre__text {
    font-size: 1.05rem;
    color: var(--cinza);
    margin-bottom: 20px;
    line-height: 1.85;
}

.sobre__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.sobre__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--branco);
}

.sobre__feature i {
    color: var(--verde);
    font-size: 1.1rem;
}

/* ======================== COMUNIDADE ======================== */
.comunidade {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--azul-deep) 0%, var(--azul-mid) 100%);
}

.comunidade__card {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, rgba(37, 211, 102, 0.02) 100%);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.comunidade__card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(37, 211, 102, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.comunidade__icon {
    font-size: 3.5rem;
    color: var(--verde);
    margin-bottom: 24px;
    filter: drop-shadow(0 0 20px rgba(37, 211, 102, 0.3));
}

.comunidade__title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 20px;
    color: var(--branco);
}

.comunidade__text {
    font-size: 1.05rem;
    color: var(--cinza);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.85;
}

.comunidade__benefits {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.comunidade__benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--branco);
}

.comunidade__benefit i {
    color: var(--verde);
}

.comunidade__note {
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--cinza);
    opacity: 0.7;
}

.comunidade__note i {
    margin-right: 4px;
}

/* ======================== DOAÇÕES ======================== */
.doacoes {
    padding: 100px 0;
    background: var(--azul-deep);
    position: relative;
}

.doacoes__wrapper {
    max-width: 650px;
    margin: 0 auto;
}

.doacoes__card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.doacoes__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--dourado), var(--verde), var(--dourado));
}

.doacoes__card-header {
    text-align: center;
    margin-bottom: 36px;
}

.doacoes__icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--dourado);
    margin-bottom: 20px;
    animation: pulse 3s ease-in-out infinite;
}

.doacoes__card-header h3 {
    font-size: 1.8rem;
    color: var(--branco);
}

.doacoes__impact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.doacoes__impact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.doacoes__impact-item:hover {
    background: rgba(201, 168, 76, 0.06);
    border-color: rgba(201, 168, 76, 0.15);
}

.doacoes__impact-item i {
    color: var(--dourado);
    font-size: 1.3rem;
    margin-top: 2px;
}

.doacoes__impact-item strong {
    display: block;
    color: var(--branco);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.doacoes__impact-item span {
    font-size: 0.88rem;
    color: var(--cinza);
}

.doacoes__pix-box {
    background: rgba(201, 168, 76, 0.06);
    border: 2px dashed rgba(201, 168, 76, 0.3);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    margin-bottom: 28px;
}

.doacoes__pix-label {
    font-size: 0.85rem;
    color: var(--cinza);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.doacoes__pix-key {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.3);
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.doacoes__pix-key span {
    font-family: 'Inter', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dourado);
    letter-spacing: 0.5px;
}

.doacoes__copy-btn {
    background: var(--dourado);
    color: var(--azul-deep);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

.doacoes__copy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
}

.doacoes__copy-btn.copied {
    background: var(--verde);
}

.doacoes__pix-name {
    font-size: 0.88rem;
    color: var(--cinza);
}

.doacoes__verse {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--dourado-light);
    opacity: 0.75;
    line-height: 1.8;
}

.doacoes__verse i {
    font-size: 0.75rem;
    margin-right: 4px;
    opacity: 0.5;
}

.doacoes__verse span {
    display: block;
    font-size: 0.82rem;
    font-style: normal;
    margin-top: 4px;
}

/* ======================== FOOTER ======================== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.logo--footer {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.footer__desc {
    font-size: 0.92rem;
    color: var(--cinza);
    line-height: 1.7;
}

.footer__links h4,
.footer__contact h4,
.footer__social h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--branco);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__links ul,
.footer__contact ul {
    list-style: none;
}

.footer__links li,
.footer__contact li {
    margin-bottom: 12px;
}

.footer__links a,
.footer__contact a {
    font-size: 0.9rem;
    color: var(--cinza);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--dourado);
    transform: translateX(4px);
}

.footer__social-icons {
    display: flex;
    gap: 12px;
}

.footer__social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--cinza);
    transition: var(--transition);
}

.footer__social-icons a:hover {
    background: var(--dourado);
    color: var(--azul-deep);
    border-color: var(--dourado);
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

.footer__bottom {
    border-top: 1px solid var(--glass-border);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--cinza);
    opacity: 0.7;
}

/* ======================== WHATSAPP FLUTUANTE ======================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--verde);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ======================== BACK TO TOP ======================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--branco);
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--dourado);
    color: var(--azul-deep);
    border-color: var(--dourado);
}

/* ======================== ANIMAÇÕES FADE-IN ======================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay escalonado para cards */
.ebook-card:nth-child(1) { transition-delay: 0.05s; }
.ebook-card:nth-child(2) { transition-delay: 0.1s; }
.ebook-card:nth-child(3) { transition-delay: 0.15s; }
.ebook-card:nth-child(4) { transition-delay: 0.2s; }
.ebook-card:nth-child(5) { transition-delay: 0.25s; }
.ebook-card:nth-child(6) { transition-delay: 0.3s; }
.ebook-card:nth-child(7) { transition-delay: 0.35s; }
.ebook-card:nth-child(8) { transition-delay: 0.4s; }
.ebook-card:nth-child(9) { transition-delay: 0.45s; }
.ebook-card:nth-child(10) { transition-delay: 0.5s; }

/* ======================== PARTÍCULAS HERO ======================== */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--dourado);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

/* ======================== RESPONSIVO ======================== */

/* Tablet */
@media (max-width: 1024px) {
    .sobre__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre__image {
        order: -1;
    }

    .sobre__image-box {
        max-width: 250px;
    }

    .sobre__content .section-title {
        text-align: center;
    }

    .sobre__content .section-tag {
        display: flex;
        justify-content: center;
    }

    .sobre__text {
        text-align: center;
    }

    .sobre__features {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .nav.open {
        right: 0;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav__list {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    .nav__link {
        font-size: 1.1rem;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .hero__stats {
        gap: 24px;
    }

    .hero__stat-number {
        font-size: 1.6rem;
    }

    .hero__cta {
        flex-direction: column;
        align-items: center;
    }

    .hero__cta .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .ebooks__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .comunidade__card {
        padding: 36px 24px;
    }

    .comunidade__benefits {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .doacoes__card {
        padding: 32px 20px;
    }

    .doacoes__pix-key {
        flex-direction: column;
        gap: 8px;
        padding: 16px;
    }

    .doacoes__pix-key span {
        font-size: 0.85rem;
        word-break: break-all;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer__social-icons {
        justify-content: center;
    }

    .footer__links a:hover,
    .footer__contact a:hover {
        transform: none;
    }

    .footer__links a,
    .footer__contact a {
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }

    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 42px;
        height: 42px;
    }

    .hero__scroll {
        display: none;
    }
}

/* Mobile Small */
@media (max-width: 400px) {
    .container {
        padding: 0 16px;
    }

    .hero__badge {
        font-size: 0.7rem;
        padding: 8px 16px;
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .ebook-card__content {
        padding: 20px;
    }
}

/* ======================== SEGURANÇA PIX ======================== */
.pix-security-alert {
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(220, 38, 38, 0.15);
    border: 2px solid rgba(220, 38, 38, 0.5);
    border-radius: 10px;
    color: #ff6b6b;
    font-size: 0.88rem;
    line-height: 1.6;
    text-align: center;
    animation: alertPulse 1.5s ease-in-out infinite;
}

.pix-security-alert i {
    color: #ff4444;
    margin-right: 6px;
    font-size: 1.1rem;
}

@keyframes alertPulse {
    0%, 100% { border-color: rgba(220, 38, 38, 0.5); }
    50% { border-color: rgba(220, 38, 38, 0.9); box-shadow: 0 0 20px rgba(220, 38, 38, 0.2); }
}

.doacoes__pix-key[data-tampered="true"] {
    border: 2px solid #ff4444 !important;
    background: rgba(220, 38, 38, 0.1) !important;
}

.doacoes__pix-key[data-tampered="true"] span {
    color: #ff4444 !important;
    text-decoration: line-through;
}

#pixDisplay {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
