/* ==========================================================================
   FORGET SAFETY — DESIGN SYSTEM & STYLESHEET
   Fidelidade estrita à identidade visual do PDF (Dark Mode & Ciano)
   Mobile First, sem dependências externas
   ========================================================================== */

/* --- Tipografia: Myriad Variable Concept & Myriad Pro --- */
@font-face {
  font-family: 'Myriad Variable Concept';
  src: url('../fonts/MyriadPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Myriad Variable Concept';
  src: url('../fonts/MyriadPro-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Myriad Variable Concept';
  src: url('../fonts/MyriadPro-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Myriad Variable Concept';
  src: url('../fonts/MyriadPro-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Myriad Pro';
  src: url('../fonts/MyriadPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Myriad Pro';
  src: url('../fonts/MyriadPro-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Myriad Pro';
  src: url('../fonts/MyriadPro-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Myriad Pro';
  src: url('../fonts/MyriadPro-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Custom Properties / Variáveis CSS --- */
:root {
  --bg-primary: #1e1e1e;
  --bg-secondary: #252525;
  --bg-card: #2c2c2c;
  --bg-card-hover: #333333;
  --bg-darkest: #121212;
  --bg-input: #1a1a1a;

  --accent-cyan: #0fbcf7;
  --accent-cyan-light: #52cffe;
  --accent-cyan-dark: #0098d4;
  --accent-cyan-glow: rgba(15, 188, 247, 0.28);
  --accent-cyan-subtle: rgba(15, 188, 247, 0.12);

  --text-white: #ffffff;
  --text-light: #f3f4f6;
  --text-body: #d1d5db;
  --text-gray-lead: #8c8c8c;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --border-subtle: #383838;
  --border-card: #3f3f3f;
  --border-cyan: #0fbcf7;

  --font-main: 'Myriad Variable Concept', 'Myriad Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-cyan: 0 4px 20px rgba(15, 188, 247, 0.35);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --container-width: 1280px;
}

/* --- Reset e Configurações Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-body);
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-body);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button,
input,
select,
textarea {
  font-family: var(--font-main);
  font-size: inherit;
}

/* --- Tipografia e Utilitários de Destaque --- */
.text-cyan {
  color: var(--accent-cyan);
}

.text-white {
  color: var(--text-white);
}

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

.highlight-cyan {
  color: var(--accent-cyan);
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* --- Header e Navegação Fixa --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(30, 30, 30, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(22, 22, 22, 0.98);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

/* Logotipo Oficial do Cabeçalho - 250px exatos no desktop */
.site-header-logo,
.brand-logo-img {
  width: 250px !important;
  max-width: 250px !important;
  height: auto !important;
  display: block;
  object-fit: contain;
}

@media (max-width: 480px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .header-container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .site-header-logo,
  .brand-logo-img {
    width: clamp(170px, 50vw, 215px) !important;
    max-width: 215px !important;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-gray-lead);
  letter-spacing: 0.3px;
  padding: 0.35rem 0.5rem;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan);
}

/* Frase interativa do Header: 'vamos evoluir a sua empresa?' */
.header-cta-phrase {
  display: none;
  align-items: center;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-gray-lead);
  letter-spacing: 0.2px;
  transition: all var(--transition-normal);
}

@media (min-width: 990px) {
  .header-cta-phrase {
    display: inline-flex;
  }
}

.cta-phrase-text {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-gray-lead);
  line-height: 1.2;
}

.cta-evoluir {
  color: var(--text-gray-lead);
  position: relative;
  display: inline;
  margin: 0 4px;
}

.cta-evoluir::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background-color: var(--accent-cyan);
  border-radius: 1px;
}

.cta-empresa {
  color: var(--text-gray-lead);
  border: 2px solid var(--accent-cyan);
  border-radius: var(--radius-pill);
  padding: 3px 14px;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  transition: all var(--transition-fast);
}

.header-cta-phrase:hover .cta-empresa {
  background-color: var(--accent-cyan-subtle);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(15, 188, 247, 0.35);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(20px);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  z-index: 999;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer .nav-link {
  font-size: 1.15rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Estrutura das Seções (Espaçamento Compacto com Linha Divisória) --- */
.section,
section[id] {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100vw;
  scroll-margin-top: 80px;
}

/* Divisor HR Sutil entre Seções (mesma cor e linha de 1px com 15px margin top/bottom = 30px total) */
hr.section-divider {
  border: 0;
  height: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 50px auto;
  padding: 0;
  width: 80%;
  display: block;
  box-sizing: border-box;
}

.section-hero {
  padding-top: 9.5rem;
  padding-bottom: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .section-hero {
    padding-top: 115px !important;
    padding-bottom: 0;
    min-height: auto;
    display: block;
  }
}

@media (max-width: 480px) {
  .section-hero {
    padding-top: 115px !important;
    padding-bottom: 0;
  }
}

/* Espaçamento da seção de contato antes do rodapé (o mapa preenche a base de ponta a ponta) */
#contato {
  padding-bottom: 0;
}

.section-header {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

/* Box do Título com Watermark Centralizado e Sobreposto na Mesma Linha de Base (Baseline) */
.section-header-title-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: baseline;
  justify-items: center;
  width: 100%;
  max-width: 100%;
}

.section-header-title-box .section-watermark {
  grid-area: 1 / 1;
  position: static !important;
  top: auto !important;
  left: auto !important;
  bottom: auto !important;
  right: auto !important;
  transform: none !important;
  font-family: var(--font-main);
  font-weight: 700;
  text-transform: uppercase;
  color: #23313f;
  letter-spacing: 0.06em;
  font-size: clamp(3.2rem, 9.2vw, 7.4rem);
  line-height: 1;
  text-align: center;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
  max-width: 100vw;
}

/* Watermark especial: MODELOS / INFLUENCERS / UGC (Imponente e largo, ocupando a seção como no PDF) */
.section-header-title-box .section-watermark.watermark-ugc {
  font-size: clamp(1.35rem, 4.8vw, 4.4rem) !important;
  letter-spacing: 0.06em !important;
  max-width: 98vw;
}



/* Títulos dentro do Title-Box */
.section-header-title-box .section-title,
.section-header-title-box .automation-title,
.section-header-title-box .contact-section-title {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  margin: 0;
  line-height: 1.15;
  text-align: center;
}

/* Alinhamento na coluna de contato */
.contact-title-box {
  justify-items: flex-start;
  width: fit-content;
}

@media (max-width: 768px) {
  .contact-title-box {
    justify-items: center;
    width: 100%;
  }
}

/* Subtítulo centralizado da seção */
.section-subtitle {
  position: relative;
  z-index: 2;
  color: var(--accent-cyan);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500;
  text-align: center;
  margin-top: 1.25rem;
  letter-spacing: 0.04em;
}

/* --- Ajustes Finos de Espaçamento das Seções --- */
/* Seção Soluções: 15px entre o título e "Nós sabemos", e 15px até os cards */
#solucoes .section-subtitle {
  margin-top: 0px;
}

#solucoes .section-header {
  margin-bottom: 15px;
}

/* Seção Confiança: menor distância até o grid de marcas parceiras */
#clientes .section-subtitle {
  margin-top: 0px;
  white-space: nowrap;
  font-size: clamp(0.85rem, 2.3vw, 1.35rem);
}

#clientes .section-header {
  margin-bottom: 1.6rem;
}

/* Seção Dados: aproximação superior e inferior do subtítulo "Pense com mais clareza" */
#dados-automacao .section-header {
  margin-bottom: 2rem;
}

#dados-automacao .section-subtitle {
  margin-top: 0.5rem;
}

/* Seção Influencers: cabeçalho no estilo da Área Criativa alinhado à esquerda com espaçamento otimizado */
#influencers .section-header {
  margin-top: 15px;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.45rem;
}

/* Bloco Automação: respiro confortável antes do texto explicativo */
.automation-block-container .section-header-title-box {
  margin-bottom: 2.25rem;
}

.section-title {
  font-size: clamp(1.35rem, 5.2vw, 3.2rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

/* --- Títulos em Linha Única Obrigatória (Imponentes, Grandes e Sem Quebra de Linha) --- */
.single-line-heading {
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  line-height: 1.15 !important;
  letter-spacing: -0.035em !important;
  font-weight: 800 !important;
}

/* 1. "Você sabe o que a sua empresa precisa?" */
#solucoes .section-title.single-line-heading {
  font-size: clamp(0.92rem, 4.2vw, 3.1rem);
  letter-spacing: 0.015em !important;
  text-align: center;
}

/* 2. "A sua empresa pode ser a próxima" */
#clientes .section-title.single-line-heading {
  font-size: clamp(0.98rem, 4.3vw, 3.1rem);
  letter-spacing: 0.015em !important;
  text-align: center;
}

/* 3. Títulos de Serviços Imponentes */
.service-heading.single-line-heading {
  font-size: clamp(1.48rem, 5.8vw, 3.3rem);
  letter-spacing: -0.035em;
}

/* "Aplicações Mobile" e "A nossa área criativa" */
#mobile .service-heading.single-line-heading,
.creative-title.single-line-heading {
  font-size: clamp(1.75rem, 7.2vw, 3.6rem);
  letter-spacing: -0.03em;
}

/* 4. "Diga adeus às Planilhas confusas" */
.banner-spreadsheets-title.single-line-heading {
  font-size: clamp(1.42rem, 5.6vw, 3.3rem);
  letter-spacing: -0.035em;
  text-align: center;
}

/* 5. "Você toma decisões com base em quê?" */
#dados-automacao .section-title.single-line-heading {
  font-size: clamp(0.95rem, 4.3vw, 3.1rem);
  letter-spacing: 0.015em !important;
  text-align: center;
}

