/* Layout da pagina de afiliado.
   Estrutura transplantada do template irmao; o acento foi trocado do
   #f26822 para o #FF7B3A da marca OrbitSwap. Os tons de fundo ja eram
   identicos (#0f0f17 = bg-dark-600), entao nao precisaram mexer. */

        *, *::before, *::after { box-sizing: border-box; }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: #0f0f17;
            color: #fff;
            margin: 0;
            padding: 0;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        /* ---- HEADER ---- */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(15,15,23,0.95);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(75,75,100,0.25);
        }
        .header-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 64px;
        }
        .logo-link {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: #fff;
        }
        .logo-link img { width: 32px; height: 32px; }
        .logo-link span { font-size: 20px; font-weight: 700; }
        .header-buttons { display: flex; align-items: center; gap: 12px; }
        .btn-login {
            padding: 8px 20px;
            font-size: 14px;
            font-weight: 500;
            color: #ccc;
            background: transparent;
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.2s;
        }
        .btn-login:hover { color: #fff; border-color: rgba(255,255,255,0.35); }
        .btn-register-header {
            padding: 8px 20px;
            font-size: 14px;
            font-weight: 600;
            color: #fff;
            background: #FF7B3A;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.2s;
        }
        .btn-register-header:hover { background: #d95a1b; }

        /* ---- HERO ---- */
        .hero {
            position: relative;
            padding: 100px 24px 80px;
            text-align: center;
            overflow: hidden;
        }
        .hero-bg {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,123,58,0.12) 0%, transparent 60%),
                linear-gradient(180deg, #0f0f17 0%, #12121c 100%);
            z-index: 0;
        }
        .hero-grid {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 60px 60px;
            animation: gridShift 20s linear infinite;
            z-index: 0;
        }
        @keyframes gridShift {
            0% { transform: translate(0, 0); }
            100% { transform: translate(60px, 60px); }
        }
        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
            margin: 0 auto;
        }
        .hero h1 {
            font-size: 52px;
            font-weight: 900;
            line-height: 1.1;
            margin: 0 0 20px;
            letter-spacing: -1px;
        }
        .hero h1 .highlight { color: #FF7B3A; }
        .hero .subtitle {
            font-size: 19px;
            color: #9ca3af;
            line-height: 1.6;
            margin: 0 0 40px;
            max-width: 620px;
            margin-left: auto;
            margin-right: auto;
        }
        .hero-buttons {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 16px 32px;
            font-size: 16px;
            font-weight: 700;
            color: #fff;
            background: #FF7B3A;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.25s;
            box-shadow: 0 4px 24px rgba(255,123,58,0.3);
        }
        .btn-primary:hover {
            background: #d95a1b;
            transform: translateY(-2px);
            box-shadow: 0 6px 32px rgba(255,123,58,0.4);
        }
        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 16px 32px;
            font-size: 16px;
            font-weight: 600;
            color: #ccc;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 12px;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.25s;
        }
        .btn-secondary:hover {
            color: #fff;
            background: rgba(255,255,255,0.08);
            border-color: rgba(255,255,255,0.25);
            transform: translateY(-2px);
        }

        /* ---- SECTIONS ---- */
        .section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 80px 24px;
        }
        .section-title {
            text-align: center;
            font-size: 36px;
            font-weight: 800;
            margin: 0 0 16px;
            letter-spacing: -0.5px;
        }
        .section-subtitle {
            text-align: center;
            font-size: 17px;
            color: #9ca3af;
            margin: 0 0 56px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }
        .section-divider {
            border: none;
            border-top: 1px solid rgba(255,255,255,0.06);
            margin: 0;
        }

        /* ---- HOW IT WORKS ---- */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .step-card {
            background: #1e1e2d;
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 16px;
            padding: 36px 28px;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .step-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.3);
        }
        .step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: rgba(255,123,58,0.12);
            color: #FF7B3A;
            font-size: 24px;
            font-weight: 800;
            margin-bottom: 20px;
        }
        .step-card h3 {
            font-size: 20px;
            font-weight: 700;
            margin: 0 0 10px;
        }
        .step-card p {
            font-size: 15px;
            color: #9ca3af;
            line-height: 1.6;
            margin: 0;
        }

        /* ---- BENEFITS GRID ---- */
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .benefit-card {
            background: #1e1e2d;
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 16px;
            padding: 32px 24px;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .benefit-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(0,0,0,0.25);
        }
        .benefit-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: rgba(255,123,58,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 18px;
        }
        .benefit-icon svg {
            width: 24px;
            height: 24px;
            color: #FF7B3A;
        }
        .benefit-card h3 {
            font-size: 17px;
            font-weight: 700;
            margin: 0 0 8px;
        }
        .benefit-card p {
            font-size: 14px;
            color: #9ca3af;
            line-height: 1.6;
            margin: 0;
        }

        /* ---- COMMISSION TABLE ---- */
        .commission-card {
            max-width: 680px;
            margin: 0 auto;
            background: #1e1e2d;
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 20px;
            padding: 48px 40px;
            position: relative;
            overflow: hidden;
        }
        .commission-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, #FF7B3A, #ff9a5c, #FF7B3A);
        }
        .commission-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .commission-row:last-child { border-bottom: none; }
        .commission-label {
            font-size: 15px;
            color: #9ca3af;
            font-weight: 500;
        }
        .commission-value {
            font-size: 15px;
            font-weight: 700;
            color: #fff;
        }
        .commission-value.accent { color: #FF7B3A; font-size: 18px; }

        /* ---- TWO WAYS ---- */
        .two-ways-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 28px;
        }
        .way-card {
            background: #1e1e2d;
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 20px;
            padding: 40px 32px;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .way-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.3);
        }
        .way-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }
        .way-icon.link-icon { background: rgba(255,123,58,0.12); }
        .way-icon.api-icon { background: rgba(99,102,241,0.12); }
        .way-icon svg { width: 28px; height: 28px; }
        .way-card h3 {
            font-size: 22px;
            font-weight: 700;
            margin: 0 0 10px;
        }
        .way-card > p {
            font-size: 15px;
            color: #9ca3af;
            line-height: 1.6;
            margin: 0 0 24px;
        }
        .way-card ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .way-card ul li {
            font-size: 14px;
            color: #d1d5db;
            padding: 6px 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .way-card ul li::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #FF7B3A;
            flex-shrink: 0;
        }

        /* ---- STATS ---- */
        .stats-section {
            background: linear-gradient(180deg, rgba(255,123,58,0.04) 0%, transparent 100%);
            border-top: 1px solid rgba(255,255,255,0.04);
            border-bottom: 1px solid rgba(255,255,255,0.04);
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 28px;
            max-width: 1000px;
            margin: 0 auto;
        }
        .stat-item {
            text-align: center;
            padding: 20px;
        }
        .stat-number {
            font-size: 42px;
            font-weight: 900;
            color: #FF7B3A;
            margin-bottom: 8px;
            text-shadow: 0 0 40px rgba(255,123,58,0.3);
        }
        .stat-label {
            font-size: 14px;
            color: #9ca3af;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* ---- FAQ ---- */
        .faq-list {
            max-width: 760px;
            margin: 0 auto;
        }
        .faq-item {
            background: #1e1e2d;
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 14px;
            margin-bottom: 12px;
            overflow: hidden;
            transition: border-color 0.3s;
        }
        .faq-item:hover { border-color: rgba(255,123,58,0.2); }
        .faq-question {
            width: 100%;
            background: none;
            border: none;
            color: #fff;
            font-size: 16px;
            font-weight: 600;
            font-family: inherit;
            padding: 20px 24px;
            text-align: left;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            transition: color 0.2s;
        }
        .faq-question:hover { color: #FF7B3A; }
        .faq-chevron {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            transition: transform 0.3s;
            color: #6b7280;
        }
        .faq-item.open .faq-chevron {
            transform: rotate(180deg);
            color: #FF7B3A;
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.35s ease;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
        }
        .faq-answer-inner {
            padding: 0 24px 20px;
            font-size: 15px;
            color: #9ca3af;
            line-height: 1.7;
        }

        /* ---- CTA ---- */
        .cta-section {
            text-align: center;
            padding: 80px 24px;
            background: linear-gradient(180deg, #0f0f17 0%, #151521 50%, #0f0f17 100%);
            position: relative;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 600px;
            height: 400px;
            background: radial-gradient(ellipse, rgba(255,123,58,0.08) 0%, transparent 70%);
            pointer-events: none;
        }
        .cta-section h2 {
            font-size: 40px;
            font-weight: 800;
            margin: 0 0 16px;
            position: relative;
        }
        .cta-section p {
            font-size: 17px;
            color: #9ca3af;
            margin: 0 0 36px;
            position: relative;
        }

        /* ---- FOOTER ---- */
        .site-footer {
            border-top: 1px solid rgba(255,255,255,0.06);
            padding: 32px 24px;
            text-align: center;
        }
        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 16px;
        }
        .footer-copy {
            font-size: 14px;
            color: #6b7280;
        }
        .footer-links {
            display: flex;
            gap: 24px;
        }
        .footer-links a {
            font-size: 14px;
            color: #6b7280;
            text-decoration: none;
            transition: color 0.2s;
        }
        .footer-links a:hover { color: #fff; }

        /* ---- REVEAL ANIMATION ---- */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ---- RESPONSIVE ---- */
        @media (max-width: 1024px) {
            .benefits-grid { grid-template-columns: repeat(2, 1fr); }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
        }

        @media (max-width: 768px) {
            .hero { padding: 70px 20px 60px; }
            .hero h1 { font-size: 34px; }
            .hero .subtitle { font-size: 16px; }
            .hero-buttons { flex-direction: column; }
            .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

            .section { padding: 56px 20px; }
            .section-title { font-size: 28px; }
            .section-subtitle { font-size: 15px; }

            .steps-grid { grid-template-columns: 1fr; }
            .benefits-grid { grid-template-columns: 1fr; }
            .two-ways-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .stat-number { font-size: 32px; }

            .commission-card { padding: 32px 24px; }
            .commission-row { flex-direction: column; gap: 4px; text-align: center; }

            .cta-section h2 { font-size: 28px; }

            .footer-inner { flex-direction: column; text-align: center; }
        }

        @media (max-width: 480px) {
            .hero h1 { font-size: 28px; }
            .header-inner { padding: 0 16px; }
            .btn-login { padding: 6px 14px; font-size: 13px; }
            .btn-register-header { padding: 6px 14px; font-size: 13px; }
            .stat-number { font-size: 26px; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
        }
            @media(max-width:768px) { .two-ways-grid { grid-template-columns:1fr !important; } }

        /* ============================================================
           CRO ADDITIONS — inline signup, calculator, counter, exit-intent
           ============================================================ */

        /* Inline email signup in hero */
        .quick-signup {
            margin: 28px auto 0;
            max-width: 480px;
            display: flex;
            gap: 8px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,123,58,0.3);
            border-radius: 12px;
            padding: 6px;
            transition: border-color .2s;
        }
        .quick-signup:focus-within { border-color: #FF7B3A; }
        .quick-signup input {
            flex: 1;
            background: transparent;
            border: 0;
            color: #fff;
            padding: 12px 16px;
            font-size: 15px;
            outline: none;
            font-family: inherit;
        }
        .quick-signup input::placeholder { color: rgba(255,255,255,0.45); }
        .quick-signup button {
            background: linear-gradient(135deg, #FF7B3A 0%, #e55a14 100%);
            color: #fff;
            border: 0;
            padding: 12px 22px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            white-space: nowrap;
            transition: transform .15s, box-shadow .15s;
        }
        .quick-signup button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,123,58,0.3); }
        .quick-signup button:disabled { opacity: 0.5; cursor: wait; }
        .quick-signup-note {
            margin-top: 12px;
            font-size: 12px;
            color: rgba(255,255,255,0.5);
            text-align: center;
        }
        .quick-signup-error {
            margin-top: 10px;
            color: #fca5a5;
            font-size: 13px;
            text-align: center;
            min-height: 18px;
        }

        @media(max-width:520px) {
            .quick-signup { flex-direction: column; padding: 8px; }
            .quick-signup button { width: 100%; }
        }

        /* Live commission counter */
        .live-counter {
            background: linear-gradient(135deg, rgba(34,197,94,0.08) 0%, rgba(255,123,58,0.06) 100%);
            border: 1px solid rgba(34,197,94,0.2);
            border-radius: 14px;
            padding: 22px 28px;
            margin: 40px auto 0;
            max-width: 720px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            flex-wrap: wrap;
        }
        .live-counter .pulse-dot {
            width: 10px; height: 10px;
            background: #22c55e;
            border-radius: 50%;
            box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
            animation: pulseRing 2s infinite;
            display: inline-block;
            margin-right: 8px;
            vertical-align: middle;
        }
        @keyframes pulseRing {
            0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
            70% { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
            100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
        }
        .live-counter-label { color: rgba(255,255,255,0.7); font-size: 14px; }
        .live-counter-value {
            font-size: 28px;
            font-weight: 700;
            color: #22c55e;
            font-variant-numeric: tabular-nums;
        }
        .live-counter-secondary {
            font-size: 13px;
            color: rgba(255,255,255,0.6);
        }

        /* Earnings calculator */
        .calculator-section {
            padding: 60px 24px;
            background: linear-gradient(180deg, transparent 0%, rgba(255,123,58,0.04) 50%, transparent 100%);
        }
        .calculator-card {
            max-width: 720px;
            margin: 0 auto;
            background: rgba(20,20,32,0.7);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 16px;
            padding: 36px;
            backdrop-filter: blur(8px);
        }
        .calculator-row { margin-bottom: 24px; }
        .calculator-row label {
            display: flex; justify-content: space-between;
            color: #fff; font-size: 14px; margin-bottom: 10px;
        }
        .calculator-row label span:last-child {
            color: #FF7B3A; font-weight: 700;
            font-variant-numeric: tabular-nums;
        }
        .calculator-row input[type=range] {
            width: 100%; height: 6px;
            -webkit-appearance: none; appearance: none;
            background: rgba(255,255,255,0.1);
            border-radius: 3px;
            outline: none;
        }
        .calculator-row input[type=range]::-webkit-slider-thumb {
            -webkit-appearance: none; appearance: none;
            width: 22px; height: 22px;
            background: #FF7B3A;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 0 0 4px rgba(255,123,58,0.2);
        }
        .calculator-row input[type=range]::-moz-range-thumb {
            width: 22px; height: 22px;
            background: #FF7B3A;
            border-radius: 50%;
            cursor: pointer;
            border: 0;
        }
        .calculator-result {
            margin-top: 28px;
            padding: 24px;
            background: linear-gradient(135deg, rgba(255,123,58,0.12) 0%, rgba(255,123,58,0.04) 100%);
            border: 1px solid rgba(255,123,58,0.3);
            border-radius: 12px;
            text-align: center;
        }
        .calculator-result-label { color: rgba(255,255,255,0.7); font-size: 13px; }
        .calculator-result-value {
            font-size: 42px;
            font-weight: 800;
            color: #FF7B3A;
            margin: 6px 0;
            font-variant-numeric: tabular-nums;
        }
        .calculator-result-sub { color: rgba(255,255,255,0.5); font-size: 12px; }

        /* Exit-intent popup */
        .exit-popup-overlay {
            position: fixed; inset: 0;
            background: rgba(0,0,0,0.85);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .exit-popup-overlay.show { display: flex; animation: fadeIn .25s; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        .exit-popup {
            background: #161622;
            border: 1px solid rgba(255,123,58,0.4);
            border-radius: 16px;
            padding: 36px;
            max-width: 460px;
            width: 100%;
            text-align: center;
            position: relative;
            box-shadow: 0 30px 60px rgba(0,0,0,0.5);
        }
        .exit-popup h3 { color: #fff; font-size: 24px; margin: 0 0 12px; }
        .exit-popup p { color: rgba(255,255,255,0.7); margin: 0 0 24px; font-size: 15px; line-height: 1.5; }
        .exit-popup-close {
            position: absolute; top: 12px; right: 14px;
            background: transparent; border: 0; color: rgba(255,255,255,0.5);
            font-size: 24px; cursor: pointer; line-height: 1;
        }
        .exit-popup-close:hover { color: #fff; }

        /* Quick-signup success modal */
        .signup-success-overlay {
            position: fixed; inset: 0;
            background: rgba(0,0,0,0.92);
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .signup-success-overlay.show { display: flex; }
        .signup-success {
            background: #161622;
            border: 1px solid rgba(34,197,94,0.4);
            border-radius: 16px;
            padding: 40px;
            max-width: 540px;
            width: 100%;
            text-align: center;
        }
        .signup-success h3 { color: #22c55e; font-size: 26px; margin: 0 0 14px; }
        .signup-success-row {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 8px;
            padding: 12px 14px;
            margin: 12px 0;
            font-family: 'Courier New', monospace;
            font-size: 13px;
            color: #fff;
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-align: left;
        }
        .signup-success-row strong { color: #FF7B3A; margin-right: 12px; }
        .signup-success-row code { word-break: break-all; flex: 1; }
        .signup-success-row button {
            background: #FF7B3A; color: #fff; border: 0;
            padding: 6px 12px; border-radius: 6px; font-size: 12px;
            cursor: pointer; margin-left: 12px; flex-shrink: 0;
        }
        .signup-success-cta {
            display: inline-block;
            background: #FF7B3A;
            color: #fff;
            padding: 14px 32px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 20px;
            transition: transform .15s;
        }
        .signup-success-cta:hover { transform: translateY(-1px); }
        .signup-success-warning {
            background: rgba(234,179,8,0.1);
            border: 1px solid rgba(234,179,8,0.3);
            color: #facc15;
            padding: 12px;
            border-radius: 8px;
            font-size: 13px;
            margin: 16px 0;
        }
    

/* Rede de seguranca do .reveal.
   Ele nasce com opacity:0 e so aparece quando o IntersectionObserver adiciona
   .visible. Se o JS falhar, ou a aba estiver em segundo plano (o observer nao
   dispara sem renderizacao), a pagina inteira fica PRETA. Aqui a animacao de
   CSS entrega o mesmo resultado sozinha em 0,8s; quando o observer funciona,
   .visible assume antes e a transicao continua sendo a original. */
.reveal { animation: revealFallback .6s ease .8s forwards; }
.reveal.visible { animation: none; }
@keyframes revealFallback { to { opacity: 1; transform: translateY(0); } }
