/* ============================================
   ESTILOS PARA PÁGINA INICIAL - CAFÉ E MARKETING
   - Design moderno e responsivo
   - Foco em performance e acessibilidade
   - Integração com tema Blocksy
   ============================================ */

/* =========================
   VARIÁVEIS E RESET GERAL
   ========================= */
:root {
  --primary: var(--theme-palette-color-1);
  --primary-hover: var(--theme-palette-color-2);
  --text-dark: var(--theme-palette-color-3);
  --text-medium: var(--theme-palette-color-4);
  --accent: var(--theme-palette-color-5);
  --bg-light: var(--theme-palette-color-6);
  --bg-white: var(--theme-palette-color-7);
  --bg-gray: var(--theme-palette-color-8);
  --border-radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

/* =========================
   LAYOUT BASE E ESTRUTURA (PC/DESKTOP)
   ========================= */
/* Layout Base */
.hero-section,
.ecosistema-section,
.servicos-section,
.cases-section,
.time-section,
.comunidade-section,
.contato-section {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-medium);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-dark);
  max-width: 700px;
  margin: 0 auto;
}

/* HERO FULL WIDTH E BOTÃO AJUSTADO */
.hero-section {
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  border-radius: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-bottom: 0;
  padding-top: 120px;
  background: linear-gradient(120deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3)), url('/wp-content/themes/blocksy-child/assets/illustrations/sobre.webp') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
  z-index: 1;
}
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.5rem;
  min-height: 70vh;
}
.hero-col-esquerda {
  flex: 0 1 44%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 420px;
}
.hero-chamativo {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 1.1rem;
  text-align: left;
  text-shadow: 0 2px 16px rgba(0,0,0,0.32);
}
.cta-button {
  background: var(--theme-palette-color-5);
  color: var(--theme-palette-color-3);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  font-weight: bold;
  margin-top: 1.2rem;
  margin-bottom: 0;
  margin-left: 0;
  padding: 0.7em 1.2em;
  font-size: 0.95rem;
  border-radius: 22px;
  border: none;
  text-shadow: none;
  letter-spacing: 0.5px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  filter: none;
}
.cta-button:hover, .cta-button:active, .cta-button:focus {
  background: var(--theme-palette-color-2);
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 0 18px 0 var(--theme-palette-color-2, #ffb300);
  filter: brightness(1.12) drop-shadow(0 0 16px #ffb30088);
  border-radius: 32px;
  font-size: 0.95rem;
  padding: 0.7em 1.2em;
}
.hero-col-direita {
  flex: 0 1 56%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 420px;
  position: relative;
}
.hero-titulos {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.7rem;
  justify-content: flex-start;
  width: 100%;
}
.hero-titulo {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.32), 0 0 8px #0008;
  transition: text-shadow 0.2s;
}
.hero-titulo.animado {
  filter: drop-shadow(0 0 8px #ffb30044);
}
.hero-animado {
  min-height: 2.5em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0.2rem;
  position: relative;
  width: 100%;
}
.hero-texto {
  color: var(--theme-palette-color-5) !important;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  position: relative;
  left: 0;
  transform: none;
  opacity: 0;
  animation: heroFadeIn 0.7s forwards;
  text-shadow: 0 2px 12px rgba(0,0,0,0.22), 0 0 8px #ffb30044;
  margin-left: 0.2em;
}
.hero-texto[style*="display: block"], .hero-texto:not([style*="display: none"]) {
  opacity: 1;
  position: relative;
  animation: heroFadeIn 0.7s forwards;
}
@media (max-width: 1023px) {
  .hero-row {
    flex-direction: column;
    gap: 2.2rem;
    min-height: unset;
  }
  .hero-col-esquerda, .hero-col-direita {
    min-height: unset;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
  .hero-titulos {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
  }
}
.hero-section h1 {
  margin-top: 60px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero-subtitle {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.hero-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--border-radius);
}

/* Botões */
.cta-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-secondary {
  background-color: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cta-secondary:hover {
  background-color: var(--primary);
  color: white;
}

.text-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: var(--transition);
}

.text-link:hover {
  color: var(--primary-hover);
  transform: translateX(5px);
}

/* Ecossistema */
.ecosistema-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.ecosistema-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

.ecosistema-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.ecosistema-card .card-icon img {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto 1rem;
}

.ecosistema-card h3 {
  color: var(--text-medium);
  margin-bottom: 1rem;
}

.ecosistema-card p {
  color: var(--text-dark);
}

/* Serviços */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.servico-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

.servico-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.servico-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.servico-card h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.servico-card p {
  color: var(--text-dark);
}

/* Cases */
.cases-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.case-item {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.case-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.case-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(.4,1.5,.5,1), filter 0.4s cubic-bezier(.4,1.5,.5,1);
  will-change: transform, filter;
}

.case-item:hover img,
.case-item:focus-within img {
  transform: scale(1.07);
  filter: brightness(0.8) saturate(1.2);
}

@media (hover: none) {
  .case-item:active img {
    transform: scale(1.07);
    filter: brightness(0.8) saturate(1.2);
  }
}

.case-content {
  padding: 1.5rem;
}

.case-content h3 {
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.case-content p {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* Time */
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.membro-card {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

.membro-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.membro-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--bg-light);
  transition: transform 0.4s cubic-bezier(.4,1.5,.5,1), box-shadow 0.4s cubic-bezier(.4,1.5,.5,1), filter 0.4s cubic-bezier(.4,1.5,.5,1);
  will-change: transform, box-shadow, filter;
}

.membro-card:hover img,
.membro-card:focus-within img {
  transform: scale(1.10);
  filter: brightness(1.15) saturate(1.1);
  box-shadow: 0 4px 24px 0 rgba(134, 63, 21, 0.10);
}

@media (hover: none) {
  .membro-card:active img {
    transform: scale(1.10);
    filter: brightness(1.15) saturate(1.1);
    box-shadow: 0 4px 24px 0 rgba(134, 63, 21, 0.10);
  }
}

.membro-card h3 {
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.membro-card p {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.social-link {
  color: var(--primary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--primary-hover);
}

/* Comunidade */
.comunidade-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(90deg, var(--theme-palette-color-1) 0%, var(--theme-palette-color-2) 100%);
  color: #fff;
  border-radius: var(--border-radius);
  margin: 4rem auto;
  padding: 4rem 2rem;
}

.comunidade-content {
  max-width: 600px;
  text-align: center;
}

.comunidade-content h2 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.comunidade-content p {
  color: #fff;
  margin-bottom: 2rem;
}

.comunidade-image img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  display: block;
  margin: 0 auto;
}

/* Formulário de Contato */
.contato-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-medium);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--bg-gray);
  border-radius: var(--border-radius);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(134, 63, 21, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.whatsapp-direct {
  text-align: center;
  margin-top: 2rem;
}

.whatsapp-direct p {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--bg-white);
  margin: 15% auto;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  position: relative;
  text-align: center;
}

.close-modal {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

.loading-spinner {
  border: 4px solid var(--bg-gray);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 1rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.contato-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--theme-palette-color-1);
  border-radius: 0;
  background: var(--theme-palette-color-7);
  color: var(--text-dark);
  font-size: 1rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
  appearance: none;
}

.contato-form select:focus {
  outline: none;
  border-color: var(--theme-palette-color-2);
}

.ecosistema-card,
.servico-card,
.membro-card {
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  background: var(--bg-card, #fff);
}

/* Fundos diferenciados para seções da página inicial */
.ecosistema-section {
  background: var(--theme-palette-color-8);
  margin-top: 0;
  padding-top: 4rem;
}

.servicos-section {
  background: var(--theme-palette-color-6);
}

.cases-section {
  background: var(--theme-palette-color-7);
}

.time-section {
  background: linear-gradient(120deg, var(--theme-palette-color-6) 0%, var(--theme-palette-color-5) 100%);
  position: relative;
  min-height: 440px;
  overflow: visible;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  border-radius: 0;
}

.time-orbit {
  display: flex;
  justify-content: center;
  gap: 2rem;
  animation: fadeInUp 1s ease;
  position: static;
  width: auto;
  height: auto;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}

.time-orbit .membro-card {
  position: static;
  width: 260px;
  max-width: 90vw;
  transition: transform 0.3s cubic-bezier(.4,1.5,.5,1), box-shadow 0.3s, border 0.3s;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  z-index: 1;
}

.time-orbit .membro-card:hover,
.time-orbit .membro-card:focus-within {
  transform: scale(1.07) translateY(-8px);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--theme-palette-color-1);
  z-index: 2;
}

.time-orbit .membro-card img {
  transition: filter 0.3s, box-shadow 0.3s;
}

.time-orbit .membro-card:hover img,
.time-orbit .membro-card:focus-within img {
  filter: brightness(1.15) saturate(1.1);
  box-shadow: 0 0 0 4px var(--theme-palette-color-5);
}

.comunidade-section h2,
.comunidade-section p,
.comunidade-section a {
  color: #fff;
}

.comunidade-section .cta-button {
  background: var(--theme-palette-color-1);
  color: #fff;
  border: none;
  box-shadow: 0 4px 10px 0 var(--theme-palette-color-6);
}

.comunidade-section .cta-button:hover {
  background: var(--theme-palette-color-2);
  color: #fff;
}

#contatoForm select:hover, #contatoForm select:focus {
  background: initial;
  color: initial;
}

#contatoForm select option:hover {
  background: var(--theme-palette-color-2) !important;
  color: #fff !important;
}

