/* Estilos Globais Customizados - TRI CERTO */

body {
    font-family: 'Manrope', sans-serif;
    background-color: #fbf9f0;
}

/* Configuração base dos ícones do Material Symbols Outlined */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Preenchimento de ícones ativos */
.material-symbols-outlined.fill,
.material-symbols-outlined.icon-fill,
.icon-fill {
    font-variation-settings: 'FILL' 1 !important;
}

/* Barra de rolagem sutil e moderna */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #c0c8ca;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #70787b;
}

/* Barra de rolagem para tabelas e containers específicos */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #c0c8ca;
    border-radius: 20px;
}

/* Estilizações para mockups de gráficos (SVG/HTML) */
.chart-bar-bg {
    background-color: #f0eee5;
}
.chart-bar-fill {
    background-color: #006a68;
}
.chart-line {
    stroke: #006a68;
    stroke-width: 3;
    fill: none;
}
.chart-area {
    fill: #99f2ee;
    opacity: 0.2;
}

.chart-grid {
    background-image: 
        linear-gradient(to right, rgba(112, 120, 123, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(112, 120, 123, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.donut-segment {
    transition: stroke-width 0.3s ease;
}
.donut-segment:hover {
    stroke-width: 32;
}

/* Animações leves */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* ==========================================================================
   Estilos Específicos do Site Público / Landing Page
   ========================================================================== */

/* Padrão de bolinhas do Hero */
.hero-pattern {
    background-color: #fbf9f0;
    background-image: radial-gradient(#02424d 0.5px, transparent 0.5px), radial-gradient(#02424d 0.5px, #fbf9f0 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.8;
}

/* Card translúcido (Glassmorphism) */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(2, 66, 77, 0.05);
    box-shadow: 0px 4px 20px rgba(2, 66, 77, 0.08);
}

/* Sombra premium/elevada */
.premium-shadow {
    box-shadow: 0px 12px 32px rgba(2, 66, 77, 0.12);
}

/* Texto em gradiente */
.text-gradient {
    background: linear-gradient(90deg, #02424d 0%, #006a68 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Estilo padrão de inputs do site público (substituindo @apply do Stitch) */
.input-field {
    width: 100%;
    background-color: #ffffff; /* surface-container-lowest */
    border: 1px solid rgba(192, 200, 202, 0.6); /* outline-variant/60 */
    border-radius: 0.5rem; /* lg */
    padding: 0.875rem 1rem; /* px-4 py-3.5 */
    font-size: 16px; /* text-body-md */
    color: #1b1c17; /* on-surface */
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    outline: none;
}
.input-field:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(2, 66, 77, 0.2); /* focus:ring-2 focus:ring-primary-container/20 */
    border-color: #02424d; /* focus:border-primary-container */
}
.input-field:hover {
    border-color: #70787b; /* hover:border-outline */
}

/* Rótulo padrão de inputs do site público */
.input-label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 14px; /* text-label-bold */
    font-weight: 700;
    color: #40484a; /* on-surface-variant */
    margin-bottom: 0.5rem; /* mb-2 */
}

/* Ajustes de cabeçalho nos Termos de Uso */
.prose h2 {
    scroll-margin-top: 100px;
}

/* Navegação da barra lateral (TOC) nos Termos de Uso */
.toc-link {
    display: block;
    transition: color 0.2s ease;
}

