/*
Theme Name: Marketeria
Theme URI: https://marketeria.com.br
Description: Custom WordPress theme for Marketeria - Revenue Operations & Vendas B2B. Google Workspace inspired design with clean, modern aesthetics.
Version: 1.0.0
Author: Marketeria - Fábio Silva
Author URI: https://marketeria.com.br
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marketeria
Tags: business, b2b, sales, revenue-operations, one-column, custom-colors, custom-menu, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* ============================================
   GOOGLE WORKSPACE INSPIRED DESIGN SYSTEM
   ============================================ */

/* CSS Variables - Color Palette */
:root {
  /* Background & Foreground */
  --background: #ffffff;
  --foreground: #3c4043;
  
  /* Google Colors */
  --google-blue: #4285f4;
  --google-red: #ea4335;
  --google-yellow: #fbbc04;
  --google-green: #34a853;
  
  /* Primary (Google Blue) */
  --primary: #4285f4;
  --primary-foreground: #ffffff;
  --primary-hover: #3b78e7;
  
  /* Secondary */
  --secondary: #f1f3f4;
  --secondary-foreground: #3c4043;
  
  /* Muted */
  --muted: #f1f3f4;
  --muted-foreground: #5f6368;
  
  /* Border & Input */
  --border: #dadce0;
  --input: #dadce0;
  --ring: #4285f4;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.1), 0 2px 6px 2px rgba(60, 64, 67, 0.05);
  --shadow-md: 0 2px 4px -1px rgba(60, 64, 67, 0.1), 0 4px 12px -2px rgba(60, 64, 67, 0.1);
  --shadow-lg: 0 8px 16px -4px rgba(60, 64, 67, 0.1), 0 12px 24px -8px rgba(60, 64, 67, 0.1);
  
  /* Border Radius */
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap');

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

body {
  font-family: 'Roboto', 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-muted { background-color: var(--muted); }

.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.text-foreground { color: var(--foreground); }

.text-google-blue { color: var(--google-blue); }
.text-google-red { color: var(--google-red); }
.text-google-yellow { color: var(--google-yellow); }
.text-google-green { color: var(--google-green); }

.bg-google-blue { background-color: var(--google-blue); }
.bg-google-red { background-color: var(--google-red); }
.bg-google-yellow { background-color: var(--google-yellow); }
.bg-google-green { background-color: var(--google-green); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--primary-foreground);
}

.btn-ghost {
  background-color: transparent;
  color: var(--primary);
}

.btn-ghost:hover {
  background-color: rgba(66, 133, 244, 0.05);
}

/* Grid System */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Section Spacing */
.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}

/* Card Component */
.card {
  background-color: var(--background);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

/* WordPress Core */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 0.5rem;
}

.sticky {
  /* Styles for sticky posts */
}

.bypostauthor {
  /* Styles for post author */
}

/* Screen Reader Text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* ============================================
   COMPONENT STYLES
   ============================================ */

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar {
  padding: 0;
}

.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-branding .site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
  text-decoration: none;
}

.nav-menu a:hover {
  color: var(--foreground);
}

.nav-cta {
  font-size: 0.875rem !important;
  padding: 0.5rem 1.5rem !important;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.menu-icon {
  width: 1.5rem;
  height: 2px;
  background-color: var(--foreground);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

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

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-menu a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
}

.mobile-nav-cta {
  margin-top: 1rem;
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding-top: 9rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 12rem;
    padding-bottom: 7rem;
  }
}

.hero-content {
  max-width: 56rem;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  padding-top: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-buttons .btn {
  padding: 1.5rem 2rem;
  font-size: 1rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(66, 133, 244, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
}

.stat-number.stat-green {
  background-color: rgba(52, 168, 83, 0.1);
  color: var(--google-green);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}

/* Section Headers */
.section-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-header h2 {
  margin-bottom: 1.5rem;
}

.section-header p {
  font-size: 1.125rem;
}

.font-medium {
  font-weight: 500;
}

/* Symptoms Section */
.symptoms-section {
  background-color: rgba(241, 243, 244, 0.3);
}

.symptoms-grid {
  max-width: 96rem;
  margin: 0 auto;
}

.symptom-card {
  padding: 2rem;
}

.symptom-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  opacity: 0.1;
}

.symptom-icon.bg-google-red { background-color: var(--google-red); }
.symptom-icon.bg-google-yellow { background-color: var(--google-yellow); }
.symptom-icon.bg-google-blue { background-color: var(--google-blue); }
.symptom-icon.bg-google-green { background-color: var(--google-green); }

.symptom-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.symptom-icon.bg-google-red .icon { color: var(--google-red); opacity: 1; }
.symptom-icon.bg-google-yellow .icon { color: var(--google-yellow); opacity: 1; }
.symptom-icon.bg-google-blue .icon { color: var(--google-blue); opacity: 1; }
.symptom-icon.bg-google-green .icon { color: var(--google-green); opacity: 1; }

.symptom-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.symptom-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.symptoms-conclusion {
  max-width: 64rem;
  margin: 4rem auto 0;
}

.conclusion-card {
  padding: 2rem 2.5rem;
  border: 1px solid var(--border);
}

.conclusion-card p {
  font-size: 1.125rem;
  margin: 0;
}

/* Mechanism Section (4 Pillars) */
.pillars-grid {
  max-width: 96rem;
  margin: 0 auto;
}

.pillar-card {
  background-color: rgba(241, 243, 244, 0.3);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.3s;
}

.pillar-card:hover {
  background-color: rgba(241, 243, 244, 0.5);
}

.pillar-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  opacity: 0.1;
}