/* 6. "Cansado de repetir ações diariamente?" */
.automation-title.single-line-heading {
  font-size: clamp(0.95rem, 4.3vw, 3.1rem);
  letter-spacing: 0.015em !important;
  text-align: center;
}

/* 7. "Pessoas confiam mais em pessoas do que em marcas." */
#influencers .section-title.single-line-heading {
  font-size: clamp(0.82rem, 2.3vw, 2.05rem);
  letter-spacing: 0.01em !important;
  text-align: center;
}

/* 8. "Vamos conversar?" */
.contact-section-title.single-line-heading {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  letter-spacing: 0.015em !important;
}

.section-subtitle-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* --- Botões e Pills do PDF --- */
.btn-pill-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  background-color: var(--accent-cyan);
  color: #000;
  border: 2px solid var(--accent-cyan);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  box-shadow: var(--shadow-cyan);
}

.btn-pill-cyan:hover {
  background-color: var(--accent-cyan-light);
  border-color: var(--accent-cyan-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(15, 188, 247, 0.5);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  background-color: transparent;
  color: var(--text-white);
  border: 1.5px solid var(--border-cyan);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
}

.btn-pill-outline:hover {
  background-color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #000;
  box-shadow: var(--shadow-cyan);
  transform: translateY(-2px);
}

/* Botão CTA Principal do Hero */
.btn-pill-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1.5px;
  background-color: transparent;
  color: #ffffff;
  border: 2px solid var(--accent-cyan);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  text-decoration: none;
}

