:root {
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-200: #fed7aa;
    --orange-300: #fdba74;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --orange-700: #c2410c;
    --orange-800: #9a3412;
    --orange-900: #7c2d12;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --radius: 0.5rem;
    --radius-sm: 0.25rem;
    --radius-lg: 0.75rem;
}

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

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: white;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 32px;
    width: auto;
}

/* Main Content */
main {
    padding: 2rem 1rem;
}

/* Profile Section */
.profile-section {
    position: relative;
    margin-bottom: 4rem;
}

/* Banner */
.banner {
    position: relative;
    width: 100%;
    height: 12rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1),
            rgba(0, 0, 0, 0.4));
}

.banner-content {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
}

.banner-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.banner-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: white;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Profile Image */
.profile-image-container {
    position: absolute;
    bottom: -2.5rem;
    left: 1.5rem;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: var(--shadow);
    z-index: 5;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cards */
.card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-header {
    padding: 1.5rem 1.5rem 0.5rem;
}

.card-header h3 {
    font-size: 1.125rem;
    font-weight: 500;
}

.card-content {
    padding: 1.5rem;
}

/* Profile Card */
.profile-card {
    padding-top: 0.5rem;
    margin-top: 2rem;
}

.profile-card span {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.username {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.bio {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

/* Subscription Buttons */
.subscription-link {
    display: block;
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.subscription-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 3.5rem;
    padding: 0 1.5rem;
    border-radius: var(--radius);
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.primary-button {
    background: linear-gradient(to right,
            var(--orange-400),
            var(--orange-500));
    color: white;
    border: none;
}

.primary-button:hover {
    background: linear-gradient(to right,
            var(--orange-500),
            var(--orange-600));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.outline-button {
    background-color: white;
    border: 1px solid var(--orange-200);
    color: var(--gray-800);
}

.outline-button:hover {
    background-color: var(--orange-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.button-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    background-color: var(--orange-100);
    color: var(--orange-800);
}

.price {
    font-weight: 700;
}

.highlight {
    color: var(--orange-600);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Promotions */
.promotions {
    margin-top: 1.5rem;
}

.promotions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.promotions-header h4 {
    font-size: 0.875rem;
    font-weight: 500;
}

.chevron {
    color: var(--gray-400);
    transition: transform 0.3s ease;
}

.tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.tab {
    padding: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    background-color: var(--gray-100);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    color: var(--gray-600);
}

.tab.active {
    background-color: var(--orange-50);
    color: var(--orange-500);
    font-weight: 500;
}

.tab:first-child.active {
    box-shadow: inset -1px 0 0 var(--orange-200);
}

.tab:last-child.active {
    box-shadow: inset 1px 0 0 var(--orange-200);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    /* display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px */
}

/* Media Subtabs */
.media-subtabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.subtab {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    background-color: var(--gray-100);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color 0.2s;
    color: var(--gray-600);
    white-space: nowrap;
}

.subtab.active {
    background-color: var(--orange-100);
    color: var(--orange-700);
    font-weight: 500;
}

/* Post Card */
.post-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 1px solid var(--gray-100);
}

.post-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.post-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.post-user h4 {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.125rem;
}

.post-username {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.post-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background-color: transparent;
    color: var(--gray-500);
    cursor: pointer;
}

.post-menu:hover {
    background-color: var(--gray-100);
}

/* Post Content */
.post-content {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Video Content */
.post-video-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.post-video {
    width: 100%;
    height: auto;
    display: block;
    /* Impede que o vídeo seja reproduzido em tela cheia no iOS */
    object-fit: contain;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Locked Content */
.locked-content {
    position: relative;
    height: 15rem;
    background-color: var(--orange-50);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-background {
    position: absolute;
    width: 80%;
    max-width: 200px;
    height: auto;
    opacity: 0.1;
    z-index: 0;
}

/* Removido o efeito de borrão */
/* .locked-content::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle, transparent 30%, var(--orange-50) 70%);
      opacity: 0.8;
    } */

.lock-icon {
    position: relative;
    z-index: 1;
    color: var(--gray-400);
    background-color: rgba(255, 255, 255, 0.5);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Post Stats */
.post-stats {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    color: var(--gray-600);
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
}

.post-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Post Actions */
.post-actions {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    border: none;
    background-color: transparent;
    color: var(--gray-600);
    font-size: 0.875rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.action-button:hover {
    background-color: var(--gray-100);
}

.action-button.bookmark {
    margin-left: auto;
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.media-item {
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: var(--orange-50);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Removido o efeito de borrão */
/* .media-item::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle, transparent 30%, var(--orange-50) 70%);
      opacity: 0.8;
    } */

.media-item .lock-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background-color: white;
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    z-index: 50;
}

.cookie-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-consent p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.cookie-consent button {
    align-self: center;
    padding: 0.5rem 1.5rem;
}

/* Responsive */
@media (min-width: 768px) {
    .cookie-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-consent button {
        flex-shrink: 0;
    }

    .profile-image-container {
        width: 6rem;
        height: 6rem;
    }
}

@media (max-width: 480px) {
    .banner-stats {
        font-size: 0.75rem;
    }

    .profile-image-container {
        width: 4.5rem;
        height: 4.5rem;
        bottom: -2.25rem;
    }

    .post-actions {
        flex-wrap: wrap;
    }

    .action-button {
        font-size: 0.75rem;
    }
}
/* =========================
   NOVOS BOTÕES
========================= */

.plans-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.plan-card {
    position: relative;
}

.discount-badge {
    position: absolute;
    top: -14px;
    left: 18px;

    background: #e6f5dd;
    color: #59c13d;

    padding: 8px 18px;

    border-radius: 18px;

    font-size: 15px;
    font-weight: 600;

    z-index: 2;

    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.modern-plan-button {
    width: 100%;
    min-height: 88px;

    border-radius: 999px;

    background: linear-gradient(
        135deg,
        #f7a24e 0%,
        #f5c0a9 55%,
        #f6b3b5 100%
    );

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 34px;

    text-decoration: none;

    transition: 0.25s ease;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.08),
        inset 0 1px 1px rgba(255,255,255,0.5);
}

.modern-plan-button:hover {
    transform: translateY(-2px) scale(1.01);
}

.plan-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.original-price {
    text-align: right;
    margin-top: 12px;

    font-size: 18px;
    color: #444;
}

.original-price s {
    color: #333;
}

.plans-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 10px;
}

.plans-header h3 {
    font-size: 42px;
    font-weight: 700;
}

.plans-header span {
    font-size: 28px;
    color: #777;
}

/* RESPONSIVO */

@media (max-width: 768px) {

    .modern-plan-button {
        min-height: 72px;
        padding: 0 24px;
    }

    .plan-title {
        font-size: 16px;
    }

    .plan-price {
        font-size: 20px;
    }

    .plans-header h3 {
        font-size: 28px;
    }

    .original-price {
        font-size: 15px;
    }

    .discount-badge {
        font-size: 13px;
        padding: 6px 14px;
    }
}

/* =========================================================
   TEMA DARK MODERNO — inspirado em interfaces premium
   Fundo não é preto absoluto: #0b0b0f
   ========================================================= */

:root {
    --dark-bg: #0b0b0f;
    --dark-surface: #121216;
    --dark-surface-2: #18181d;
    --dark-border: #27272d;
    --dark-text: #f5f5f7;
    --dark-text-muted: #a1a1aa;
}

html {
    background: var(--dark-bg) !important;
}

body {
    background: var(--dark-bg) !important;
    color: var(--dark-text) !important;
}

.header {
    background: rgba(11, 11, 15, 0.96) !important;
    border-bottom: 1px solid var(--dark-border) !important;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.35) !important;
}

main,
.container {
    background: transparent !important;
}

.card,
.profile-card,
.post-card {
    background: var(--dark-surface) !important;
    color: var(--dark-text) !important;
    border: 1px solid var(--dark-border) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22) !important;
}

.profile-card span,
.profile-card .username,
.profile-card .bio,
.post-user h4,
.plans-header h3,
.plans-header span {
    color: var(--dark-text) !important;
}

.username,
.bio,
.post-username,
.original-price {
    color: var(--dark-text-muted) !important;
}

.post-header {
    border-bottom: 1px solid var(--dark-border) !important;
}

.post-menu,
.action-button {
    color: #a1a1aa !important;
}

.post-menu:hover,
.action-button:hover {
    background: var(--dark-surface-2) !important;
}

.tabs,
.media-subtabs {
    background: transparent !important;
}

.tab,
.subtab {
    background: var(--dark-surface-2) !important;
    color: var(--dark-text-muted) !important;
}

.tab.active {
    background: #222228 !important;
    color: #f97316 !important;
}

.subtab.active {
    background: #242429 !important;
    color: #f97316 !important;
}

.media-item {
    background: var(--dark-surface) !important;
    border: 1px solid var(--dark-border);
}

.lock-icon {
    background-color: rgba(255, 255, 255, 0.09) !important;
    color: #b4b4bd !important;
}

.post-stats {
    background-color: rgba(10, 10, 13, 0.72) !important;
    color: var(--dark-text) !important;
}

.post-stat {
    color: var(--dark-text) !important;
}

.plan-title,
.plan-price {
    color: #000 !important;
}

.original-price s {
    color: #777 !important;
}

.discount-badge {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

footer {
    background: var(--dark-surface) !important;
    color: var(--dark-text-muted) !important;
    border-top: 1px solid var(--dark-border) !important;
}

footer p {
    color: var(--dark-text-muted) !important;
}

section {
    color: var(--dark-text) !important;
}

section[style*="background: #f9f9f9"],
section[style*="background:#f9f9f9"] {
    background: var(--dark-surface) !important;
    border: 1px solid var(--dark-border) !important;
}

details {
    background: var(--dark-surface-2) !important;
    color: var(--dark-text) !important;
    border-color: var(--dark-border) !important;
}

details summary,
details p {
    color: var(--dark-text) !important;
}

/* Depoimentos que têm background:#fff diretamente no HTML */
section div[style*="background: #fff"],
section div[style*="background:#fff"] {
    background: var(--dark-surface-2) !important;
    color: var(--dark-text) !important;
    border: 1px solid var(--dark-border) !important;
}

section div[style*="background: #fff"] strong,
section div[style*="background:#fff"] strong,
section div[style*="background: #fff"] p,
section div[style*="background:#fff"] p {
    color: var(--dark-text) !important;
}

.profile-image-container {
    border-color: var(--dark-bg) !important;
}

/* Mantém a tipografia original do projeto: Inter */
body,
button,
input,
textarea,
select {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif !important;
}
