/* ==========================================================================
   IMPORTAÇÃO DA FONTE AZERET MONO (GOOGLE FONTS)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Azeret+Mono:ital,wght@0,100..900;1,100..900&display=swap');

/* ==========================================================================
   ESTILOS BASE E VARIÁVEIS DE DESIGN
   ========================================================================== */

:root {
  /* Cores Principais */
  --bg-color: #ffffff;
  --text-color: #111111;
  --text-muted: #666666;
  --accent-color: #111111;
  --border-color: #eeeeee;
  
  /* Fonte Azeret Mono */
  --font-main: 'Azeret Mono', monospace;
  
  /* Dimensões Amplas */
  --container-max-width: 1400px;
  --header-height: 80px;
  --grid-gap: 35px;
}

/* Aplicar Azeret Mono em Absolutamente TODOS os elementos do site */
*, *::before, *::after, input, button, select, textarea {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Azeret Mono', monospace !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 769px) {
  body {
    zoom: 0.8;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ==========================================================================
   HEADER / NAVEGAÇÃO COM LOGO ANIMADO NO LUGAR DO NOME
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  /* Não cortar na parte inferior para que as linhas/ondas vazem para a página */
}

.header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 30px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* O R central alinhado na barra com as ondas vazando livremente para a página */
.header-logo-link {
  display: flex;
  align-items: center;
  position: relative;
  width: 140px;
  height: var(--header-height);
  overflow: visible; /* Permite as ondas vazarem para fora */
  cursor: pointer;
}

/* Nas páginas de ilustração (tema escuro), o container do logo tem largura adequada ao logo REN */
.dark-theme .header-logo-link {
  width: 178px;
}

.header-ren-animated {
  width: 178px; /* 15% menor (210px * 0.85 = 178px) */
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-top: 15px;
}

.header-logo-r {
  position: absolute;
  top: 50%;
  left: 70px;
  transform: translate(-49.94%, -15.05%);
  width: 500px;
  max-width: none;
  height: auto;
  display: block;
  pointer-events: none;
  transition: transform 0.25s ease;
}

/* Ondas do logo: recolhimento suave no scroll para não cobrir o conteúdo */
.header-waves-group {
  transform-origin: 660.95px 107.56px;
  transform: scale(0.7);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  will-change: transform, opacity;
  pointer-events: none;
}

.header-ren-animated:hover {
  transform: scale(1.05);
}

.header-logo-link:hover .header-logo-r {
  transform: translate(-49.94%, -15.05%) scale(1.02);
}

.nav-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--text-color);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  opacity: 0.6;
}

.social-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--text-color);
  background-color: transparent;
  color: var(--text-color);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* ==========================================================================
   SELETOR DE IDIOMA (PT / EN)
   ========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: none;
  height: 32px;
  padding: 0 2px;
  background-color: transparent;
  box-sizing: border-box;
  user-select: none;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-color);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  padding: 3px 4px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.lang-btn:hover {
  opacity: 0.85;
}

.lang-btn.active {
  opacity: 1;
  font-weight: 700;
  background-color: transparent;
  color: var(--text-color);
}

.lang-divider {
  font-size: 0.72rem;
  opacity: 0.3;
  user-select: none;
  color: var(--text-color);
  padding: 0 2px;
  line-height: 1;
}

/* ==========================================================================
   FILTROS (TODOS, DIREÇÃO DE ARTE, ILUSTRAÇÃO)
   ========================================================================== */

.main-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 40px 30px;
}

.projects-section {
  margin-bottom: 80px;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 28px;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 400;
  cursor: pointer;
  letter-spacing: 0.5px;
  border-radius: 0 !important;
}

.filter-btn.active {
  background-color: var(--text-color);
  color: var(--bg-color);
  border-color: var(--text-color);
}

/* ==========================================================================
   BARRA CONTÍNUA DE CLIENTES (MARQUEE TICKER COM LOGOS)
   ========================================================================== */

.clients-ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0 0 50px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}

.clients-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: tickerScroll 36s linear infinite;
}

.clients-ticker-wrap:hover .clients-ticker-track {
  animation-play-state: paused;
}

.clients-ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}

.ticker-logo-link:hover {
  opacity: 0.6;
  transform: scale(1.05);
}

.ticker-logo {
  height: 26px;
  max-height: 26px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  filter: brightness(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Calibração de escala óptica para equilíbrio entre os logos */
.ticker-logo-cpfl {
  height: 30px;
  max-height: 30px;
}

.ticker-logo-upl {
  height: 22px;
  max-height: 22px;
}

.ticker-logo-avery {
  height: 24px;
  max-height: 24px;
}

.ticker-logo-envo {
  height: 20px;
  max-height: 20px;
}

.ticker-logo-vezzy {
  height: 22px;
  max-height: 22px;
}

.ticker-sep {
  font-family: var(--font-main, 'Azeret Mono', monospace);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  opacity: 0.35;
  margin: 0 35px;
  user-select: none;
  line-height: 1;
}

@keyframes tickerScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-ticker-track {
    animation: none;
    overflow-x: auto;
  }
}

/* ==========================================================================
   GRID DE PROJETOS VERTICAIS (SEM SOMBRA, MINÚSCULA, SEM BOLD)
   ========================================================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}

.project-card {
  cursor: pointer;
  display: block;
  text-decoration: none;
  position: relative;
  border-radius: 0 !important;
  overflow: hidden;
}

.project-card.hidden {
  display: none !important;
}

@media (min-width: 769px) {
  .project-card.project-card-centered {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc(50% - (var(--grid-gap) / 2));
  }
}

.project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #111111;
  border-radius: 0 !important;
}

.project-thumb img,
.project-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.project-card:hover .project-thumb img,
.project-card:hover .project-thumb video {
  transform: scale(1.05);
}

.project-thumb.thumb-violenta {
  background-color: #00DC2F;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-thumb.thumb-violenta img,
.project-thumb.thumb-violenta video {
  width: 80%;
  height: 80%;
  object-fit: contain;
  margin: auto;
  -webkit-mask-image: radial-gradient(circle at 50% 48%, #000000 35%, rgba(0, 0, 0, 0.85) 46%, rgba(0, 0, 0, 0.25) 58%, transparent 66%);
  mask-image: radial-gradient(circle at 50% 48%, #000000 35%, rgba(0, 0, 0, 0.85) 46%, rgba(0, 0, 0, 0.25) 58%, transparent 66%);
}

.project-card:hover .project-thumb.thumb-violenta img,
.project-card:hover .project-thumb.thumb-violenta video {
  transform: scale(1.08);
}

.project-thumb.thumb-verteos {
  background-color: #e8e8e8 !important;
  border: 1px solid var(--border-color, #d8d8d8);
}

.project-thumb.thumb-verteos .project-title {
  color: #111111 !important;
}

body.dark-theme .project-thumb.thumb-verteos {
  background-color: #242424 !important;
  border-color: #383838;
}

body.dark-theme .project-thumb.thumb-verteos .project-title {
  color: #ffffff !important;
}

/* OVERLAY DE TEXTO DENTRO DO CARD */
.project-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: transparent !important;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  border-radius: 0 !important;
  transition: padding-bottom 0.3s ease;
}