.btn-pill-hero-cta:hover {
  background-color: var(--accent-cyan);
  color: #000000;
  box-shadow: 0 0 25px rgba(15, 188, 247, 0.55);
  transform: translateY(-2px);
}

/* ==========================================================================
   SEÇÃO 1: HERO (PÁGINA 1 DO PDF)
   ========================================================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.hero-title-main {
  font-size: clamp(1.45rem, 4vw, 3.45rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.hero-slogans {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: clamp(1.25rem, 2.3vw, 1.95rem);
  font-weight: 700;
  line-height: 1.25;
}

.slogan-line {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.slogan-gray {
  color: #7e7e7e;
}

.slogan-cyan {
  color: var(--accent-cyan);
}

.hero-description {
  font-size: clamp(1.02rem, 1.2vw, 1.22rem);
  font-weight: 700;
  line-height: 1.45;
  color: #ffffff;
  max-width: 600px;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

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

.hero-contact-footer,
.contact-buttons-group {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.25rem;
}

@media (max-width: 480px) {

  .hero-contact-footer,
  .contact-buttons-group {
    flex-wrap: nowrap;
    gap: 0.65rem;
  }
}

.contact-phone-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #8c8c8c;
  border-bottom: 2px solid var(--accent-cyan);
  padding-bottom: 3px;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.contact-phone-link .phone-prefix {
  font-size: 0.95rem;
  color: #7a7a7a;
  font-weight: 600;
}

.contact-phone-link .phone-number {
  color: #8c8c8c;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
}

.contact-phone-link:hover,
.contact-phone-link:hover .phone-number {
  color: var(--accent-cyan);
}

.contact-pill-email {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-cyan);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: all var(--transition-normal);
}

.contact-pill-email:hover {
  background-color: var(--accent-cyan-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}

@media (max-width: 480px) {
  .contact-phone-link {
    font-size: 0.98rem;
    padding-bottom: 2px;
    gap: 4px;
  }

  .contact-phone-link .phone-prefix {
    font-size: 0.8rem;
  }

  .contact-pill-email {
    font-size: 0.78rem;
    padding: 0.46rem 0.85rem;
    letter-spacing: 0;
  }
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-floating-wrap {
  width: 100%;
  max-width: 620px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: heroFloat 5.5s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroFloat {
  0% {
    transform: perspective(900px) translateY(0px) rotateX(0deg) rotateY(0deg);
  }

  50% {
    transform: perspective(900px) translateY(-14px) rotateX(2deg) rotateY(-2deg);
  }

  100% {
    transform: perspective(900px) translateY(0px) rotateX(0deg) rotateY(0deg);
  }
}

@media (min-width: 900px) {
  .hero-floating-wrap:hover {
    animation-play-state: paused;
  }
}

.hero-showcase-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease-out, filter 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity, filter;
  cursor: pointer;
}

@media (min-width: 900px) {
  .hero-showcase-img:hover {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 20px 45px rgba(15, 188, 247, 0.35));
  }
}

/* ==========================================================================
   SEÇÃO 2: SOLUÇÕES & WEBSITES (PÁGINA 2 DO PDF)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6.5rem;
  margin-top: 80px;
  margin-bottom: 0px;
}

.pillar-card {
  background-color: #2b2e34;
  border-radius: 26px;
  padding: 0 1.25rem 1.7rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  height: 175px;
  position: relative;
  overflow: visible;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 188, 247, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.pillar-image-wrap {
  position: relative;
  width: 100%;
  height: 95px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  margin-bottom: 1.1rem;
}

.pillar-image-wrap img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 15px 18px rgba(0, 0, 0, 0.6)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  pointer-events: none;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.pillar-card:hover .pillar-image-wrap img {
  transform: translateX(-50%) translateY(-4px) scale(1.02);
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.95)) drop-shadow(0 6px 12px rgba(0, 180, 216, 0.3));
}

/* Imagem 1: MacBook Pro (largo, tela sobe para fora do card) */
.pillar-img-macbook {
  width: 90%;
  max-width: 320px;
  height: auto;
}

/* Imagem 2: Câmera DSLR (robusta, sobe para fora do card) */
.pillar-img-camera {
  height: 195px;
  max-width: 86%;
  width: auto;
}

/* Imagem 3: Telefones (vertical, sobe bastante para fora do card) */
.pillar-img-phones {
  height: 205px;
  width: auto;
}

.pillar-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-white);
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .pillars-grid {
    margin-top: 85px;
    gap: 6.5rem;
  }

  .pillar-card {
    height: 165px;
  }

  .pillar-image-wrap {
    height: 85px;
  }

  .pillar-img-macbook {
    width: auto;
    height: 145px;
    max-width: 85%;
  }

  .pillar-img-camera {
    height: 155px;
  }

  .pillar-img-phones {
    height: 165px;
  }

  .brands-grid-section {
    margin-top: 40px;
  }

  .brands-grid {
    row-gap: 3rem;
    column-gap: 0.85rem;
  }

  .brand-card-item {
    height: 112px;
    border-radius: 16px;
    padding: 0 0.45rem 0.9rem 0.45rem;
  }

  .brand-image-wrap {
    height: 52px;
    margin-bottom: 0.65rem;
  }

  .brand-img-chilli,
  .brand-img-globo,
  .brand-img-promoacao {
    width: 76px;
  }

  .brand-img-honda {
    width: 82px;
  }

  .brand-img-tropical {
    width: 72px;
  }

  .brand-img-vu {
    width: 95px;
  }

  .brand-img-sic {
    width: 82px;
  }

  .brand-img-mundo {
    width: 92px;
  }

  .brand-img-kidzania {
    width: 95px;
  }

  .brand-img-gat {
    width: 52px;
  }

  .brand-card-name {
    font-size: 0.7rem;
  }
}


