/* ============================================
   INVESTIMENTO RESUMO - ESTILOS COMPLETOS
   Layout inspirado em Smart Money Brasil
   ============================================ */

/* ============================================
   RESET E VARIÁVEIS GLOBAIS
   ============================================ */

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

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --info-color: #3498db;
}

body.ir-home {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: #ffffff;
}

/* ============================================
   CONTAINERS
   ============================================ */

.ir-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ir-container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER TOP
   ============================================ */

.ir-header-top {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.ir-logo a {
    text-decoration: none;
}

.ir-logo h2 {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 24px;
}

.ir-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.ir-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.ir-menu a:hover {
    color: var(--primary-color);
}

.ir-btn-menu {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
    transition: background 0.2s;
}

.ir-btn-menu:hover {
    background: var(--secondary-color);
}

.ir-mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* ============================================
   HERO SECTION
   ============================================ */

.ir-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.ir-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.ir-hero-subtitle {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

/* ============================================
   CARTEIRAS SECTION
   ============================================ */

.ir-carteiras-section {
    padding: 60px 0;
    background: #ffffff;
}

.ir-carteira-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ir-carteira-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ir-carteira-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.ir-carteira-titulo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.ir-carteira-video-box {
    margin-top: 20px;
}

.ir-video-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}

.ir-video-placeholder:hover {
    transform: scale(1.02);
}

.ir-play-btn {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.ir-video-placeholder p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.ir-fonte-dados {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 15px;
}

.ir-carteira-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 20px;
}

.ir-btn-carteira {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.ir-btn-carteira:hover {
    background: var(--secondary-color);
}

.ir-tag-info {
    margin-top: 15px;
    font-size: 11px;
    color: var(--text-light);
    font-style: italic;
}

/* ============================================
   CTA CARTEIRAS
   ============================================ */

.ir-cta-carteiras {
    background: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

.ir-btn-cta-large {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.2s;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.ir-btn-cta-large:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.ir-cta-subtitle {
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
}

/* ============================================
   QUOTE SECTION
   ============================================ */

.ir-quote-section {
    background: #ffffff;
    padding: 80px 0;
}

.ir-quote-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.ir-quote-intro {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.ir-quote-text {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
    margin-bottom: 20px;
}

.ir-quote-author {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.ir-quote-subtitle {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   ELITE SECTION
   ============================================ */

.ir-elite-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.ir-section-title-main {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 60px;
    color: var(--text-color);
}

.ir-elite-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.ir-elite-image-placeholder {
    position: sticky;
    top: 100px;
}

.ir-placeholder-img {
    background: white;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.ir-elite-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.ir-elite-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.ir-elite-destaque {
    font-weight: 600;
    color: var(--primary-color);
}

.ir-press-quotes {
    margin-top: 40px;
}

.ir-press-item {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ir-press-item p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    font-style: italic;
}

.ir-press-item cite {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
    font-style: normal;
}

.ir-mission-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
}

.ir-mission-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.ir-mission-author {
    font-size: 14px;
    font-weight: 700;
    opacity: 0.9;
}

/* ============================================
   MÉTODO SECTION
   ============================================ */

.ir-metodo-section {
    background: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.ir-section-title-imagine {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-color);
}

.ir-metodo-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.ir-metodo-note {
    font-size: 13px;
    color: var(--text-light);
    max-width: 800px;
    margin: 30px auto 0;
}

/* ============================================
   MARKET SIDES SECTION
   ============================================ */

.ir-market-sides-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.ir-market-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.ir-market-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.ir-market-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.ir-market-card p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.ir-market-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.ir-market-card ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
}

.ir-market-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
}

.ir-sell-side {
    border-left: 4px solid var(--warning-color);
}

.ir-sardinha-img {
    text-align: center;
    margin: 20px 0;
}

.ir-pergunta-destaque {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 20px 0;
}

.ir-destaque-text {
    font-weight: 600;
    background: #fff3cd;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid var(--warning-color);
}

.ir-carteira-valor-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.ir-carteira-valor-box h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.ir-grafico-placeholder {
    background: var(--bg-light);
    padding: 60px 40px;
    border-radius: 8px;
    margin: 30px 0;
}

.ir-resumo-box {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--success-color);
    margin-top: 30px;
}

/* ============================================
   PROPOSTA SECTION
   ============================================ */

.ir-proposta-section {
    background: #ffffff;
    padding: 80px 0;
}

.ir-section-title-proposta {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.ir-proposta-h3 {
    font-size: 24px;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.ir-link-saiba {
    display: block;
    text-align: center;
    color: var(--primary-color);
    text-decoration: underline;
    margin-bottom: 60px;
    font-weight: 600;
}

.ir-proposta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.ir-proposta-item {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ir-proposta-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.ir-proposta-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.ir-proposta-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
}

.ir-proposta-item ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.ir-proposta-item ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
}

.ir-proposta-item ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.ir-nota-pequena {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 15px;
}

.ir-pergunta-destaque-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
}

.ir-pergunta-destaque-box h3 {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.ir-pergunta-destaque-box p {
    font-size: 16px;
    line-height: 1.6;
}

/* ============================================
   PLANOS SECTION
   ============================================ */

.ir-planos-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.ir-subtitle-planos {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 60px;
}

.ir-pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.ir-pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ir-pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.ir-featured-card {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.ir-badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning-color);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
}

.ir-pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.ir-price-box {
    margin: 30px 0;
}

.ir-currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
    vertical-align: super;
}

.ir-price-value {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-color);
}

.ir-price-period {
    font-size: 18px;
    color: var(--text-light);
}

.ir-features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.ir-features-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.ir-features-list li:last-child {
    border-bottom: none;
}

.ir-btn-pricing {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: background 0.2s;
}

.ir-btn-pricing:hover {
    background: var(--secondary-color);
}

.ir-btn-featured {
    background: var(--warning-color);
}

.ir-btn-featured:hover {
    background: #e67e22;
}

.ir-planos-obs {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   NEWTON QUOTE
   ============================================ */

.ir-newton-quote {
    background: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.ir-newton-text {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto 20px;
    color: var(--text-color);
}

.ir-newton-author {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.ir-faq-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.ir-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.ir-faq-item {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.ir-faq-item summary {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    list-style: none;
}

.ir-faq-item summary::-webkit-details-marker {
    display: none;
}

.ir-faq-item summary:before {
    content: "▶";
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.2s;
    color: var(--primary-color);
}

.ir-faq-item[open] summary:before {
    transform: rotate(90deg);
}

.ir-faq-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.ir-faq-content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.ir-faq-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.ir-faq-content ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.ir-faq-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ============================================
   FOOTER
   ============================================ */

.ir-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 30px;
}

.ir-footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.ir-footer-about h4,
.ir-footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.ir-footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
    opacity: 0.9;
}

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

.ir-footer-col ul {
    list-style: none;
    padding: 0;
}

.ir-footer-col ul li {
    margin-bottom: 12px;
}

.ir-footer-col ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.ir-footer-col ul li a:hover {
    opacity: 1;
}

.ir-footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ir-footer-bottom p {
    font-size: 13px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.ir-disclaimer {
    font-size: 11px !important;
    font-style: italic;
}

/* ============================================
   ADMIN - DASHBOARD E PÁGINAS
   ============================================ */

.ir-admin {
    margin: 20px 0;
}

/* Stats Dashboard */
.ir-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.ir-stat-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ir-stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ir-stat-icon {
    font-size: 36px;
}

.ir-stat-content h3 {
    margin: 0;
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
}

.ir-stat-content p {
    margin: 5px 0 0 0;
    color: #7f8c8d;
    font-size: 13px;
}

.ir-stat-success {
    border-left: 4px solid #27ae60;
}

.ir-stat-warning {
    border-left: 4px solid #f39c12;
}

.ir-stat-info {
    border-left: 4px solid #3498db;
}

.ir-stat-primary {
    border-left: 4px solid #9b59b6;
}

/* Grid */
.ir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Cards */
.ir-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.ir-card h2 {
    margin: 0;
    font-size: 18px;
    color: #2c3e50;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 2px solid #3498db;
}

.ir-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
}

.ir-card-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    background: transparent;
    border: none;
    color: white;
    padding: 0;
}

.ir-card-body {
    padding: 20px;
}

/* Actions */
.ir-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

/* Cron Info */
.ir-cron-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

.ir-cron-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

/* Badges */
.ir-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.ir-badge-diario {
    background: #e3f2fd;
    color: #1976d2;
}

.ir-badge-semanal {
    background: #f3e5f5;
    color: #7b1fa2;
}

.ir-badge-published {
    background: #e8f5e9;
    color: #2e7d32;
}

.ir-badge-draft {
    background: #fff3e0;
    color: #f57c00;
}

.ir-badge-warning {
    background: #fff3cd;
    color: #856404;
}

/* Status */
.ir-status {
    font-weight: 600;
}

.ir-status-active {
    color: #27ae60;
}

.ir-status-paused {
    color: #f39c12;
}

.ir-status-cancelled {
    color: #e74c3c;
}

.ir-status-sent {
    color: #27ae60;
}

.ir-status-failed {
    color: #e74c3c;
}

.ir-status-pending {
    color: #f39c12;
}

/* Logs */
.ir-log-info {
    background: #e3f2fd;
    color: #1976d2;
}

.ir-log-warning {
    background: #fff3e0;
    color: #f57c00;
}

.ir-log-error {
    background: #ffebee;
    color: #c62828;
}

.ir-log-success {
    background: #e8f5e9;
    color: #2e7d32;
}

/* Buttons */
.ir-btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    line-height: 1.5;
}

.ir-btn-primary {
    background: #3498db;
    color: white;
}

.ir-btn-primary:hover {
    background: #2980b9;
    color: white;
}

.ir-btn-secondary {
    background: #95a5a6;
    color: white;
}

.ir-btn-secondary:hover {
    background: #7f8c8d;
    color: white;
}

.ir-btn-success {
    background: #27ae60;
    color: white;
}

.ir-btn-success:hover {
    background: #229954;
    color: white;
}

.ir-btn-info {
    background: #9b59b6;
    color: white;
}

.ir-btn-info:hover {
    background: #8e44ad;
    color: white;
}

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

/* ============================================
   ÁREA DO CLIENTE
   ============================================ */

.ir-area-cliente {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.ir-header {
    text-align: center;
    margin-bottom: 40px;
}

.ir-header h1 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.ir-subtitle {
    color: #7f8c8d;
    font-size: 16px;
}

.ir-info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ir-info-row:last-child {
    border-bottom: none;
}

.ir-resumos {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ir-resumo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: background 0.2s;
}

.ir-resumo-item:hover {
    background: #ecf0f1;
}

.ir-resumo-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.ir-resumo-icon {
    font-size: 32px;
}

.ir-resumo-info h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #2c3e50;
}

.ir-resumo-info p {
    margin: 0;
    font-size: 13px;
    color: #7f8c8d;
}

.ir-resumo-actions {
    flex-shrink: 0;
}

.ir-empty {
    text-align: center;
    color: #7f8c8d;
    padding: 40px 20px;
    font-size: 15px;
}

/* Login */
.ir-login-container {
    max-width: 400px;
    margin: 60px auto;
    padding: 0 20px;
}

.ir-login-box {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.ir-login-box h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
}

.ir-login-box>p {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.ir-form-group {
    margin-bottom: 20px;
}

.ir-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.ir-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.ir-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.ir-login-footer {
    text-align: center;
    margin-top: 20px;
}

.ir-login-footer a {
    color: #3498db;
    text-decoration: none;
}

.ir-login-footer a:hover {
    text-decoration: underline;
}

.ir-notice {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.ir-notice-error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.ir-notice-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 992px) {
    .ir-carteira-inner {
        grid-template-columns: 1fr;
    }

    .ir-elite-content {
        grid-template-columns: 1fr;
    }

    .ir-market-grid {
        grid-template-columns: 1fr;
    }

    .ir-footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .ir-hero-title {
        font-size: 32px;
    }

    .ir-hero-subtitle {
        font-size: 16px;
    }

    .ir-menu {
        display: none;
    }

    .ir-mobile-menu-toggle {
        display: block;
    }

    .ir-stats {
        grid-template-columns: 1fr;
    }

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

    .ir-resumo-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .ir-resumo-info {
        flex-direction: column;
        text-align: center;
    }

    .ir-section-title-main {
        font-size: 28px;
    }

    .ir-quote-text {
        font-size: 24px;
    }

    .ir-fade-in-up {
        animation: fadeInUp 0.6s ease-out;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

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

    .ir-header-scrolled {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .ir-visible {
        animation: slideInUp 0.5s ease-out;
    }

    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

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

    .ir-toast {
        position: fixed;
        bottom: -100px;
        right: 20px;
        background: white;
        padding: 15px 20px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        gap: 10px;
        z-index: 999999;
        transition: bottom 0.3s ease;
        max-width: 400px;
    }

    .ir-toast-show {
        bottom: 20px;
    }

    .ir-toast-icon {
        font-size: 20px;
    }

    .ir-toast-message {
        font-size: 14px;
        color: #2c3e50;
    }

    .ir-toast-success {
        border-left: 4px solid #27ae60;
    }

    .ir-toast-error {
        border-left: 4px solid #e74c3c;
    }

    .ir-toast-warning {
        border-left: 4px solid #f39c12;
    }

    .ir-toast-info {
        border-left: 4px solid #3498db;
    }

    .ir-loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999998;
    }

    .ir-spinner {
        width: 50px;
        height: 50px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid #3498db;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

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

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