/* v1.6 - Minimalist Light Theme Update */
/* Updated 2026-05-27 */
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&display=swap');

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

html {
  scroll-behavior: smooth;
  zoom: 0.9;
}

body {
  background: #fafafa;
  color: #111111;
  font-family: 'Courier Prime', monospace;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 9999;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  filter: invert(1);
}

/* NAV */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 40px;

  background: rgba(17, 17, 17, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease;
}

nav.nav-home {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

nav.nav-home.scrolled {
  background: rgba(17, 17, 17, 0.90);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-button {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
  transition: color 0.4s ease;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 35px;
  width: auto;
  transform: scale(3.2);
  transform-origin: left center;
  transition: filter 0.4s ease;
  filter: brightness(0) invert(1); /* Branco por padrão para menus escuros */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  transition: color 0.4s ease;
}

nav a:hover,
nav.nav-home .nav-links a:hover,
nav.nav-home.scrolled .nav-links a:hover,
.nav-links a:hover {
  color: #b51616;
}

.dropdown {
  position: relative;
  display: inline-block;
}



.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
  min-width: 160px;
  z-index: 1001;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown-content::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

.dropdown-content a {
  color: #ffffff !important;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
  background: rgba(181, 22, 22, 0.8) !important;
  color: #ffffff !important;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Ajustes de cores para o menu transparente da Home (texto escuro sobre fundo claro do vídeo) */
nav.nav-home .home-button,
nav.nav-home .nav-links a {
  color: #111111;
}

nav.nav-home .logo-img {
  filter: none; /* Logo com sua cor original escura no topo da home */
}

/* Retorna o texto e a logo para branco quando a barra ganha o fundo escuro */
nav.nav-home.scrolled .home-button,
nav.nav-home.scrolled .nav-links a {
  color: #ffffff;
}

nav.nav-home.scrolled .logo-img {
  filter: brightness(0) invert(1); /* Fica branco quando desce */
}

/* GERAL */

.page-content {
  padding-top: 80px;
}

.section {
  padding: 40px 50px 100px;
  border-top: none;
  scroll-margin-top: 0;
}

#sobre {
  padding-top: 60px;
  align-items: start;
  scroll-margin-top: 80px;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 25px;
}

.section-top h2,
.section h2,
h1,
.portal-content h3 {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.section-top h2 {
  font-size: clamp(70px, 12vw, 180px);
  line-height: 0.85;
  letter-spacing: -8px;
  color: #111111;
}

.section-top p {
  max-width: 420px;
  font-size: 18px;
  line-height: 1.4;
  color: #555555;
}

/* HOME */

.hero {
  position: relative;
  min-height: 111.15vh; /* adjust for zoom: 0.9 to fill physical screen */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 50px 80px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent; /* video em tela cheia sem overlay de cor */
  z-index: 2;
  pointer-events: none;
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #111111;
  z-index: 10;
  transition: opacity 0.3s ease;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

.scroll-down:hover {
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.tag {
  color: #b51616;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  margin-bottom: 30px;
}

h1 {
  font-size: clamp(90px, 16vw, 230px);
  line-height: 0.84;
  letter-spacing: -10px;
  margin-bottom: 40px;
  color: #111111;
}

.intro {
  max-width: 700px;
  font-size: 19px;
  line-height: 1.4;
  color: #444444;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.section h2 {
  font-size: clamp(60px, 9vw, 130px);
  line-height: 0.9;
  letter-spacing: -6px;
  color: #111111;
}

.about-text p {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #333333;
}

.about-text .tag {
  font-size: 12px;
  color: #b51616;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

/* TRAIL HOME */

.trail-section {
  border-top: 1px solid #e0e0e0;
  padding: 100px 50px;
  background: #fafafa;
}

.trail-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8vw;
  flex-wrap: wrap;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* Connecting line representing the trail */
.trail-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  border-top: 2px dashed #ccc;
  z-index: 0;
}

.trail-cabin {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #111111;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
  background: #fafafa;
  padding: 0 15px; /* So the background hides the dashed line behind the cabin */
}

/* Staggering to make it look like a winding path */
.trail-cabin:nth-child(even) {
  transform: translateY(40px);
}
.trail-cabin:nth-child(odd) {
  transform: translateY(-40px);
}

.cabin-icon {
  margin-bottom: 20px;
  transition: transform 0.4s ease, color 0.4s ease;
}

.trail-cabin:hover {
  color: #b51616;
}

.trail-cabin:hover:nth-child(even) {
  transform: translateY(30px);
}

.trail-cabin:hover:nth-child(odd) {
  transform: translateY(-50px);
}

.cabin-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: bold;
}

@media (max-width: 800px) {
  .trail-container {
    flex-direction: column;
    gap: 80px;
  }
  .trail-container::before {
    top: 5%;
    bottom: 5%;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    border-top: none;
    border-left: 2px dashed #ccc;
  }
  .trail-cabin:nth-child(even),
  .trail-cabin:nth-child(odd) {
    transform: none;
    padding: 15px 0;
  }
  .trail-cabin:hover:nth-child(even),
  .trail-cabin:hover:nth-child(odd) {
    transform: translateY(-10px);
  }
}

/* PROJETOS */

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 30px;
}

.project-card {
  position: relative;
  height: 360px;
  overflow: hidden;

  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #eaeaea;

  text-decoration: none;
  color: #ffffff;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: 0.4s ease;
}

.costelas-image {
  object-position: center top;
}

.project-card:hover .project-image {
  transform: scale(1.03);
  opacity: 1;
}

#card-commune .project-image {
  filter: brightness(0.45) sepia(0.3) contrast(1.4) saturate(0.6);
}

#card-commune::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.7;
  mix-blend-mode: overlay;
  z-index: 3;
}

.project-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 40px;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
}