#contatoForm textarea {
  width: 100%;
  min-height: 120px;
  border: 2px solid var(--theme-palette-color-2);
  border-radius: var(--border-radius);
  padding: 1rem;
  font-size: 1rem;
  background: #fff;
  color: var(--theme-palette-color-3);
  box-sizing: border-box;
  transition: border-color 0.2s;
  resize: vertical;
}

#contatoForm textarea:focus {
  border-color: var(--theme-palette-color-4);
  outline: none;
}

/* HERO ANIMAÇÃO ZOOM IN TEXTO */
.hero-section {
  overflow: hidden;
}
.hero-section h1, .hero-subtitle {
  animation: heroZoomIn 1.1s cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes heroZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(30px);
  }
  80% {
    opacity: 1;
    transform: scale(1.03) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
/* FIM HERO ANIMAÇÃO ZOOM IN TEXTO */

/* HERO TÍTULOS FIXOS E TEXTO ANIMADO */
.hero-titulos {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.7rem;
  justify-content: flex-start;
  width: 100%;
}
.hero-titulo {
  display: inline-block;
  margin: 0 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.hero-animado {
  min-height: 2.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}
.hero-texto {
  color: var(--theme-palette-color-5) !important;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: heroFadeIn 0.7s forwards;
}
.hero-texto[style*="display: block"], .hero-texto:not([style*="display: none"]) {
  opacity: 1;
  position: relative;
  animation: heroFadeIn 0.7s forwards;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateX(-50%) scale(0.95); }
  to { opacity: 1; transform: translateX(-50%) scale(1); }
}

/* ============================================
   RESPONSIVIDADE MELHORADA E ORGANIZADA
   ============================================ */

/* TABLET GRANDE E DESKTOP PEQUENO */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-section,
  .comunidade-section {
    flex-direction: row;
    text-align: left;
  }
  
  .hero-content,
  .comunidade-content {
    text-align: left;
  }
  
  .cases-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .ecosistema-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* TABLET */
@media (max-width: 1023px) {
  .hero-content {
    margin-left: 2vw;
    text-align: center;
  }
  
  .time-orbit {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .time-orbit .membro-card {
    width: 90vw;
    max-width: 340px;
  }
}

/* MOBILE GRANDE */
@media (max-width: 900px) {
  .hero-section {
    min-height: 80vh;
    padding-top: 100px;
    padding-bottom: 0;
  }
  
  .hero-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    box-sizing: border-box;
  }
  
  /* TODAS AS SEÇÕES - ALINHAMENTO CENTRALIZADO */
  .ecosistema-section,
  .servicos-section,
  .cases-section,
  .time-section,
  .comunidade-section,
  .contato-section {
    padding: 3rem 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
  }
  
  .section-header {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
    text-align: center;
    box-sizing: border-box;
  }
  
  .section-header h2,
  .section-header .section-subtitle {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    word-break: break-word;
  }
  
  /* GRIDS - UMA COLUNA NO MOBILE */
  .ecosistema-grid,
  .servicos-grid,
  .cases-carousel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
  }
  
  /* CARDS - CENTRALIZADOS */
  .ecosistema-card,
  .servico-card,
  .case-item {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  /* COMUNIDADE SECTION */
  .comunidade-section {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1rem;
  }
  
  .comunidade-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  
  .comunidade-image {
    width: 100%;
    text-align: center;
  }
  
  .comunidade-image img {
    max-width: 90%;
    height: auto;
  }
  
  /* FORMULÁRIO */
  .contato-form {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
  }
}

/* MOBILE MÉDIO */
@media (max-width: 768px) {
  /* HERO ADJUSTMENTS */
  .hero-content {
    margin-left: 0;
    padding: 0 1rem;
  }
  
  .hero-titulos {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1vw;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }
  
  .hero-titulo {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    text-align: center;
    flex: 1 1 auto;
    min-width: fit-content;
  }
  
  .hero-animado {
    min-height: 2em;
    margin-bottom: 1.5rem;
    width: 100%;
    text-align: center;
  }
  
  /* AJUSTE PRINCIPAL - TEXTO ANIMADO CENTRALIZADO NO MOBILE */
  .hero-texto {
    font-size: clamp(1rem, 3vw, 1.2rem);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    display: block;
    margin: 0 auto;
  }
  
  /* SECTION HEADERS */
  .section-header {
    padding: 0 1rem;
    margin-bottom: 2rem;
  }
  
  .section-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
  }
  
  .section-subtitle {
    font-size: clamp(1rem, 3vw, 1.1rem);
  }
  
  /* CTA BUTTONS */
  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* MOBILE PEQUENO */
@media (max-width: 600px) {
  /* HERO - Ocupa 100vh para garantir que a imagem e os textos fiquem visíveis até o final da tela no mobile */
  .hero-section {
    min-height: 100vh;
    height: 100vh;
  }
  /* HERO - Título principal maior, centralizado e com espaçamento entre linhas para mobile */
  .hero-chamativo {
    font-size: 1.7rem;
    line-height: 1.25;
    text-align: center;
    letter-spacing: 0.5px;
    word-break: break-word;
    max-width: 95vw;
    margin: 0 auto 1.2rem auto;
    padding: 0 0.5rem;
  }
  /* Botão maior, mais espaçado e fácil de clicar */
  .cta-button {
    font-size: 1.1rem;
    padding: 1em 2em;
    margin: 1.2rem auto 1.5rem auto;
    display: block;
    width: 90%;
    max-width: 320px;
  }
  /* HERO - Títulos animados em coluna, centralizados e sem overflow no mobile */
  .hero-titulos {
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }
  .hero-titulo-bloco {
    width: 100%;
    max-width: 100%;
    min-width: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0.2em 0;
  }
  .hero-titulo {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 0.18em;
    word-break: break-word;
  }
  .hero-texto {
    width: 100%;
    text-align: center;
    font-size: 1rem !important;
    margin-top: 0.08em;
    line-height: 1.3;
    overflow-wrap: break-word;
    white-space: normal;
  }
  
  /* TODAS AS SEÇÕES */
  .ecosistema-section,
  .servicos-section,
  .cases-section,
  .time-section,
  .comunidade-section,
  .contato-section {
    padding: 2rem 0.5rem;
  }
  
  .section-header {
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* GRIDS E CARDS */
  .ecosistema-grid,
  .servicos-grid,
  .cases-carousel {
    padding: 0 0.5rem;
    gap: 1rem;
  }
  
  .ecosistema-card,
  .servico-card,
  .case-item {
    padding: 1.5rem 1rem;
  }
  
  /* FORMULÁRIO */
  .contato-form {
    padding: 1.5rem 1rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.7rem;
  }
  
  /* MODAL */
  .modal-content {
    margin: 20% auto;
    padding: 1.5rem;
    max-width: 90%;
  }
}

/* MOBILE MUITO PEQUENO */
@media (max-width: 480px) {
  .hero-section {
    min-height: 300px;
    padding: 1.5rem 0.5rem;
  }
  
  .hero-titulo {
    font-size: 0.75rem;
  }
  
  /* TEXTO ANIMADO CENTRALIZADO NO MOBILE MUITO PEQUENO */
  .hero-texto {
    font-size: 0.9rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .ecosistema-card,
  .servico-card,
  .case-item {
    padding: 1rem 0.8rem;
  }
  
  .cta-button {
    font-size: 0.85rem;
    padding: 0.8rem 1.2rem;
  }
  
  .contato-form {
    padding: 1rem 0.8rem;
  }
}

/* =============================
   CONSULTORIAS & MENTORIAS
   ============================= */
.consultorias-section, .time-section {
  background: linear-gradient(-120deg, var(--theme-palette-color-6) 60%, var(--theme-palette-color-5) 100%);
  border-radius: var(--border-radius);
  margin: 4rem auto;
  padding: 4rem 1rem;
  max-width: 1200px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  border-radius: 0;
  position: relative;
}
.consultorias-grid {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.consultoria-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 2.5rem 2rem;
  min-width: 270px;
  max-width: 350px;
  flex: 1 1 320px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.consultoria-card.animate {
  opacity: 1;
  transform: translateY(0);
}
.consultoria-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.consultoria-card h3 {
  color: var(--theme-palette-color-2);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.consultoria-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}
.consultoria-card ul li {
  color: var(--text-dark);
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.2em;
}
.consultoria-card ul li:before {
  content: '\2022';
  color: var(--theme-palette-color-2);
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: 0.1em;
}
.consultoria-card .cta-button {
  margin-top: 1.2rem;
  width: 100%;
  font-size: 1.1rem;
}
@media (max-width: 900px) {
  .consultorias-grid {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .consultoria-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .consultorias-section {
    padding: 3rem 1rem;
  }
}
@media (max-width: 600px) {
  .consultorias-section {
    padding: 2rem 0.5rem;
  }
  .consultoria-card {
    padding: 1.5rem 0.8rem;
  }
}

/* Modal Consultorias & Mentorias */
#consultoriaMentoriaModal .modal-content {
  background-color: var(--bg-white);
  margin: 10% auto;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-height: 80vh;
  overflow-y: auto;
}
.close-modal-consultoria {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}
.consultoria-mentoria-form .form-group {
  margin-bottom: 1.3rem;
  text-align: left;
}
.consultoria-mentoria-form label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text-medium);
  font-weight: 500;
}
.consultoria-mentoria-form input,
.consultoria-mentoria-form select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--bg-gray);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  margin-bottom: 0.2rem;
}
.consultoria-mentoria-form input:focus,
.consultoria-mentoria-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(134, 63, 21, 0.1);
}
.consultoria-mentoria-form select {
  height: 48px;
  padding: 0 1em;
  display: flex;
  align-items: center;
  font-size: 1rem;
  line-height: 1.2;
  vertical-align: middle;
  box-sizing: border-box;
  background: #fff;
  padding-top: 0;
  padding-bottom: 0;
}
.consultoria-mentoria-form button.cta-button {
  width: 100%;
  margin-top: 1rem;
  font-size: 1.1rem;
}
@media (max-width: 600px) {
  #consultoriaMentoriaModal .modal-content {
    margin: 18% auto;
    padding: 1.2rem;
    max-width: 95%;
  }
}

