/* =============================================
   SIMULA CRÉDITO — MVP Styles
   Mobile-first, responsive, app-like experience
   ============================================= */

:root {
    --primary: #6C3CE1;
    --primary-dark: #5429C0;
    --primary-light: #EDE5FF;
    --primary-glow: rgba(108, 60, 225, 0.15);
    --accent: #A855F7;
    --success: #059669;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    --text: #1A1A2E;
    --text-secondary: #64748B;
    --text-light: #94A3B8;
    --bg: #FAFBFE;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --header-height: 64px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: 72px;
}

@media (min-width: 768px) {
    body { padding-bottom: 0; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container { padding: 0 24px; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-weight: 600;
    font-size: 14px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(108, 60, 225, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary-light);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn--block {
    width: 100%;
}

.btn--success {
    background: var(--success);
    color: #fff;
    border-color: var(--success);
}

.btn--success:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}

/* --- Section Titles --- */
.section-title {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text);
}

.section-subtitle {
    font-size: 15px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section-title { font-size: 32px; }
    .section-subtitle { font-size: 17px; margin-bottom: 48px; }
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    height: var(--header-height);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: var(--text);
}

.header__logo-icon {
    width: 32px;
    height: 32px;
}

.header__logo strong {
    font-weight: 800;
    color: var(--primary);
}

.header__nav {
    display: none;
    gap: 32px;
}

@media (min-width: 768px) {
    .header__nav { display: flex; }
}

.header__nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.header__cta {
    display: none;
}

@media (min-width: 768px) {
    .header__cta { display: inline-flex; }
}

.header__menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 768px) {
    .header__menu-btn { display: none; }
}

.header__menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header__menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.header__menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    z-index: 99;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav__link {
    padding: 16px;
    font-size: 18px;
    font-weight: 500;
    border-radius: var(--radius-md);
    color: var(--text);
    transition: background 0.2s;
}

.mobile-nav__link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-nav__cta {
    margin-top: 16px;
}

/* ============ HERO ============ */
.hero {
    padding: calc(var(--header-height) + 32px) 0 48px;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}

.hero__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .hero {
        padding: calc(var(--header-height) + 64px) 0 80px;
    }
    .hero__inner {
        flex-direction: row;
        gap: 48px;
    }
}

.hero__content {
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .hero__content { text-align: left; }
}

.hero__title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text);
}

.hero__title-highlight {
    color: var(--primary);
}

@media (min-width: 768px) {
    .hero__title { font-size: 42px; }
}

@media (min-width: 1024px) {
    .hero__title { font-size: 48px; }
}

.hero__subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .hero__subtitle { font-size: 18px; max-width: 520px; }
}

.hero__ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .hero__ctas { justify-content: flex-start; }
}

.hero__badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero__badges { justify-content: flex-start; }
}

.hero__badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero__badge svg {
    width: 18px;
    height: 18px;
}

/* Phone Mockup */
.hero__visual {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.hero__phone {
    width: 280px;
    background: var(--text);
    border-radius: 36px;
    padding: 8px;
    box-shadow: var(--shadow-xl), 0 0 0 2px rgba(0,0,0,0.1);
    position: relative;
}

@media (min-width: 768px) {
    .hero__phone { width: 320px; }
}

.hero__phone-notch {
    width: 120px;
    height: 24px;
    background: var(--text);
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero__phone-screen {
    background: var(--bg-white);
    border-radius: 28px;
    overflow: hidden;
    margin-top: -12px;
}

.hero__phone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--primary);
    color: #fff;
}

.hero__phone-avatar {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.hero__phone-name {
    font-size: 14px;
    font-weight: 600;
}

.hero__phone-status {
    font-size: 11px;
    opacity: 0.8;
}

.hero__phone-messages {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 200px;
}

.hero__phone-msg {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.4;
    max-width: 85%;
    animation: fadeInMsg 0.5s ease;
}

.hero__phone-msg--bot {
    background: var(--border-light);
    color: var(--text);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.hero__phone-msg--user {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.hero__phone-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--border-light);
    color: var(--text-light);
    font-size: 13px;
}

.hero__phone-input svg {
    width: 22px;
    height: 22px;
}

@keyframes fadeInMsg {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ TRUST ============ */
.trust {
    padding: 64px 0;
}

@media (min-width: 768px) {
    .trust { padding: 80px 0; }
}

.trust__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .trust__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .trust__grid { grid-template-columns: repeat(3, 1fr); }
}

.trust__card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.2s ease;
}

.trust__card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.trust__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.trust__icon svg {
    width: 48px;
    height: 48px;
}

.trust__card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.trust__card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============ CHAT SECTION ============ */
.chat-section {
    padding: 64px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--primary-light) 50%, var(--bg) 100%);
}

@media (min-width: 768px) {
    .chat-section { padding: 80px 0; }
}

