/*
Theme Name: SD Theme 1.0
Theme URI: https://neiespindola.com.br
Description: Strategic Designer Theme 1.0 (SD Theme 1.0) - Um tema WordPress ultra leve, rápido e otimizado para SEO estilo UICore, projetado especificamente para servir de base para o Elementor.
Author: Nei Espindola
Author URI: https://neiespindola.com.br
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sd-theme
*/

/* ==========================================================================
   1. Design System & CSS Custom Properties (Variáveis do Tema)
   ========================================================================== */
:root {
    /* Cores Primárias (Inspirado no UICore Premium) */
    --sd-color-primary: #6366f1;         /* Indigo modern */
    --sd-color-primary-rgb: 99, 102, 241;
    --sd-color-primary-hover: #4f46e5;
    
    --sd-color-secondary: #06b6d4;       /* Cyan bright */
    --sd-color-secondary-rgb: 6, 182, 212;
    
    /* Neutros (Modo Escuro / Claro Consistente) */
    --sd-color-text-dark: #0f172a;       /* Slate 900 */
    --sd-color-text-light: #f8fafc;      /* Slate 50 */
    --sd-color-text-muted: #64748b;      /* Slate 500 */
    
    --sd-color-bg-light: #ffffff;
    --sd-color-bg-dark: #0b0f19;         /* Dark Navy ultra-smooth */
    --sd-color-bg-glass-light: rgba(255, 255, 255, 0.7);
    --sd-color-bg-glass-dark: rgba(11, 15, 25, 0.7);
    
    /* Tipografia (Configurável dinamicamente no painel) */
    --sd-font-family-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --sd-font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif;
    
    /* Border Radius & Sombras Premium (UICore Glassmorphism) */
    --sd-radius-sm: 8px;
    --sd-radius-md: 12px;
    --sd-radius-lg: 20px;
    --sd-radius-full: 9999px;
    
    --sd-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --sd-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --sd-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --sd-shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    
    /* Layout */
    --sd-container-width: 1200px;
    --sd-transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. Reset Básico & Estilos Globais
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: var(--sd-font-family-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--sd-color-text-dark);
    background-color: var(--sd-color-bg-light);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img, picture, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--sd-color-primary);
    text-decoration: none;
    transition: var(--sd-transition-smooth);
}

a:hover {
    color: var(--sd-color-primary-hover);
}

/* Estilos de acessibilidade básicos */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    top: 5px;
    width: auto;
    z-index: 100000;
}