.project-number {
  color: #ff2a2a;
  font-size: 14px;
  letter-spacing: 4px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.project-card h3 {
  font-size: 42px;
  line-height: 0.95;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.project-card p {
  font-size: 18px;
  max-width: 500px;
  line-height: 1.4;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* TRABALHOS */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.portfolio-item {
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: 0.3s ease;
}

.portfolio-item:hover {
  background: #fbfbfb;
  border-color: #b51616;
}

.portfolio-item.small {
  grid-column: span 4;
}

.portfolio-item.large {
  grid-column: span 6;
}

.portfolio-item.full {
  grid-column: span 12;
}

.placeholder {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #888888;
  letter-spacing: 3px;
}

.portfolio-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #ffffff;
  position: relative;
  z-index: 2;
  border-top: 1px solid #e0e0e0;
}

.portfolio-info h3 {
  font-size: 20px;
  line-height: 1.2;
  color: #111111;
  text-transform: uppercase;
}

.portfolio-info p,
.portfolio-info span {
  color: #555555;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 36px 0;
  align-items: center;
}

.filter-button {
  border: 1px solid #b51616 !important;
  background: transparent !important;
  color: #111111 !important;
  padding: 8px 12px !important;
  font-family: 'Courier Prime', monospace !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: 0.2s ease !important;
}

.filter-button:hover,
.filter-button.active {
  border-color: #b51616 !important;
  background: #b51616 !important;
  color: #ffffff !important;
}

.videografia-grid {
  row-gap: 30px;
}

.video-item {
  background: #ffffff;
}

.video-item .placeholder {
  height: 360px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.video-info {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.video-info h3 {
  font-size: 20px;
  line-height: 1.2;
  color: #111111;
}

.video-category {
  color: #555555;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.is-hidden {
  display: none !important;
}

.archive-header p {
  color: #b51616;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.archive-grid {
  margin-top: 50px;
  column-count: 3;
  column-gap: 20px;
  width: 100%;
}

.archive-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
}

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

.archive-card:hover img,
.archive-card:hover video {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .archive-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .archive-grid {
    column-count: 1;
  }
}

.archive-card span {
  color: #888888;
  letter-spacing: 3px;
}

/* CONTATO */

.contact-section {
  min-height: 100vh;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 60px;
}

.contact-links a {
  text-decoration: none;
  color: #111111;
  font-size: clamp(42px, 7vw, 110px);
  line-height: 0.9;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -4px;
  text-transform: uppercase;
}

.contact-links a:hover {
  color: #b51616;
}

/* PÁGINA DETALHES DE TRABALHOS */

.fcc-header {
  padding: 65px 0 0 0;
  width: 100%;
}

.fcc-header img,
.fcc-header-image img {
  width: 100%;
  height: 36vh;
  min-height: 250px;
  max-height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.fcc-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.fcc-text,
.fcc-intro-text {
  width: 100%;
  max-width: 1080px;
  padding: 40px;
  margin: 0 auto;
  text-align: left;
}

.fcc-title {
  text-align: center;
  font-size: 32px;
  margin-top: 50px;
  margin-bottom: 50px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.fcc-text p,
.fcc-intro-text p {
  font-size: 18px;
  line-height: 1.9;
  color: #222222;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.fcc-text p:last-child,
.fcc-intro-text p:last-child {
  margin-bottom: 0;
}

.fcc-image-block {
  padding: 0 40px 10px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.fcc-image-block img {
  width: 100%;
  display: block;
  border: 1px solid #e0e0e0;
}

.portfolio-item img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.02);
  opacity: 0.95;
}

.video-item img {
  height: 360px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.video-item video {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: 0.3s ease;
}

.video-item:hover video {
  transform: scale(1.02);
  opacity: 0.95;
}

#videografia-4 video {
  transform: scale(1.1);
}

#videografia-4:hover video {
  transform: scale(1.12);
}

/* MOBILE */

@media (max-width: 900px) {

  nav {
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: #fafafa;
  }



  .nav-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero {
    padding: 140px 24px 70px;
  }

  h1 {
    letter-spacing: -4px;
  }

  .section {
    padding: 90px 24px;
  }

  .section-top {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .portal-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 24px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    height: 380px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item.small,
  .portfolio-item.large,
  .portfolio-item.full {
    grid-column: span 1;
  }

  .archive-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fcc-header,
  .fcc-header-image {
    padding: 111px 0 0 0;
  }

  .fcc-header-image img {
    height: 60vh;
  }

  .fcc-intro {
    padding: 70px 0 100px;
  }

  .fcc-intro-text {
    padding: 0 24px;
  }

  .fcc-intro-text p {
    font-size: 18px;
    line-height: 1.7;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-content {
    display: none;
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 5px 0 5px 15px;
    min-width: unset;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    color: #111111 !important;
    text-align: left;
    padding: 6px 0;
    font-size: 11px;
  }

  .dropdown-content a:hover {
    background: transparent !important;
    color: #b51616 !important;
  }

  nav.nav-transparent:not(.scrolled) .dropdown-content a {
    color: #ffffff !important;
  }
}

/* ==========================================
   ESTILOS DO CURSOR PERSONALIZADO (DESKTOP)
   ========================================== */
@media (min-width: 901px) {
  /* Ocultar cursor padrão em toda a página e elementos clicáveis */
  html, body, a, button, .project-card, .portal-item, .filter-button, .lang-btn, input[type="submit"] {
    cursor: none !important;
  }

  .custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #b51616; /* Vermelho do tema */
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Ignorar eventos do mouse para não travar cliques */
    z-index: 999999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
  }

  .custom-cursor-ring {
    width: 30px;
    height: 30px;
    border: 1px solid #b51616;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 999998;
    /* Transição suave de tamanho e cor */
    transition: width 0.25s cubic-bezier(0.25, 1, 0.5, 1), 
                height 0.25s cubic-bezier(0.25, 1, 0.5, 1), 
                background-color 0.25s, 
                border-color 0.25s;
  }

  /* Estado de hover sobre links e botões */
  body.cursor-hover .custom-cursor-dot {
    width: 4px;
    height: 4px;
    background-color: #ffffff; /* Fica branco no centro */
  }

  body.cursor-hover .custom-cursor-ring {
    width: 46px;
    height: 46px;
    background-color: rgba(181, 22, 22, 0.15); /* Preenchimento translúcido vermelho */
    border-color: #b51616;
  }
}
/* FOOTER */
.site-footer {
  text-align: center;
  padding: 50px 20px 30px;
  margin-top: 60px;
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #777777;
  border-top: 1px solid #e0e0e0;
}
.site-footer span {
  color: #b51616;
}

/* PÁGINA "FUI COMPRAR COSTELAS" (FUNDO VERMELHO #7B0F0F EXATO DA IMAGEM) */
body.body-costelas {
  background: #7b0f0f;
  color: #ffffff;
}

body.body-costelas .fcc-text p {
  color: #ffffff;
}

body.body-costelas .fcc-image-block img {
  border: none;
}

body.body-costelas .site-footer {
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

body.body-costelas .site-footer span {
  color: #ffffff;
}

/* Links na página Fui Comprar Costelas */
body.body-costelas a {
  color: #ffffff;
  transition: opacity 0.3s ease;
}

body.body-costelas a:hover {
  opacity: 0.8;
}

/* SCROLL REVEAL (Efeito de revelação premium ao rolar) */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

/* Language Dropdown Selector */
.lang-dropdown {
  margin-left: 10px;
}

.lang-dropdown-content {
  min-width: 80px !important;
}

.lang-btn {
  color: #ffffff !important;
  cursor: none !important;
}

.lang-btn.active {
  color: #b51616 !important;
  font-weight: bold;
}

/* Insight Theme Specific Styles */
body.insight-theme {
  background-color: #cb4f09 !important;
  color: #ffffff !important;
}

body.insight-theme .fcc-text p {
  color: #ffffff !important;
}

body.insight-theme .site-footer {
  color: rgba(255, 255, 255, 0.7) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.insight-theme .site-footer span {
  color: #ffffff !important;
}

body.insight-theme .custom-cursor-dot {
  background-color: #ffffff !important;
}

body.insight-theme .custom-cursor-ring {
  border-color: #ffffff !important;
}

body.insight-theme.cursor-hover .custom-cursor-ring {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
}

/* Portfolio Theme Specific Styles */
body.portfolio-theme {
  background-color: #b51616 !important;
  color: #ffffff !important;
}

body.portfolio-theme .fcc-text p {
  color: #ffffff !important;
}

body.portfolio-theme .site-footer {
  color: rgba(255, 255, 255, 0.7) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.portfolio-theme .site-footer span {
  color: #ffffff !important;
}

body.portfolio-theme .custom-cursor-dot {
  background-color: #ffffff !important;
}

body.portfolio-theme .custom-cursor-ring {
  border-color: #ffffff !important;
}

body.portfolio-theme.cursor-hover .custom-cursor-ring {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
}

/* Arquivo Theme (Light Gray with heavy noise) */
body.archive-page {
  background-color: #dedede !important;
  color: #111111 !important;
}

body.archive-page .grain {
  opacity: 0.28 !important; /* Bastante ruído premium */
}

body.archive-page .site-footer {
  color: #555555 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

body.archive-page .site-footer span {
  color: #111111 !important;
}

/* Akrep Theme (Acid Green with dark green/black text) */
body.akrep-theme {
  background-color: #70cc00 !important;
  color: #123000 !important;
}

body.akrep-theme .fcc-text p {
  color: #123000 !important;
}

body.akrep-theme .site-footer {
  color: rgba(18, 48, 0, 0.7) !important;
  border-top: 1px solid rgba(18, 48, 0, 0.15) !important;
}

body.akrep-theme .site-footer span {
  color: #123000 !important;
}

body.akrep-theme .custom-cursor-dot {
  background-color: #123000 !important;
}

body.akrep-theme .custom-cursor-ring {
  border-color: #123000 !important;
}

body.akrep-theme.cursor-hover .custom-cursor-ring {
  background-color: rgba(18, 48, 0, 0.2) !important;
  border-color: #123000 !important;
}

/* Dentes Theme (Dark Red with White text) */
body.dentes-theme {
  background-color: #7a0505 !important;
  color: #ffffff !important;
}

body.dentes-theme .fcc-text p {
  color: #ffffff !important;
}

body.dentes-theme .site-footer {
  color: rgba(255, 255, 255, 0.7) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.dentes-theme .site-footer span {
  color: #ffffff !important;
}

body.dentes-theme .custom-cursor-dot {
  background-color: #ffffff !important;
}

body.dentes-theme .custom-cursor-ring {
  border-color: #ffffff !important;
}

body.dentes-theme.cursor-hover .custom-cursor-ring {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
}

/* Upco Theme */
body.upco-theme {
  background-color: #1d1c21 !important;
  color: #ffffff !important;
}

body.upco-theme .fcc-text p {
  color: #ffffff !important;
}

body.upco-theme .site-footer {
  color: rgba(255, 255, 255, 0.7) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.upco-theme .site-footer span {
  color: #ffffff !important;
}

body.upco-theme .custom-cursor-dot {
  background-color: #ffffff !important;
}

body.upco-theme .custom-cursor-ring {
  border-color: #ffffff !important;
}

body.upco-theme.cursor-hover .custom-cursor-ring {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
}

/* ==========================================
   ESTILOS DA PÁGINA DE CURRÍCULO (3 COLUNAS)
   ========================================== */
.cv-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto 100px auto;
  color: #333;
}

@media (max-width: 900px) {
  .cv-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .cv-column-center {
    order: -1; /* Mover a foto pro topo no mobile */
  }
}

/* Tipografia e espaçamentos gerais do CV */
.cv-container p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555;
  font-weight: 300;
}

.cv-container strong {
  font-weight: 600;
  font-size: 13px;
  color: #111;
}

.cv-container span {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  font-weight: 300;
}

/* Colunas Específicas */
.cv-bio {
  margin-bottom: 40px;
}

.cv-experiences {
  margin-bottom: 40px;
}

.cv-exp-item {
  margin-bottom: 15px;
}

.cv-clients {
  margin-top: 30px;
}

.cv-clients span {
  display: block;
  margin-top: 4px;
}

/* Foto Central */
.cv-portrait-placeholder {
  width: 100%;
  aspect-ratio: 3/4; /* Proporção de retrato */
  background-color: #e0e0e0; /* Fundo cinza caso não tenha foto */
  overflow: hidden;
  position: relative;
}

.cv-portrait-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Coluna Direita (Educação / Prêmios) */
.cv-awards-group {
  margin-bottom: 30px;
}

.cv-awards-group strong {
  display: block;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.cv-award-item {
  margin-bottom: 6px;
}

/* ==========================================
   RESPONSIVIDADE (MOBILE)
   ========================================== */
@media (max-width: 768px) {
  html {
    zoom: 1 !important;
  }
  .hero {
    min-height: 100vh !important;
  }

  /* Tipografia Geral */
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  p { font-size: 15px; }

  /* Menu Hambúrguer e Header */
  .hamburger {
    display: block !important;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    background-color: #fcfcfc;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 20px 0;
    z-index: 1000;
  }
  .nav-links.active {
    display: flex !important;
  }
  .nav-links a, .nav-links .dropdown-trigger {
    margin: 12px 0;
    font-size: 15px;
    padding: 5px 10px;
  }
  
  /* Forçar cores escuras nos links do menu mobile, mesmo na home */
  nav.nav-home.scrolled .nav-links a,
  nav.nav-home.scrolled .nav-links .dropdown-trigger,
  nav.nav-home .nav-links a,
  nav.nav-home .nav-links .dropdown-trigger {
    color: #111111 !important;
  }

  .nav-home, .nav-sub {
    padding: 15px 20px;
    height: auto;
    min-height: 60px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Dropdowns ficam sempre abertos no mobile em formato de lista interna */
  .dropdown-content {
    display: flex !important;
    flex-direction: column;
    position: relative;
    top: 0;
    box-shadow: none;
    border: none;
    padding-left: 0;
    align-items: center;
    background: transparent !important;
    transform: none;
    left: 0;
  }
  .dropdown-content a {
    font-size: 13px !important;
    margin: 6px 0 !important;
    color: #666 !important;
  }

  /* Portals (Página Inicial) */
  .portal-item {
    grid-template-columns: 1fr !important;
    padding: 30px 20px !important;
    gap: 15px !important;
  }
  .portal-number {
    font-size: 20px;
    margin-bottom: 5px;
  }
  .portal-content h3 {
    font-size: 24px;
  }

  /* Grades de Projetos (1 coluna e imagens dinâmicas) */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
  }
  .project-card {
    height: auto !important;
    min-height: 300px;
  }
  
  /* Página Detalhe */
  .fcc-page {
    padding: 20px 15px;
  }
  .fcc-text {
    padding: 10px 10px !important;
    font-size: 14px !important;
  }
  .fcc-image-block img, .fcc-image-block video {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
  }
  #detail-header-img {
    height: auto !important;
    min-height: 300px !important;
    max-height: 60vh !important;
    object-fit: cover;
  }
  #detail-text-section {
    padding-top: 100px !important;
  }

  /* Sobre */
  .about-container {
    grid-template-columns: 1fr;
    margin-top: 10px;
    gap: 20px;
  }
  .about-photo img {
    height: auto;
    max-height: 400px;
    width: 100%;
    object-fit: contain;
  }

  /* Currículo */
  .cv-container {
    grid-template-columns: 1fr;
    padding: 0 15px;
    gap: 30px;
  }
  
  /* Footer */
  footer {
    padding: 30px 20px;
    font-size: 12px;
  }
}
