/*
Theme Name: Ipanema Tech Premium
Theme URI: https://ipanematech.com.br
Author: Ipanema Tech
Description: Tema Premium Single-page para Ipanema Tech. Design escuro, moderno, com foco em inteligência operacional, utilizando glassmorphism e micro-animações.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
*/

:root {
  /* === Paleta Ipanema Coastal === */
  --bg-dark: #F8F5F0;
  /* areia clara */
  --bg-darker: #EDF2F8;
  /* azul muito claro */
  --primary-blue: #0369A1;
  /* azul oceano */
  --primary-light: #0891B2;
  /* turquesa */
  --primary-glow: rgba(3, 105, 161, 0.12);
  --text-main: #0F172A;
  /* grafite */
  --text-muted: #475569;
  /* cinza médio */
  --card-bg: #FFFFFF;
  --card-border: rgba(3, 105, 161, 0.12);
  --accent: #0891B2;
  /* turquesa */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Gradients — subtle coastal glows */
.bg-gradient-glow {
  position: fixed;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(3, 105, 161, 0.08) 0%, transparent 70%);
  z-index: -1;
  filter: blur(120px);
  pointer-events: none;
}

.bg-gradient-glow-2 {
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.06) 0%, transparent 70%);
  z-index: -1;
  filter: blur(120px);
  pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
section {
  padding: 6rem 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(3, 105, 161, 0.25);
  border: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(3, 105, 161, 0.35);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-blue) 100%);
}

/* Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(248, 245, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(3, 105, 161, 0.1);
  box-shadow: 0 2px 20px rgba(3, 105, 161, 0.06);
  padding: 0.9rem 0;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  background: rgba(248, 245, 240, 0.97);
  padding: 0.6rem 0;
  box-shadow: 0 4px 24px rgba(3, 105, 161, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  background: linear-gradient(135deg, #0F172A 0%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary-blue);
}

.blog-link {
  position: relative;
}

.blog-link::after {
  content: 'Novo';
  position: absolute;
  top: -8px;
  right: -28px;
  background: var(--primary-blue);
  color: #fff;
  font-size: 0.55rem;
  padding: 2px 5px;
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.header-btn {
  padding: 0.6rem 1.5rem;
  background: var(--primary-blue);
  border: none;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.4);
}

.header-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.6);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

@media (max-width: 992px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: none;
    flex-direction: column;
    text-align: center;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .main-nav a {
    color: #FFFFFF;
    font-size: 1.2rem;
  }

  .header-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 7rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #F8F5F0 0%, #EDF6FF 60%, #E0F2FE 100%);
}

/* Wave decoration */
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23F8F5F0' fill-opacity='1' d='M0,40 C360,80 1080,0 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100vw;
  min-height: 100vh;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
  filter: blur(12px) saturate(0.3);
  opacity: 0.08;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
}

.hero p {
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Cards — Clean white with soft shadow */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.glass-card {
  background: #FFFFFF;
  border: 1px solid rgba(3, 105, 161, 0.08);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(3, 105, 161, 0.1);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  display: inline-block;
  color: var(--primary-blue);
}

.glass-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F172A;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.service-card {
  padding: 1.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(3, 105, 161, 0.08);
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
  box-shadow: 0 4px 16px rgba(3, 105, 161, 0.1);
}

/* Expertise / Diferencial */
.expertise {
  background: linear-gradient(135deg, #EDF6FF 0%, #E0F2FE 100%);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  text-align: center;
}

.expertise h2 {
  color: var(--primary-blue);
}

.expertise p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Social Proof */
.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.logos:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.logo-item {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* About Section */
.about {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-stats {
  flex: 1;
  min-width: 300px;
  display: grid;
  gap: 1.5rem;
}

.stat-item {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-light);
}

.stat-item h4 {
  margin-bottom: 0.5rem;
  color: var(--text-main);
  font-size: 1.25rem;
}

.stat-item p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* ======================================================== */
/* FOOTER MINIMALISTA                                       */
/* ======================================================== */
.minimalist-footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #0A0A0A;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
  letter-spacing: -0.5px;
}

.copyright {
  color: #A3A3A3;
  font-size: 0.9rem;
  margin: 0;
}

.footer-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-link {
  color: #D4D4D4;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #FFFFFF;
}

@media (max-width: 600px) {
  .footer-flex {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
    width: 100%;
  }
}

/* Floating WhatsApp */
.floating-wpp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: #FFF;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-wpp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #FFF;
}

@media (max-width: 600px) {
  .floating-wpp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .about {
    flex-direction: column;
  }
}

/* ======================================================== */
/* NOVIDADES ESTILOS (SLA, HUB & DIAGNÓSTICO)               */
/* ======================================================== */

/* Ipanema Hub */
.hub-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 4rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.4) 100%);
  border: 1px solid var(--primary-glow);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.15);
  margin-top: 2rem;
}

