/* CSS Custom Design System - CriarSites.ia */

:root {
    /* Color Palette */
    --bg-primary: #FAF9F6;
    /* Branco quente confortável aos olhos (Alabaster) */
    --bg-secondary: #F4F2EE;
    /* Seções contrastantes suaves */
    --bg-tertiary: #EAE7E2;
    /* Fundo para destaques e inputs */
    --text-primary: #0F172A;
    --text-secondary: #3B4354;
    --text-muted: #828E9E;
    --accent: #4F46E5;
    /* Indigo Moderno */
    --accent-hover: #4338CA;
    --accent-light: #F0EFFE;
    --border-color: #E6E3DD;

    /* Semantic Colors */
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;

    /* Typography */
    --font-titles: 'Outfit', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-premium: 0 30px 60px -15px rgba(15, 23, 42, 0.08);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background-color: var(--accent);
    color: #FFFFFF;
}

::-moz-selection {
    background-color: var(--accent);
    color: #FFFFFF;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

.page-wrapper {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Typography Helpers */
h1,
h2,
h3,
h4 {
    font-family: var(--font-titles);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Badges & Tags */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background-color: var(--accent-light);
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    border: 1px solid rgba(79, 70, 229, 0.08);
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.cta-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-family: var(--font-titles);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    border: 1px solid var(--text-primary);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cta-button-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button-primary svg {
    transition: var(--transition-fast);
}

.cta-button-primary:hover svg {
    transform: translateX(4px);
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--text-primary);
    font-family: var(--font-titles);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.cta-button-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-primary);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(230, 227, 221, 0.5);
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 12px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-titles);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
}

.logo-text .highlight {
    color: var(--accent);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--text-primary);
}

/* ─── Hambúrguer ─── */
.hamburger-btn {
    display: none;
    /* escondido no desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background-color var(--transition-fast);
}

.hamburger-btn:hover {
    background-color: var(--bg-secondary);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.25s ease;
    transform-origin: center;
}

/* Estado aberto: anima para X */
.hamburger-btn.open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile Menu Overlay ─── */
.mobile-menu-overlay {
    position: fixed;
    top: 65px;
    /* logo abaixo do header */
    left: 0;
    width: 100%;
    background-color: rgba(250, 249, 246, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    /* escondido por padrão */
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 4px;
}

.mobile-nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--text-primary);
}

.mobile-nav-cta {
    display: block;
    margin-top: 20px;
    background-color: var(--accent);
    color: #FFFFFF;
    text-align: center;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.mobile-nav-cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Ocultar mobile menu em telas grandes */
@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none;
    }

    .hamburger-btn {
        display: none !important;
    }
}

/* Hero Section */
.hero-section {
    padding: 160px 24px 100px;
    background-color: var(--bg-primary);
    position: relative;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

/* Grid quadriculado com fade para baixo */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 70, 229, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.13) 1px, transparent 1px);
    background-size: 40px 40px;
    /* Removido background-attachment:fixed — causa overflow horizontal no mobile Safari/Chrome */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    animation: pulseGlow 15s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
}

