/*
Theme Name: MACUCO Media - Deep Tech Noir
Theme URI: https://www.macucomedia.com.br
Author: Pyr Marcondes / Macuco Group
Author URI: https://macucogroup.one
Description: Tema oficial da MACUCO Media. Identidade visual Deep Tech Noir com plataforma OPTIMUS, bot conversacional MacucoBot e conteúdo AEO-ready.
Version: 1.0.0
License: Proprietary
License URI: https://www.macucomedia.com.br/politica-editorial
Text Domain: macucomedia
Tags: dark, one-column, custom-menu, featured-images
*/

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

:root {
  --navy: #0a1628;
  --navy-light: #0d1f35;
  --navy-medium: #132842;
  --gold: #c9a84c;
  --gold-light: #e0c068;
  --cyan: #00d4ff;
  --cyan-dark: rgba(0, 212, 255, 0.2);
  --white: #f0ede6;
  --white-70: rgba(255, 255, 255, 0.7);
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --radius: 0.625rem;
}

body {
  font-family: "Source Sans 3", "Inter", ui-sans-serif, system-ui, sans-serif;
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", serif;
  color: var(--gold);
}

h1 { font-size: 3rem; letter-spacing: -0.02em; line-height: 1.2; }
h2 { font-size: 1.75rem; letter-spacing: -0.02em; line-height: 1.3; }
h3 { font-size: 1.25rem; line-height: 1.4; }

a { color: var(--cyan); text-decoration: none; transition: all 0.2s; }
a:hover { opacity: 0.85; }

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

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}

/* ===== UTILITIES ===== */
.label-cyan {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan);
}

.glass-card {
  background: rgba(13, 31, 53, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 12px;
}

.glow-cyan {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 40px rgba(0, 212, 255, 0.1);
}

.glow-gold {
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3), 0 0 40px rgba(201, 168, 76, 0.1);
}

.section-divider {
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00d4ff, #4dd0e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #c9a84c, #e0c068);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVBAR ===== */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
  padding: 1rem 0;
}

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

.site-navbar .brand {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.site-navbar .brand span {
  color: var(--white-70);
  font-weight: 400;
  margin-left: 0.5rem;
}

.site-navbar nav a {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-left: 2rem;
  transition: color 0.2s;
}

.site-navbar nav a:hover,
.site-navbar nav a.active {
  color: var(--cyan);
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  overflow: hidden;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--navy), var(--navy-light), var(--navy));
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  opacity: 0.2;
  background: radial-gradient(circle, rgba(0,212,255,0.15) 0%, transparent 70%);
}

.hero-section .hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
  text-decoration: none;
}

.btn-primary:hover {
  filter: brightness(1.1);
  opacity: 1;
  color: var(--navy);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(201, 168, 76, 0.08);
  opacity: 1;
  color: var(--gold);
}

.btn-outline-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
  text-decoration: none;
}

.btn-outline-cyan:hover {
  background: rgba(0, 212, 255, 0.08);
  opacity: 1;
  color: var(--cyan);
}

/* ===== KPI STRIP ===== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 4rem;
  max-width: 900px;
  margin-inline: auto;
}

.kpi-card {
  text-align: center;
  padding: 1.25rem;
}

.kpi-card .kpi-value {
  font-family: "Montserrat", sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--cyan);
}

.kpi-card .kpi-label {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-top: 0.5rem;
}

/* ===== SECTIONS ===== */
.section { padding: 6rem 0; }

/* ===== TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 3rem;
}

.comparison-table thead tr {
  background: var(--navy-light);
}

.comparison-table th {
  padding: 1rem;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan);
  border-bottom: 2px solid rgba(0, 212, 255, 0.2);
}

.comparison-table td {
  padding: 1rem;
  color: var(--white-70);
  border-bottom: 1px solid rgba(0, 212, 255, 0.06);
}

.comparison-table td:first-child {
  color: var(--gray-400);
  font-weight: 500;
}

.comparison-table td:last-child {
  color: var(--cyan);
}

/* ===== GRID CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 1.5rem;
}

.feature-card .card-icon {
  color: var(--cyan);
  margin-bottom: 1rem;
  width: 32px;
  height: 32px;
}

.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { color: var(--gray-400); font-size: 0.875rem; }

/* ===== QUOTE BLOCK ===== */
.quote-block {
  padding: 1.5rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: rgba(201, 168, 76, 0.06);
  margin-bottom: 1.5rem;
}

.quote-block p {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--gold);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.quote-block cite {
  color: var(--gray-400);
  font-size: 0.875rem;
  font-style: normal;
}

/* ===== FAQ ===== */
.faq-item {
  margin-bottom: 1rem;
}

.faq-item summary {
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  font-weight: 500;
  transition: color 0.2s;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--cyan); }

.faq-item summary::after {
  content: '→';
  color: var(--cyan);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(90deg);
}

.faq-item .faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--gray-400);
  line-height: 1.7;
  border-top: 1px solid rgba(0, 212, 255, 0.06);
  padding-top: 1rem;
}

/* ===== FUNNEL ===== */
.funnel-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.funnel-step .step-number {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.875rem;
}

.funnel-step .step-content { padding-top: 0.5rem; }
.funnel-step .step-content h3 { margin-bottom: 0.25rem; }
.funnel-step .step-content p { color: var(--gray-400); font-size: 0.875rem; }

/* ===== PILLAR CARDS ===== */
.pillar-card {
  padding: 2rem;
  transition: border-color 0.3s;
}

.pillar-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
}

.pillar-card .card-icon {
  color: var(--cyan);
  margin-bottom: 1rem;
}

.pillar-card ul {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.pillar-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--white-70);
  margin-bottom: 0.75rem;
}

.pillar-card ul li::before {
  content: '→';
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 6rem 0;
}

.cta-box {
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== FORM ===== */
.contact-form label {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--navy-light);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 0.5rem;
  color: var(--white);
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s;
}

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

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

.contact-form select option {
  background: var(--navy);
  color: var(--white);
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 6rem 0 1rem;
}

.breadcrumbs a {
  color: var(--gray-400);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.breadcrumbs span {
  color: var(--gray-500);
  margin: 0 0.5rem;
}

.breadcrumbs .current {
  color: var(--cyan);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: var(--gray-400);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 212, 255, 0.06);
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.75rem;
}

.footer-logo {
  display: block;
  max-width: 120px;
  margin: 2rem auto 1rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-logo:hover { opacity: 1; }

/* ===== MACUCOBOT WIDGET ===== */
.macucobot-trigger {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.macucobot-trigger:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(0, 212, 255, 0.5);
}

.macucobot-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 380px;
  max-height: 550px;
  background: var(--navy-light);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 16px;
  z-index: 999;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.macucobot-panel.open { display: flex; }

.macucobot-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.macucobot-header h4 {
  font-family: "Playfair Display", serif;
  color: var(--gold);
  font-size: 1rem;
  margin: 0;
}

.macucobot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.macucobot-input {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  display: flex;
  gap: 0.5rem;
}

.macucobot-input input {
  flex: 1;
  background: var(--navy);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--white);
  font-size: 0.875rem;
}

.macucobot-input button {
  background: var(--cyan);
  color: var(--navy);
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero-section { min-height: auto; padding: 8rem 0 4rem; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .site-navbar nav { display: none; }
  .macucobot-panel { width: calc(100vw - 2rem); right: 1rem; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy-medium); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 212, 255, 0.3); }

/* ===== SELECTION ===== */
::selection { background: rgba(0, 212, 255, 0.3); color: var(--white); }
