/* ═══════════════════════════════════════════════════════════════════════════
   DOT-ON · CSS customizado (sobre Tailwind)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Scroll suave */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* compensar navbar fixa */
}

/* Body padrão */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Esconde a setinha padrão do <details> em todos os navegadores */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
details > summary::marker {
    display: none;
}

/* Animação de pulse customizada */
@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.7; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

/* Scrollbar personalizada (Webkit) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Seleção de texto com cor da marca */
::selection {
    background-color: rgba(16, 185, 129, 0.25);
    color: #1E40AF;
}

/* Garantir que imagens não estourem */
img, svg {
    max-width: 100%;
    height: auto;
}

/* Foco acessível */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid #10B981;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navbar com sombra quando scrolled */
#navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Aplicar fonte Inter onde Tailwind não cobre */
.font-mono {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

/* Ajuste fino para o gradiente dos botões grandes */
.btn-gradient {
    background: linear-gradient(135deg, #10B981 0%, #1E40AF 100%);
}

/* Hover sutil em cards */
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
    transform: translateY(-2px);
}

/* Garantir que o WhatsApp flutuante não cubra conteúdo no fim */
@media (max-width: 640px) {
    footer {
        padding-bottom: 5rem;
    }
}

/* Print: esconder elementos interativos */
@media print {
    nav, .fixed, button {
        display: none !important;
    }
    section {
        page-break-inside: avoid;
    }
}

/* Reduzir motion para acessibilidade */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