/* Layout Padrão de Serviço com Texto + Case */
.service-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.service-heading {
  font-size: clamp(1.48rem, 5.8vw, 3.4rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.service-text-content {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-text-content p {
  color: var(--text-body);
}

.service-pricing-badge {
  margin-top: 0px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.service-pricing-badge .price-label {
  color: var(--accent-cyan);
}

.service-pricing-badge .price-val {
  color: var(--text-body);
}

/* Links de Cases de Sucesso (Website) */
.service-cases-links {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service-cases-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.service-cases-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
}

.btn-case {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  max-width: 110px;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
}

.btn-case-solid {
  background-color: var(--accent-cyan);
  color: #ffffff;
  border: 1.5px solid var(--accent-cyan);
  box-shadow: 0 2px 10px rgba(15, 188, 247, 0.25);
}

.btn-case-solid:hover {
  background-color: var(--accent-cyan-light);
  border-color: var(--accent-cyan-light);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(15, 188, 247, 0.4);
}

.btn-case-outline {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid var(--accent-cyan);
}

.btn-case-outline:hover {
  background-color: rgba(15, 188, 247, 0.15);
  border-color: var(--accent-cyan-light);
  color: var(--accent-cyan-light);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .service-cases-buttons {
    gap: 0.45rem;
  }

  .btn-case {
    padding: 0.45rem 0.55rem;
    font-size: 0.82rem;
  }
}

/* 4 Botões da Seção Criativa (Sempre na mesma linha) */
.creative-cases-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  width: 100%;
}

.creative-cases-buttons .btn-case {
  flex: 1 1 0;
  max-width: none;
  padding: 0.45rem 0.4rem;
  font-size: clamp(0.72rem, 1.9vw, 0.86rem);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .creative-cases-buttons {
    gap: 0.35rem;
  }

  .creative-cases-buttons .btn-case {
    padding: 0.42rem 0.2rem;
    font-size: 0.69rem;
  }
}

/* Card de Case de Sucesso / Cliente Real */
.case-card-container {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  background-color: #383a3d;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  max-width: 420px;
  margin: 0 auto;
}

.case-card-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
}

.case-card-info-badge {
  padding: 1.35rem 1rem;
  background-color: #383a3d;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0.75rem;
}

.case-client-logo {
  justify-self: center;
  max-height: 52px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
}

.case-client-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding-left: 0.25rem;
}

/* Card sem logomarca (ex: Gestão de Leads) - divisão 50/50 não se aplica */
.case-card-info-badge.no-logo,
.case-card-info-badge:not(:has(.case-client-logo)) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.35rem 1.5rem;
}

.case-card-info-badge.no-logo .case-client-details,
.case-card-info-badge:not(:has(.case-client-logo)) .case-client-details {
  padding-left: 0;
  text-align: center;
  align-items: center;
  width: 100%;
}

.case-client-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #00b4d8;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.case-client-subtitle {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

/* ==========================================================================
   SEÇÃO 3: CONFIANÇA & E-COMMERCE (PÁGINA 3 DO PDF)
   ========================================================================== */
.brands-grid-section {
  margin-top: 45px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 3.2rem;
  column-gap: 1rem;
}

.brand-card-item {
  background-color: #2b2e34;
  border-radius: 20px;
  padding: 0 0.85rem 1.1rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  height: 122px;
  position: relative;
  overflow: visible;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  width: 100%;
  text-align: center;
  outline: none;
}

.brand-card-item:hover,
.brand-card-item:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(15, 188, 247, 0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.brand-image-wrap {
  position: relative;
  width: 100%;
  height: 58px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  margin-bottom: 0.85rem;
}

.brand-partner-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.65)) drop-shadow(0 3px 5px rgba(0, 0, 0, 0.35));
  pointer-events: none;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.brand-card-item:hover .brand-partner-img {
  transform: translateX(-50%) translateY(-3px) scale(1.03);
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.9)) drop-shadow(0 4px 8px rgba(0, 180, 216, 0.28));
}

/* Larguras proporcionais das marcas (compartilhando proporção visual) */
.brand-img-chilli,
.brand-img-globo,
.brand-img-promoacao {
  width: 90px;
}

.brand-img-honda {
  width: 98px;
}

.brand-img-tropical {
  width: 86px;
}

.brand-img-vu {
  width: 112px;
  max-width: 86%;
}

.brand-img-sic {
  width: 96px;
}

.brand-img-mundo {
  width: 106px;
  max-width: 86%;
}

.brand-img-kidzania {
  width: 112px;
  max-width: 86%;
}

.brand-img-gat {
  width: 62px;
}

.brand-card-name {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--text-white);
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

/* ==========================================================================
   SEÇÃO 4: ADEUS PLANILHAS & SISTEMAS (PÁGINA 4 DO PDF)
   ========================================================================== */
.banner-spreadsheets-wrap {
  background-color: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.banner-spreadsheets-header {
  text-align: center;
  margin-bottom: 2rem;
}

.banner-spreadsheets-title {
  font-size: clamp(1.42rem, 5.6vw, 3.4rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
}

.banner-spreadsheets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.banner-spreadsheets-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 0;
}

.banner-spreadsheets-center img {
  max-height: 240px;
  width: auto;
  object-fit: contain;
  transform: rotate(-10deg);
  transform-origin: center center;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45));
  will-change: transform, opacity;
}

.banner-spreadsheets-right {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-body);
}

.banner-spreadsheets-subtext {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-light);
}

/* ==========================================================================
   SEÇÃO 5: DESENVOLVIMENTO DE APPS MOBILE (PÁGINA 5 DO PDF)
   ========================================================================== */