.chat-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .chat-categories {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

.chat-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    transition: all 0.2s ease;
}

.chat-category__icon svg {
    width: 36px;
    height: 36px;
}

@media (min-width: 768px) {
    .chat-category { padding: 24px 16px; font-size: 15px; }
    .chat-category__icon svg { width: 44px; height: 44px; }
}

.chat-category:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.chat-category__icon {
    width: 48px;
    height: 48px;
}

.chat-category__icon svg {
    width: 48px;
    height: 48px;
}

/* Chat App */
.chat-app {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.chat-app__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--primary);
    color: #fff;
}

.chat-app__back {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    display: flex;
}

.chat-app__back svg {
    width: 24px;
    height: 24px;
}

.chat-app__avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.chat-app__name {
    font-size: 15px;
    font-weight: 600;
}

.chat-app__typing {
    font-size: 12px;
    opacity: 0.8;
}

.chat-app__messages {
    padding: 20px;
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    animation: chatMsgIn 0.3s ease;
}

@keyframes chatMsgIn {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-msg--bot {
    background: var(--border-light);
    color: var(--text);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.chat-msg--user {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.chat-msg--typing {
    display: flex;
    gap: 4px;
    padding: 16px 20px;
    align-self: flex-start;
    background: var(--border-light);
    border-radius: 18px;
    border-bottom-left-radius: 4px;
}

.chat-msg--typing span {
    width: 8px;
    height: 8px;
    background: var(--text-light);
    border-radius: 50%;
    animation: typingDot 1.4s ease infinite;
}

.chat-msg--typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-msg--typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.chat-app__footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chat-option {
    padding: 10px 18px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-option:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.03);
}

.chat-option:active {
    transform: scale(0.97);
}

/* ============ RESULTS ============ */
.results {
    max-width: 900px;
    margin: 0 auto;
}

.results__header {
    text-align: center;
    margin-bottom: 32px;
}

.results__title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.results__subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.results__restart {
    font-size: 13px;
}

.results__grid {
    display: grid;
    gap: 20px;
    margin: 24px 0;
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s ease;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.product-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.product-card__logo {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
}

.product-card__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 2px;
}

.product-card__institution {
    font-size: 13px;
    color: var(--text-secondary);
}

.product-card__type {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: var(--primary);
    margin-top: 4px;
}

.product-card__body {
    padding: 20px;
}

.product-card__for {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-card__for strong {
    color: var(--text);
}

.product-card__benefits {
    margin-bottom: 12px;
}

.product-card__benefits h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.product-card__benefits ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-card__benefits li {
    font-size: 12px;
    padding: 4px 10px;
    background: var(--success-light);
    color: var(--success);
    border-radius: var(--radius-full);
    font-weight: 500;
}

.product-card__warnings {
    margin-bottom: 12px;
}

.product-card__warnings h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.product-card__warnings ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-card__warnings li {
    font-size: 12px;
    padding: 4px 10px;
    background: var(--warning-light);
    color: #92400E;
    border-radius: var(--radius-full);
    font-weight: 500;
}

.product-card__approval {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}

.product-card__approval-badge {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-card__approval-badge--alta {
    background: var(--success-light);
    color: var(--success);
}

.product-card__approval-badge--media {
    background: var(--warning-light);
    color: #92400E;
}

.product-card__approval-badge--baixa {
    background: var(--danger-light);
    color: var(--danger);
}

.product-card__footer {
    padding: 0 20px 20px;
}

.product-card__cta {
    width: 100%;
}

/* Results disclaimer */
.results__disclaimer {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 20px;
    background: var(--border-light);
    border-radius: var(--radius-md);
    margin-top: 24px;
}

.results__disclaimer svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.results__disclaimer p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============ LEAD CAPTURE ============ */
.lead-capture {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    margin-top: 32px;
}

.lead-capture__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
}

.lead-capture__icon svg {
    width: 48px;
    height: 48px;
}

.lead-capture h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.lead-capture p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.lead-capture__form {
    display: flex;
    gap: 8px;
    max-width: 420px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.lead-capture__input {
    flex: 1;
    min-width: 220px;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.lead-capture__input:focus {
    border-color: var(--primary);
}

.lead-capture__lgpd {
    font-size: 11px !important;
    color: var(--text-light) !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
}

/* ============ BLOG PREVIEW ============ */
.blog-preview {
    padding: 64px 0;
}

@media (min-width: 768px) {
    .blog-preview { padding: 80px 0; }
}

.blog-preview__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .blog-preview__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .blog-preview__grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.blog-card__img {
    height: 160px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 16px;
}

.blog-card__tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
}

.blog-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card__content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.blog-card__read {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 12px;
    display: inline-block;
}

.blog-preview__cta {
    text-align: center;
    margin-top: 32px;
}

/* ============ FAQ ============ */
.faq {
    padding: 64px 0;
}

@media (min-width: 768px) {
    .faq { padding: 80px 0; }
}

.faq__list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq__item[open] {
    border-color: var(--primary);
}

.faq__question {
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq__item[open] .faq__question::after {
    content: '−';
}

.faq__answer {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--text);
    color: #fff;
    padding-top: 48px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
}

@media (min-width: 768px) {
    .footer__inner {
        grid-template-columns: 1.5fr 2fr;
        gap: 48px;
    }
}

.footer__brand .header__logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer__desc {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .footer__links { grid-template-columns: repeat(3, 1fr); }
}

.footer__col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.footer__col a {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    padding: 4px 0;
    transition: color 0.2s;
}

.footer__col a:hover {
    color: #fff;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer__bottom p {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    line-height: 1.6;
}

/* ============ MOBILE FIXED CTA ============ */
.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-light);
    z-index: 50;
    display: block;
}

@media (min-width: 768px) {
    .mobile-cta { display: none; }
}

/* ============ AD SPACES ============ */
.ad-space {
    padding: 8px 0;
}

.ad-space--horizontal .ad-placeholder {
    min-height: 90px;
    background: var(--border-light);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-light);
}

.ad-space--horizontal .ad-placeholder::after {
    content: 'Espaço reservado para anúncio';
}

.ad-space--chat {
    padding: 8px 20px;
}

.ad-placeholder--small {
    min-height: 60px;
    background: var(--border-light);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-light);
}

