/*
Theme Name: Vertical Flight
Theme URI: https://verticalflight.com.br
Author: Vertical Flight
Description: Tema profissional aviation para Vertical Flight. Branco com azul marinho classico.
Version: 1.0
License: GPL v2 or later
Text Domain: verticalflight
*/

:root {
    --vf-primary: #0b2545;
    --vf-primary-light: #1d3b6e;
    --vf-accent: #2a6cb4;
    --vf-accent-hover: #1d5994;
    --vf-bg: #ffffff;
    --vf-bg-soft: #f5f7fa;
    --vf-text: #2d3748;
    --vf-text-light: #5a6578;
    --vf-border: #e2e8f0;
    --vf-max-width: 1200px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--vf-text);
    background: var(--vf-bg);
}

a {
    color: var(--vf-accent);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover { color: var(--vf-accent-hover); }

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-weight: 600;
    color: var(--vf-primary);
    line-height: 1.3;
    margin: 0 0 16px;
}
h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0 0 14px; }

/* ===== TOPBAR ===== */
.vf-topbar {
    background: var(--vf-primary);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}
.vf-topbar .vf-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.vf-topbar a { color: #fff; opacity: 0.9; }
.vf-topbar a:hover { opacity: 1; color: #fff; }
.vf-topbar-phone { font-weight: 600; letter-spacing: 0.5px; }
.vf-topbar-phone svg { vertical-align: -3px; margin-right: 6px; }

/* ===== HEADER ===== */
.vf-header {
    background: #fff;
    border-bottom: 1px solid var(--vf-border);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.vf-header .vf-container { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.vf-logo { font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 700; letter-spacing: 1px; color: var(--vf-primary); }
.vf-logo strong { color: var(--vf-accent); font-weight: 700; }
.vf-logo a { color: inherit; text-decoration: none; }
.vf-logo img { max-height: 56px; width: auto; display: block; }

.vf-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; }
.vf-menu li { position: relative; }
.vf-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--vf-text);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}
.vf-menu a:hover, .vf-menu .current-menu-item > a, .vf-menu .current_page_item > a {
    background: var(--vf-bg-soft);
    color: var(--vf-accent);
}
.vf-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    background: #fff;
    border: 1px solid var(--vf-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-width: 200px;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    z-index: 200;
}
.vf-menu li:hover > .sub-menu { display: block; }
.vf-menu .sub-menu a { padding: 8px 16px; text-transform: none; letter-spacing: 0; }

.vf-menu-toggle {
    display: none;
    background: none; border: none; cursor: pointer; padding: 8px;
    color: var(--vf-primary); font-size: 24px;
}

/* ===== CONTAINER ===== */
.vf-container { max-width: var(--vf-max-width); margin: 0 auto; padding: 0 20px; }
.vf-main { padding: 40px 0 60px; min-height: 50vh; }

/* ===== PAGE / POSTS ===== */
.vf-page-title { font-size: 32px; margin-bottom: 28px; border-bottom: 3px solid var(--vf-accent); padding-bottom: 12px; display: inline-block; }
.vf-content { font-size: 16px; line-height: 1.75; }
.vf-content img { border-radius: 4px; margin: 16px 0; }
.vf-content ul, .vf-content ol { padding-left: 24px; }
.vf-content blockquote { border-left: 4px solid var(--vf-accent); padding: 8px 20px; color: var(--vf-text-light); font-style: italic; margin: 20px 0; background: var(--vf-bg-soft); }

/* ===== POST CARDS ===== */
.vf-post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.vf-post-card { background: #fff; border: 1px solid var(--vf-border); border-radius: 6px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.vf-post-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.vf-post-card img { width: 100%; height: 200px; object-fit: cover; }
.vf-post-card-body { padding: 18px 20px; }
.vf-post-card h3 { font-size: 18px; margin-bottom: 8px; }
.vf-post-card h3 a { color: var(--vf-primary); }
.vf-post-card-meta { font-size: 13px; color: var(--vf-text-light); margin-bottom: 10px; }
.vf-post-card-excerpt { font-size: 14px; color: var(--vf-text-light); }

/* ===== FOOTER ===== */
.vf-footer { background: var(--vf-primary); color: #c5cee0; padding: 50px 0 0; margin-top: 60px; }
.vf-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
.vf-footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; border-bottom: 2px solid var(--vf-accent); padding-bottom: 8px; display: inline-block; }
.vf-footer a { color: #c5cee0; }
.vf-footer a:hover { color: #fff; }
.vf-footer p { color: #c5cee0; font-size: 14px; line-height: 1.7; }
.vf-footer-list { list-style: none; padding: 0; margin: 0; }
.vf-footer-list li { padding: 4px 0; font-size: 14px; }
.vf-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; margin-top: 40px; text-align: center; font-size: 13px; color: #8a96ac; }

/* ===== AVADA SHORTCODE FALLBACKS ===== */
.vf-fullwidth { display: block; clear: both; width: 100%; }
.vf-fullwidth-inner { max-width: var(--vf-max-width); margin: 0 auto; padding: 0 20px; }
.vf-text { line-height: 1.75; margin: 12px 0; }
.vf-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.vf-col { flex: 1 1 280px; min-width: 0; }
.vf-button {
    display: inline-block;
    padding: 14px 32px;
    background: var(--vf-accent);
    color: #fff !important;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 12px 5px;
    font-size: 14px;
    text-transform: uppercase;
    transition: background 0.2s;
}
.vf-button:hover { background: var(--vf-accent-hover); color: #fff !important; }

/* ===== 404 ===== */
.vf-404 { text-align: center; padding: 80px 20px; }
.vf-404 h1 { font-size: 72px; color: var(--vf-accent); margin-bottom: 8px; }

/* ===== RESPONSIVO ===== */
@media (max-width: 860px) {
    .vf-menu-toggle { display: block; }
    .vf-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--vf-border); padding: 8px 0; }
    .vf-menu.open { display: flex; }
    .vf-menu a { padding: 12px 20px; }
    .vf-topbar { font-size: 12px; }
    .vf-topbar .vf-container { justify-content: center; text-align: center; }
    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    .vf-main { padding: 28px 0 40px; }
}