.mobile-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 0.85rem;
  row-gap: 3.8rem;
  margin-top: 55px;
  margin-bottom: 55px;
}

.stat-card-box {
  background-color: #2e3036;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  overflow: visible;
  text-align: center;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  margin: 0;
  box-sizing: border-box;
}

.stat-card-box:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 188, 247, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.stat-card-num-top {
  padding: 0 0.85rem 1.4rem 0.85rem;
}

.stat-card-num-bottom {
  padding: 1.4rem 0.85rem 0 0.85rem;
}

.stat-card-num-top .stat-number-huge {
  margin-top: -36px;
  margin-bottom: 8px;
}

.stat-card-num-bottom .stat-description {
  margin-bottom: 8px;
}

.stat-card-num-bottom .stat-number-huge {
  margin-top: auto;
  margin-bottom: -36px;
}

.stat-number-huge {
  font-size: clamp(4.0rem, 13.5vw, 5.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 0.85;
  text-align: center;
  position: relative;
  z-index: 2;
  letter-spacing: 0.04em;
  -webkit-text-stroke: 1.8px #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  transform-origin: center center;
}

.stat-number-huge .stat-percent {
  font-size: 0.74em;
  margin-left: 0.12em;
  font-weight: 850;
  -webkit-text-stroke: 1.3px #ffffff;
  vertical-align: baseline;
}

.stat-description {
  font-size: 0.76rem;
  line-height: 1.38;
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  margin: 0;
}

/* ==========================================================================
   SEÇÃO 6: DECISÕES, DADOS & AUTOMAÇÃO (PÁGINA 6 DO PDF)
   ========================================================================== */
.automation-block-container {
  margin-top: 5rem;
  padding-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  text-align: center;
}

.automation-icons-center {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.automation-icons-center img {
  max-height: 90px;
  object-fit: contain;
}

.automation-title {
  font-size: clamp(1.35rem, 5.2vw, 3.4rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}


.automation-paragraphs {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   SEÇÃO 7: ÁREA CRIATIVA (PÁGINA 7 DO PDF)
   ========================================================================== */
.creative-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.creative-content-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.creative-title {
  font-size: clamp(1.75rem, 7.2vw, 3.8rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
}

.creative-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--text-muted);
}

/* CTA Portfolio Geral (YouTube Shorts) */
.creative-portfolio-cta-wrap {
  margin: 0.25rem 0 0.4rem 0;
}

.creative-portfolio-cta {
  background: transparent;
  border: none;
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  width: fit-content;
}

.creative-portfolio-cta:hover {
  transform: translateX(4px);
  opacity: 0.95;
}

.portfolio-cta-icon {
  width: 27px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(255, 0, 0, 0.35));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.creative-portfolio-cta:hover .portfolio-cta-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 3px 12px rgba(255, 0, 0, 0.6));
}

.portfolio-cta-text {
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.2px;
  line-height: 1.35;
}

.portfolio-cta-text .highlight-cyan {
  color: var(--accent-cyan);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(15, 188, 247, 0.45);
  transition: text-decoration-color var(--transition-fast);
}

.creative-portfolio-cta:hover .portfolio-cta-text .highlight-cyan {
  text-decoration-color: var(--accent-cyan);
}

.creative-text-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.02rem;
  line-height: 1.65;
}

.creative-visual-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1200px;
}

.creative-showcase-container {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.creative-model-bg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.45));
  user-select: none;
  -webkit-user-drag: none;
}

.creative-drone-flight-box {
  position: absolute;
  top: 47%;
  left: 4%;
  width: 55%;
  z-index: 5;
  pointer-events: none;
  transform-origin: center center;
  will-change: transform, opacity, filter;
  transition: opacity 0.08s linear;
}

.creative-drone-hover-anim {
  width: 100%;
  height: 100%;
  display: block;
  animation: droneHoverFlight 5.8s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

.creative-drone-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.75));
  user-select: none;
  -webkit-user-drag: none;
}

/* Ciclo de Voo Contínuo do Drone (Flutuação, deriva e atitude dos 3 prints) */
@keyframes droneHoverFlight {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  22% {
    /* Print 2: sobe, aproxima-se do abdômen/braço e inclina para a direita */
    transform: translate3d(18px, -22px, 0) rotate(4.8deg);
  }

  48% {
    /* Print 3: posição intermediária estabilizando a atitude */
    transform: translate3d(8px, -7px, 0) rotate(-1.8deg);
  }

  72% {
    /* Print 1: desce sobre a perna/skate, afasta para a esquerda e inclina */
    transform: translate3d(-18px, 16px, 0) rotate(-6.2deg);
  }

  86% {
    /* Retomada de sustentação */
    transform: translate3d(-8px, 5px, 0) rotate(-2.5deg);
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

/* ==========================================================================
   SEÇÃO 8: INFLUENCERS & UGC (PÁGINA 8 DO PDF)
   ========================================================================== */
.ugc-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.ugc-content-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ugc-subheadings {
  font-size: clamp(0.72rem, 3.1vw, 1.3rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  overflow: visible;
}

.ugc-subheadings div {
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  display: inline-block;
}

.ugc-creative-title {
  text-align: left;
  margin: 0;
  font-size: clamp(1.5rem, 5.8vw, 3.8rem);
}

.ugc-creative-pillars {
  align-items: flex-start;
  text-align: left;
  margin-top: 0.15rem;
}

.ugc-creative-tagline-wrap {
  margin: 0.15rem 0 0 0;
  display: flex;
  justify-content: flex-start;
}

.ugc-creative-tagline {
  text-align: left;
}

.ugc-visual-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ugc-visual-right img {
  border-radius: 0;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.45));
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* ==========================================================================
   SEÇÃO FEED: E AS NOVIDADES? (PÁGINA FEED ENTRE UGC E CONTATO)
   ========================================================================== */
#feed .section-header {
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

#feed .section-subtitle {
  margin-top: 0rem;
  color: var(--accent-cyan);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1040px;
  margin: 0 auto;
}

.feed-card {
  position: relative;
  background-color: #1a1d22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.35s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  display: block;
  outline: none;
}

.feed-card:hover,
.feed-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(15, 188, 247, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(15, 188, 247, 0.25);
}

.feed-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background-color: #0d0f12;
}