.hub-content {
  flex: 1;
}

.badge {
  background: var(--primary-light);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
  margin-top: 1rem;
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
  color: #fff;
}

.hub-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.floating-data {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.floating-data:nth-child(2) {
  animation-delay: -2s;
  margin-left: 2.5rem;
  border-color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
}

.floating-data:nth-child(3) {
  animation-delay: -4s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* SLA Banner */
.sla-banner {
  padding: 0;
  margin: 2rem 0 4rem 0;
}

.sla-content {
  background: linear-gradient(135deg, #EDF6FF 0%, #E0F2FE 100%);
  border-left: 5px solid var(--primary-blue);
  padding: 3rem 3.5rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  box-shadow: 0 6px 24px rgba(3, 105, 161, 0.1);
}

.sla-icon {
  font-size: 4rem;
  color: var(--primary-blue);
}

.sla-content h2 {
  text-align: left;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
  font-size: 1.8rem;
}

.sla-content p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Diagnóstico CTA */
.diagnostico-cta {
  text-align: center;
  background: linear-gradient(160deg, #EDF6FF 0%, #E0F2FE 100%);
  border-top: 1px solid var(--card-border);
  padding: 6rem 0;
}

.diagnostico-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  color: var(--primary-blue);
}

.diagnostico-cta p {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
}

/* ======================================================== */
/* BAIRROS ATENDIDOS (Local SEO)                            */
/* ======================================================== */
.bairros-atendidos {
  background: #F0F7FF;
  border-top: 1px solid rgba(3, 105, 161, 0.08);
  border-bottom: 1px solid rgba(3, 105, 161, 0.08);
  text-align: center;
  padding: 4rem 0;
}

.bairros-atendidos h2 {
  color: #0F172A;
  margin-bottom: 1rem;
}

.bairros-atendidos>.container>p {
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
  line-height: 1.7;
}

.bairros-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 800px;
  margin: 0 auto;
}

.bairros-grid span {
  background: #fff;
  border: 1px solid rgba(3, 105, 161, 0.15);
  color: var(--primary-blue);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.bairros-grid span:hover {
  background: #EFF6FF;
  box-shadow: 0 2px 8px rgba(3, 105, 161, 0.12);
}


/* Responsive updates for new elements */
@media (max-width: 768px) {
  .hub-card {
    flex-direction: column;
    padding: 2rem;
  }

  .sla-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .sla-content h2 {
    text-align: center;
  }

  .floating-data {
    margin-left: 0 !important;
  }
}

/* ======================================================== */
/* ESTRUTURA DO BLOG (home.php e single.php)                */
/* ======================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}

.blog-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-info {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-info p {
  flex-grow: 1;
  color: var(--text-muted);
  font-size: 1rem;
}

.read-more {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  margin-top: auto;
}

.pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--text-main);
  text-decoration: none;
}

.pagination .current {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}

/* Single Post Area */
.post-meta {
  color: var(--accent);
  font-weight: 600;
  margin-top: 1rem;
}

.post-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #CBD5E1;
}

.post-content h2,
.post-content h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
  margin-bottom: 2rem;
  padding-left: 2rem;
  color: #CBD5E1;
  font-size: 1.15rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
}

.post-footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.post-footer-nav a:hover {
  color: var(--accent);
}

/* ======================================================== */
/* ANIMAÇÕES (Intersection Observer)                        */
/* ======================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================== */
/* FASE 3: WOW FACTOR (Light Mode, Cursor, etc)             */
/* ======================================================== */

/* Dark mode (optional toggle) */
html[data-theme="dark"] {
  --bg-dark: #0A0F1C;
  --bg-darker: #05080F;
  --primary-blue: #3B82F6;
  --primary-light: #60A5FA;
  --primary-glow: rgba(59, 130, 246, 0.4);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --accent: #38BDF8;
}

.theme-btn {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.theme-btn:hover {
  transform: rotate(30deg) scale(1.1);
}

/* Scrollbar Premium */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}



/* Particles Background */
#particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  pointer-events: none;
}