.project-card:hover .project-card-overlay {
  padding-bottom: 30px;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 400 !important;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.35;
  text-shadow: none !important;
  letter-spacing: 0;
}

/* ==========================================================================
   ESTILOS DA PÁGINA INTERNA DE PROJETO
   ========================================================================== */

.project-detail-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 30px 80px;
}

.back-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.back-link:hover {
  color: var(--text-color);
}

/* CABEÇALHO DO PROJETO COM LOGO TEMA CENTRALIZADO */
.project-hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
}

.project-theme-logo-wrapper {
  max-width: 400px; /* 20% menor que o padrão anterior de 500px */
  width: 100%;
  margin: 0 auto 30px;
  cursor: pointer;
}

.project-theme-logo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.project-theme-logo:hover {
  transform: scale(1.02);
}

.project-summary-text {
  font-size: 0.72rem;
  line-height: 1.75;
  color: var(--text-color);
  max-width: 780px;
  margin: 0 auto;
  font-weight: 400;
}

/* ESTRUTURA DO CASE STUDY (CPFL, UPL, PROJETOS COM CASE STUDY COMPLETO) */
.project-summary-text.cpfl-summary-text,
.project-summary-text.project-case-summary {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.cpfl-case-title,
.project-case-title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
  color: var(--text-color);
  text-align: center;
}

.cpfl-case-body,
.project-case-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.cpfl-case-item,
.project-case-item {
  font-size: 0.74rem;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0;
}

.cpfl-case-item strong,
.project-case-item strong {
  font-weight: 700;
  color: var(--text-color);
}

.cpfl-case-cta,
.project-case-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-color);
  margin-top: 8px;
  text-align: center;
}

.cpfl-cta-prompt,
.project-case-prompt {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  letter-spacing: 0.3px;
}

.cpfl-cta-btn,
.project-case-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text-color);
  background-color: var(--text-color);
  color: var(--bg-color) !important;
  padding: 9px 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.cpfl-cta-btn:hover,
.project-case-btn:hover {
  background-color: transparent;
  color: var(--text-color) !important;
}

body.dark-theme .cpfl-case-cta,
body.dark-theme .project-case-cta {
  border-top-color: #2a2a2a;
}

/* GALERIA DE IMAGENS SEQUENCIAL (UMA SEGUIDA DA OUTRA) */
.project-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.gallery-grid-item {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  background-color: #f8f8f8;
  border: 1px solid #111111;
  box-sizing: border-box;
}

.gallery-grid-item.gallery-grid-full {
  grid-column: 1 / -1;
}

.gallery-grid-duo,
.gallery-grid-squares {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 30px;
  align-items: start;
}

.gallery-grid-duo .gallery-grid-item,
.gallery-grid-squares .gallery-grid-item {
  height: fit-content;
}

.gallery-grid-item img,
.gallery-grid-item video {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-grid-item iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}

.gallery-grid-item:hover img,
.gallery-grid-item:hover video {
  transform: scale(1.02);
}

/* TÍTULOS E TAGS DE SEÇÃO DOS PROJETOS */
.project-section-heading {
  text-align: center;
  margin: 50px auto 25px;
  width: 100%;
}

.project-section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 8px 20px;
  background-color: #f7f7f7;
  border: 1px solid #111111;
  color: var(--text-color);
}

.gallery-grid-stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.gallery-single-story {
  max-width: calc(50% - 15px);
  width: 100%;
  margin: 0 auto 30px;
}

@media (max-width: 768px) {
  .gallery-single-story {
    max-width: 100%;
  }
}

.gallery-sequence-row {
  display: grid;
  gap: 15px;
  margin-bottom: 30px;
  width: 100%;
}

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

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

.gallery-sequence-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-sequence-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-sequence-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-sequence-7 .gallery-grid-item,
.gallery-sequence-8 .gallery-grid-item {
  aspect-ratio: 4 / 5;
}

.gallery-sequence-7 .gallery-grid-item img,
.gallery-sequence-8 .gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* DUPLA DE STORIES (VÍDEO MOTION + STORY ESTÁTICO LADO A LADO) */
.gallery-grid-stories-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
  width: 100%;
}

/* CORREÇÃO DE ZOOM PARA STORIES ESTÁTICOS 1, 2, 3 E 17 (ELIMINAR LINHAS BRANCAS) */
.story-scale-fix {
  overflow: hidden;
  background-color: #000000 !important;
  aspect-ratio: 9 / 16;
}

.story-scale-fix img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.045);
  transform-origin: center center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-scale-fix:hover img {
  transform: scale(1.07);
}

/* CONTAINER DE VÍDEO COM ZOOM SUAVE PARA ELIMINAR LINHAS PRETAS NAS BORDAS */
.gallery-video-frame {
  position: relative;
  overflow: hidden;
  background-color: #000000;
  border: 1px solid #111111;
  box-sizing: border-box;
  width: 100%;
}

