/*
Theme Name: Blank Theme
Theme URI: https://sublimeweb.com.br
Author: SublimeWeb Marketing Digital
Author URI: https://sublimeweb.com.br
Description: Um tema WordPress minimalista e em branco, pronto para customização. Perfeito como base para desenvolvimento de temas personalizados.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blank-theme
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ========================================
   RESET E ESTILOS BASE
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

/* ========================================
   TIPOGRAFIA
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #005a87;
}

strong, b {
    font-weight: 700;
}

em, i {
    font-style: italic;
}

/* ========================================
   LISTAS
   ======================================== */

ul, ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* ========================================
   IMAGENS
   ======================================== */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

figure {
    margin: 1rem 0;
}

figcaption {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
}

/* ========================================
   FORMULÁRIOS
   ======================================== */

input,
textarea,
select,
button {
    font-family: inherit;
    font-size: inherit;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    padding: 0.75rem 1.5rem;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: #005a87;
}

/* ========================================
   TABELAS
   ======================================== */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f5f5f5;
    font-weight: 700;
}

tr:hover {
    background-color: #f9f9f9;
}

/* ========================================
   CÓDIGO
   ======================================== */

code,
pre {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f5f5f5;
    border-radius: 4px;
}

code {
    padding: 0.2rem 0.4rem;
    font-size: 0.875rem;
}

pre {
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
}

pre code {
    padding: 0;
    background-color: transparent;
}

/* ========================================
   BLOCKQUOTE
   ======================================== */

blockquote {
    margin: 1rem 0;
    padding: 1rem;
    border-left: 4px solid #0073aa;
    background-color: #f9f9f9;
    font-style: italic;
}

/* ========================================
   LAYOUT
   ======================================== */

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.site-content {
    flex: 1;
    padding: 2rem 0;
}

.site-footer {
    background-color: #f5f5f5;
    border-top: 1px solid #eee;
    padding: 2rem 0;
    margin-top: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========================================
   HEADER
   ======================================== */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: #333;
}

.site-title a:hover {
    color: #0073aa;
}

.site-description {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

/* ========================================
   NAVEGAÇÃO
   ======================================== */

.main-navigation {
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.current {
    color: #0073aa;
}

/* ========================================
   CONTEÚDO
   ======================================== */

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    margin-bottom: 0.5rem;
}

.entry-meta {
    font-size: 0.875rem;
    color: #666;
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.875rem;
    color: #666;
}

/* ========================================
   SIDEBAR
   ======================================== */

.sidebar {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 4px;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0073aa;
}

/* ========================================
   COMENTÁRIOS
   ======================================== */

.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.comment-author {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.875rem;
    color: #666;
}

/* ========================================
   PAGINAÇÃO
   ======================================== */

.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.pagination a,
.pagination .page-numbers {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #0073aa;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* ========================================
   UTILITÁRIOS
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ========================================
   RESPONSIVIDADE - TABLET
   ======================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .site-header {
        flex-direction: column;
        gap: 1rem;
    }

    .main-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* ========================================
   RESPONSIVIDADE - MOBILE
   ======================================== */

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    body {
        font-size: 0.95rem;
    }

    .site-content {
        padding: 1rem 0;
    }

    .site-footer {
        padding: 1rem 0;
    }

    .container {
        padding: 0 0.75rem;
    }

    .main-navigation {
        gap: 0.5rem;
    }

    table {
        font-size: 0.875rem;
    }

    th, td {
        padding: 0.5rem;
    }
}