@media (max-width: 900px) {
  .hero-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .hero-col-esquerda, .hero-col-direita {
    width: 100%;
    align-items: flex-start;
  }
  .hero-titulos {
    gap: 0.7rem;
    justify-content: flex-start;
  }
  .hero-titulo {
    font-size: 1.3rem;
  }
  .hero-animado {
    font-size: 1.05rem;
    min-height: 1.6rem;
    margin-bottom: 1.2rem;
  }
}
@media (max-width: 600px) {
  .hero-content {
    margin-left: 0;
    padding: 0 8px;
    max-width: 100vw;
  }
  .hero-chamativo {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
    text-align: center;
    width: 100%;
  }
  .cta-button {
    font-size: 1rem;
    padding: 0.8em 1.5em;
    display: block;
    margin: 0.8rem auto 0 auto;
    text-align: center;
  }
  .hero-titulos {
    gap: 0.4rem;
  }
  .hero-titulo {
    font-size: 1.05rem;
  }
  .hero-animado {
    font-size: 0.95rem;
    min-height: 1.2rem;
  }
}

.hero-titulo-bloco {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 1.2rem;
  position: relative;
  width: auto;
}
.hero-titulo-bloco .hero-titulo {
  margin-bottom: 0.2em;
  text-align: center;
}
.hero-titulo-bloco .hero-texto {
  font-size: 0.93rem;
  margin-top: 0.1em;
  min-width: unset;
  width: auto;
  text-align: center;
  display: block;
  line-height: 1.2;
}
@media (max-width: 1023px) {
  .hero-titulos {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .hero-titulo-bloco {
    margin: 0.5em 0;
  }
}

@media (max-width: 400px) {
  .hero-titulo-bloco .hero-texto {
    font-size: 0.89rem;
  }
}

/* ============================================
   RESPONSIVIDADE - MOBILE EXTREMO
   ============================================ */

/* =========================
   ANIMAÇÕES E UTILITÁRIOS
   ========================= */

/* =========================
   JORNAL DIGITAL - CORREÇÕES DE VISUAL E FORMULÁRIO
   ========================= */
.jornal-digital-section {
  background: url('../../assets/illustrations/jornal.webp') center center/cover no-repeat;
  position: relative;
  padding: 4rem 1rem 2.5rem 1rem;
  text-align: center;
}
.jornal-digital-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.45); /* overlay suave */
  z-index: 1;
  pointer-events: none;
}
.jornal-digital-container {
  position: relative;
  z-index: 2;
}

