/* Reset e Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a3a5c;
    --primary-light: #2c5f8a;
    --accent: #c8a951;
    --accent-hover: #b89941;
    --bg: #f8f9fa;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --border: #e0e0e0;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-top {
    background: rgba(0,0,0,0.2);
    padding: 8px 0;
    font-size: 12px;
}

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

.header-main {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

.logo h1 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo span {
    font-size: 12px;
    opacity: 0.85;
    display: block;
    margin-top: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

nav a:hover, nav a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, var(--primary) 0%, #0d2137 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200,169,81,0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.banner h2 {
    font-size: 42px;
    margin-bottom: 20px;
    position: relative;
}

.banner p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
    position: relative;
}

.banner .btn {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
}

.banner .btn:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Seção */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.blog-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--accent);
}

.blog-card-content {
    padding: 25px;
}

.blog-card-tag {
    display: inline-block;
    background: rgba(26,58,92,0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-light);
}

.blog-card-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

/* Sidebar */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.cotacao-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.cotacao-box h3 {
    color: var(--white);
    border-bottom-color: var(--accent);
}

.cotacao-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.cotacao-item:last-child { border-bottom: none; }

.cotacao-moeda { font-weight: 600; }
.cotacao-valor { color: var(--accent); font-weight: 700; }

/* Article Page */
.article-header {
    background: linear-gradient(135deg, var(--primary) 0%, #0d2137 100%);
    color: var(--white);
    padding: 80px 0 60px;
}

.article-header h1 {
    font-size: 36px;
    max-width: 800px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    opacity: 0.85;
}

.article-body {
    padding: 50px 0;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 26px;
    color: var(--primary);
    margin: 35px 0 15px;
    padding-left: 15px;
    border-left: 4px solid var(--accent);
}

.article-content h3 {
    font-size: 20px;
    color: var(--primary-light);
    margin: 25px 0 12px;
}

.article-content p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.8;
}

.article-content ul, .article-content ol {
    margin: 15px 0 15px 25px;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-content blockquote {
    background: rgba(26,58,92,0.05);
    border-left: 4px solid var(--accent);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-light);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #d4b961 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--primary);
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

.cta-section .btn:hover {
    background: #0d2137;
    transform: translateY(-2px);
}

/* Sobre */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-text h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.sobre-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.sobre-info {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.sobre-info-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.sobre-info-item:last-child { border-bottom: none; }

.sobre-info-icon {
    width: 45px;
    height: 45px;
    background: rgba(26,58,92,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: #0a1628;
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer p, .footer li {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer ul { list-style: none; }

.footer a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.footer a:hover { color: var(--accent); }

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
}

.footer-parceira {
    background: rgba(200,169,81,0.1);
    border: 1px solid rgba(200,169,81,0.3);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
}

.footer-parceira strong {
    color: var(--accent);
    display: block;
    margin-top: 5px;
}

/* Contato */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contato-form {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contato-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contato-icon {
    width: 50px;
    height: 50px;
    background: rgba(26,58,92,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.contato-card h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 16px;
}

.contato-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .header-main .container { flex-direction: column; gap: 15px; }
    nav ul { gap: 15px; font-size: 13px; }
    .banner h2 { font-size: 28px; }
    .blog-grid { grid-template-columns: 1fr; }
    .content-layout { grid-template-columns: 1fr; }
    .sobre-grid { grid-template-columns: 1fr; }
    .contato-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