.gallery-video-frame iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(1.08); /* Aumenta o vídeo dentro do quadro eliminando linhas pretas */
  transform-origin: center center;
  border: none;
  display: block;
}

/* ==========================================
   CARROSSEL HORIZONTAL EM LINHA ÚNICA (INSTAGRAM POSTS / SLIDES)
   ========================================== */
.gallery-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  margin-bottom: 45px;
}

.carousel-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.carousel-title-tag {
  font-family: var(--font-mono, 'Azeret Mono', monospace);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-color, #111111);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-nav-arrows {
  display: flex;
  gap: 8px;
}

.carousel-arrow-btn {
  background: transparent;
  border: 1px solid #111111;
  color: var(--text-color, #111111);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-mono, monospace);
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.carousel-arrow-btn:hover {
  background-color: #111111;
  color: #ffffff;
}

.carousel-arrow-btn:active {
  transform: scale(0.94);
}

.gallery-carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: #111111 transparent;
}

.gallery-carousel-track::-webkit-scrollbar {
  height: 5px;
}

.gallery-carousel-track::-webkit-scrollbar-thumb {
  background: #111111;
}

.gallery-carousel-track::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
}

.gallery-carousel-track .gallery-grid-item {
  flex: 0 0 280px;
  width: 280px;
  max-width: 280px;
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
  box-sizing: border-box;
  margin: 0;
}

.gallery-carousel-track .gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-sequence-row .gallery-grid-item.story-scale-fix,
.story-scale-fix {
  overflow: hidden;
  background-color: #000000 !important;
  aspect-ratio: 9 / 16 !important;
}

@media (max-width: 768px) {
  .gallery-carousel-track {
    gap: 12px;
  }
  .gallery-carousel-track .gallery-grid-item {
    flex: 0 0 220px;
    width: 220px;
    max-width: 220px;
  }
}

/* ==========================================================================
   CARROSSEL 3D / FOCO CENTRALIZADO (COVERFLOW FOCUS)
   ========================================================================== */
.focus-carousel {
  width: 100%;
  margin-top: 25px;
  margin-bottom: 60px;
  position: relative;
  --card-width: 360px;
  --card-height: 450px;
  --side-offset: 240px;
}

.focus-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 2px;
}

.focus-carousel-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.focus-carousel-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-color, #111111);
  display: flex;
  align-items: center;
  gap: 8px;
}

.focus-carousel-badge::before {
  content: '✶';
  font-size: 0.85rem;
  color: #0044ff;
}

.focus-carousel-counter {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--text-muted, #777777);
  font-weight: 500;
}

.focus-carousel-controls {
  display: flex;
  gap: 8px;
}

