/* ============================================================
   QZVERSO — PORTAL DE DIVULGAÇÃO LITERÁRIA (STYLING V2)
   Design System: Obsidian Dark, Glassmorphism, Electric Violet
   ============================================================ */

:root {
    --bg-main: #0a0a0f;
    --bg-card: rgba(20, 20, 30, 0.7);
    --bg-glass: rgba(24, 24, 38, 0.75);
    --border-glass: rgba(168, 85, 247, 0.2);
    --border-hover: rgba(192, 132, 252, 0.6);
    
    --primary: #9333ea;
    --primary-glow: #c084fc;
    --primary-dark: #581c87;
    --accent-cyan: #38bdf8;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    
    --shadow-glow: 0 0 25px rgba(147, 51, 234, 0.35);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .brand-name {
    font-family: 'Outfit', sans-serif;
}

/* ------------------------------------------------------------
   NAVBAR GLASS
   ------------------------------------------------------------ */
.navbar-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.8rem 2rem;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-orbit {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-glow);
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.brand-dot {
    color: var(--primary-glow);
}

.nav-search-bar {
    position: relative;
    flex: 1;
    max-width: 380px;
}

.nav-search-bar input {
    width: 100%;
    background: rgba(236, 206, 72, 0.945);
    border: 1px solid var(--border-glass);
    padding: 0.6rem 1rem 0.6rem 2.6rem;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.nav-search-bar input:focus {
    border-color: var(--primary-glow);
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.25);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-glow);
}

/* ------------------------------------------------------------
   HERO SPOTLIGHT
   ------------------------------------------------------------ */
