/*
Theme Name: Itta Digital
Theme URI: https://ittadigital.com.br
Author: Itta Digital
Author URI: https://ittadigital.com.br
Description: Tema oficial da Itta Digital - Assessoria Digital Completa
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: itta-digital
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #1a1f3d;
  --bg-card: #222850;
  --fg: #fafafa;
  --primary: #a3d134;
  --primary-dark: #6b9a26;
  --primary-fg: #1a1f3d;
  --muted: #8a8faa;
  --border: #2e3560;
  --card-grad: linear-gradient(145deg, #283060, #1f2650);
  --shadow-glow: 0 0 30px rgba(163, 209, 52, 0.15);
  --shadow-card: 0 8px 32px rgba(12, 14, 30, 0.4);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); }

a { color: inherit; text-decoration: none; }

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

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

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(26, 31, 61, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(46, 53, 96, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.header-logo img { height: 3rem; }

.header-nav { display: flex; align-items: center; gap: 2rem; }

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--primary); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.9; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-outline:hover { background: rgba(46, 53, 96, 0.5); }

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.active { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,31,61,0.6), rgba(26,31,61,0.95));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 5rem;
  max-width: 48rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(163, 209, 52, 0.1);
  border: 1px solid rgba(163, 209, 52, 0.3);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== SERVICES ===== */
.services { padding: 6rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header span {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.section-header h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  margin-top: 0.75rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card-grad);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(46, 53, 96, 0.5);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  border-color: rgba(163, 209, 52, 0.4);
  box-shadow: var(--shadow-glow);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: rgba(163, 209, 52, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===== ABOUT ===== */
.about {
  padding: 6rem 0;
  background: rgba(34, 40, 80, 0.5);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img {
  border-radius: 1rem;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-text span {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.about-text h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin: 0.75rem 0 1.5rem;
}

.about-text p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-text p strong { color: var(--fg); }

.highlights {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlights li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.highlights li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact { padding: 6rem 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 64rem;
  margin: 0 auto;
}

.contact-info p.desc {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item .icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: rgba(163, 209, 52, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-item .label {
  font-size: 0.875rem;
  color: var(--muted);
}

.contact-item .value {
  font-weight: 500;
}

.contact-item a:hover .value { color: var(--primary); }

.contact-form {
  background: var(--card-grad);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid rgba(46, 53, 96, 0.5);
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.375rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  outline: none;
  transition: box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

.contact-form textarea { resize: none; min-height: 6rem; }

.contact-form button { width: 100%; padding: 0.875rem; font-size: 1rem; }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid rgba(46, 53, 96, 0.5);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-inner img { height: 2rem; }

.footer-inner p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .mobile-toggle { display: block; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .hero h1 { font-size: 2.25rem; }
  .hero p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; }
}