.jornal-digital-titulo {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--text-medium, #222);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}

.jornal-digital-mais {
  color: var(--theme-palette-color-5, #FFD600); /* Amarelo do tema */
  font-size: 2.7rem;
  font-weight: 700;
}

.jornal-digital-animado {
  color: var(--theme-palette-color-5, #FFD600);
  font-size: 2.7rem;
  font-weight: 700;
  display: inline-block;
  min-width: 120px;
  transition: color 0.3s;
}

.jornal-digital-subtitulo {
  font-size: 1.15rem;
  color: var(--text-dark, #444);
  margin-bottom: 2.2rem;
  font-family: 'Poppins', Arial, sans-serif;
}

@media (max-width: 600px) {
  .jornal-digital-titulo,
  .jornal-digital-mais,
  .jornal-digital-animado {
    font-size: 1.5rem;
  }
  .jornal-digital-section {
    padding: 2.2rem 0.5rem 1.5rem 0.5rem;
  }
}

.jornal-digital-section .sib-form,
.jornal-digital-section .sib-form-container,
.jornal-digital-section #sib-container {
  max-width: 540px;
  margin: 0 auto !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}
.jornal-digital-section .sib-form-block__button {
  width: 100%;
  border-radius: 22px !important;
  font-size: 1.1rem;
  padding: 0.8em 1.2em;
}

/* =========================
   JORNAL DIGITAL - CSS DO FORMULÁRIO BREVO (CORES E FONTES DO TEMA)
   ========================= */
@font-face {
  font-display: block;
  font-family: Roboto;
  src: url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/7529907e9eaf8ebb5220c5f9850e3811.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/25c678feafdc175a70922a116c9be3e7.woff) format("woff");
}
@font-face {
  font-display: fallback;
  font-family: Roboto;
  font-weight: 600;
  src: url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/6e9caeeafb1f3491be3e32744bc30440.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/71501f0d8d5aa95960f6475d5487d4c2.woff) format("woff");
}
@font-face {
  font-display: fallback;
  font-family: Roboto;
  font-weight: 700;
  src: url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/3ef7cf158f310cf752d5ad08cd0e7e60.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/ece3a1d82f18b60bcce0211725c476aa.woff) format("woff");
}
#sib-container, #sib-container * {
  font-family: 'Poppins', 'Playfair Display SC', 'Roboto', Arial, sans-serif !important;
}
#sib-container input:-ms-input-placeholder {
  text-align: left;
  font-family: 'Poppins', 'Playfair Display SC', 'Roboto', Arial, sans-serif !important;
  color: var(--text-dark, #c0ccda);
}
#sib-container input::placeholder {
  text-align: left;
  font-family: 'Poppins', 'Playfair Display SC', 'Roboto', Arial, sans-serif !important;
  color: var(--text-dark, #c0ccda);
}
#sib-container textarea::placeholder {
  text-align: left;
  font-family: 'Poppins', 'Playfair Display SC', 'Roboto', Arial, sans-serif !important;
  color: var(--text-dark, #c0ccda);
}
#sib-container a {
  text-decoration: underline;
  color: var(--theme-palette-color-5, #FFD600);
  font-family: 'Poppins', 'Playfair Display SC', 'Roboto', Arial, sans-serif !important;
}