.hero-banner {
    position: relative;
    min-height: 520px;
    margin-top: 70px;
    background: radial-gradient(circle at 70% 30%, rgba(147, 51, 234, 0.35) 0%, rgba(10, 10, 15, 0.95) 70%), url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    border-bottom: 1px solid var(--border-glass);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0a0a0f 30%, transparent 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: max(2rem, calc((100vw - 1300px)/2));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(147, 51, 234, 0.25);
    border: 1px solid var(--primary-glow);
    color: var(--primary-glow);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #e9d5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-meta {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.meta-tag {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-tag.author { color: var(--primary-glow); font-weight: 600; }
.meta-tag.rating { color: #facc15; }

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* BUTTONS */
.btn-glow, .btn-primary-glow {
    background: linear-gradient(135deg, var(--primary), #7e22ce);
    color: white;
    border: none;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.btn-glow:hover, .btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-glow);
}

/* ------------------------------------------------------------
   FILTERS & CARDS GRID
   ------------------------------------------------------------ */
.main-layout {
    max-width: 1300px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.filter-pills {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.pill {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.pill:hover, .pill.active {
    background: var(--primary);
    border-color: var(--primary-glow);
    color: white;
    box-shadow: 0 0 12px rgba(147, 51, 234, 0.4);
}

.section-container {
    margin-bottom: 4rem;
}

.section-header {
    margin-bottom: 1.8rem;
}

.section-header h2 {
    font-size: 1.8rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-header h2 i { color: var(--primary-glow); }
.section-header p { color: var(--text-muted); font-size: 0.95rem; }

.story-grid, .partner-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.8rem;
}

/* STORY CARD DESIGN */
.story-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.card-cover-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.card-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .card-cover-img {
    transform: scale(1.08);
}

.card-platform-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid var(--primary-glow);
    color: var(--primary-glow);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.card-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.3rem;
}

.card-author-text {
    font-size: 0.85rem;
    color: var(--primary-glow);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.card-synopsis-snippet {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
    flex: 1;
}

.card-footer-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

/* DASHBOARD CARD */
.dashboard-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(12px);
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0 2rem 0;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.8rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: color 0.2s;
}

.tab-btn.active {
    color: var(--primary-glow);
    border-bottom: 2px solid var(--primary-glow);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    background: rgba(10, 10, 15, 0.7);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.95rem;
    outline: none;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary-glow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.w-100 { width: 100%; }
.mt-5 { margin-top: 3rem; }

/* MODALS */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.modal-glass {
    background: #14141f;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    max-width: 750px;
    width: 100%;
    position: relative;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.modal-auth-box { max-width: 420px; }

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
}

.modal-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
}

@media(max-width: 768px) {
    .modal-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.2rem; }
    .nav-search-bar { display: none; }
}

/* FOOTER */
.footer-glass {
    background: #08080c;
    border-top: 1px solid var(--border-glass);
    padding: 3rem 2rem 1.5rem 2rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-ods {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.ods-badge {
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid var(--border-glass);
    color: var(--primary-glow);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}


/* ------------------------------------------------------------
   PROPORTIONAL LOGO & BRANDING STYLES
   ------------------------------------------------------------ */
.brand-logo-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary-glow);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 0 20px rgba(192, 132, 252, 0.7);
}

.footer-logo-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary-glow);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

/* Ensure images in cards and modals stay proportional */
.card-cover-img, .modal-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ------------------------------------------------------------
   ENHANCED RESPONSIVE STYLES (MOBILE & TABLET FIXES)
   ------------------------------------------------------------ */
@media (max-width: 768px) {
    .navbar-glass {
        padding: 0.5rem 0.8rem;
    }

    .nav-container {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .brand-logo-img {
        width: 32px;
        height: 32px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .nav-search-bar {
        display: none;
    }

    .nav-menu {
        display: flex;
        gap: 0.7rem;
        font-size: 0.82rem;
        overflow-x: auto;
        padding-bottom: 2px;
        max-width: 100%;
        scrollbar-width: none; /* Firefox */
    }

    .nav-menu::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .nav-link {
        font-size: 0.82rem;
        gap: 0.25rem;
        white-space: nowrap;
    }

    .btn-glow {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    /* HERO RESPONSIVE FIXES */
    .hero-banner {
        margin-top: 60px;
        padding: 2.5rem 1rem;
        min-height: auto;
        background-position: center;
    }

    .hero-container {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
        margin-bottom: 0.8rem;
    }

    .hero-meta {
        justify-content: center;
        gap: 0.5rem;
    }

    .meta-tag {
        font-size: 0.78rem;
        padding: 0.2rem 0.5rem;
    }

    .hero-description {
        font-size: 0.92rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .btn-primary-glow, .btn-secondary-glass {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    /* GRID & CARDS MOBILE FIXES */
    .story-grid, .partner-grid, .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }

    .card-cover-wrapper {
        height: 230px;
    }

    .card-body {
        padding: 0.8rem;
    }

    .card-title-text {
        font-size: 1rem;
    }

    .dashboard-card {
        padding: 1.2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
}

@media (max-width: 480px) {
    .story-grid, .partner-grid, .product-grid {
        grid-template-columns: 1fr; /* Single column on narrow phones */
    }

    .card-cover-wrapper {
        height: 280px;
    }
}


/* ============================================================
   QZVERSO — REFINAMENTO EDITORIAL E RESPONSIVIDADE
   ============================================================ */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.nav-search-bar input{background:rgba(255,255,255,.06);color:var(--text-main);border-color:rgba(192,132,252,.22)}
.nav-search-bar input::placeholder{color:var(--text-dim)}
.nav-search-bar input:focus{background:rgba(255,255,255,.09)}
.hero-banner{min-height:590px;padding:4.5rem 2rem;background:radial-gradient(ellipse at 82% 42%,rgba(147,51,234,.24),transparent 42%),linear-gradient(110deg,rgba(10,10,15,.98),rgba(10,10,15,.76)),url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat}
.hero-overlay{background:linear-gradient(90deg,rgba(10,10,15,.56),rgba(10,10,15,.12))}
.hero-layout{position:relative;z-index:2;width:100%;max-width:1300px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);align-items:center;gap:clamp(2rem,5vw,5rem)}
.hero-container{max-width:720px;margin:0}
.hero-title{max-width:720px}
.hero-description{max-width:650px;-webkit-line-clamp:unset}
.hero-feature{width:min(100%,410px);justify-self:end;padding:1rem;border:1px solid rgba(192,132,252,.3);border-radius:24px;background:linear-gradient(155deg,rgba(34,24,48,.88),rgba(14,14,23,.94));box-shadow:0 24px 70px rgba(0,0,0,.38),0 0 40px rgba(147,51,234,.13);backdrop-filter:blur(16px);transform:rotate(1deg)}
.hero-feature-media{position:relative;height:245px;overflow:hidden;border-radius:16px;background:radial-gradient(circle at 50% 35%,rgba(192,132,252,.25),rgba(10,10,15,.95))}
.hero-feature-media::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(10,10,15,.65));pointer-events:none}
.hero-feature-media img{width:100%;height:100%;display:block;object-fit:cover}
.hero-feature-kicker{position:absolute;z-index:1;top:14px;left:14px;display:inline-flex;align-items:center;gap:.45rem;padding:.42rem .72rem;border:1px solid rgba(255,255,255,.2);border-radius:30px;background:rgba(10,10,15,.65);color:#ead7ff;font-size:.68rem;font-weight:800;letter-spacing:.09em}
.hero-feature-body{padding:1.05rem .35rem .35rem}
.hero-feature-overline,.section-eyebrow,.partner-type{color:var(--primary-glow);font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.hero-feature-body h2{margin:.35rem 0 .15rem;font-size:1.45rem;line-height:1.2;color:white}
.hero-feature-body>p:not(.hero-feature-overline){color:var(--text-muted);font-size:.86rem}
.hero-feature-link{display:inline-flex;align-items:center;gap:.55rem;margin-top:.95rem;color:#e9d5ff;font-weight:700;text-decoration:none}
.hero-feature-link:hover,.text-link:hover{color:white}
.main-layout{margin-top:2.8rem}
.discovery-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:0 0 4.5rem}
.discovery-item{display:flex;align-items:flex-start;gap:.95rem;padding:1.25rem;border:1px solid var(--border-glass);border-radius:var(--radius-md);background:linear-gradient(135deg,rgba(31,24,43,.72),rgba(18,18,27,.76))}
.discovery-icon,.partner-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border:1px solid rgba(192,132,252,.28);border-radius:13px;background:rgba(147,51,234,.14);color:var(--primary-glow);font-size:1.05rem}
.discovery-item h2{margin:0 0 .2rem;font-size:1rem}
.discovery-item p{color:var(--text-muted);font-size:.82rem;line-height:1.5}
.section-heading-row{display:flex;align-items:end;justify-content:space-between;gap:1.5rem}
.section-header{margin-bottom:1.4rem}
.section-eyebrow{display:inline-block;margin-bottom:.55rem}
.section-header h2{margin-bottom:.25rem}
.catalog-status{flex:0 0 auto;margin-bottom:1.7rem;color:var(--text-dim);font-size:.82rem}
.filter-pills{margin-bottom:1rem}
.pill-clear{margin-left:auto;background:transparent;border-color:rgba(255,255,255,.1)}
.pill-clear:hover{border-color:var(--primary-glow)}
.story-card{min-width:0}
.story-card-button{all:unset;box-sizing:border-box;display:flex;flex:1;flex-direction:column;width:100%;min-width:0;cursor:pointer}
.story-card-button:focus-visible{outline:2px solid var(--primary-glow);outline-offset:-3px;border-radius:var(--radius-md)}
.story-card-button .card-body{flex:1}
.card-synopsis-snippet{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.card-footer-action{margin-top:auto}
.empty-state{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:.65rem;padding:3.5rem 1.5rem;border:1px dashed var(--border-hover);border-radius:var(--radius-lg);text-align:center;background:rgba(255,255,255,.025)}
.empty-state-icon{color:var(--primary-glow);font-size:1.8rem}
.empty-state h3{font-size:1.2rem}
.empty-state p{color:var(--text-muted);max-width:440px;font-size:.9rem}
.empty-state .btn-secondary-glass{margin-top:.5rem}
.manifesto-section{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);align-items:center;gap:3rem;min-height:360px;margin:1rem 0 5rem;padding:clamp(1.6rem,4vw,3.4rem);overflow:hidden;border:1px solid var(--border-glass);border-radius:26px;background:radial-gradient(circle at 78% 48%,rgba(147,51,234,.16),transparent 34%),linear-gradient(125deg,rgba(28,22,39,.94),rgba(12,12,19,.96))}
.manifesto-copy{position:relative;z-index:1}
.manifesto-copy h2{max-width:600px;margin:.25rem 0 1rem;color:white;font-size:clamp(1.8rem,3.4vw,2.65rem);line-height:1.13}
.manifesto-copy p{max-width:650px;margin:0 0 .85rem;color:var(--text-muted);font-size:.94rem}
.text-link{display:inline-flex;align-items:center;gap:.55rem;margin-top:.6rem;color:var(--primary-glow);font-weight:700;text-decoration:none}
.manifesto-art{position:relative;display:grid;place-items:center;min-height:270px}
.manifesto-symbol{z-index:1;display:grid;place-items:center;width:118px;height:118px;border:1px solid rgba(216,180,254,.58);border-radius:50%;background:radial-gradient(circle,rgba(168,85,247,.38),rgba(28,18,42,.9));box-shadow:0 0 55px rgba(168,85,247,.26),inset 0 0 25px rgba(255,255,255,.06);color:#f3e8ff;font-size:2.7rem}
.orbit{position:absolute;width:250px;height:110px;border:1px solid rgba(192,132,252,.28);border-radius:50%;transform:rotate(-27deg)}
.orbit-two{width:300px;height:150px;transform:rotate(34deg);border-color:rgba(56,189,248,.2)}
.manifesto-word{position:absolute;color:rgba(233,213,255,.72);font-size:.76rem;letter-spacing:.08em;text-transform:uppercase}
.word-one{top:12%;left:12%}.word-two{right:2%;top:48%}.word-three{bottom:7%;left:23%}
.partner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.partner-card{display:flex;flex-direction:column;align-items:flex-start;min-height:230px;padding:1.6rem;border:1px solid var(--border-glass);border-radius:var(--radius-lg);background:linear-gradient(145deg,rgba(29,23,40,.84),rgba(16,16,24,.92));transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.partner-card:hover{transform:translateY(-4px);border-color:var(--border-hover);box-shadow:var(--shadow-card)}
.partner-card .partner-type{margin-top:1rem}
.partner-card h3{margin:.25rem 0 .45rem;font-size:1.35rem}
.partner-card p{flex:1;margin-bottom:.6rem;color:var(--text-muted);font-size:.9rem}
.partner-card .text-link{font-size:.88rem}
.dashboard-header .section-eyebrow{margin-bottom:.5rem}
.dashboard-header p{max-width:720px}
.development-note{display:flex;align-items:flex-start;gap:.9rem;padding:1rem;border:1px solid var(--border-glass);border-radius:var(--radius-md);background:rgba(147,51,234,.08);color:var(--primary-glow)}
.development-note p{margin-top:.3rem;color:var(--text-muted);font-size:.88rem}
.auth-note{margin:0 0 1rem;color:var(--text-muted);font-size:.82rem}
.modal-open{overflow:hidden}
.modal-read-link{width:100%;justify-content:center;text-decoration:none}
.modal-info h2{font-size:2rem;margin:.5rem 0;color:white}
.modal-author{color:var(--primary-glow);font-weight:600;margin-bottom:1rem}
.modal-synopsis{color:var(--text-muted);font-size:.95rem;line-height:1.7;margin-bottom:1.4rem;white-space:pre-line}
.redirect-note{display:flex;gap:.65rem;margin-bottom:1.3rem;padding:1rem;border-left:3px solid var(--accent-cyan);border-radius:8px;background:rgba(255,255,255,.04);color:var(--text-muted);font-size:.85rem}
.app-toast{position:fixed;z-index:2000;right:1.2rem;bottom:1.2rem;max-width:min(420px,calc(100vw - 2.4rem));padding:.95rem 1.1rem;border:1px solid var(--border-hover);border-radius:12px;background:rgba(18,18,28,.96);box-shadow:var(--shadow-card);color:var(--text-main);opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .2s ease,transform .2s ease}
.app-toast.visible{opacity:1;transform:translateY(0)}
.app-toast.error{border-color:rgba(248,113,113,.65)}
.app-toast.success{border-color:rgba(74,222,128,.5)}
.profile-page{min-height:65vh;display:grid;place-items:center}
.profile-placeholder{max-width:760px;margin:2rem auto;padding:clamp(2rem,5vw,4rem);text-align:center;border:1px solid var(--border-glass);border-radius:26px;background:radial-gradient(circle at 50% 0,rgba(147,51,234,.15),transparent 55%),var(--bg-card)}
.profile-placeholder-icon{display:grid;place-items:center;width:74px;height:74px;margin:0 auto 1.2rem;border-radius:22px;background:rgba(147,51,234,.15);color:var(--primary-glow);font-size:1.8rem}
.profile-placeholder h1{margin:.3rem auto 1rem;font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.15}
.profile-placeholder p{max-width:620px;margin:0 auto 1rem;color:var(--text-muted)}
.profile-placeholder .btn-primary-glow{margin-top:1rem;text-decoration:none}
@media(max-width:980px){.hero-layout{grid-template-columns:minmax(0,1fr) minmax(250px,.8fr);gap:1.8rem}.hero-title{font-size:2.65rem}.hero-feature{width:100%}.hero-feature-media{height:210px}}
@media(max-width:768px){
 .hero-banner{min-height:0;padding:2.4rem 1rem 2.8rem}
 .hero-layout{grid-template-columns:1fr;gap:2rem}
 .hero-container{text-align:center}
 .hero-title{font-size:2.1rem}
 .hero-meta,.hero-actions{justify-content:center}
 .hero-feature{width:min(100%,430px);justify-self:center;transform:none}
 .hero-feature-media{height:220px}
 .discovery-strip{grid-template-columns:1fr;gap:.7rem;margin-bottom:3.2rem}
 .discovery-item{padding:1rem}
 .section-heading-row{display:block}
 .catalog-status{margin:-.8rem 0 1rem}
 .pill-clear{margin-left:0}
 .manifesto-section{grid-template-columns:1fr;gap:1rem}
 .manifesto-art{min-height:210px}
 .partner-grid{grid-template-columns:1fr}
 .modal-grid{grid-template-columns:1fr}
 .modal-cover{max-width:260px;margin:0 auto}
}
@media(max-width:480px){
 .hero-title{font-size:1.8rem}
 .hero-description{font-size:.92rem}
 .hero-feature-media{height:190px}
 .manifesto-art{transform:scale(.9);margin:-1rem 0}
 .partner-card{min-height:0}
 .app-toast{right:.8rem;bottom:.8rem}
}


/* ------------------------------------------------------------
   AUTENTICAÇÃO — LOGIN E CADASTRO
   ------------------------------------------------------------ */
.modal-auth-box {
    width: min(100%, 470px);
    max-width: 470px;
    max-height: min(92vh, 780px);
    overflow-y: auto;
    padding: clamp(1.45rem, 4vw, 2.35rem);
    border-color: rgba(168, 85, 247, .24);
    background:
        radial-gradient(ellipse at 85% 0%, rgba(126, 34, 206, .13), transparent 42%),
        linear-gradient(145deg, rgba(20, 18, 31, .98), rgba(13, 13, 22, .99));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .58), 0 0 45px rgba(126, 34, 206, .08);
}

.auth-heading {
    padding: .1rem 2.2rem .15rem 0;
    margin-bottom: 1.25rem;
}

.auth-eyebrow {
    display: inline-block;
    margin-bottom: .55rem;
    color: #c084fc;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.auth-heading h2 {
    margin: 0 0 .38rem;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.45rem, 4vw, 1.8rem);
    line-height: 1.15;
}

.auth-heading p {
    margin: 0;
    color: var(--text-muted);
    font-size: .86rem;
    line-height: 1.5;
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem;
    padding: .32rem;
    margin: 0 0 1rem;
    border: 1px solid rgba(192, 132, 252, .18);
    border-radius: 13px;
    background: rgba(5, 5, 12, .62);
}

.auth-tab-btn {
    appearance: none;
    min-height: 42px;
    padding: .65rem .9rem;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: .87rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.auth-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, .055);
}

.auth-tab-btn.active {
    color: #fff;
    background: linear-gradient(135deg, #9333ea, #6b21a8);
    box-shadow: 0 5px 18px rgba(126, 34, 206, .28);
}

.auth-tab-btn:focus-visible,
.modal-auth-box .modal-close:focus-visible,
.auth-submit:focus-visible {
    outline: 2px solid #d8b4fe;
    outline-offset: 3px;
}

.auth-status-note {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin: 0 0 1.15rem;
    padding: .78rem .85rem;
    border: 1px solid rgba(250, 204, 21, .2);
    border-radius: 10px;
    background: rgba(250, 204, 21, .055);
    color: #d6c9a0;
    font-size: .76rem;
    line-height: 1.5;
}

.auth-status-note > i {
    flex: 0 0 auto;
    margin-top: .12rem;
    color: #e8c66b;
}

.auth-status-note.is-configured {
    border-color: rgba(74, 222, 128, .2);
    background: rgba(74, 222, 128, .055);
    color: #b7d9c1;
}

.auth-status-note.is-configured > i {
    color: #86d69a;
}

.auth-form {
    display: grid;
    gap: .95rem;
}

.auth-form .form-group {
    margin: 0;
}

.auth-form .form-group label {
    margin-bottom: .42rem;
    color: #d5d1df;
    font-size: .84rem;
    font-weight: 600;
}

.auth-form .form-group label i {
    width: 1.1rem;
    color: #c084fc;
}

.auth-form .form-group input {
    min-height: 46px;
    border-color: rgba(192, 132, 252, .16);
    border-radius: 10px;
    background: rgba(5, 5, 12, .72);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.auth-form .form-group input::placeholder {
    color: #777384;
}

.auth-form .form-group input:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, .13);
}

.auth-submit {
    min-height: 46px;
    justify-content: center;
    margin-top: .15rem;
    border-radius: 11px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.modal-auth-box .modal-close {
    top: .8rem;
    right: .85rem;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1.65rem;
    line-height: 1;
    transition: color .2s ease, background .2s ease;
}

.modal-auth-box .modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

@media (max-width: 480px) {
    .modal-overlay {
        align-items: center;
        padding: .7rem;
    }

    .modal-auth-box {
        max-height: 94vh;
        padding: 1.35rem 1.1rem;
        border-radius: 18px;
    }

    .auth-heading {
        margin-bottom: 1rem;
    }

    .auth-form {
        gap: .8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-tab-btn,
    .auth-form .form-group input,
    .modal-auth-box .modal-close {
        transition: none;
    }
}