.feed-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-drag: none;
}

.feed-card:hover .feed-card-img,
.feed-card:focus-visible .feed-card-img {
  transform: scale(1.035);
}

/* Paginação do Feed (Setas Triplas Ciano + Dots) */
.feed-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.75rem;
  margin-bottom: 0;
  user-select: none;
}

.feed-page-btn {
  background: transparent;
  border: none;
  color: var(--accent-cyan);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.feed-page-btn:hover:not(:disabled) {
  color: #ffffff;
  transform: scale(1.18);
  opacity: 1;
}

.feed-page-btn:disabled,
.feed-page-btn.disabled {
  opacity: 0.22;
  cursor: default;
  pointer-events: none;
  transform: none;
}

.feed-page-dots {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feed-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.feed-dot:hover {
  background-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.15);
}

.feed-dot.active {
  background-color: #dbeafe;
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 0 8px rgba(15, 188, 247, 0.5);
  transform: scale(1.15);
}

@media (max-width: 900px) {
  .feed-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 800px;
  }

  .feed-card {
    padding: 8px;
    border-radius: 10px;
  }
}

@media (max-width: 640px) {
  .feed-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    /* Layout compacto idêntico a feed de Instagram */
    max-width: 100%;
  }

  .feed-card {
    padding: 5px;
    /* Moldura fina e proporcional */
    border-radius: 7px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  .feed-card-img-wrap {
    border-radius: 4px;
  }

  .feed-card-img {
    border-radius: 4px;
  }

  .feed-pagination {
    gap: 1.25rem;
    margin-top: 1.75rem;
  }

  .feed-dot {
    width: 10px;
    height: 10px;
  }

  .feed-page-btn svg {
    width: 24px;
    height: 18px;
  }
}

@media (max-width: 380px) {
  .feed-grid {
    gap: 0.35rem;
  }

  .feed-card {
    padding: 3px;
    border-radius: 5px;
  }
}

/* ==========================================================================
   SEÇÃO 9: CONTATO & FORMULÁRIO (PÁGINA 9 DO PDF + FORMULÁRIO AJAX)
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-white);
}

.contact-slogans-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
}

.contact-buttons-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.25rem;
}

.contact-manifesto-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-body);
  padding: 1.5rem;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-cyan);
}

/* Formulário de Contato */
.contact-form-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  position: relative;
}

/* Reordenação Exclusiva no Mobile (< 768px): Card do Formulário entre os Slogans e os Botões */
@media (max-width: 767px) {
  .contact-section-grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .contact-info-col {
    display: contents;
  }

  .contact-title-box {
    order: 1;
  }

  .contact-slogans-box {
    order: 2;
  }

  .contact-form-card {
    order: 3;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
  }

  .contact-buttons-group {
    order: 4;
    margin-top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }

  .contact-manifesto-text {
    order: 5;
  }
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.form-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-cyan-subtle);
}

.form-control::placeholder {
  color: var(--text-dim);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230fbcf7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  cursor: pointer;
}

/* Honeypot field (escondido para usuários legítimos) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Status e Feedback do Envio */
.form-feedback-message {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.form-feedback-message.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.form-feedback-message.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.form-success-card {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
}

.form-success-card.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  background-color: var(--accent-cyan-subtle);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: var(--accent-cyan);
}