/* Botão do formulário Brevo com cor do tema */
.sib-form-block__button, .sib-form-block__button-with-loader {
  background: var(--theme-palette-color-5, #FFD600) !important;
  color: var(--theme-palette-color-3, #222) !important;
  border-radius: 22px !important;
  border: none !important;
  font-weight: 700;
  font-family: 'Poppins', 'Playfair Display SC', 'Roboto', Arial, sans-serif !important;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s, color 0.2s;
}
.sib-form-block__button:hover, .sib-form-block__button-with-loader:hover {
  background: var(--theme-palette-color-2, #ffb300) !important;
  color: #fff !important;
}

/* Inputs e campos do formulário com borda e foco do tema */
#sib-container input, #sib-container textarea {
  border: 1.5px solid var(--theme-palette-color-1, #c0ccda) !important;
  border-radius: 12px !important;
  font-family: 'Poppins', 'Playfair Display SC', 'Roboto', Arial, sans-serif !important;
  color: var(--text-dark, #222);
  background: #fff;
  transition: border-color 0.2s;
}
#sib-container input:focus, #sib-container textarea:focus {
  border-color: var(--theme-palette-color-2, #ffb300) !important;
  outline: none;
}

/* Mensagens de erro e sucesso com cores do tema */
.sib-form-message-panel {
  color: var(--theme-palette-color-3, #661d1d) !important;
  background: var(--theme-palette-color-8, #ffeded) !important;
  border-radius: 8px !important;
  border: 1.5px solid var(--theme-palette-color-5, #FFD600) !important;
  font-family: 'Poppins', 'Playfair Display SC', 'Roboto', Arial, sans-serif !important;
}
.sib-form-message-panel__inner-text {
  color: var(--theme-palette-color-3, #661d1d) !important;
  font-family: 'Poppins', 'Playfair Display SC', 'Roboto', Arial, sans-serif !important;
}

/* Ajuste para o botão ocupar toda a largura no mobile */
@media (max-width: 600px) {
  .sib-form-block__button, .sib-form-block__button-with-loader {
    width: 100%;
    font-size: 1rem;
    padding: 0.9em 1.2em;
  }
}

/* =========================
   JORNAL DIGITAL - GLASSMORPHISM (VIDRO FOSCO)
   ========================= */
.jornal-digital-glass {
  background: rgba(255, 255, 255, 0.68); /* branco translúcido */
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.10);
  border-radius: 18px;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  margin: 0 auto;
  max-width: 600px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  z-index: 2;
}
@media (max-width: 700px) {
  .jornal-digital-glass {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    max-width: 98vw;
  }
}

/* BREVO FORM - INTEGRAÇÃO COM O TEMA FILHO */
#sib-container, #sib-container * {
  font-family: 'Poppins', 'Playfair Display SC', 'Roboto', Arial, sans-serif !important;
}
#sib-container input, #sib-container textarea {
  border-radius: 12px !important;
  font-size: 1rem;
  color: var(--text-dark, #222);
  background: #fff;
}
.sib-form-block__button, .sib-form-block__button-with-loader {
  background: var(--theme-palette-color-5, #FFD600) !important;
  color: var(--theme-palette-color-3, #222) !important;
  border-radius: 22px !important;
  font-weight: 700;
  font-size: 1.1rem;
}

.g-recaptcha {
  display: block !important;
  min-height: 78px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Lightbox/Modal de visualização de logo - robusto */
.logo-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0; top: 0; right: 0; bottom: 0;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.85);
}
.logo-modal.show {
  display: flex;
}
.logo-modal-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  padding: 2rem;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.logo-modal-content img {
  max-width: 80vw;
  max-height: 70vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.logo-modal-close {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 2.2rem;
  color: #222;
  cursor: pointer;
  z-index: 3;
  font-weight: bold;
  transition: color 0.2s;
}
.logo-modal-close:hover {
  color: var(--primary, #0077ff);
}

/* =========================
   SLIDE DE LOGOS DE CLIENTES - VERSÃO GRANDE
   ========================= */
.clientes-slide-section {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--bg-light, #f7f7f7);
  padding: 3rem 0; /* Aumentei o padding */
  overflow: hidden;
  z-index: 2;
}

.clientes-slide-track {
  display: flex;
  align-items: center;
  gap: 4rem; /* Espaço maior entre logos */
  animation: clientes-slide-move 10s linear infinite;
}

.cliente-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  height: 200px; /* Altura fixa maior */
}

.cliente-logo img {
  max-width: 220px; /* Largura máxima aumentada */
  max-height: 180px; /* Altura máxima aumentada */
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: grayscale(100%) contrast(60%);
  opacity: 0.8;
}

.cliente-logo:hover img {
  transform: scale(1.1);
  filter: grayscale(0%) contrast(100%);
  opacity: 1;
}

/* Efeitos de relevo nas bordas (opcional) */
.clientes-slide-section::before,
.clientes-slide-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 3;
  pointer-events: none;
}
.clientes-slide-section::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.clientes-slide-section::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

/* Responsividade */
@media (max-width: 1200px) {
  .cliente-logo {
    height: 180px;
  }
  .cliente-logo img {
    max-width: 180px;
    max-height: 150px;
  }
}

@media (max-width: 768px) {
  .cliente-logo {
    height: 150px;
    padding: 0 20px;
  }
  .cliente-logo img {
    max-width: 140px;
    max-height: 120px;
  }
}

@media (max-width: 480px) {
  .cliente-logo {
    height: 120px;
    padding: 0 15px;
  }
  .cliente-logo img {
    max-width: 110px;
    max-height: 90px;
  }
}

@keyframes clientes-slide-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .clientes-slide-track {
    animation-duration: 6s;
  }
}
@media (max-width: 480px) {
  .clientes-slide-track {
    animation-duration: 4s;
  }
}

.modal.show {
  display: block;
}