/*
Theme Name: Mobidevel Theme
Description: Tema moderno com efeito boomerang e design focado em conversão.
Version: 1.0
Author: Manus
*/

:root {
  --cor-primaria: #f47c22;
  --cor-secundaria: #6d6e71;
  --cor-fundo: #ffffff;
  --cor-texto: #222222;
  --cor-texto-claro: #f5f5f5;
  --cor-acento: #ff9a3c;
  --fonte-base: 'Inter', system-ui, -apple-system, sans-serif;

  /* Variáveis de compatibilidade */
  --accent: #f47c22;
  --muted-foreground: #888888;
  --border: #e5e5e5;
  --radius: 12px;
}

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

body {
  font-family: var(--fonte-base);
  background-color: var(--cor-fundo);
  color: var(--cor-texto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Header & Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo-area a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-area img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--cor-texto);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--cor-primaria); }

.btn-nav {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: var(--cor-primaria);
  color: #fff !important;
  font-weight: 600;
}

/* Hero Section with Boomerang */
.hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0;
}

.boomerang-container {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.boomerang-container video, 
.boomerang-container canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.8) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #111;
}

.hero h1 strong { color: var(--cor-primaria); }

.hero-subtitle {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--cor-primaria);
  color: #fff;
  box-shadow: 0 10px 20px rgba(244, 124, 34, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(244, 124, 34, 0.4);
}

/* Blog Section */
.blog-section { padding: 5rem 0; background: #f9f9f9; }

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

.post-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  height: 100%;
  transition: transform 0.3s;
}

.post-card:hover { transform: translateY(-5px); }

.post-card-img { height: 200px; overflow: hidden; }

.post-card-img img { width: 100%; height: 100%; object-fit: cover; }

.post-card-content { padding: 1.5rem; }

.post-card-title { font-size: 1.25rem; margin-bottom: 0.75rem; color: #111; }

/* Footer */
.site-footer {
  background: #111;
  color: #fff;
  padding: 4rem 0 2rem;
}

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

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}


/* Tipografia e utilitários */
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-eyebrow,
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cor-primaria);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* Animação reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Grid de cards (archive/index) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
}

.service-card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.service-card-title a:hover {
  color: var(--cor-primaria);
}

.service-card-text {
  color: #555;
  flex: 1;
}

/* Botões extras */
.btn-outline {
  background: transparent;
  border: 2px solid var(--cor-primaria);
  color: var(--cor-primaria);
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--cor-primaria);
  color: #fff;
}

.btn-full {
  display: block;
  text-align: center;
  width: 100%;
}

/* Paginação */
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--cor-texto);
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.pagination .current,
.pagination a:hover {
  background: var(--cor-primaria);
  color: #fff;
  border-color: var(--cor-primaria);
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244, 124, 34, 0.1);
  border: 1px solid rgba(244, 124, 34, 0.3);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cor-primaria);
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Mobile Menu */
.menu-toggle { display: none; cursor: pointer; border: none; background: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .hero { text-align: center; }
  .hero-content { margin: 0 auto; }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-cta { justify-content: center; }
}