.form-btn-submit {
  width: 100%;
  padding: 0.95rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   MAPA FULL-WIDTH (LISBOA)
   100% de largura sobrepondo o padding do site até as bordas da tela
   ========================================================================== */
.contact-fullwidth-map {
  width: 100%;
  max-width: 100vw;
  margin-top: 4.5rem;
  margin-bottom: 0;
  position: relative;
  line-height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-fullwidth-map iframe {
  width: 100%;
  height: clamp(300px, 42vh, 480px);
  border: 0;
  display: block;
  filter: contrast(1.08) saturate(1.15);
  transition: filter var(--transition-fast);
}

.contact-fullwidth-map iframe:hover {
  filter: contrast(1.12) saturate(1.22);
}

@media (max-width: 768px) {
  .contact-fullwidth-map {
    margin-top: 2.75rem;
  }

  .contact-fullwidth-map iframe {
    height: 290px;
  }
}

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-darkest);
  padding: 3.5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-quote {
  font-size: 0.98rem;
  color: var(--text-light);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.footer-quote cite {
  font-style: normal;
  color: var(--text-muted);
  display: inline-block;
  margin-left: 0.5rem;
}

.footer-divider-line {
  width: 100%;
  max-width: 800px;
  height: 1.5px;
  background-color: var(--accent-cyan);
  margin: 0 auto 2rem auto;
  opacity: 0.8;
}

.footer-copyright {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ==========================================================================
   RESPONSIVIDADE E BREAKPOINTS (MOBILE FIRST)
   ========================================================================== */

/* Tablets pequenos / telas médias (>= 640px) */
@media (min-width: 640px) {
  .hero-contact-footer {
    flex-direction: row;
  }

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

/* Tablets e Desktops Médios (>= 768px) */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 120px;
  }

  .service-split-layout {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3.5rem;
  }

  .banner-spreadsheets-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .creative-section-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ugc-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
    position: relative;
  }

  .ugc-content-left {
    position: relative;
    z-index: 1;
    max-width: 620px;
  }

  .ugc-subheadings {
    font-size: clamp(1.02rem, 1.25vw, 1.28rem);
  }

  .ugc-visual-right {
    position: relative;
    height: 100%;
    min-height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 2;
    pointer-events: none;
    overflow: visible;
  }

  .ugc-visual-right img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: right bottom;
    border-radius: 0;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.45));
    user-select: none;
    -webkit-user-drag: none;
  }

  .contact-section-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 1.25rem;
    row-gap: 0;
    margin-top: 65px;
    margin-bottom: 65px;
  }

  .stat-card-box {
    border-radius: 28px;
    height: 100%;
  }

  .stat-card-num-top {
    padding: 0 1.15rem 1.6rem 1.15rem;
  }

  .stat-card-num-bottom {
    padding: 1.6rem 1.15rem 0 1.15rem;
  }

  .stat-card-num-top .stat-number-huge {
    margin-top: -48px;
    margin-bottom: 10px;
  }

  .stat-card-num-bottom .stat-description {
    margin-bottom: 10px;
  }

  .stat-card-num-bottom .stat-number-huge {
    margin-top: auto;
    margin-bottom: -48px;
  }

  .stat-number-huge {
    font-size: clamp(3.8rem, 4.8vw, 5.4rem);
    -webkit-text-stroke: 2.2px #ffffff;
    letter-spacing: 0.04em;
    text-shadow: 0 5px 22px rgba(0, 0, 0, 0.75);
  }

  .stat-number-huge .stat-percent {
    font-size: 0.74em;
    margin-left: 0.14em;
    -webkit-text-stroke: 1.6px #ffffff;
  }

  .stat-description {
    font-size: 0.86rem;
    line-height: 1.45;
    color: #ffffff;
    font-weight: 600;
  }

  /* Títulos Imponentes e Grandes no Desktop */
  #solucoes .section-title.single-line-heading,
  #dados-automacao .section-title.single-line-heading,
  .automation-title.single-line-heading {
    font-size: clamp(2.4rem, 3.6vw, 3.4rem);
    letter-spacing: -0.035em;
  }

  .service-heading.single-line-heading,
  .banner-spreadsheets-title.single-line-heading {
    font-size: clamp(2.5rem, 3.8vw, 3.4rem);
    letter-spacing: -0.035em;
  }

  #mobile .service-heading.single-line-heading,
  .creative-title.single-line-heading {
    font-size: clamp(2.8rem, 4.2vw, 3.8rem);
    letter-spacing: -0.03em;
  }
}

/* Desktops Grandes (>= 1024px) */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .brands-grid {
    grid-template-columns: repeat(5, 1fr);
    row-gap: 3.5rem;
    column-gap: 1.25rem;
  }

  .mobile-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   MODAL DE VÍDEO VERTICAL: PORTFOLIO GERAL (YOUTUBE SHORTS)
   Fundo preto transparente com blur, padding do site e botão X em azul
   ========================================================================== */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  /* Mesmo padding lateral do site */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: min(390px, calc((82vh - 60px) * 9 / 16));
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.92) translateY(14px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-backdrop.active .video-modal-dialog {
  transform: scale(1) translateY(0);
}

.video-modal-iframe-wrapper {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: calc(80vh - 65px);
  border-radius: 20px;
  overflow: hidden;
  background-color: #000000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(15, 188, 247, 0.25);
  border: 1.5px solid rgba(15, 188, 247, 0.35);
}

.video-modal-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 480px) {
  .video-modal-backdrop {
    padding: 1rem 1.25rem;
  }
}

/* Bloqueio de rolagem global quando qualquer modal está aberto (sem forçar height 100% para preservar posição) */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* ==========================================================================
   MODAL DE CARROSSEL DE IMAGENS (FOTOGRAFIA, DESIGN, SOCIAL MEDIA)
   Fundo preto com blur, navegação discreta < >, badge sutil na foto e [FECHAR]
   ========================================================================== */
.carousel-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  opacity: 0;
  visibility: hidden;
  touch-action: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.carousel-modal-dialog {
  position: relative;
  width: 100%;
  max-width: min(1050px, 94vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-modal-backdrop.active .carousel-modal-dialog {
  transform: scale(1) translateY(0);
}

.carousel-modal-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.65rem;
  padding: 0 0.5rem;
  text-align: center;
}

.carousel-modal-category {
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent-cyan);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95%;
  text-align: center;
}

.carousel-modal-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-image-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  user-select: none;
  touch-action: none;
}

/* Badge sutil no canto superior direito da imagem */
.carousel-modal-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f3f4f6;
  background-color: rgba(18, 18, 18, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  z-index: 6;
  pointer-events: none;
}

.carousel-current-image {
  max-width: 100%;
  max-height: calc(76vh - 70px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.88), 0 0 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Botões Discretos e Elegantes < > */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(18, 18, 18, 0.65);
  border: 1.5px solid rgba(15, 188, 247, 0.45);
  color: var(--accent-cyan);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.carousel-nav-btn:hover {
  background-color: rgba(15, 188, 247, 0.25);
  border-color: var(--accent-cyan);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 16px rgba(15, 188, 247, 0.5);
}

.carousel-nav-btn svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-cyan);
}

.carousel-nav-prev {
  left: -20px;
}

.carousel-nav-next {
  right: -20px;
}

@media (max-width: 640px) {
  .carousel-modal-backdrop {
    padding: 1rem 1.25rem;
  }

  .carousel-nav-prev {
    left: 4px;
  }

  .carousel-nav-next {
    right: 4px;
  }

  .carousel-nav-btn {
    width: 38px;
    height: 38px;
    background-color: rgba(18, 18, 18, 0.8);
  }

  .carousel-modal-counter {
    top: 8px;
    right: 8px;
    font-size: 0.74rem;
    padding: 0.18rem 0.55rem;
  }
}

