/* ============================================
   RESET CSS E VARIÁVEIS DO TEMA CLARO MINIMALISTA
============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Tema Claro Minimalista (Igual ao Sistema) */
    --bg-primary: #F9FAFB;
    /* Cinza 50 */
    --bg-secondary: #FFFFFF;
    /* Branco */
    --bg-card: #FFFFFF;
    --bg-card-border: #E2E8F0;
    /* Ardósia 200 */

    /* Destaques */
    --gold: #C29B38;
    /* Ajustado para melhor contraste no branco */
    --gold-light: #D4AF37;
    --gold-dim: rgba(194, 155, 56, 0.1);

    /* Tipografia */
    --text-primary: #1E293B;
    /* Ardósia 800 */
    --text-secondary: #64748B;
    /* Ardósia 500 */
    --text-muted: #94A3B8;
    /* Ardósia 400 */

    /* Cores de Status baseadas no Sistema */
    --sys-blue: #3B82F6;
    --sys-emerald: #10B981;
    --sys-red: #EF4444;
    --sys-amber: #F59E0B;
    --sys-purple: #8B5CF6;

    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

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

::selection {
    background: var(--gold-dim);
    color: var(--gold);
}

/* Tipografia */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: var(--text-primary);
}

/* Estrutura / Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    position: relative;
}

/* ============================================
   BARRA DE NAVEGAÇÃO (Clara e Super Limpa)
============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    border-bottom-color: var(--bg-card-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.nav-logo-text span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 20px;
    background: var(--text-primary);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--gold);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* ============================================
   SEÇÃO PRINCIPAL / HERO (Clara Minimalista)
============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
}

.hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-dim);
    background: var(--gold-dim);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 32px;
    animation: fadeIn 1s ease forwards;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    max-width: 900px;
    margin-inline: auto;
    animation: fadeIn 1s 0.2s ease forwards;
    opacity: 0;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeIn 1s 0.4s ease forwards;
    opacity: 0;
    font-weight: 400;
    line-height: 1.7;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gold);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    animation: fadeIn 1s 0.6s ease forwards;
    opacity: 0;
    box-shadow: 0 4px 14px rgba(194, 155, 56, 0.25);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(194, 155, 56, 0.35);
}

/* ============================================
   FUNCIONALIDADES E SEGURANÇA (GRID BENTO)
============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-title em {
    color: var(--gold);
    font-style: italic;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.bento-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.bento-main {
    grid-column: span 8;
}

.bento-side {
    grid-column: span 4;
}

.bento-half {
    grid-column: span 6;
}

@media (max-width: 992px) {

    .bento-main,
    .bento-side,
    .bento-half {
        grid-column: span 12;
    }
}

/* Oculta separador vertical em telas menores */
@media (max-width: 768px) {
    .ai-divider {
        display: none !important;
    }
}

.card-icon {
    color: var(--text-primary);
    margin-bottom: 24px;
    background: var(--bg-primary);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--bg-card-border);
}

.bento-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

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

/* Simulação de Elementos de Interface do Sistema (Adaptado para Tema Claro) */
.sys-ui {
    margin-top: 32px;
    border: 1px solid var(--bg-card-border);
    border-radius: 12px;
    background: var(--bg-primary);
    padding: 20px;
    font-family: 'Inter', sans-serif;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.01);
}

.sys-kpi-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sys-kpi {
    flex: 1;
    min-width: 140px;
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--bg-card-border);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.sys-kpi-title {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    font-weight: 700;
}

.sys-kpi-val {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.sys-kpi-sub {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

.sys-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sys-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--bg-card-border);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
}

.sys-tag {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 100px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sys-tag.blue {
    background: #EFF6FF;
    color: var(--sys-blue);
    border: 1px solid #BFDBFE;
}

.sys-tag.emerald {
    background: #ECFDF5;
    color: var(--sys-emerald);
    border: 1px solid #A7F3D0;
}

.sys-tag.purple {
    background: #F5F3FF;
    color: var(--sys-purple);
    border: 1px solid #DDD6FE;
}

.sys-tag.red {
    background: #FEF2F2;
    color: var(--sys-red);
    border: 1px solid #FECACA;
}

.sys-tag.amber {
    background: #FFFBEB;
    color: var(--sys-amber);
    border: 1px solid #FDE68A;
}

/* Listas de Funcionalidades para Informação */
.feature-list {
    list-style: none;
    margin-bottom: 0;
    padding: 0;
}

.feature-list li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
    font-weight: 500;
}

.feature-list li::before {
    content: '✓';
    color: var(--sys-emerald);
    font-size: 12px;
    font-weight: 700;
}

