:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.35s var(--ease-out-expo);
  --color-primary: #560b18;
}

html, body {
  overflow-x: hidden;
  height: 100%;
  margin: 0;
}

body{
  scroll-behavior:smooth;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
}

main{
  flex: 1;
}

/* início Menu */
.navbar {
  transition: padding 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
  padding: 12px 0;
  background: #ffffff !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
}

/* Ensure links are horizontal and unstyled */


.navbar-nav {
  flex-direction: row !important;
  list-style: none !important;
}

.navbar .nav-link {
  color: #3b010b !important;
  font-weight: 500;
  padding: 10px !important;
  transition: color 0.4s ease;
  position: relative;
  display: inline-block;
}

.navbar .nav-link::after {
  content: attr(data-text);
  position: absolute;
  inset: 10px 15px;
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: shine 5s linear infinite;
  pointer-events: none;
  white-space: nowrap;
}

.navbar .nav-link:hover {
  background: #3b010b;
  color: #ffffff !important;
  border-radius: 5px;
}

.navbar .nav-link:hover::after {
  opacity: 1;
}

.navbar-brand {
  padding: 0;
  margin-right: 10px;
}

.navbar-brand img {
  display: block;
  height: 45px !important;
  width: auto;
}

/* Pill effect: shrink the inner container, let the nav stay full-width */
.navbar .container {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0;
  max-width: 100%;
}

.navbar.scrolled {
  padding: 8px 0;
  background: transparent !important;
  box-shadow: none;
}

.navbar.scrolled .container {
  max-width: 1100px;
  border-radius: 60px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 8px 26px;
}

@media (max-width: 991px) {
  .navbar {
    padding: 10px 0;
  }
  /* No topo (sem .scrolled), container normal 100% */
  .navbar .container {
    max-width: 100%;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Quando scrollado no mobile, vira pílula */
  .navbar.scrolled .container {
    width: calc(100% - 30px) !important;
    max-width: none !important;
    margin: 10px auto 0 !important;
    background: #ffffff;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  }
}

.navbar.scrolled .navbar-brand img {
  height: 30px !important;
}

/* ── HAMBURGER BUTTON ── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hamburger.open span:nth-child(1) { 
  transform: translateY(9px) rotate(45deg); 
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { 
  transform: translateY(-9px) rotate(-45deg); 
}

.hamburger.open span {
  border-radius: 4px; 
}

/* ── MOBILE DROPDOWN MENU ── */
.mobile-menu {
  display: none; /* only shown on mobile */
  position: fixed;
  top: 65px; /* sits just below the navbar */
  left: 12px;
  right: 12px;
  width: calc(100% - 24px);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 999;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease;
  padding: 0;
  opacity: 0;
}

.mobile-menu.open {
  max-height: 420px;
  padding: 16px 0 24px;
  opacity: 1;
}

.mobile-link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

/* Rainbow shine for active/hover links */
.mobile-link::after {
  content: attr(data-text);
  position: absolute;
  inset: 14px 24px;
  background: var(--color-primary);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: shine 5s linear infinite;
  pointer-events: none;
  white-space: nowrap;
}

.mobile-link.active::after,
.mobile-link:hover::after {
  opacity: 1;
}

.mobile-link.active,
.mobile-link:hover {
  color: transparent;
}

@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
}

@media (max-width: 991px) {
  .mobile-menu { display: flex; }
}
/* Fim Menu */

/*Início Hero*/

/* CONTAINER DAS IMAGENS */
.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* CADA IMAGEM */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity;
  animation: fade 20s infinite;
}

/* TEMPO DIVIDIDO ENTRE 5 IMAGENS */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 15s; }
.slide:nth-child(5) { animation-delay: 20s; }

/* ANIMAÇÃO */
@keyframes fade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  20%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(80, 0, 0, 0.6);
  z-index: 1;
}

/* TEXTO */
.hero-content {
  position: relative;
  z-index: 2;
  justify-content: center;
  text-align: center;
  top: 30%;
  transform: translateY(-50%);
}