/* Staggered entrance animations for Hero content */
.hero-content>* {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUpHero 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content>*:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-content>*:nth-child(2) {
    animation-delay: 0.25s;
}

.hero-content>*:nth-child(3) {
    animation-delay: 0.4s;
}

.hero-content>*:nth-child(4) {
    animation-delay: 0.55s;
}

@keyframes fadeInUpHero {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        transform: scale(1) translate(0px, 0px);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15) translate(-40px, 40px);
        opacity: 0.8;
    }

    100% {
        transform: scale(1) translate(0px, 0px);
        opacity: 0.5;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-ratings {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star-icon {
    width: 18px;
    height: 18px;
    fill: #FBBF24;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.rating-text strong {
    color: var(--text-primary);
}

/* Ebook Mockup 3D Shadow styling */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* AI Prompt Generator Widget styling */
/* Wrapper externo recebe a animação flutuante — o card interno fica sem transform */
.widget-float-wrapper {
    animation: floatWidget 8s ease-in-out infinite;
    width: 100%;
    max-width: 520px;
    display: flex;
    justify-content: center;
}

.ai-widget-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 400px;
    background-color: rgba(250, 249, 246, 0.92);
    background-image:
        linear-gradient(rgba(79, 70, 229, 0.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.11) 1px, transparent 1px);
    background-size: 40px 40px;
    /* Removido background-attachment:fixed — causa overflow horizontal no mobile */
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    z-index: 10;
    transition: var(--transition-smooth);
}

@keyframes floatWidget {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Grade interna do widget desativada — a grade via background-image fixed já cuida disso */
.widget-grid-bg {
    display: none;
}

/* Header chips styling */
.widget-chips-container {
    position: relative;
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
}

.widget-chip {
    flex: 1;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.widget-chip.active {
    background-color: var(--bg-primary);
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 0 16px rgba(79, 70, 229, 0.18), inset 0 0 6px rgba(79, 70, 229, 0.05);
    transform: translateY(-3px) scale(1.02);
}

.chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--border-color);
    display: inline-block;
    transition: var(--transition-smooth);
}

.widget-chip.active .chip-dot {
    background-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

/* Prompt Card Styling */
.widget-prompt-card {
    position: relative;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    z-index: 2;
    overflow: hidden;
    flex-grow: 1;
    transition: border-color 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.widget-prompt-card.focused {
    border-color: rgba(79, 70, 229, 0.4);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.08);
}

.widget-prompt-header {
    background-color: var(--bg-secondary);
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.prompt-header-dots {
    display: flex;
    gap: 5px;
}

.prompt-header-dots .p-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-muted);
    opacity: 0.5;
}

.prompt-header-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.widget-prompt-body {
    padding: 16px 20px;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.prompt-input-text {
    font-size: 0.92rem;
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
    white-space: pre-wrap;
    min-height: 50px;
}

/* Cursor de digitação - apenas a barra CSS, sem caractere de texto */
.prompt-input-text .typing-cursor {
    display: inline-block;
    width: 2.5px;
    height: 1em;
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent), 0 0 4px var(--accent);
    animation: blinkCursor 0.75s step-end infinite;
    margin-left: 2px;
    vertical-align: text-bottom;
    border-radius: 1px;
    font-size: 0;
    /* Garante que qualquer texto interno seja invisível */
    line-height: 0;
    overflow: hidden;
}

@keyframes blinkCursor {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.widget-prompt-footer {
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prompt-folder-pill {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.prompt-folder-pill.highlighted {
    border-color: var(--accent);
    background-color: var(--accent-light);
    color: var(--accent);
    box-shadow: 0 0 16px rgba(79, 70, 229, 0.18);
    transform: scale(1.08) translateY(-1px);
}

.prompt-btn-submit {
    background-color: var(--accent);
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.prompt-btn-submit.active {
    background-color: var(--accent-hover);
    transform: scale(0.92) translateY(1px);
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.1);
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

.prompt-btn-submit:hover .btn-arrow {
    transform: translateX(3px);
}

/* Output Screen Overlay styling */
.widget-output-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(250, 249, 246, 0.85);
    /* Cozy Alabaster warm-white frosted glass */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.widget-output-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Loading State styling */
.widget-loading-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    width: 100%;
}

.widget-loading-state.active {
    display: flex;
}

.spinner-neon {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spinNeon 1s linear infinite;
}

@keyframes spinNeon {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.progress-bar-container {
    width: 80%;
    max-width: 260px;
    height: 6px;
    background-color: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #818cf8, var(--accent));
    background-size: 200% 100%;
    animation: progressShimmer 1.5s infinite linear;
    border-radius: 10px;
    transition: width 0.15s linear;
    box-shadow: 0 0 8px rgba(79, 70, 229, 0.3);
}

@keyframes progressShimmer {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: -200% 0%;
    }
}

/* Success State styling */
.widget-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.widget-success-state.active {
    display: flex;
}

.mini-preview-browser {
    width: 100%;
    max-width: 360px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg), 0 20px 40px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUpWidget 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
        floatMiniBrowser 6s ease-in-out infinite 0.8s;
}

@keyframes floatMiniBrowser {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-6px) rotate(0.4deg);
    }
}

@keyframes slideUpWidget {
    0% {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.mini-browser-bar {
    background-color: var(--bg-secondary);
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-browser-bar .b-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.mini-browser-bar .b-dot.red {
    background-color: #EF4444;
}

.mini-browser-bar .b-dot.yellow {
    background-color: #F59E0B;
}

.mini-browser-bar .b-dot.green {
    background-color: #10B981;
}

.mini-browser-bar .b-address {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    color: var(--text-muted);
    font-family: monospace;
    flex-grow: 1;
    text-align: center;
}

.mini-browser-viewport {
    height: 180px;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.mini-viewport-img {
    width: 100%;
    height: auto;
    display: block;
    transform-origin: top;
}

.success-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--success);
    background-color: rgba(16, 185, 129, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
}

/* Hand Cursor styling */
.widget-cursor-hand {
    position: absolute;
    z-index: 100;
    pointer-events: none;
    top: 85%;
    left: 85%;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
    /* Asymmetrical cubic-beziers create a beautiful natural curved flight path instead of a straight line */
    transition: top 1.2s cubic-bezier(0.25, 1, 0.5, 1),
        left 1.2s cubic-bezier(0.1, 0.8, 0.3, 1),
        transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.widget-cursor-hand .cursor-arrow {
    display: block;
}

.widget-cursor-hand .cursor-hand {
    display: none;
}

.widget-cursor-hand.clicking .cursor-arrow {
    display: none;
}

.widget-cursor-hand.clicking .cursor-hand {
    display: block;
}

/* Clicking Ripple Effect */
.widget-ripple {
    position: absolute;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background-color: rgba(79, 70, 229, 0.15);
    pointer-events: none;
    z-index: 99;
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
    animation: rippleEffect 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes rippleEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }

    100% {
        width: 50px;
        height: 50px;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Image attachment dynamic float badge styling */
.widget-attachment-badge {
    position: absolute;
    bottom: 64px;
    left: 24px;
    background-color: rgba(250, 249, 246, 0.95);
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.12);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.widget-attachment-badge.show {
    opacity: 1;
    transform: translateY(0);
}

.attachment-badge-check {
    background-color: var(--accent);
    color: #FFFFFF;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
}

/* Confetti stars animation */
.confetti-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 12;
    opacity: 1;
}

@keyframes floatWidget {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes floatShadow {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(0.85);
        opacity: 0.4;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Method Section */
.method-section {
    padding: 100px 24px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 64px;
}

.section-tagline {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.comparison-card {
    background-color: var(--bg-primary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.comparison-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.comparison-card.ai-powered {
    border: 2px solid var(--text-primary);
    position: relative;
}

.comparison-card.ai-powered::after {
    content: 'Recomendado';
    position: absolute;
    top: -12px;
    right: 28px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.indicator-dot.red {
    background-color: var(--danger);
}

.indicator-dot.green {
    background-color: var(--success);
}

.card-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.comparison-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.comparison-list li span {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.ai-powered .comparison-list li span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Chapters Section */
.chapters-section {
    padding: 100px 24px;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.chapter-card {
    background-color: var(--bg-primary);
    padding: 36px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.chapter-card:hover {
    border-color: var(--text-primary);
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.chapter-num {
    font-family: var(--font-titles);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.chapter-card:hover .chapter-num {
    color: var(--accent);
    opacity: 0.8;
}

.chapter-card h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.chapter-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Chapter topic bullets */
.chapter-topics {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.chapter-topics li {
    font-size: 0.825rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.chapter-card:hover .chapter-topics li {
    color: var(--text-secondary);
}

/* Dashboard special card */
.chapter-dashboard {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.04) 0%, rgba(79, 70, 229, 0.01) 100%);
    border: 2px solid rgba(79, 70, 229, 0.2);
    position: relative;
    overflow: hidden;
}

.chapter-dashboard::before {
    content: 'Incluso';
    position: absolute;
    top: -1px;
    right: 24px;
    background-color: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 0 0 10px 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.chapter-dashboard:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.12);
}

.dashboard-num {
    font-size: 2rem;
    opacity: 1 !important;
    color: inherit !important;
}

/* Bonus Section */
.bonus-section {
    padding: 100px 24px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.bonus-card {
    background-color: var(--bg-primary);
    padding: 40px 36px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.bonus-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-xl);
}

.bonus-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--success);
    color: var(--bg-primary);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bonus-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-secondary);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 28px;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.bonus-card:hover .bonus-icon {
    background-color: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

.bonus-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.bonus-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.bonus-val {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.bonus-val del {
    color: var(--danger);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 24px;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.testimonial-card .stars {
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 0.96875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 32px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    border: 2px solid var(--border-color);
}

.author-info h4 {
    font-size: 0.9375rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Guarantee Section */
.guarantee-section {
    padding: 80px 24px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.guarantee-section .section-container {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guarantee-badge {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.guarantee-section h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.guarantee-section p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.7;
}

/* Offer / Pricing Section */
.offer-section {
    padding: 120px 24px;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.offer-card {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-primary);
    border-radius: 24px;
    border: 2px solid var(--text-primary);
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.offer-popular {
    position: absolute;
    top: 16px;
    left: -40px;
    background-color: var(--accent);
    color: var(--bg-primary);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 6px 40px;
    transform: rotate(-45deg);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.offer-details {
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.offer-details h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.offer-sub {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.price-box {
    margin-bottom: 36px;
}

.old-price {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.new-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-family: var(--font-titles);
    color: var(--text-primary);
    font-weight: 800;
}

.new-price .currency {
    font-size: 1.5rem;
    margin-top: 8px;
    margin-right: 2px;
}

.new-price .value {
    font-size: 5rem;
    line-height: 0.85;
}

.new-price .cents {
    font-size: 1.5rem;
    margin-top: 8px;
}

.new-price .fraction {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 14px;
    margin-left: 8px;
    align-self: flex-start;
}

.installments {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 8px;
}

.offer-card .divider {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 36px;
}

.offer-features {
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    margin-bottom: 44px;
}

.offer-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.96875rem;
    color: var(--text-secondary);
}

.offer-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.offer-features li strong {
    color: var(--text-primary);
}

.checkout-button-container {
    width: 100%;
    margin-bottom: 24px;
}

.checkout-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 32px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-family: var(--font-titles);
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
    transition: var(--transition-smooth);
}

.checkout-button:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 20px 35px -5px rgba(79, 70, 229, 0.25);
}

.checkout-button svg {
    transition: var(--transition-fast);
}

.checkout-button:hover svg {
    transform: translateX(6px);
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.secure-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
    padding: 100px 24px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.faq-accordion-group {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--text-muted);
}

.faq-item.active {
    border-color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-titles);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    gap: 16px;
}

.faq-icon-wrapper {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-icon-wrapper {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    padding: 80px 24px 40px;
    background-color: var(--bg-primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

.footer-brand .logo-dot {
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 12px;
    max-width: 320px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Showcase Section */
.showcase-section {
    padding: 100px 24px;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.showcase-card {
    background-color: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.showcase-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: var(--text-primary);
}

.browser-header {
    background-color: var(--bg-secondary);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.browser-dot.red {
    background-color: #EF4444;
}

.browser-dot.yellow {
    background-color: #F59E0B;
}

.browser-dot.green {
    background-color: #10B981;
}

.browser-address {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
    flex-grow: 1;
    text-align: center;
}

.browser-body {
    position: relative;
    background-color: var(--bg-secondary);
    overflow: hidden;
}

.showcase-image-wrapper {
    height: 320px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 6s cubic-bezier(0.2, 0, 0.2, 1);
    transform-origin: top;
}

/* Efeito de Rolagem no Hover */
.showcase-card:hover .showcase-img {
    transform: translateY(calc(-100% + 320px));
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0) 100%);
    padding: 20px;
    display: flex;
    justify-content: center;
    opacity: 1;
    transition: opacity var(--transition-fast);
}

.showcase-card:hover .showcase-overlay {
    opacity: 0;
}

.overlay-text {
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 600;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Desktop: mostra "Passe o mouse", esconde "Clique" */
.overlay-mobile {
    display: none;
}

.overlay-desktop {
    display: inline;
}

/* Mobile ≤768px: mostra "Clique para ver", esconde "Passe o mouse" */
@media (max-width: 768px) {
    .overlay-desktop {
        display: none;
    }

    .overlay-mobile {
        display: inline;
    }
}

.showcase-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

.showcase-tag {
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.showcase-tag.saas {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--accent);
}

.showcase-tag.real-estate {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.showcase-tag.wellness {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.showcase-info h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-family: var(--font-titles);
}

.showcase-info p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Scroll Reveal Base Settings */
.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

/* Responsive Breakpoints */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
    }

    .hero-content {
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ratings {
        justify-content: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .chapters-grid,
    .bonus-grid,
    .showcase-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Esconde nav desktop, mostra hambúrguer */
    .header-nav {
        display: none;
    }

    .header-container {
        padding: 0 16px;
    }

    .hamburger-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .showcase-section {
        padding: 60px 16px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .chapters-grid,
    .bonus-grid,
    .showcase-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .offer-details {
        padding: 40px 24px;
    }

    .new-price .value {
        font-size: 4rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 120px 16px 60px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .cta-button-primary {
        padding: 14px 24px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 290px;
    }

    .widget-float-wrapper {
        padding: 0 4px;
    }

    .ai-widget-card {
        height: 370px;
        padding: 12px;
        gap: 10px;
        border-radius: 16px;
    }

    .widget-chips-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .widget-chip {
        flex: none;
        padding: 5px 8px;
        font-size: 0.6rem;
        border-radius: 6px;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .chip-dot {
        display: none !important;
    }

    .widget-prompt-card {
        border-radius: 12px;
    }

    .prompt-input-text {
        font-size: 0.8rem;
        min-height: 40px;
    }

    .widget-prompt-footer {
        padding: 8px 10px;
        gap: 6px;
    }

    .prompt-folder-pill {
        padding: 4px 6px;
        font-size: 0.6rem;
        border-radius: 6px;
        gap: 4px;
    }

    .prompt-btn-submit {
        padding: 6px 10px;
        font-size: 0.6rem;
        border-radius: 6px;
        gap: 4px;
    }

    .mini-preview-browser {
        max-width: 95%;
    }
}