/*body {*/
/*    margin: 0;*/
/*    background:*/
/*            radial-gradient(*/
/*                    ellipse 120% 80% at top,*/
/*                    #f8f7ff 0%,*/
/*                    #f1f3f7 55%,*/
/*                    #e9edf3 100%*/
/*            );*/
/*    font-family: Inter, Arial, sans-serif;*/
/*    color: #222;*/
/*}*/

.page {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 20px;
    overflow: hidden;

}

.hero {
    position: relative;
    text-align: center;
    margin-top: 40px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.logo img {
    width: 60px;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 12px;
    margin-top: 0px;
}

.hero p {
    color: #666;
    font-size: 18px;
}

.search-box {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.search-box input {
    width: 500px;
    padding: 18px;
    border-radius: 18px;
    border: 2px solid transparent;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);

    background:
            linear-gradient(white, white) padding-box,
            linear-gradient(135deg, #833ab4, #c13584, #e1306c, #f77737) border-box;

    transition: all 0.25s ease;
}

.search-box input:focus {
    outline: none;
    box-shadow:
            0 8px 25px rgba(0,0,0,.08),
            0 0 0 4px rgba(193, 53, 132, 0.12);
}

.search-box button {
    padding: 18px 36px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #111, #2a2a2a);
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: all 0.25s ease;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

#results {
    margin-top: 60px;
}

.profile-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.05);
}

.profile-header {
    display: flex;
    gap: 24px;
    align-items: center;
}

.profile-header img {
    width: 120px;
    border-radius: 50%;
}

.story-list {
    margin-top: 30px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.story-thumb {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

/*.info {*/
/*    margin-top: 80px;*/
/*    display: flex;*/
/*    gap: 24px;*/
/*}*/

/*.card {*/
/*    flex: 1;*/
/*    min-height: 180px;*/
/*    background: rgba(255,255,255,0.72);*/
/*    backdrop-filter: blur(12px);*/
/*    border-radius: 24px;*/
/*    padding: 32px;*/
/*    border: 1px solid rgba(255,255,255,0.7);*/
/*    box-shadow: 0 20px 40px rgba(0,0,0,0.05);*/
/*    transition: all 0.25s ease;*/
/*}*/

/*.card:hover {*/
/*    transform: translateY(-6px);*/
/*    box-shadow: 0 28px 50px rgba(0,0,0,0.08);*/
/*}*/

.info {
    margin-top: 70px;
    display: flex;
    gap: 28px;
    align-items: stretch;
}

.card {
    flex: 1;
    min-height: 160px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.06);

    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    transition: all 0.25s ease;
}

.card-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.card h3 {
    margin: 0 0 16px;
    font-size: 30px;
    font-weight: 600;
}

.card p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 18px;
}

.hidden {
    display: none !important;
}

.story-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    justify-content: center;
    align-items: center;
}

.story-modal.visible {
    display: flex;
}

.modal-content {
    position: relative;
}

#story-image {
    max-height: 90vh;
    border-radius: 16px;
}

#close-modal {
    position: absolute;
    top: -20px;
    right: -20px;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
}

.search-error-box {
    margin: 28px auto 0;
    max-width: 760px;
    padding: 18px 24px;
    border: 1px solid #ef4444;
    border-radius: 14px;
    background: #fff5f5;

    display: flex;
    align-items: center;
    gap: 16px;
}

.error-icon {
    font-size: 24px;
}

.error-text strong {
    display: block;
    color: #991b1b;
    margin-bottom: 6px;
}

.error-text p {
    margin: 0;
    color: #7f1d1d;
}

.search-error-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.error-text {
    text-align: left;
}

.error-text p {
    margin: 0;
    line-height: 1.5;
}

.hero-logo {
    width: 200px;
    height: auto;
}

.hero::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(
            circle,
            rgba(193,53,132,0.15),
            transparent 70%
    );
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(20px);
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin: auto;
    line-height: 1.6;
}

.search-box button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-width: 140px;
    height: 60px;
    padding: 0 36px;

    border: none;
    border-radius: 18px;

    background: linear-gradient(135deg, #111, #2a2a2a);
    color: white;

    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.2px;

    cursor: pointer;

    box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.18),
            inset 0 1px 1px rgba(255,255,255,0.08);

    transition: all 0.25s ease;
}

/*.search-box button:hover {*/
/*    transform: translateY(-3px) scale(1.02);*/
/*    box-shadow:*/
/*            0 20px 38px rgba(0,0,0,0.25),*/
/*            inset 0 1px 1px rgba(255,255,255,0.12);*/
/*}*/

/*.search-box button:active {*/
/*    transform: translateY(0);*/
/*}*/


