/*
Theme Name: DME Capital
Theme URI: https://dmecapital.com.br
Author: DME Capital
Author URI: https://dmecapital.com.br
Description: Tema institucional profissional para DME Capital - Soluções financeiras e empréstimos.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dme-capital
*/

:root {
  --primary: #1a2744;
  --primary-light: #2d3f5e;
  --accent: #c4973b;
  --accent-light: #d4ab54;
  --bg: #faf9f7;
  --text: #1a2744;
  --text-muted: #6b7280;
  --border: #e5e5e0;
  --card-bg: #ffffff;
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.3s;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(250,249,247,0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo-icon {
  width: 40px; height: 40px; background: var(--primary);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 18px;
}
.logo-text { font-size: 20px; font-weight: 700; color: var(--text); }
.logo-text span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.btn-accent {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--primary);
  padding: 10px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-accent:hover { opacity: 0.9; box-shadow: 0 4px 12px rgba(196,151,59,0.3); }

.btn-outline {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(255,255,255,0.2); color: #fff;
  padding: 14px 32px; border-radius: 12px;
  font-size: 16px; font-weight: 500;
  transition: all 0.2s; background: transparent; cursor: pointer;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--primary);
  padding: 16px 32px; border-radius: 12px;
  font-size: 16px; font-weight: 600;
  transition: all 0.2s; border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(196,151,59,0.3);
}
.btn-primary:hover { transform: scale(1.02); box-shadow: 0 6px 24px rgba(196,151,59,0.4); }

/* Mobile menu */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--text); }
.mobile-menu { display: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu.active {
    display: flex; flex-direction: column; gap: 4px;
    background: rgba(250,249,247,0.95); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border); padding: 16px;
  }
  .mobile-menu a {
    padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 500;
    transition: background 0.2s;
  }
  .mobile-menu a:hover { background: var(--border); }
}

/* Hero */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--primary));
  padding: 80px 24px 60px; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -128px; right: -128px;
  width: 384px; height: 384px; border-radius: 50%;
  background: rgba(196,151,59,0.1); filter: blur(48px);
}
.hero::after {
  content: ''; position: absolute; bottom: -128px; left: -128px;
  width: 384px; height: 384px; border-radius: 50%;
  background: rgba(196,151,59,0.05); filter: blur(48px);
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(196,151,59,0.15); color: var(--accent);
  padding: 6px 16px; border-radius: 50px; font-size: 14px; font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 { font-size: 48px; font-weight: 700; color: #fff; line-height: 1.1; }
.hero .subtitle { font-size: 22px; font-weight: 500; color: rgba(255,255,255,0.8); margin-top: 16px; }
.hero .description { font-size: 16px; color: rgba(255,255,255,0.65); margin-top: 24px; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.hero-buttons { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .hero .subtitle { font-size: 18px; }
}

/* Section */
.section { padding: 80px 24px; }
.section-muted { background: rgba(245,244,240,0.5); }
.section-inner { max-width: 1152px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 32px; font-weight: 700; color: var(--text); }
.section-header .divider { width: 64px; height: 4px; background: var(--accent); border-radius: 4px; margin: 12px auto 0; }
.section-header p { margin-top: 16px; color: var(--text-muted); max-width: 640px; margin-left: auto; margin-right: auto; }

/* About highlights */
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.highlight-card {
  text-align: center; padding: 24px; border: 1px solid var(--border);
  background: var(--card-bg); border-radius: 16px;
  transition: all 0.2s;
}
.highlight-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: scale(1.02); }
.highlight-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: rgba(196,151,59,0.1); color: var(--accent);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; transition: all 0.2s;
}
.highlight-card:hover .highlight-icon { background: var(--accent); color: var(--primary); }
.highlight-card h3 { font-size: 16px; font-weight: 600; }
.highlight-card p { margin-top: 8px; font-size: 14px; color: var(--text-muted); }

@media (max-width: 768px) { .highlights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .highlights-grid { grid-template-columns: 1fr; } }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  padding: 24px; border: 1px solid var(--border);
  background: var(--card-bg); border-radius: 16px;
  transition: all 0.2s;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: scale(1.02); }
.service-icon {
  width: 48px; height: 48px; margin-bottom: 16px;
  background: rgba(26,39,68,0.1); color: var(--primary);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: all 0.2s;
}
.service-card:hover .service-icon { background: var(--primary); color: #fff; }
.service-card h3 { font-size: 18px; font-weight: 600; }
.service-card p { margin-top: 8px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(26,39,68,0.1); color: var(--primary);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.contact-item .label { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.contact-item .value { font-size: 16px; color: var(--text); }
.social-links { display: flex; gap: 12px; margin-top: 8px; }
.social-link {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--border); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.social-link:hover { background: var(--primary); color: #fff; }
.map-embed { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 400px; border: 0; }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* Privacy */
.privacy-container {
  max-width: 800px; margin: 0 auto;
  border: 1px solid var(--border); background: var(--card-bg);
  border-radius: 16px; padding: 24px;
}
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; background: none; border: none; cursor: pointer;
  font-size: 16px; font-weight: 500; color: var(--text); text-align: left;
  transition: color 0.2s;
}
.accordion-btn:hover { color: var(--primary); }
.accordion-btn svg { transition: transform 0.3s; flex-shrink: 0; }
.accordion-btn.active svg { transform: rotate(180deg); }
.accordion-content {
  max-height: 0; overflow: hidden; transition: max-height 0.3s;
}
.accordion-content.active { max-height: 2000px; }
.accordion-content p {
  padding-bottom: 16px; font-size: 14px; color: var(--text-muted);
  line-height: 1.7; white-space: pre-line;
}

/* Footer */
.site-footer { background: var(--primary); padding: 48px 24px; color: #fff; }
.footer-inner { max-width: 1152px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-col h3 { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-col p, .footer-col a { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8; }
.footer-col a:hover { color: var(--accent); }
.footer-col .footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--accent); color: var(--primary); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