/* Fallback Textual para Logos SVG Ausentes */
.logo-fallback {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-muted);
  opacity: 0.7;
  text-transform: uppercase;
  user-select: none;
  transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
  padding: 0.5rem 1rem;
}

.logo-fallback:hover {
  opacity: 1;
  color: var(--accent);
  transform: translateY(-2px);
}

html[data-theme="light"] .logo-fallback {
  color: #334155;
  opacity: 0.7;
}

html[data-theme="light"] .logo-fallback:hover {
  color: var(--primary-blue);
  opacity: 1;
}

/* ======================================================== */
/* BAIRROS ATENDIDOS (Local SEO)                            */
/* ======================================================== */
.bairros-atendidos {
  background: linear-gradient(135deg, rgba(5, 8, 15, 0.9) 0%, rgba(10, 15, 28, 0.9) 100%);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  text-align: center;
  padding: 5rem 0;
}

.bairros-atendidos h2 {
  color: var(--text-main);
  margin-bottom: 1rem;
}

.bairros-atendidos>.container>p {
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

.bairros-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.bairros-grid span {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.bairros-grid span:hover {
  background: rgba(37, 99, 235, 0.25);
  border-color: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ======================================================== */
/* FOUNDER AUTHORITY CARD (André Costa – E-E-A-T)           */
/* ======================================================== */
.founder-authority-card {
  padding: 2.5rem;
  margin-bottom: 2rem;
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.2);
}

.founder-authority-header {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.founder-title-block h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.2rem;
  color: var(--text-main);
}

.founder-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

.founder-exp-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
}

.founder-quote {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-muted);
  border-left: 3px solid var(--primary-light);
  padding-left: 1rem;
  margin: 0 0 1.5rem 0;
}

.founder-specialties,
.author-bio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.founder-specialties span,
.author-bio-tags span {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.founder-specialties span:hover,
.author-bio-tags span:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.founder-cta {
  display: inline-block;
  margin-top: 0;
  font-size: 0.9rem;
}

/* ======================================================== */
/* AUTHOR BIO (Blog Posts – E-E-A-T)                        */
/* ======================================================== */
.author-bio-section {
  padding: 3rem 0;
  border-top: 1px solid var(--card-border);
}

.author-bio-card {
  padding: 2.5rem;
  background: rgba(37, 99, 235, 0.04);
  border-color: rgba(37, 99, 235, 0.18);
}

.author-bio-header {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.author-bio-header h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  color: var(--text-main);
}

.author-bio-header span {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.author-bio-card>p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* ======================================================== */
/* CURSOR — sempre padrão do sistema                        */
/* ======================================================== */
* {
  cursor: auto;
}

a,
button,
[role="button"],
label,
select {
  cursor: pointer;
}

/* ======================================================== */
/* BLOG PREVIEW (Homepage)                                  */
/* ======================================================== */
.blog-preview {
  background: var(--bg-dark);
  padding: 5rem 0;
  text-align: center;
}

.blog-subtitle {
  max-width: 600px;
  margin: -1.5rem auto 2.5rem auto;
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  text-align: left;
}

.blog-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.blog-date {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-info h3 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin: 0;
  line-height: 1.4;
}

.blog-info>p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Placeholder sem posts */
.blog-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(3, 105, 161, 0.07);
}

.blog-soon-icon {
  font-size: 3rem;
}

.blog-coming-soon h3 {
  color: var(--primary-blue);
  font-size: 1.4rem;
  margin: 0;
}

.blog-coming-soon>p {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  margin: 0;
}