.pillar-icon.bg-google-blue { background-color: var(--google-blue); }
.pillar-icon.bg-google-green { background-color: var(--google-green); }
.pillar-icon.bg-primary { background-color: var(--primary); }
.pillar-icon.bg-google-yellow { background-color: var(--google-yellow); }

.pillar-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.pillar-icon.bg-google-blue .icon { color: var(--google-blue); opacity: 1; }
.pillar-icon.bg-google-green .icon { color: var(--google-green); opacity: 1; }
.pillar-icon.bg-primary .icon { color: var(--primary); opacity: 1; }
.pillar-icon.bg-google-yellow .icon { color: var(--google-yellow); opacity: 1; }

.pillar-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.pillar-subtitle {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.pillar-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Authority Section */
.authority-section {
  background-color: rgba(241, 243, 244, 0.3);
}

.authority-grid {
  display: grid;
  gap: 4rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .authority-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.authority-stat {
  display: inline-flex;
}

.stat-badge {
  background-color: rgba(52, 168, 83, 0.1);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-badge .stat-number {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--google-green);
  color: white;
  font-size: 1.25rem;
}

.expertise-grid {
  margin-bottom: 2rem;
}

.expertise-card {
  padding: 1.5rem;
}

.expertise-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.expertise-card h4 {
  font-size: 1rem;
  font-weight: 500;
}

.tech-partners {
  margin-top: 2rem;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-badge {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.tech-badge:hover {
  border-color: rgba(66, 133, 244, 0.3);
}

/* Sales Process Section */
.process-grid {
  max-width: 96rem;
  margin: 0 auto 4rem;
}

.process-card {
  background-color: rgba(241, 243, 244, 0.3);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.3s;
}

.process-card:hover {
  box-shadow: var(--shadow-lg);
}

.process-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  opacity: 0.1;
}

.process-icon.bg-google-blue { background-color: var(--google-blue); }
.process-icon.bg-google-green { background-color: var(--google-green); }
.process-icon.bg-google-yellow { background-color: var(--google-yellow); }
.process-icon.bg-google-red { background-color: var(--google-red); }

.process-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.process-icon.bg-google-blue .icon { color: var(--google-blue); opacity: 1; }
.process-icon.bg-google-green .icon { color: var(--google-green); opacity: 1; }
.process-icon.bg-google-yellow .icon { color: var(--google-yellow); opacity: 1; }
.process-icon.bg-google-red .icon { color: var(--google-red); opacity: 1; }

.process-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.process-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.process-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-details li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.process-details li::before {
  content: '';
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background-color: var(--primary);
  flex-shrink: 0;
}

.includes-section {
  max-width: 64rem;
  margin: 0 auto 4rem;
}

.includes-grid {
  gap: 1rem;
}

.include-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: rgba(241, 243, 244, 0.3);
  border-radius: 0.75rem;
}

.include-emoji {
  font-size: 1.5rem;
}

.include-text {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Criteria Section */
.criteria-section {
  background-color: rgba(241, 243, 244, 0.3);
}

.criteria-grid {
  max-width: 64rem;
  margin: 0 auto 4rem;
}

.criteria-card {
  padding: 2rem;
}

.criteria-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: rgba(66, 133, 244, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.criteria-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.criteria-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.criteria-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.criteria-cta {
  max-width: 42rem;
  margin: 0 auto;
}

.cta-card {
  padding: 2rem 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
}

.cta-card h3 {
  font-size: 1.25rem;
}

/* Footer */
.site-footer {
  background-color: var(--background);
}

.footer-cta {
  border-top: 1px solid var(--border);
}

.footer-cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.footer-cta-content h2 {
  margin-bottom: 1.5rem;
}

.footer-cta-content p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.footer-cta-content .btn {
  padding: 1.5rem 2rem;
  font-size: 1rem;
}

.footer-info {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-info-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.site-title-footer {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.site-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-copyright p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* SVG Icons */
.icon {
  width: 1.5rem;
  height: 1.5rem;
}

svg {
  display: block;
}