.ad-placeholder--small::after {
    content: 'Anúncio';
}

/* ============ BLOG PAGE ============ */
.blog-page {
    padding: calc(var(--header-height) + 32px) 0 64px;
}

.blog-page__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .blog-page__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .blog-page__grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-page__sidebar {
    margin-top: 48px;
}

@media (min-width: 1024px) {
    .blog-page__layout {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 40px;
    }
    .blog-page__sidebar { margin-top: 0; }
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-widget h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.sidebar-widget a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    transition: color 0.2s;
}

.sidebar-widget a:last-child { border-bottom: none; }

.sidebar-widget a:hover {
    color: var(--primary);
}

/* ============ ARTICLE PAGE ============ */
.article-page {
    padding: calc(var(--header-height) + 32px) 0 64px;
}

.article-page__content {
    max-width: 720px;
    margin: 0 auto;
}

.article-page__breadcrumb {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.article-page__breadcrumb a {
    color: var(--primary);
}

.article-page__title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .article-page__title { font-size: 36px; }
}

.article-page__meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 32px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article-page__body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.article-page__body h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 12px;
}

.article-page__body h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 8px;
}

.article-page__body p {
    margin-bottom: 16px;
}

.article-page__body ul, .article-page__body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.article-page__body li {
    margin-bottom: 8px;
}

.article-page__body a {
    color: var(--primary);
    text-decoration: underline;
}

.article-page__cta-box {
    background: var(--primary-light);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    margin: 32px 0;
}

.article-page__cta-box h3 {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

.article-page__cta-box p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

/* ============ AD BANNERS ============ */
.ad-space--banner {
    padding: 12px 0;
}

.ad-banner {
    display: block;
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    line-height: 0;
    transition: opacity 0.18s ease;
}

.ad-banner:hover {
    opacity: 0.92;
}

.ad-banner img,
.ad-banner picture {
    display: block;
    width: 100%;
    height: auto;
}

.ad-space--chat .ad-banner {
    border-radius: var(--radius-sm);
}

/* ============ ALL OFFERS SECTION ============ */
.all-offers {
    padding: 64px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

@media (min-width: 768px) {
    .all-offers { padding: 80px 0; }
}

.offers-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}

.offers-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border);
    background: var(--bg-card);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.offers-tab svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.offers-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.offers-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .offers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .offers-grid { grid-template-columns: repeat(3, 1fr); }
}

.offer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.2s ease;
}

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

.offer-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.offer-card__logo {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
}

.offer-card__info {
    flex: 1;
    min-width: 0;
}

.offer-card__name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.3;
}

.offer-card__institution {
    font-size: 12px;
    color: var(--text-secondary);
}

.offer-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.offer-card__badge {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.offer-card__badge--alta {
    background: var(--success-light);
    color: var(--success);
}

.offer-card__badge--media {
    background: var(--warning-light);
    color: #92400E;
}

.offer-card__badge--negativado {
    background: var(--primary-light);
    color: var(--primary);
}

.offer-card__badge--type {
    background: var(--border-light);
    color: var(--text-secondary);
}

.offer-card__description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.offer-card__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.offer-card__benefit {
    font-size: 11px;
    padding: 3px 9px;
    background: var(--border-light);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
}

.offer-card__cta {
    margin-top: auto;
    padding-top: 4px;
}

/* ============ UTILITY ============ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
