/*
Theme Name: JDS Animation
Theme URI: https://jdsanimation.com.br
Author: Jair Daniel
Author URI: https://jdsanimation.com.br
Description: Tema escuro e moderno para o site JDS Animation. Compatível com Elementor e o plugin Job Hub.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: jdsanimation
Tags: dark, portfolio, elementor, one-column, custom-colors
*/

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --acc:     #7c6af7;
  --acc2:    #a699ff;
  --bg:      #0f0f11;
  --bg2:     #17171a;
  --bg3:     #1e1e22;
  --border:  rgba(255,255,255,0.08);
  --text:    #f0eff4;
  --text2:   #9999a8;
  --text3:   #5a5a6a;
  --green:   #3dd68c;
  --red:     #f87171;
  --amber:   #fbbf24;
  --radius:  10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
p  { color: var(--text2); line-height: 1.75; }
a  { color: var(--acc2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--text); }

/* ── LAYOUT ── */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.entry-content { max-width: 760px; margin: 0 auto; padding: 60px 24px; }

/* ── HEADER ── */
#masthead {
  background: rgba(15,15,17,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.site-branding a {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -.3px;
}
.site-branding a span { color: var(--acc2); }

/* ── NAV ── */
#primary-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
#primary-menu li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: color .15s;
}
#primary-menu li a:hover,
#primary-menu li.current-menu-item a { color: var(--text); }
#primary-menu li.menu-cta a {
  background: var(--acc);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}
#primary-menu li.menu-cta a:hover { background: #6d5de0; }

/* ── FOOTER ── */
#colophon {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
}
.footer-brand span { color: var(--acc2); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text3); }
.footer-links a:hover { color: var(--text2); }
.footer-copy { font-size: 12px; color: var(--text3); width: 100%; text-align: center; margin-top: 20px; border-top: 1px solid var(--border); padding-top: 20px; }

/* ── ELEMENTOR: página em branco ── */
.elementor-page #masthead,
.elementor-page #colophon { display: none; }

/* ── HERO SECTION (shortcode / bloco) ── */
.jds-hero {
  background: linear-gradient(160deg, rgba(124,106,247,.15) 0%, var(--bg) 60%);
  padding: 100px 24px 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.jds-hero h1 { margin-bottom: 16px; }
.jds-hero p  { font-size: 17px; max-width: 560px; margin: 0 auto 32px; }
.jds-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
  text-decoration: none;
}
.jds-btn.primary { background: var(--acc); color: #fff; }
.jds-btn.primary:hover { background: #6d5de0; color: #fff; }
.jds-btn.outline { border: 1px solid rgba(255,255,255,.2); color: var(--text); background: transparent; }
.jds-btn.outline:hover { background: rgba(255,255,255,.06); color: var(--text); }

/* ── CARDS ── */
.jds-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color .2s, transform .2s;
}
.jds-card:hover { border-color: rgba(124,106,247,.35); transform: translateY(-3px); }
.jds-grid { display: grid; gap: 20px; }
.jds-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.jds-grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ── SECTION ── */
.jds-section { padding: 80px 24px; }
.jds-section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--acc2);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.jds-section h2 { margin-bottom: 14px; }
.jds-section > p { max-width: 560px; margin-bottom: 40px; }

/* ── STATS BAR ── */
.jds-stats {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
}
.jds-stats-inner {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.jds-stat-val { font-family: 'DM Serif Display', serif; font-size: 36px; font-weight: 600; }
.jds-stat-label { font-size: 12px; color: var(--text3); margin-top: 4px; }

/* ── BADGE / CHIP ── */
.jds-badge {
  display: inline-block;
  background: rgba(124,106,247,.12);
  border: 1px solid rgba(124,106,247,.25);
  color: var(--acc2);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 3px; }

/* ── ELEMENTOR OVERRIDES ── */
.elementor-section { background: transparent !important; }
.elementor-widget-heading .elementor-heading-title { font-family: 'DM Serif Display', serif !important; }
.elementor-widget-text-editor p { color: var(--text2); }