/* ==========================================================================
   MODAL DE PLAYLIST DE VÍDEOS (YOUTUBE COM LISTA DE MINIATURAS E PAGINAÇÃO)
   Fundo preto com blur, 80% da tela, player vertical destacado e sem scroll
   ========================================================================== */
.playlist-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  touch-action: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.playlist-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.playlist-modal-dialog {
  position: relative;
  width: 100%;
  max-width: min(580px, 94vw);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.playlist-modal-backdrop.active .playlist-modal-dialog {
  transform: scale(1) translateY(0);
}

.playlist-modal-content-card {
  width: 100%;
  max-height: calc(91vh - 58px);
  display: flex;
  flex-direction: column;
  background-color: #1a1c20;
  border-radius: 24px;
  border: 1.5px solid rgba(15, 188, 247, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(15, 188, 247, 0.2);
  overflow: hidden;
  padding: 1.05rem 1.25rem 0.85rem 1.25rem;
}

.playlist-modal-header {
  margin-bottom: 0.45rem;
  text-align: center;
}

.playlist-modal-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.playlist-modal-subtitle {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Player em formato quadrado (1:1) com altura ampliada aproveitando os ~90vh do modal */
.playlist-video-stage {
  width: auto;
  height: clamp(260px, 44vh, 395px);
  aspect-ratio: 1 / 1;
  max-width: 100%;
  margin: 0 auto 0.55rem auto;
  border-radius: 16px;
  overflow: hidden;
  background-color: #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.playlist-video-stage iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.playlist-items-section {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.playlist-items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.playlist-items-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.playlist-items-total {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background-color: rgba(15, 188, 247, 0.12);
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-pill);
}

.playlist-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.playlist-item-card {
  background-color: #24272d;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  text-align: left;
  padding: 0;
}

.playlist-item-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 188, 247, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.playlist-item-card.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(15, 188, 247, 0.45);
  background-color: #2b3038;
}

/* Miniaturas aumentadas ligeiramente em altura (~25px a mais para destaque) */
.playlist-item-thumb-wrap {
  position: relative;
  width: 100%;
  height: clamp(75px, 11.5vh, 88px);
  background-color: #000;
  overflow: hidden;
}

.playlist-item-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-fast);
}

.playlist-item-card:hover .playlist-item-thumb {
  transform: scale(1.04);
}

.playlist-item-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.35);
  transition: background-color var(--transition-fast);
}

.playlist-item-play-icon svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.playlist-item-title {
  padding: 0.35rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.playlist-item-card.active .playlist-item-title {
  color: var(--accent-cyan);
}

/* Paginação Compacta da Grade de Vídeos */
.playlist-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.45rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.playlist-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.playlist-page-btn:hover:not(:disabled) {
  background-color: rgba(15, 188, 247, 0.22);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.playlist-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.playlist-page-btn svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
}

.playlist-page-indicator {
  font-size: 0.74rem;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   BOTÃO [FECHAR] PADRÃO INFERIOR (COMPARTILHADO POR TODOS OS MODAIS DO SITE)
   ========================================================================== */
.modal-footer-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  padding: 0.48rem 1.6rem;
  background-color: rgba(22, 25, 30, 0.88);
  border: 1.5px solid rgba(15, 188, 247, 0.45);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 12px rgba(15, 188, 247, 0.2);
  user-select: none;
  align-self: center;
  flex-shrink: 0;
}

.modal-footer-close-btn:hover {
  background-color: rgba(15, 188, 247, 0.22);
  border-color: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 20px rgba(15, 188, 247, 0.5);
}

.modal-footer-close-btn:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  .playlist-modal-content-card {
    padding: 0.85rem 0.85rem 0.75rem 0.85rem;
    max-height: calc(92vh - 54px);
  }

  .playlist-video-stage {
    height: clamp(220px, 38vh, 290px);
    margin-bottom: 0.45rem;
  }

  .playlist-item-thumb-wrap {
    height: 72px;
  }

  .playlist-items-grid {
    gap: 0.4rem;
  }

  .modal-footer-close-btn {
    padding: 0.42rem 1.35rem;
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }
}

/* ==========================================================================
   MODAL 4: FEED (ESTILO CARROSSEL COM TÍTULO, NAVEGAÇÃO, FOTO E DESCRIÇÃO)
   ========================================================================== */
.feed-carousel-dialog {
  max-width: min(900px, 94vw);
}

.feed-current-image {
  max-width: 100%;
  max-height: clamp(260px, 60vh, 540px);
  width: auto;
  height: auto;
  object-fit: contain !important;
  /* Sem cortes: imagem 100% visível por inteiro */
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.88), 0 0 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.feed-modal-description-wrapper {
  margin-top: 0.85rem;
  margin-bottom: 0.25rem;
  max-width: min(680px, 92vw);
  text-align: center;
  padding: 0 0.75rem;
}

.feed-modal-label {
  color: #e5e7eb;
  font-size: clamp(0.9rem, 1.25vw, 1.05rem);
  line-height: 1.55;
  margin: 0;
  margin-top: 15px;
  font-weight: 400;
  text-align: center;
  font-family: var(--font-main);
}

@media (max-width: 480px) {
  .feed-current-image {
    max-height: 52vh;
    border-radius: 10px;
  }

  .feed-modal-description-wrapper {
    margin-top: 0.65rem;
    padding: 0 0.5rem;
  }

  .feed-modal-label {
    font-size: 0.86rem;
    line-height: 1.45;
  }
}