.search-box button {
    background: linear-gradient(
            135deg,
            #833ab4,
            #c13584,
            #e1306c,
            #f77737
    );
    color: white;
}

.search-box button:hover {
    filter: brightness(1.05);
}

.section-divider {
    width: 120px;
    height: 2px;
    margin: 90px auto 70px;
    background: linear-gradient(
            90deg,
            transparent,
            #c13584,
            #f77737,
            transparent
    );
}

.faq {
    max-width: 900px;
    margin: 100px auto 0;
    padding-bottom: 80px;
}

.faq h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 40px;
}

.faq-item {
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
            90deg,
            #833ab4,
            #c13584,
            #e1306c,
            #f77737
    );
}

.faq-item:hover {
    transform: translateY(-2px);
    border-color: rgba(193,53,132,0.15);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.faq-item h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.faq-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info,
.faq {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.search-box button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.mobile-menu-toggle span {
    background-color: #333;
    height: 3px;
    width: 25px;
    margin: 4px 0;
}

.language-switcher {
    position: relative;
}

.language-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    min-width: 62px;
    height: 42px;
    padding: 0 14px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.06);

    color: white;
    font-weight: 700;
    font-size: 14px;

    cursor: pointer;
    transition: all 0.25s ease;
}

.chevron {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    line-height: 1;

    position: relative;
    top: 1px; /* micro ajuste */
}

.language-menu-button:hover {
    background: rgba(255,255,255,0.12);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;

    min-width: 180px;
    padding: 10px;

    background: rgba(20,20,20,0.96);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.35);

    z-index: 999;
}

.language-dropdown a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.language-dropdown .lang-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #ddd;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.language-dropdown.show {display: block;}


@media (max-width: 768px) {
    .page {
        padding: 24px 16px;
    }

    .legal-page h1 {
        font-size: 28px;
    }

    .legal-page h2 {
        font-size: 22px;
    }

    .legal-page p, .legal-page li {
        font-size: 16px;
    }

    .hero {
        margin-top: 20px;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-logo {
        width: 120px;
    }

    .hero h1 {
        font-size: 22px;
        line-height: 1.3;
        padding: 0 8px;
        word-break: break-word;
    }

    .hero p {
        font-size: 16px;
        max-width: 100%;
    }

    .hero::before {
        width: 180px;
        height: 180px;
    }

    /* Search */
    .search-box {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .search-box input {
        width: 100%;
        box-sizing: border-box;
        padding: 16px;
    }

    .search-box button {
        width: 100%;
        min-width: unset;
        height: 56px;
    }

    /* Error box */
    .search-error-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }

    /* Profile card */
    .profile-card {
        padding: 20px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-header img {
        width: 90px;
    }

    /* Stories */
    .story-list {
        justify-content: center;
    }

    .story-thumb {
        width: 70px;
        height: 70px;
    }

    /* Info cards */
    .info {
        flex-direction: column;
        gap: 20px;
        margin-top: 50px;
    }

    .card {
        padding: 24px;
        min-height: auto;
    }

    .card h3 {
        font-size: 22px;
    }

    .card p {
        font-size: 16px;
    }

    /* FAQ */
    .faq {
        margin-top: 60px;
        padding-bottom: 40px;
    }

    .faq h2 {
        font-size: 28px;
    }

    .faq-item {
        padding: 22px 20px;
    }

    .faq-item h3 {
        font-size: 18px;
    }

    .faq-item p {
        font-size: 15px;
    }

    .section-divider {
        margin: 60px auto 40px;
    }

    .profile-page .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .stories-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }

    .story-modal .modal-inner {
        width: 100%;
        height: 100%;
    }

    .story-modal .nav-btn {
        top: 50%;
        transform: translateY(-50%);
    }


    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;

        width: 44px;
        height: 44px;
        padding: 0;

        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 14px;
        background: rgba(255,255,255,0.06);

        cursor: pointer;
    }

    .mobile-menu-toggle span {
        width: 18px;
        height: 2px;
        margin: 0;
        border-radius: 999px;
        background: white;
        transition: all 0.25s ease;
    }

    .mobile-menu-toggle:hover {
        background: rgba(255,255,255,0.12);
    }

    .main-nav {
        display: none;
        flex-direction: column;
        gap: 8px;

        position: absolute;
        top: 72px;
        right: 16px;

        width: 240px;
        padding: 12px;

        background: rgba(20,20,20,0.96);
        backdrop-filter: blur(20px);

        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 18px;

        box-shadow: 0 20px 40px rgba(0,0,0,0.35);
        z-index: 999;
    }

    .main-nav.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}