/* ============================================
   SEÇÃO DE PREÇOS / PLANOS
============================================ */
.pricing-section {
    padding: 120px 0;
    border-top: 1px solid var(--bg-card-border);
    background: var(--bg-secondary);
}

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

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.price-card {
    background: var(--bg-primary);
    border: 1px solid var(--bg-card-border);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.price-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.price-card.featured {
    border-color: var(--gold);
    background: var(--bg-secondary);
    box-shadow: 0 20px 40px rgba(194, 155, 56, 0.1);
    transform: scale(1.02);
}

.price-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 25px 50px rgba(194, 155, 56, 0.15);
}

.price-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.price-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 400;
}

.price-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.price-amount span {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    font-weight: 500;
}

.price-features {
    list-style: none;
    margin-bottom: 40px;
}

.price-features li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    display: flex;
    gap: 10px;
    font-weight: 500;
}

.price-features li::before {
    content: '✦';
    color: var(--gold);
    font-size: 12px;
    margin-top: 2px;
}

.btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    border: 1px solid var(--bg-card-border);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    background: var(--bg-secondary);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: #FFFFFF;
    border-color: var(--text-primary);
}

.btn-full-gold {
    background: var(--gold);
    color: #FFFFFF;
    border-color: var(--gold);
    box-shadow: 0 4px 14px rgba(194, 155, 56, 0.2);
}

.btn-full-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(194, 155, 56, 0.3);
}

/* ============================================
   RODAPÉ E UTILITÁRIOS
============================================ */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--bg-card-border);
    text-align: center;
    background: var(--bg-primary);
}

.footer p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.divider {
    height: 1px;
    background: var(--bg-card-border);
    margin: 0;
}

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

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

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

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

/* ============================================
   MODAL DE ASSINATURA
============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-primary);
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--bg-card-border);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--sys-red);
}

/* ============================================
   FAQ
============================================ */
.faq-item {
    border-bottom: 1px solid var(--bg-card-border);
    margin-bottom: 8px;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
}
.faq-question svg {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}
.faq-question.active svg {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer p {
    font-size: 14px;
    color: var(--text-secondary);
    padding-bottom: 24px;
    line-height: 1.6;
}

/* ============================================
   MOBILE TUNING
============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .navbar-inner {
        height: 64px;
        padding: 0 16px;
    }

    .nav-logo-text {
        font-size: 22px;
    }

    .nav-cta {
        padding: 8px 12px;
        font-size: 12px;
    }

    .hero {
        min-height: auto;
        padding: 104px 0 56px;
    }

    .hero-tag {
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: clamp(34px, 11vw, 48px);
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin: 0 auto 28px;
        line-height: 1.65;
    }

    .btn-gold {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 14px 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .bento-grid,
    .pricing-grid {
        gap: 12px;
    }

    .bento-card,
    .price-card {
        padding: 24px;
    }

    .security-card {
        padding: 24px !important;
    }

    .sys-ui {
        margin-top: 20px;
        padding: 14px;
    }

    .sys-kpi {
        min-width: calc(50% - 6px);
        padding: 12px;
    }

    .sys-kpi-val {
        font-size: 18px;
    }

    .agenda-event,
    .ai-column {
        min-width: 100% !important;
    }

    .price-card.featured,
    .price-card.featured:hover {
        transform: none;
    }

    .price-amount {
        font-size: 40px;
        margin-bottom: 24px;
    }

    .price-features {
        margin-bottom: 28px;
    }

    .footer {
        padding: 28px 0;
    }

    .faq-question {
        font-size: 15px;
        padding: 18px 0;
        gap: 12px;
    }

    .faq-answer p {
        padding-bottom: 18px;
    }

    .modal-overlay {
        padding: 16px;
        align-items: flex-end;
    }

    .modal-content {
        max-width: 100%;
        padding: 24px;
        border-radius: 16px;
    }

    .modal-content input {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .nav-cta {
        display: none;
    }

    .hero-title {
        font-size: clamp(30px, 12vw, 42px);
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .btn-gold {
        max-width: 100%;
    }

    .sys-kpi {
        min-width: 100%;
    }

    .bento-card h3 {
        font-size: 18px;
    }

    .price-amount {
        font-size: 36px;
    }
}

/* ============================================
   EFEITO DE DESTAQUE AO CLICAR NA NAVEGAÇÃO
============================================ */
@keyframes targetHighlightPulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(194, 155, 56, 0.4); 
        border-color: var(--gold); 
        transform: scale(1.01); 
        z-index: 10;
    }
    50% { 
        box-shadow: 0 0 0 15px rgba(194, 155, 56, 0); 
        border-color: var(--gold-light); 
        transform: scale(1); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(194, 155, 56, 0); 
        border-color: var(--bg-card-border); 
        transform: scale(1); 
        z-index: 1;
    }
}

.highlight-pulse {
    animation: targetHighlightPulse 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards !important;
}