.focus-carousel-btn {
  background: transparent;
  border: 1px solid var(--text-color, #111111);
  color: var(--text-color, #111111);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-mono, monospace);
  font-size: 1rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.focus-carousel-btn:hover {
  background-color: var(--text-color, #111111);
  color: var(--bg-color, #ffffff);
  transform: translateY(-2px);
}

.focus-carousel-btn:active {
  transform: scale(0.94);
}

.focus-carousel-stage {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.focus-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.focus-carousel-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--card-width);
  height: var(--card-height);
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
  border: 1px solid #111111;
  background-color: #ffffff;
  border-radius: 0;
  overflow: hidden;
  will-change: transform, opacity;
  cursor: pointer;
}

.focus-carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* ESTADOS DAS CARTAS */
/* Centro (Ativo, em destaque na frente) */
.focus-carousel-card[data-pos="0"] {
  transform: translate(-50%, -50%) scale(1);
  z-index: 10;
  opacity: 1;
  filter: brightness(1);
  box-shadow: none;
  cursor: zoom-in;
}

/* Lado Esquerdo (Atrás e menor) */
.focus-carousel-card[data-pos="-1"] {
  transform: translate(calc(-50% - var(--side-offset)), -50%) scale(0.82);
  z-index: 5;
  opacity: 0.6;
  filter: brightness(0.96);
  box-shadow: none;
  cursor: pointer;
}

.focus-carousel-card[data-pos="-1"]:hover {
  opacity: 0.85;
  filter: brightness(1);
}

/* Lado Direito (Atrás e menor) */
.focus-carousel-card[data-pos="1"] {
  transform: translate(calc(-50% + var(--side-offset)), -50%) scale(0.82);
  z-index: 5;
  opacity: 0.6;
  filter: brightness(0.96);
  box-shadow: none;
  cursor: pointer;
}

.focus-carousel-card[data-pos="1"]:hover {
  opacity: 0.8;
  filter: brightness(0.88);
}

/* Entrando ou saindo suavemente à esquerda (diff -2) */
.focus-carousel-card[data-pos="-2"] {
  transform: translate(calc(-50% - calc(var(--side-offset) * 1.6)), -50%) scale(0.68);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  filter: brightness(0.5);
}

/* Entrando ou saindo suavemente à direita (diff 2) */
.focus-carousel-card[data-pos="2"] {
  transform: translate(calc(-50% + calc(var(--side-offset) * 1.6)), -50%) scale(0.68);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  filter: brightness(0.5);
}

/* Fora do campo de visão */
.focus-carousel-card[data-pos="hidden"] {
  transform: translate(-50%, -50%) scale(0.5);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

/* SETAS LATERAIS DO PALCO */
.focus-carousel-side-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #111111;
  color: #111111;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.focus-carousel-side-arrow.stage-prev {
  left: 20px;
}

.focus-carousel-side-arrow.stage-next {
  right: 20px;
}

.focus-carousel-side-arrow:hover {
  background: #111111;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.focus-carousel-side-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* INDICADORES / BARRAS INFERIORES */
.focus-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.focus-carousel-dot {
  width: 22px;
  height: 3px;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.focus-carousel-dot.active {
  background: var(--text-color, #111111);
  width: 38px;
}

/* RESPONSIVIDADE DO CARROSSEL 3D */
@media (max-width: 992px) {
  .focus-carousel {
    --card-width: 310px;
    --card-height: 388px;
    --side-offset: 200px;
  }
  .focus-carousel-stage {
    height: 440px;
  }
}

@media (max-width: 768px) {
  .focus-carousel {
    --card-width: 240px;
    --card-height: 300px;
    --side-offset: 135px;
  }
  .focus-carousel-stage {
    height: 350px;
  }
  .focus-carousel-side-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .focus-carousel-side-arrow.stage-prev {
    left: 8px;
  }
  .focus-carousel-side-arrow.stage-next {
    right: 8px;
  }
}

@media (max-width: 480px) {
  .focus-carousel {
    --card-width: 200px;
    --card-height: 250px;
    --side-offset: 100px;
  }
  .focus-carousel-stage {
    height: 300px;
  }
  .focus-carousel-card[data-pos="-1"],
  .focus-carousel-card[data-pos="1"] {
    opacity: 0.35;
    transform: translate(calc(-50% + var(--side-offset)), -50%) scale(0.78);
  }
  .focus-carousel-card[data-pos="-1"] {
    transform: translate(calc(-50% - var(--side-offset)), -50%) scale(0.78);
  }
}

/* VARIAÇÃO QUADRADA 1:1 DO CARROSSEL FOCUS (POSTS QUADRADOS DE FEED) */
.focus-carousel.focus-carousel-square {
  --card-width: 440px;
  --card-height: 440px;
  --side-offset: 280px;
}

.focus-carousel.focus-carousel-square .focus-carousel-stage {
  height: 500px;
}

@media (max-width: 992px) {
  .focus-carousel.focus-carousel-square {
    --card-width: 360px;
    --card-height: 360px;
    --side-offset: 220px;
  }
  .focus-carousel.focus-carousel-square .focus-carousel-stage {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .focus-carousel.focus-carousel-square {
    --card-width: 270px;
    --card-height: 270px;
    --side-offset: 155px;
  }
  .focus-carousel.focus-carousel-square .focus-carousel-stage {
    height: 330px;
  }
}

@media (max-width: 480px) {
  .focus-carousel.focus-carousel-square {
    --card-width: 220px;
    --card-height: 220px;
    --side-offset: 115px;
  }
  .focus-carousel.focus-carousel-square .focus-carousel-stage {
    height: 280px;
  }
}

/* TEMA ESCURO PARA O CARROSSEL FOCUS */
body.dark-theme .focus-carousel-stage {
  background-color: transparent;
  border: none;
}

body.dark-theme .focus-carousel-card {
  border-color: #333333;
  background-color: #141414;
  box-shadow: none;
}

body.dark-theme .focus-carousel-badge {
  color: #ffffff;
}

body.dark-theme .focus-carousel-counter {
  color: #888888;
}

body.dark-theme .focus-carousel-btn {
  border-color: #333333;
  color: #ffffff;
}

body.dark-theme .focus-carousel-btn:hover {
  background-color: #ffffff;
  color: #111111;
}

body.dark-theme .focus-carousel-side-arrow {
  background: rgba(24, 24, 24, 0.85);
  border-color: #333333;
  color: #ffffff;
}

body.dark-theme .focus-carousel-side-arrow:hover {
  background: #ffffff;
  color: #111111;
}

body.dark-theme .focus-carousel-dot {
  background: rgba(255, 255, 255, 0.2);
}

body.dark-theme .focus-carousel-dot.active {
  background: #ffffff;
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS - PROJETO AVERY DENNISON
   ========================================================================== */
.avery-campaign-divider {
  text-align: center;
  margin: 70px auto 35px auto;
  max-width: 860px;
  width: 100%;
}

.avery-campaign-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-color, #111111);
  margin-bottom: 14px;
}

.avery-campaign-badge::before {
  content: '✶';
  font-size: 0.85rem;
  color: #e51937;
}

.avery-campaign-title {
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--text-color, #111111);
}

.avery-campaign-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-color, #222222);
  margin: 0 auto;
  font-weight: 400;
}

.avery-campaign-desc strong {
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-color, #111111);
  display: inline-block;
  margin-top: 4px;
}

body.dark-theme .avery-campaign-desc strong {
  color: #ffffff;
}

.avery-single-vertical {
  max-width: 580px;
  width: 100%;
  margin: 20px auto 40px auto;
}

body.dark-theme .avery-campaign-badge {
  color: #ffffff;
}

body.dark-theme .avery-campaign-title {
  color: #ffffff;
}

body.dark-theme .avery-campaign-desc {
  color: #cccccc;
}

.project-bottom-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.nav-btn {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   LIGHTBOX / CARROSSEL DE IMAGENS EM MODAL COM SETAS
   ========================================================================== */

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1010;
  padding: 10px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.lightbox-nav {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.8rem;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1010;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.lightbox-nav:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.08);
}

.lightbox-content {
  position: relative;
  max-width: 85vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-counter {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 1px;
  font-weight: 400;
}

/* ==========================================================================
   PÁGINA DEDICADA DE CONTATO (BOTÃO PRETO RETO SEM CANTO ARREDONDADO)
   ========================================================================== */

.contact-page-container {
  max-width: 850px;
  margin: 60px auto 100px;
  padding: 0 30px;
}

.contact-info-top {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 60px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.info-badge {
  background-color: #f4f4f4;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 400;
  border-radius: 0 !important;
  display: inline-flex;
  align-items: center;
  color: var(--text-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 45px;
  margin-bottom: 60px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.form-label-badge {
  background-color: #f4f4f4;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 400;
  border-radius: 0 !important;
  margin-bottom: 12px;
  color: var(--text-color);
}

.form-input-line {
  width: 100%;
  border: none;
  border-bottom: 1px solid #111111;
  background: transparent;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--text-color);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input-line:focus {
  border-bottom-color: #111111;
}

textarea.form-input-line {
  resize: vertical;
  min-height: 90px;
}

/* BOTÃO ENVIAR PRETO E RETO (SEM CANTO ARREDONDADO) */
.btn-submit-pill {
  background-color: #111111 !important;
  color: #ffffff !important;
  border: 1px solid #111111 !important;
  padding: 14px 45px;
  border-radius: 0 !important; /* Reto, sem canto arredondado */
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.25s ease;
}

.btn-submit-pill:hover {
  background-color: #333333 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.contact-page-socials {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.social-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 0 !important; /* Reto */
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: all 0.25s ease;
}

.social-icon-circle:hover {
  background-color: var(--text-color);
  color: var(--bg-color);
  border-color: var(--text-color);
  transform: translateY(-3px);
}

/* ==========================================================================
   SEÇÕES SOBRE E CONTATO (Com Foto 320x470 na esquerda)
   ========================================================================== */

.about-section, .contact-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  overflow: hidden;
}

.about-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: flex-start;
}

.about-photo-container {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 470px;
  border-radius: 0 !important;
  overflow: hidden;
  background-color: #f0f0f0;
  flex-shrink: 0;
  border: 1px solid #111111;
  box-sizing: border-box;
}

.about-photo-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.3);
  transform-origin: center center;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

body.dark-theme .about-photo-waves {
  filter: invert(1);
  opacity: 0.75;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text-content h2, .contact-section h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.about-bio {
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 800px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about-details h4 {
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-weight: 700;
}

.about-details ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-details li {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ÍCONES SIMPLES DE CONTATO (WHATSAPP E E-MAIL) */
.contact-icons-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

.contact-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--border-color);
  border-radius: 0 !important;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: all 0.25s ease;
}

.contact-icon-btn:hover {
  background-color: var(--text-color);
  color: var(--bg-color);
  border-color: var(--text-color);
  transform: translateY(-3px);
}

/* ==========================================================================
   RODAPÉ COM LOGO ESTÁTICO DO FRAME 5 NO LADO ESQUERDO
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  overflow: visible;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  margin-bottom: 5px;
}

.footer-logo-r {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
  color: var(--text-color);
}

.footer-logo-r:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.footer-right-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    zoom: 1 !important;
  }

  .header {
    position: relative !important;
    top: auto !important;
    padding: 16px 12px 14px 12px !important;
    border-bottom: 1px solid var(--border-color) !important;
    overflow: hidden !important;
  }

  .header-container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    height: auto !important;
    padding: 0 !important;
    position: relative !important;
  }

  /* LOGO NO TOPO - CENTRALIZADO */
  .header-logo-link {
    width: 100% !important;
    height: 140px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    margin: 0 auto !important;
    cursor: pointer !important;
  }

  .header-logo-r {
    position: absolute !important;
    top: 22px !important;
    left: 50% !important;
    transform: translate(-49.94%, -15.05%) !important;
    width: 250px !important;
    max-width: none !important;
    pointer-events: none !important;
  }

  /* Na página de ilustrações (tema escuro), o logo animado REN é mais compacto */
  .dark-theme .header-logo-link {
    height: 55px !important;
    margin-bottom: 2px !important;
  }

  .header-ren-animated {
    width: 140px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  /* LINKS ABAIXO DO LOGO - ALINHADOS AO CENTRO */
  .nav-menu {
    position: static !important;
    left: auto !important;
    transform: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    z-index: 10 !important;
  }

  .nav-link {
    font-size: 0.74rem !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    text-align: center !important;
    padding-bottom: 2px !important;
    border-bottom: 1.5px solid var(--text-color) !important;
  }

  .social-links {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10 !important;
  }

  .header-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 auto !important;
    z-index: 10 !important;
  }

  .lang-switch {
    height: 28px !important;
    padding: 0 2px !important;
  }

  .lang-btn {
    font-size: 0.68rem !important;
    padding: 2px 4px !important;
  }

  .social-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    font-size: 0.70rem !important;
    font-weight: 500 !important;
    text-align: center !important;
    border: 1px solid var(--text-color) !important;
    opacity: 1 !important;
  }

  /* FILTRO DE CATEGORIAS COMPACTO E CENTRALIZADO */
  .filter-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 auto 30px auto !important;
    padding: 0 5px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .filter-btn {
    padding: 6px 11px !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
  }

  .clients-ticker-wrap {
    margin: 0 0 32px 0 !important;
    padding: 10px 0 !important;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent) !important;
    mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent) !important;
  }

  .ticker-logo {
    height: 18px !important;
    max-height: 18px !important;
  }

  .ticker-logo-cpfl {
    height: 22px !important;
    max-height: 22px !important;
  }

  .ticker-logo-upl {
    height: 16px !important;
    max-height: 16px !important;
  }

  .ticker-logo-avery {
    height: 18px !important;
    max-height: 18px !important;
  }

  .ticker-logo-envo {
    height: 15px !important;
    max-height: 15px !important;
  }

  .ticker-logo-vezzy {
    height: 16px !important;
    max-height: 16px !important;
  }

  .ticker-sep {
    margin: 0 20px !important;
    font-size: 0.8rem !important;
  }

  .main-content {
    padding: 24px 16px !important;
  }

  .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  /* ==========================================================================
     PROJETOS NO MOBILE: TODAS AS IMAGENS E MÍDIAS EM SEQUÊNCIA VERTICAL (1 COLUNA)
     ========================================================================== */
  .project-gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
    margin-bottom: 40px;
  }

  .gallery-grid-duo,
  .gallery-grid-squares,
  .gallery-grid-stories,
  .gallery-grid-stories-duo {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px;
    margin-bottom: 0 !important;
  }

  .gallery-sequence-row,
  .gallery-sequence-3,
  .gallery-sequence-4,
  .gallery-sequence-5,
  .gallery-sequence-7,
  .gallery-sequence-8 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .gallery-sequence-row .gallery-grid-item {
    scroll-snap-align: none !important;
    width: 100% !important;
  }

  .gallery-single-story {
    max-width: 100% !important;
    margin: 0 !important;
  }

  .gallery-grid-item.gallery-grid-full {
    margin-bottom: 0 !important;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .info-row {
    flex-direction: column;
    gap: 10px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-photo-container {
    width: 100%;
    max-width: 320px;
    height: 420px;
    margin: 0 auto;
  }
  
  .about-details {
    grid-template-columns: 1fr;
  }

  .contact-icons-row {
    gap: 15px;
  }

  .project-detail-title {
    font-size: 1.7rem;
  }

  .project-bottom-nav {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .footer-right-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ==========================================================================
   TÍTULOS E SUBTÍTULOS DE PÁGINAS DE PROJETO
   ========================================================================== */

.project-detail-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-color);
  margin-bottom: 8px;
}

.project-detail-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   TEMA ESCURO INVERTIDO (ILUSTRAÇÕES AUTORAIS - REN-SAN)
   Interface preta, fontes brancas, logo invertido e detalhes monocromáticos
   ========================================================================== */

body.dark-theme {
  --bg-color: #0c0c0c;
  --text-color: #ffffff;
  --text-muted: #888888;
  --accent-color: #ffffff;
  --border-color: #222222;
  background-color: var(--bg-color);
  color: var(--text-color);
}

body.dark-theme .header {
  background-color: rgba(12, 12, 12, 0.95);
  border-bottom: 1px solid #1c1c1c;
}

body.dark-theme .header-ren-animated {
  filter: invert(1);
}

body.dark-theme .nav-link {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

body.dark-theme .nav-link:hover {
  opacity: 0.6;
}

body.dark-theme .social-links a {
  color: #ffffff;
  border-color: #ffffff;
  background-color: transparent;
}

body.dark-theme .social-links a:hover {
  background-color: #ffffff;
  color: #0c0c0c;
  border-color: #ffffff;
  opacity: 1;
}

body.dark-theme .filter-bar {
  border-color: #222222;
}

body.dark-theme .filter-btn {
  border-color: #2a2a2a;
  color: #ffffff;
}

body.dark-theme .filter-btn.active {
  background-color: #ffffff;
  color: #0c0c0c;
  border-color: #ffffff;
}

body.dark-theme .clients-ticker-wrap {
  border-color: #222222;
}

body.dark-theme .ticker-logo {
  filter: brightness(0) invert(1);
}

body.dark-theme .ticker-sep {
  color: #666666;
}

body.dark-theme .project-card {
  background-color: #141414;
  border-color: #222222;
}

body.dark-theme .project-card:hover {
  border-color: #ffffff;
}

body.dark-theme .project-card-overlay {
  color: #ffffff;
}

body.dark-theme .project-title {
  color: #ffffff !important;
}

body.dark-theme .back-link {
  color: #888888;
}

body.dark-theme .back-link:hover {
  color: #ffffff;
}

body.dark-theme .project-detail-title {
  color: #ffffff;
}

body.dark-theme .project-detail-subtitle {
  color: #999999;
}

body.dark-theme .project-summary-text {
  color: #d6d6d6;
}

body.dark-theme .gallery-grid-item {
  background-color: #141414;
  border-color: #222222;
}

body.dark-theme .nav-btn {
  border-color: #333333;
  color: #ffffff;
}

body.dark-theme .nav-btn:hover {
  background-color: #ffffff;
  color: #0c0c0c;
}

body.dark-theme .carousel-title-tag {
  color: #ffffff;
}

body.dark-theme .carousel-arrow-btn {
  border-color: #333333;
  color: #ffffff;
}

body.dark-theme .carousel-arrow-btn:hover {
  background-color: #ffffff;
  color: #0c0c0c;
}

body.dark-theme .gallery-carousel-track::-webkit-scrollbar-thumb {
  background: #555555;
}

body.dark-theme .gallery-carousel-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

body.dark-theme .about-section {
  border-top: 1px solid #1c1c1c;
}

body.dark-theme .about-bio {
  color: #cccccc;
}

body.dark-theme .about-signature {
  color: #ffffff !important;
}

body.dark-theme .about-photo-container {
  background-color: #000000;
  border: 1px solid #222222;
}

.about-avatar-container,
body.dark-theme .about-avatar-container {
  background-color: #ffffff;
  border: 1px solid #222222;
}

.about-avatar-svg {
  object-fit: cover !important;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 3;
  transform: scale(1.02);
  transform-origin: center center;
}

body.dark-theme .about-details h4 {
  color: #ffffff;
}

body.dark-theme .about-details li,
body.dark-theme .about-details p {
  color: #999999;
}

body.dark-theme .about-details a {
  color: #ffffff;
}

body.dark-theme .contact-section {
  border-top: 1px solid #1c1c1c;
}

body.dark-theme .contact-subtitle,
body.dark-theme .contact-container p {
  color: #888888;
}

body.dark-theme .contact-icon-btn {
  border-color: #333333;
  color: #ffffff;
  background-color: #0c0c0c;
}

body.dark-theme .contact-icon-btn:hover {
  background-color: #ffffff;
  color: #0c0c0c;
  border-color: #ffffff;
}

body.dark-theme input,
body.dark-theme textarea {
  background-color: #161616;
  border-color: #2c2c2c;
  color: #ffffff;
}

body.dark-theme input:focus,
body.dark-theme textarea:focus {
  border-color: #ffffff;
}

body.dark-theme .submit-btn {
  background-color: #ffffff;
  color: #0c0c0c;
}

body.dark-theme .submit-btn:hover {
  background-color: #e0e0e0;
}

body.dark-theme .footer {
  border-top: 1px solid #1c1c1c;
}

body.dark-theme .footer-logo {
  color: #ffffff;
}

body.dark-theme .footer-role,
body.dark-theme .copyright {
  color: #777777;
}

body.dark-theme .footer-social-row a {
  color: #aaaaaa;
}

body.dark-theme .footer-social-row a:hover {
  color: #ffffff;
}

/* ==========================================================================
   EASTER EGG - PÁGINA DOBRADA / PROJETO SECRETO TCC
   ========================================================================== */

/* ==========================================================================
   EASTER EGG - PÁGINA DOBRADA / PROJETO SECRETO TCC (O REI DE AMARELO)
/* ==========================================================================
   EASTER EGG: PÁGINA DOBRADA / PROJETO SECRETO TCC (O REI DE AMARELO)
   ========================================================================== */

.easter-egg-peel {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 185px;
  z-index: 50;
  line-height: 0;
  pointer-events: auto;
}

.peel-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
}

.peel-link:active {
  cursor: pointer;
}

.page-peel-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: bottom right;
}

.peel-link:hover .page-peel-svg {
  transform: translate(-3px, -2px);
}

.peel-flap {
  transform-origin: 38px 185px;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.peel-link:hover .peel-flap {
  transform: scale(0.97) rotate(-1deg);
}

/* MOBILE */
@media (max-width: 768px) {
  .easter-egg-peel {
    width: 60px !important;
    height: 140px !important;
  }
}

/* ==========================================================================
   TRANSIÇÃO NATIVA: DOBRA & DESCOLAMENTO DE PÁGINA (PAGE PEEL & CURL)
   ========================================================================== */

#peelCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999999;
  display: none;
}

#peelCanvas.animating {
  display: block;
}

.tcc-project-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #ffce00;
  color: #111111;
  z-index: 999990;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  display: none;
  pointer-events: auto;
}

@media (min-width: 769px) {
  #peelCanvas {
    zoom: 1.25;
  }
}

.tcc-project-overlay.active {
  display: block;
}

.tcc-turn-container {
  min-height: 100%;
  background-color: #ffce00;
  color: #111111;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   ÁREA DO PROJETO TCC: O REI DE AMARELO (100% Amarelo #ffce00 Total: Header, Main, Footer)
   ========================================================================== */

body.tcc-page {
  background-color: #ffce00 !important;
  color: #111111 !important;
}

body.tcc-page .header,
.tcc-turn-container .header {
  position: relative;
  background-color: #ffce00 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
}

body.tcc-page .header .nav-link,
.tcc-turn-container .header .nav-link {
  color: #111111 !important;
}

body.tcc-page .header .nav-link:hover,
.tcc-turn-container .header .nav-link:hover {
  opacity: 0.65;
}

body.tcc-page .header .social-links a,
.tcc-turn-container .header .social-links a {
  border-color: #111111 !important;
  color: #111111 !important;
}

body.tcc-page .header .social-links a:hover,
.tcc-turn-container .header .social-links a:hover {
  background-color: #111111 !important;
  color: #ffce00 !important;
}

.tcc-project-area {
  background-color: #ffce00;
  color: #111111;
  width: 100%;
  padding: 40px 0 80px;
  border-top: none;
  border-bottom: none;
}

body.tcc-page .footer,
.tcc-turn-container .footer {
  margin-top: auto;
  background-color: #ffce00 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #111111 !important;
}

body.tcc-page .footer .footer-logo,
.tcc-turn-container .footer .footer-logo {
  color: #111111 !important;
}

body.tcc-page .footer .footer-role,
.tcc-turn-container .footer .footer-role,
body.tcc-page .footer .copyright,
.tcc-turn-container .footer .copyright {
  color: rgba(0, 0, 0, 0.7) !important;
}

body.tcc-page .footer .footer-social-row a,
.tcc-turn-container .footer .footer-social-row a {
  color: #111111 !important;
}

body.tcc-page .footer .footer-social-row a:hover,
.tcc-turn-container .footer .footer-social-row a:hover {
  opacity: 0.65;
}

.tcc-project-area ::selection {
  background-color: #111111;
  color: #ffce00;
}

.tcc-project-area .back-link {
  color: #111111 !important;
  font-weight: 600;
}

.tcc-project-area .back-link:hover {
  text-decoration: underline;
}

.tcc-project-area .project-detail-title {
  color: #111111 !important;
}

.tcc-project-area .project-detail-subtitle {
  color: #333333 !important;
}

.tcc-project-area .project-summary-text {
  color: #1a1a1a !important;
  max-width: 640px;
  margin: 0 auto;
}

.tcc-project-area .tcc-secret-badge {
  border: 1px solid #111111;
  background: rgba(0, 0, 0, 0.07);
  color: #111111;
}

.tcc-project-area .tcc-secret-badge svg {
  stroke: #111111;
}

.tcc-project-area .tcc-meta-grid {
  border: 1px solid #111111;
  background-color: rgba(0, 0, 0, 0.05);
}

.tcc-project-area .tcc-meta-item h4 {
  color: #444444;
}

.tcc-project-area .tcc-meta-item p {
  color: #111111;
  font-weight: 700;
}

.tcc-project-area .tcc-quote-block {
  border-left: 3px solid #111111;
  background: rgba(0, 0, 0, 0.06);
}

.tcc-project-area .tcc-quote-text {
  color: #111111;
}

.tcc-project-area .tcc-quote-author {
  color: #333333;
}

/* FOTOS DO PROJETO: UMA EMBAIXO DA OUTRA (COLUNA ÚNICA) */
.tcc-project-area .project-gallery-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 36px !important;
  width: 100% !important;
  max-width: 900px !important;
  margin: 40px auto 50px !important;
}

.tcc-project-area .project-gallery-grid .gallery-grid-item {
  width: 100% !important;
  border: 1px solid #111111 !important;
  background-color: transparent !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tcc-project-area .project-gallery-grid .gallery-grid-item img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.tcc-project-area .project-bottom-nav {
  border-top: 1px solid #111111;
}

.tcc-project-area .project-bottom-nav .nav-btn {
  border: 1px solid #111111;
  color: #111111;
  padding: 8px 16px;
  transition: all 0.25s ease;
}

.tcc-project-area .project-bottom-nav .nav-btn:hover {
  background-color: #111111;
  color: #ffce00;
}

/* ==========================================================================
   TURN.JS FLIPBOOK (O REI DE AMARELO - TCC)
   ========================================================================== */

.tcc-flipbook-section {
  margin: 45px auto 65px;
  max-width: 1040px;
  text-align: center;
  position: relative;
}

.tcc-flipbook-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 25px auto 18px;
  user-select: none;
}

.flipbook {
  width: 960px;
  height: 600px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  border-radius: 4px;
}

.flipbook .hard {
  background-color: #111111 !important;
  color: #ffce00 !important;
  border: 1px solid #222222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.flipbook .hard h2,
.flipbook .hard h3 {
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #ffce00;
}

.flipbook .tcc-cover-inside {
  background-color: #161616 !important;
  color: #cccccc !important;
  padding: 50px 40px;
}

.tcc-cover-inside-text {
  max-width: 320px;
  line-height: 1.8;
  font-size: 0.85rem;
  color: #888888;
}

.tcc-cover-inside-text em {
  color: #ffce00;
  font-style: italic;
}

.flipbook .page {
  background-color: #0c0c0c;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.flipbook .page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.flipbook .page-caption {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  color: #ffce00;
  padding: 5px 14px;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid rgba(238, 200, 84, 0.25);
  border-radius: 2px;
}

.tcc-flipbook-controls {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.tcc-book-ctrl-btn {
  background: #111111;
  color: #ffce00;
  border: 1px solid #111111;
  padding: 9px 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.2s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.tcc-book-ctrl-btn:hover {
  background: #000000;
  color: #ffffff;
  transform: scale(1.04);
}

.tcc-book-ctrl-btn:active {
  transform: scale(0.96);
}

.tcc-flip-status {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #111111;
  min-width: 130px;
  text-align: center;
}

.tcc-book-hint {
  margin-top: 10px;
  font-size: 0.75rem;
  color: #2b2b2b;
  letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
  .flipbook {
    width: 720px;
    height: 450px;
  }
}

@media (max-width: 768px) {
  .flipbook {
    width: 340px;
    height: 480px;
  }
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS: PÁGINA SECRETA DO TCC
   ========================================================================== */

.tcc-secret-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid #2a2a2a;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #cccccc;
  margin-bottom: 25px;
}

.tcc-secret-badge svg {
  display: inline-block;
  width: 14px;
  height: 14px;
  animation: spinSpiral 14s linear infinite;
}

@keyframes spinSpiral {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.tcc-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 820px;
  margin: 35px auto 45px;
  padding: 20px;
  border: 1px solid #1f1f1f;
  background-color: #111111;
  text-align: left;
}

.tcc-meta-item h4 {
  font-size: 0.65rem;
  font-weight: 600;
  color: #777777;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.tcc-meta-item p {
  font-size: 0.78rem;
  font-weight: 500;
  color: #ffffff;
}

.tcc-placeholder-card {
  border: 1px dashed #333333;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 30px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  min-height: 280px;
}

.tcc-placeholder-card:hover {
  border-color: #666666;
  background: rgba(255, 255, 255, 0.04);
}

.tcc-placeholder-icon {
  font-size: 2rem;
  color: #666666;
  margin-bottom: 14px;
}

.tcc-placeholder-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
}

.tcc-placeholder-desc {
  font-size: 0.75rem;
  color: #888888;
  max-width: 480px;
  line-height: 1.6;
}

.tcc-quote-block {
  border-left: 2px solid #ffffff;
  padding: 25px 30px;
  margin: 40px auto;
  max-width: 780px;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
}

.tcc-quote-text {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 10px;
}

.tcc-quote-author {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #777777;
}

@media (max-width: 768px) {
  .tcc-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* ==========================================================================
   COMPARAÇÃO ANTES & DEPOIS (CPFL SOLUÇÕES) - ULTRA CLEAN & BRUTALIST
   ========================================================================== */
.cpfl-before-after-section {
  width: 100%;
  margin: 10px 0 60px 0;
  padding: 0;
  background-color: transparent;
  border: none;
  box-sizing: border-box;
}

/* BARRA SUPERIOR: SOMENTE A SETA E O ANTES DEPOIS EM CIMA */
.cpfl-ba-top-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto 16px auto;
  box-sizing: border-box;
}

.cpfl-ba-top-col.antes {
  display: flex;
  justify-content: center;
}

.cpfl-ba-top-col.depois {
  display: flex;
  justify-content: center;
}

.cpfl-ba-badge {
  font-family: var(--font-main);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border: 1.5px solid var(--text-color);
  text-transform: uppercase;
  display: inline-block;
}

.badge-antes {
  background-color: transparent;
  color: var(--text-color);
}

.badge-depois {
  background-color: var(--text-color);
  color: var(--bg-color);
}

body.dark-theme .badge-depois {
  background-color: #ffffff;
  color: #111111;
}

.cpfl-ba-top-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
}

.cpfl-ba-arrow-svg {
  width: 32px;
  height: 32px;
  display: block;
  stroke: var(--text-color);
  transition: transform 0.25s ease;
}

.cpfl-ba-top-bar:hover .cpfl-ba-arrow-svg {
  transform: translateX(4px);
}

/* GRID DOS DOIS CARROSSEIS QUADRADOS */
.cpfl-ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}

.cpfl-ba-card {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.cpfl-ba-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #ffffff;
  border: 1px solid var(--text-color);
  overflow: hidden;
  box-sizing: border-box;
}

.cpfl-ba-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.cpfl-ba-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: scale(0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

.cpfl-ba-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

/* CROP DAS IMAGENS EM QUADRADO (1:1) */
.cpfl-ba-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* SETAS DE NAVEGAÇÃO INTERNAS */
.cpfl-ba-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background-color: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 1.15rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.cpfl-ba-arrow:hover {
  background-color: #000000;
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.cpfl-ba-arrow.comp-prev {
  left: 10px;
}

.cpfl-ba-arrow.comp-next {
  right: 10px;
}

/* DOTS DE PAGINAÇÃO */
.cpfl-ba-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.cpfl-ba-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: transparent;
  border: 1.5px solid var(--text-color);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s, transform 0.2s;
}

.cpfl-ba-dot.active {
  background-color: var(--text-color);
  transform: scale(1.2);
}

/* RESPONSIVIDADE (MOBILE & TABLET) */
@media (max-width: 860px) {
  .cpfl-ba-top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
  }

  .cpfl-ba-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .cpfl-before-after-section {
    margin: 10px 0 45px 0;
  }
}