.hero-wave {
  position: relative;
  margin-top: -2px;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

.hero{
height:100vh;
display:flex;
align-items:center;
justify-content:center;
position:relative;
overflow:hidden;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-family: 'Bebas Neue', cursive;
  font-size: 150px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-text{
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 10px;
}

.hero-btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  background-color: #f2d9a0;
  color: #3b010b;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
}

.hero-btn:hover {
  transform: translateY(-5px) scale(1.05);
  color: #f2d9a0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  background-color: #3b010b !important;
  border-color: rgba(255,255,255,0.4);
}

.hero-btn:focus-visible {
  outline: 2px solid #f2d9a0; 
  outline-offset: 3px; 
}
/*Fim  hero*/

/*Início linha*/
.linha-container {
  width: 100%;
  overflow: hidden;
  background: #75162d;
  border-top: 1px solid #f2d9a0;
  border-bottom: 1px solid #f2d9a0;
  margin-bottom: 0;
  margin-top: 0
}

.linha-conteudo {
  width: max-content;
  animation: scrollTexto 10s linear infinite;
}

.linha-conteudo span {
  color: #f2d9a0;
  font-size: 18px;
  letter-spacing: 2px;
  padding-right: 2px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/*linha separadora entre os projetos*/
/* WRAPPER (substitui o body) */
.divider-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}


.divider {
  display: flex;
  align-items: center;
  width: 80%;
  position: relative;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: #3b010b;
  margin: 0 20px;
}

.logoline {
  width: 40px;
  height: 40px;
}

.iconline {
  width: 40px;
  height: 40px;
}

/* animação contínua */
@keyframes scrollTexto {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/*fim linha*/

.sobre-section{
padding:100px 0;
}

.section-title {
  font-family: 'bebas neue', cursive;
  color: #3b010b;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.sobre-text {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  text-align: justify;
  max-width: 800px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.img-sobre {
  border-radius: 0 10px 10px 0;
  width: 100%;
  height: 100%;
}

.container-sobre {
  background: #ffffff;
  width: 90%;
  margin: 1px auto;
  border-radius: 10px;
  padding-left: 5%;
  padding-top: 1px;
  align-items: center;
}
/*Fim sobre*/

/*início serviços*/
.servicos-section{
  padding: 50px 0;
  align-items: center;
}
.servicos-title{
  font-family: 'bebas neue', cursive;
  font-size: 50px;
  font-weight: 800;
  color: #3b010b;
}

.servicos-subtitle{
  font-family: 'inter', cursive;
  font-size: 18px;
}

.gold-line {
  width: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b010b, transparent);
  margin: 1rem auto 1.5rem;
}

.servico-card {
  background: #ffffff;
  border: 1px solid rgba(201, 169, 110, 0.1);
  border-radius: 6px;
  padding: 2.5rem 1rem;
  font-family: 'Inter', sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  
}

.servico-card:hover {
    border-color: #75162d;
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(59, 1, 11, 0.3);
}

.servico-icon {
  font-size: 2.4rem;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
  transition: transform var(--transition-base);
  text-align: center;
}

.servico-card:hover .servico-icon {
  transform: scale(1.15);
}

.servico-card h4 {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem;
  color: #3b010b;
  margin-bottom: 0.8rem;
  text-align:center;
}

.servico-card p {
    font-size: 0.9rem;
    color: #3b010b;
    margin-bottom: 0;
}

.container-servicos {
  background: #c8a49f;
  width: 100%;
  margin: 1px auto;
}

.servico-card ul {
  list-style: none;
  padding: 5px 20px;
  margin: 5px 0 0;
}

.servico-card ul li {
  display: flex;
  margin-bottom: 10px;
}
/*Fim serviços*/

/*Certificados*/
.certificados-images-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.certificado-item {
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
}

.certificado-img {
  width: 80%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  animation: odsFloat 6s ease-in-out infinite;
}

/* icones flutando em tempos diferentes*/
.certificado-item:nth-child(1) .certificado-img { animation-delay: 0s; }
.certificado-item:nth-child(2) .certificado-img { animation-delay: 1.5s; }
.certificado-item:nth-child(3) .certificado-img { animation-delay: 3s; }
.certificado-item:nth-child(4) .certificado-img { animation-delay: 2s; }

@keyframes odsFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

.certificado-item:hover {
  transform: scale(1.08) translateY(-3px);
  z-index: 10;
}

.certificado-item:hover .certificado-img {
  animation-play-state: paused;
  box-shadow: 0 15px 35px rgba(59, 1, 11, 0.3);
}

.certificado-item:hover::after {
  opacity: 0.2; /* Subtler glow */
}

@media (max-width: 768px) {
  .certificados-images-grid {
    gap: 15px;
  }
}
/*Fim certificados*/

/* Início Clientes */
.projetos-container {
  display: flex;
  flex-direction: column;
  background: #f2f1ed;
  padding: 15px 100px;
  padding-top: 50px;
  margin-bottom: 0;
}

.cliente-item {
  width: 140px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden; /* MUITO IMPORTANTE */
  padding: 0; /* remove o espaçamento interno */
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

/* efeito hover elegante */
.cliente-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.clientes-text {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: white;
  text-align: justify;
  max-width: 1200px;
  margin: 10px auto 40px;
  line-height: 1.6;
}

.linha {
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px dashed rgba(0,0,0,0.2);
  padding: 40px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.linha:last-child {
  border-bottom: none;
}

.track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollLeft 25s linear infinite;
}

.linha.reverse .track {
  animation: scrollRight 30s linear infinite;
}

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.cliente-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* FAZ PREENCHER TOTAL */
  transition: transform 0.3s ease;
}

/* hover mais suave */
.cliente-item:hover img {
  transform: scale(1.08);
}

.linha:hover .track {
  animation-play-state: paused;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Garante que o tab-content do Bootstrap nunca herde opacity do fade-in-section */
.tab-content.fade-in-section,
.tab-content.fade-in-section.visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Versão segura para usar próximo a tabs Bootstrap: anima só transform, nunca opacity */
.reveal-section {
  transform: translateY(40px);
  transition: transform 0.6s ease;
}

.reveal-section.visible {
  transform: translateY(0);
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}
/*Fim Clientes*/

/*Início Projetos*/
.portfolio-container{
  display: flex;
  margin-top: 5%;
  margin-bottom: 5%;
}

.text-portfolio{
  width: 30%;
  margin: 150px 50px;
  text-align: justify;
}

.conteudo-portfolio{
  width: 60%;
}

.portfolio-title{
  font-family: 'bebas neue', cursive;
  color: #3b010b;
}

.portfolio-sub{
  font-family: 'inter', cursive;
  color: #111;
}

.fotografia-sub{
  font-family: 'inter', cursive;
  color: #111;
  text-align: center;
  margin: 15px 150px;
}

/*início logofolio*/
.logofolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 5px;
  padding: 10px;
}

.logofolio-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: 0.4s ease;
}

.logofolio-grid img:hover {
  transform: scale(1.08);
}

/*início cards*/
.cards-grid {
  column-count: 4;
  column-gap: 12px;
}

.card {
  break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.card img {
  width: 100%;
  display: block;
  border-radius: 16px;
  transition: transform 0.4s ease, filter 0.4s ease;
  cursor: pointer;
}

/* Card clicável para lightbox */
.card-img .card-overlay {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(59, 1, 11, 0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.35s ease;
  cursor: pointer;
  z-index: 2;
}

.card-img:hover .card-overlay {
  opacity: 1;
}

.card-img:hover img {
  transform: scale(1.06);
  filter: brightness(0.6);
}

/* Card com link para PDF */
.card-link {
  position: relative;
}

.card-overlay {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(59, 1, 11, 0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.35s ease;
  text-decoration: none;
  z-index: 2;
}

.card-link:hover .card-overlay {
  opacity: 1;
}

.card-link:hover img {
  transform: scale(1.06);
  filter: brightness(0.6);
}

.card-overlay-icon {
  color: #f2d9a0;
  display: flex;
}

.card-overlay-text {
  color: #f2d9a0;
  font-family: 'Bebas Neue', cursive;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  text-align: center;
  padding: 0 12px;
}

@media (max-width: 768px) {
  .cards-grid { column-count: 2 !important; column-gap: 8px !important; }
  .card { margin-bottom: 8px; }
}

@media (max-width: 480px) {
  .cards-grid { column-count: 2 !important; }
}

/*início logofolio em grid*/
.logofolio {
  background: #ffffff; /* fundo branco */
  padding: 40px 40px;
  border-radius: 15px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1000px;
  margin: 0 auto;
}

/* ITENS */
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-right: 1px dashed var(--color-primary);
  border-bottom: 1px dashed var(--color-primary);
}

/* remove borda direita da última coluna */
.logo-item:nth-child(4n) {
  border-right: none;
}

/* remove borda inferior da última linha */
.logo-item:nth-last-child(-n + 4) {
  border-bottom: none;
}

/* LOGOS */
.logo-img {
  max-width: 140px;
  width: 100%;
  border-radius: 10px;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* HOVER SUAVE */
.logo-item:hover img {
  transform: scale(1.08);
  opacity: 0.9;
}

.logo-item {
  background: #fff;
}

.logo-item:hover {
  background: #fafafa;
}

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

@media (max-width: 480px) {
  .logo-grid {
    grid-template-columns: 1fr;
  }
}

/*audiovisuais*/
.container-visual{
  margin-top: 5%;
  margin-bottom: 5%;
}
/* Filtros / Tabs */

.filtro-select-container {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.filtro-select {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #3b010b;
  background-color: #f2d9a0;
  color: #3b010b;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.filtro-select:hover {
  background-color: #3b010b;
  color: #f2d9a0;
}

.tab-pane {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tab-pane.active {
  opacity: 1;
}
/*Videos*/
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.video-gallery p{
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  text-align: justify;
}

.video-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 15px;
}

.video-item img {
  width: 100%;
  display: block;
  transition: 0.4s;
}

.video-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: white;
  opacity: 0;
  transition: 0.3s;
}

.video-item:hover .play-button {
  opacity: 1;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(59, 1, 11, 0.82), transparent);
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  transition: 0.4s ease;
}

.video-overlay p {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.4;
  transform: translateY(20px);
  transition: 0.4s ease;
}

.video-item:hover .video-overlay {
  opacity: 1;
}

.video-item:hover .video-overlay p {
  transform: translateY(0);
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.video-modal video {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.close-video {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/*início fotografia*/
.carousel-container {
  overflow: hidden;
  width: 90%;
  padding: 20px 50px;
  margin-left: 5%;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 90%, transparent);
}

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.carousel-img {
  width: 250px;
  height: 300px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.carousel-img:hover {
  transform: scale(1.05);
}

.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-container::before,
.carousel-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  
}

.carousel-container--prev {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.carousel-container--next {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}


/* ANIMAÇÃO INFINITA */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*LIGHTBOX*/
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 12px;
}

/* BOTÃO FECHAR */
.close-lightbox {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* SETAS */
.nav-btn.prev, .nav-btn.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav-btn.prev { left: 40px; }
.nav-btn.next { right: 40px; }
/*Fim portfolio*/


/*Início contato*/
.contato-section {
  padding: 80px 0;
  background: var(--color-primary);
  width: 100%;
}

.text-contato {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 40px;
}

.section-title-contato{
  font-family: 'bebas neue', cursive;
  font-size: 50px;
  font-weight: 800;
  color: #ffffff;
}

/* Formulário de Contato */
.contact-form-wrapper {
  background: #fff;
  padding: 40px; 
  border-radius: 24px;
  /* Refined multi-layered shadow - cleaner and lighter */
  box-shadow: 
    0 10px 40px -10px rgba(0, 0, 0, 0.05),
    0 20px 80px -20px rgba(0, 0, 0, 0.03); 
  border: 1px solid rgba(0,0,0,0.06); 
  position: relative;
  z-index: 1;
}

.contact-form-wrapper:hover {
  box-shadow: 
    0 20px 50px -10px rgba(0, 0, 0, 0.07), 
    0 40px 100px -20px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper .form-title {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 5px;
}

.contact-form-wrapper .form-subtitle {
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.form-input {
  background-color: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  background-color: #fff;
  border-color: #ddd;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.03);
}

.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-submit {
  background: var(--color-primary);
  color: #f2e5c6;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:focus-visible {
  outline: 2px solid #f2d9a0;
  outline-offset: 3px;
}

.modal-btn {
  width: 50%;
  justify-content: center;
  background-color: var(--color-primary);
  color: #f2e5c6;
}

.modal-btn:hover {
  background: #75162d;
  color: #f2e5c6;
}

.btn-submit:hover {
  background: #75162d;
  color: #f2e5c6;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Social Buttons na Seção de Contato */
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #555;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 50px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-btn:focus-visible { 
  outline: 2px solid #f2d9a0; 
  outline-offset: 3px; 
}

.social-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  background-color: #555;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Mobile specific vibrant styles */
@media (max-width: 768px) {
  .socials {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px !important;
    padding: 0 10px;
  }

  .social-btn {
    justify-content: center;
    padding: 12px 10px;
    border: none;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    font-size: 0.8rem;
  }

  /* Permanent colors on mobile */
  .social-btn[title="WhatsApp"] { color: #25D366; background: rgba(37, 211, 102, 0.08); border: 1px solid rgba(37, 211, 102, 0.2); }
  .social-btn[title="WhatsApp"] .social-icon { background-color: #25D366; }

  .social-btn[title="Instagram"] { color: #E1306C; background: rgba(225, 48, 108, 0.08); border: 1px solid rgba(225, 48, 108, 0.2); }
  .social-btn[title="Instagram"] .social-icon { background-color: #E1306C; }

  .social-btn[title="LinkedIn"] { color: #0A66C2; background: rgba(10, 102, 194, 0.08); border: 1px solid rgba(10, 102, 194, 0.2); }
  .social-btn[title="LinkedIn"] .social-icon { background-color: #0A66C2; }
}

@media (hover: hover) {
  .social-btn:hover .social-icon {
    transform: scale(1.1);
  }

  .social-btn[title="WhatsApp"]:hover .social-icon { background-color: #25D366; }
  .social-btn[title="Email"]:hover .social-icon { background-color: #111; }
  .social-btn[title="Instagram"]:hover .social-icon { background-color: #E1306C; }
  .social-btn[title="LinkedIn"]:hover .social-icon { background-color: #0A66C2; }
  

  .social-btn[title="Instagram"]:hover { color: #E1306C; border-color: #E1306C; }
  .social-btn[title="LinkedIn"]:hover  { color: #0A66C2; border-color: #0A66C2; }
  .social-btn[title="WhatsApp"]:hover   { color: #25D366; border-color: #25D366; }
}
/* SUCCESS MODAL */

.custom-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.modal-backdrop-blur {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: -1;
}

.modal-card {
  width: 90%;
  max-width: 450px;
  background: #ffffff;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-modal.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-top {
  height: 6px;
  background: var(--color-primary);
  background-size: 200% auto;
  animation: shine 3s linear infinite;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #333;
}

.modal-body {
  padding: 40px 30px;
}

.success-icon-wrapper {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
}

.success-icon-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(0, 187, 249, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25D366;
  animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: 0.2s;
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.modal-text {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px;
}

.modal-subtext {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 25px;
}

/* ── RESPONSIVIDADE MOBILE ── */
@media (max-width: 768px) {
    /* Hero: texto legível em telas pequenas */
    .hero-title { font-size: 1.6rem !important; }
    .hero-subtitle { font-size: 60px !important; letter-spacing: 2px !important; }
    .hero-text { font-size: 0.9rem !important; }
    .hero-content { padding: 0 1rem !important; text-align: center !important; }
    .hero-btn { width: 100%; max-width: 280px; }

    /* Sobre: foto empilha abaixo do texto */
    .sobre-section .row { flex-direction: column !important; }
    .sobre-section .col-md-6 { width: 100% !important; }
    .img-sobre { width: 100% !important; max-width: 340px; margin: 0 auto; display: block; border-radius: 10px; }

    /* Projetos: padding menor */
    .projetos-container { padding: 30px 20px !important; }

    /* Portfolio: empilha em coluna */
    .portfolio-container { flex-direction: column !important; }
    .text-portfolio { width: 100% !important; margin: 20px 0 !important; }
    .conteudo-portfolio { width: 100% !important; }

    /* Logofolio e cards: 2 colunas */
    .logofolio-grid { grid-template-columns: repeat(2, 1fr) !important; grid-auto-rows: 150px !important; }
    .cards-grid { column-count: 2 !important; }

    /* Tabs: texto menor para caber na tela */
    .galeria-filtros .nav-link { font-size: 0.68rem !important; padding: 0.4rem 0.8rem !important; }

    /* Contato: formulário ocupa toda a largura */
    .contact-form-wrapper { padding: 1.5rem !important; }
}

@media (max-width: 576px) {
  .modal-body {
    padding: 30px 20px;
  }
  .modal-title {
    font-size: 1.5rem;
  }
}
/*Fim Contato*/

@media (max-width: 480px) {
    .hero-subtitle { font-size: 42px !important; }
    .hero-text { font-size: 0.78rem !important; }
    .logofolio-grid { grid-template-columns: repeat(2, 1fr) !important; grid-auto-rows: 120px !important; }
    .cards-grid { column-count: 1 !important; }
    .section-title { font-size: 28px !important; }
    .servicos-title, .section-title-contato { font-size: 38px !important; }
    .fotografia-sub { margin: 10px 20px !important; }
    .clientes-text { font-size: 15px !important; }
}
/* ── FIM RESPONSIVIDADE MOBILE ── */

/* FOOTER */
.footer {
  padding: 36px;
  background: #111;
  color: #aaa;
  margin-bottom: 0;
}

.footer p {
  font-size: 0.85rem;
  margin: 0;
  color: #888;
} /*Fim footer*/
