@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700;800&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp");
/* ========== ROOT VARIABLES ========== */

:root {
    --color-primary: #4a90e2;
    --color-danger: #f44336;
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-white: #fff;
    --color-info-dark: #64748b;
    --color-info-light: #e2e8f0;
    --color-dark: #1e293b;
    --color-ligth: rgba(74, 144, 226, 0.12);
    --color-primary-variant: #3b82f6;
    --color-dark-variant: #475569;
    --color-background: #f8fafc;

    --card-border-radius: 2rem;
    --border-radius-1: 0.4rem;
    --border-radius-2: 0.8rem;
    --border-radius-3: 1.2rem;
    --border-color: #e2e8f0;

    --card-padding: 1.8rem;
    --padding-1: 1.2rem;

    --box-shandow: 0 3px 7px 0 rgba(0, 0, 0, 0.12), 0 5px 30px 0 rgba(0, 0, 0, 0.08);
    
    --bg-primary: #ffffff;
    --bg-primary-opacity: #fffffffa;
    --bg-secondary: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent: #4a90e2;
    --shadow: rgba(0, 0, 0, 0.06);
    --gradient: linear-gradient(135deg, #4a90e2, #67b26f);
}

[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-primary-opacity: #0f172afa;
    --bg-secondary: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --accent: #60a5fa;
    --accent-variable: #34d399;
    --shadow: rgba(0, 0, 0, 0.3);
    --border-color: #2c2e30;
    /* --gradient: linear-gradient(135deg, #60a5fa, #3b82f6); */
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
    appearance: none;
    border: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

html {
    /* font-size: 14px; */
    height: 100%;
    -webkit-tap-highlight-color: transparent;
    scrollbar-color: var(--accent) var(--bg-secondary);
}

body {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.88rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    user-select: none;
    overflow-x: hidden;
}
.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 2px solid var(--bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
[data-theme="dark"] .btn {
    background: rgba(30, 41, 59, 0.8);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn.primary {
    background: var(--gradient);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn.primary:hover {
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}
.theme-switch {
    /* position: absolute; */
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-primary) !important;
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 0.7rem;
    border-radius: 12px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 44px;
    height: 44px;
    z-index: 1;
    /* position: relative; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.theme-switch:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.2);
    background: var(--accent) !important;
    color: white;
    border-color: var(--accent);
}

.action-but-class {    
    background: var(--accent) !important;
    border: none;
    padding: 0.8rem;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    
}

.action-but-content {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1;
    /* padding: .5rem; */
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: .5rem;
    /* background-color: #0a3fcd; */
}

.action-but-class:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    background: var(--text-primary);
}

.success {
    color: var(--color-success);
    background-color: green!important;
}

/* Navigation Styles */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 20px rgba(0, 0, 0, 0.04);
    z-index: 100;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.back-button {
    background: var(--accent);
    border: none;
    padding: 0.6rem;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 14px 0 rgba(74, 144, 226, 0.3);
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    background: #3b82f6;
}

.logo-link {
    text-decoration: none;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.logo-text:hover {
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(74, 144, 226, 0.1);
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb-link {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--text-primary);
}

.breadcrumb-separator {
    font-size: 1rem;
    opacity: 0.6;
}

.breadcrumb-item.current {
    color: var(--text-primary);
    font-weight: 500;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* position: relative; */
}

.user-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.2rem;
    background: var(--bg-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.user-profile:hover {
    background: rgba(74, 144, 226, 0.05);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.15);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(74, 144, 226, 0.2);
}

.user-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.user-menu-btn {
    max-width: 25px;
    max-height: 25px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    /* padding: 0.2rem; */
    border-radius: 50%;
    transition: all 0.3s ease;
}

.user-menu-btn:hover {
    background: var(--accent);
    color: white;
    transform: rotate(180deg);
}

.login-button {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 14px 0 rgba(74, 144, 226, 0.3);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    background: #3b82f6;
}

/* Page Header Styles */
.page-header {
    background: var(--bg-secondary);
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--shadow);
}

.header-content h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.page-icon {
    font-size: 2.5rem !important;
    color: var(--accent);
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Hero Header adjustments */
.hero-header {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--bg-secondary);
    box-shadow: 0 4px 20px var(--shadow);
    position: relative;
    overflow: hidden;
    min-height: fit-content;
    margin-top: 0;
}

/* User menu styles */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
}

.user-details h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.user-details p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@keyframes morphCards {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translate(-50%, -50%) rotate(0deg);
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: translate(-50%, -50%) rotate(180deg);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        height: 60px;
    }
    
    .nav-toggle {
        display: flex;
        order: 3;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1rem;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        z-index: 150;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-actions {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .logo-text {
        font-size: 1.6rem;
    }
    
    .back-button {
        width: 36px;
        height: 36px;
        padding: 0.5rem;
    }
    
    .user-name {
        display: none;
    }
    
    .user-profile {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .theme-switch {
        width: 40px;
        height: 40px;
        padding: 0.6rem;
    }
    
    body.nav-open {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .nav-brand {
        gap: 0.75rem;
    }
    
    .back-button {
        width: 32px;
        height: 32px;
        padding: 0.4rem;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .nav-menu {
        padding: 1.5rem 0.75rem;
    }
    
    .theme-switch {
        width: 36px;
        height: 36px;
        padding: 0.5rem;
    }
    
    .login-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}
/* =========================================
   ESTILOS DA SEÇÃO FAQ (SEO)
   ========================================= */

.faq-section {
    margin-top: 5rem;
    margin-bottom: 5rem;
    padding: 0 1rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header .accent-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.faq-header h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.faq-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden; /* Garante que o conteúdo oculto não vaze */
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* O Botão da Pergunta */
.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.faq-trigger h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    padding-right: 1rem;
    line-height: 1.4;
}

.faq-trigger .icon {
    color: var(--accent);
    transition: transform 0.3s ease; /* Animação da setinha */
    font-size: 1.8rem;
    flex-shrink: 0; /* Impede que o ícone esmague se o texto for longo */
}

/* Estado Ativo (Aberto) */
.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.1);
}

.faq-item.active .faq-trigger .icon {
    transform: rotate(180deg); /* Gira a setinha para cima */
}

/* O Conteúdo da Resposta (Animação de Sanfona) */
.faq-content {
    max-height: 0; /* Começa fechado */
    overflow: hidden; /* Esconde o conteúdo */
    transition: max-height 0.3s ease-out; /* Animação suave de deslize */
    background: rgba(var(--accent-rgb), 0.02); /* Leve destaque no fundo da resposta */
}

.faq-content-inner {
    padding: 0 1.5rem 1.5rem 1.5rem; /* Padding só aparece quando aberto */
    border-top: 1px solid var(--border-color);
}

.faq-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.faq-content strong {
    color: var(--text-primary); /* Destaca as keywords em negrito */
}

/* Responsividade para celulares */
@media (max-width: 600px) {
    .faq-header h2 { font-size: 1.8rem; }
    .faq-trigger { padding: 1rem; }
    .faq-trigger h3 { font-size: 1rem; }
    .faq-content-inner { padding: 0 1rem 1rem 1rem; }
}