:root {
  --bg: rgb(243, 243, 245);
  --accent: rgb(201, 25, 25);
  --text: #111;
  --white: #fff;
  --gray: #4a4a4a;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Lato:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg);
  color: var(--gray);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  font-weight: 700;
}

/* ---------- HEADER ---------- */
header {
  background-color: var(--accent);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
  justify-content: center;
  width: 100%;
}

.menu a {
  color: var(--white);
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 0 10px;
  display: inline-block;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #111;
  text-decoration: none;
  opacity: 0.95;
}

.menu a.active {
  text-decoration: none;
  border-bottom: 3px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 3px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--white);
  cursor: pointer;
  z-index: 30;
  padding: 10px;
}

/* ---------- MAIN / PÁGINAS ---------- */
main {
  flex: 1;
  padding: 40px 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.home-intro {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin-top: 0;
  text-align: center;
}

.portfolio-cover {
  max-width: 800px;
  width: 100%;
  height: auto;
}

.intro-box {
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-align: center;
}

.intro-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.intro-box h1 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.intro-box p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 20px;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #a31a1a;
}

/* BIOGRAFIA - layout com imagem à esquerda e texto à direita */
.bio-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  box-sizing: border-box;
}

.bio-imagem {
  flex-basis: 250px;
  flex-grow: 0;
  flex-shrink: 0;
  text-align: center;
}

.bio-imagem img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
}

.bio-texto {
  flex: 1;
  text-align: justify;
  font-size: 16px;
  line-height: 1.7;
}

.biografia h1 {
  font-size: 2.2rem;
  color: var(--accent);
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px dotted var(--accent);
  display: inline-block;
}

.bio-texto h1 {
  width: 100%;
  text-align: center;
}

.bio-texto p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Rodapé */
footer {
  background-color: var(--accent);
  color: var(--white);
  padding: 40px 20px;
  font-size: 14px;
  margin-top: auto;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-col {
  width: 100%;
  max-width: 720px;
}

.footer-col h3 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: bold;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: #f3f3f5;
  text-decoration: none;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}

.social-icons a {
  color: var(--white);
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.06);
}

/* --- SEÇÃO TRABALHOS (GALERIA) --- */
.trabalhos-section {
    padding: 20px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    color: var(rgba(255, 0, 0, 0.658));
    margin-bottom: 40px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.work-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(156, 3, 3, 0.747);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
}

.work-card img {
    width: 100%;
}

.work-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.work-info h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.work-info p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.4;
    margin-top: auto;
}

/* SEÇÃO VÍDEOS */
.video-section {
    padding: 20px;
    margin-top: 40px;
    text-align: center;
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.video-item {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    text-align: left;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.video-info p {
    font-size: 1rem;
    color: var(--gray);
}


/* ---------- SEÇÃO CONSULTORIA EM PROJETOS CULTURAIS ---------- */
.consultoria-projetos-culturais {
  background-color: var(--bg);
  padding: 60px 20px;
  text-align: center;
}

.consultoria-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.consultoria-imagem img {
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.consultoria-texto {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.consultoria-texto h1 {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 20px;
}

.consultoria-texto h2 {
  font-size: 20px;
  color: var(--text);
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 10px;
}

.consultoria-texto p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.7;
}

/* ---------- SEÇÃO DE BENEFÍCIOS (CARDS) ---------- */
.consultorias-container {
    padding: 20px;
    text-align: center;
    max-width: 1200px;
    margin: 40px auto;
}

.consultorias-container h1 {
    font-size: 2.2rem;
    color: var(--text);
    margin-bottom: 10px;
}

.consultorias-container h1 span {
    font-size: 1.8rem;
    vertical-align: middle;
    margin: 0 5px;
}

.consultorias-container h2 {
    font-size: 1rem;
    color: #555;
    margin-bottom: 40px;
    font-weight: normal;
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 280px;
    max-width: 350px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card h3 {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.card h3 span {
    margin-right: 10px;
    font-size: 1.5rem;
    color: var(--accent);
}

.card ul {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.card ul li {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.card ul li span {
    color: var(--accent);
    margin-right: 8px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ---------- SEÇÃO CONSULTORIA EM PROJETOS CULTURAIS - LAYOUT CENTRALIZADO ---------- */
.consultoria-projetos-culturais-centralizada {
  background-color: var(--bg);
  padding: 60px 20px;
  text-align: center;
}

.consultoria-content-centralizado {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.titulo-centralizado {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 25px;
}

.imagem-centralizada {
  margin-bottom: 25px;
}

.imagem-centralizada img {
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: inline-block;
}

.texto-centralizado p, .texto-centralizado h2 {
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.texto-centralizado h2 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 25px;
}

.texto-centralizado ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.texto-centralizado ul li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.texto-centralizado ul li span {
  color: var(--accent);
  margin-right: 8px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ----- RESPONSIVIDADE ----- */
@media (max-width: 768px) {
  header nav {
    justify-content: flex-end;
  }
  .menu-toggle {
    display: block;
  }
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--accent);
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    justify-content: flex-start;
  }
  .menu.active {
    display: flex;
    transform: translateY(0);
  }
  .menu li {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
  .menu a {
    width: 100%;
  }

  .intro-box {
    padding: 20px;
  }
  
  .intro-box h1 {
    font-size: 1.8rem;
  }
  
  .intro-box p {
    font-size: 14px;
  }

  .bio-container {
    flex-direction: column;
    align-items: center;
    text-align: justify;
    margin: 20px auto;
  }

  .bio-imagem img {
    max-width: 200px;
  }

  .social-icons a {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .bio-texto {
    font-size: 14px;
  }
  footer {
    padding: 30px 12px;
  }
}

/* --- SEÇÃO DEPOIMENTOS --- */
.depoimentos-section {
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.depoimentos-content-wrapper {
  padding: 40px;
}

.depoimentos-section .section-title {
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 40px;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  margin: 0 auto;
}

.depoimento-card {
  background-color: var(--bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.depoimento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.depoimento-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 15px;
}

.depoimento-card .cliente-info {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--accent);
  margin-top: auto;
}

/* Responsividade para Depoimentos */
@media (max-width: 768px) {
  .depoimentos-section .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .depoimento-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .depoimento-card p {
    font-size: 0.9rem;
  }
}

/* ---------- PÁGINA DE CONTATO ---------- */
.contato-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.contato-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px;
}

.contato-wrapper {
  flex: 1 1 500px;
  max-width: 550px;
}

.contato-header {
  text-align: center;
  margin-bottom: 30px;
}

.contato-header h1 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.contato-header p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  color: var(--gray);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 25, 25, 0.2);
  outline: none;
}

.form-group textarea {
  resize: vertical;
}

.cta-button {
  margin-top: 10px;
}

.contato-info-section {
  flex: 1 1 350px;
  max-width: 350px;
  text-align: center;
}

.contato-info-section h3 {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.contato-info-section p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--gray);
  line-height: 1.7;
}

.contato-info-section a {
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
}

.contato-info-section a:hover {
  text-decoration: underline;
}

.contato-info-section .social-icons {
  margin-top: 25px;
  justify-content: center;
}

/* Responsividade para a página de contato */
@media (max-width: 992px) {
  .contato-section {
    flex-direction: column;
    align-items: center;
  }
  .contato-wrapper,
  .contato-info-section {
    max-width: 500px;
    flex-basis: auto;
  }
  .contato-header {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .contato-header h1 {
    font-size: 2rem;
  }
  .contato-info-section h3 {
    font-size: 1.5rem;
  }
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group textarea {
    padding: 10px 12px;
  }
}

/* ---------- PÁGINA BIOGRAFIA ---------- */
.biografia-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.bio-main-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 20px auto 40px;
  padding: 20px;
  box-sizing: border-box;
  justify-content: center;
}

/* Ajustes para a imagem da biografia */
.bio-imagem {
  /* Remove o flex-basis para que o tamanho seja mais flexível */
  flex-grow: 0;
  flex-shrink: 0;
  text-align: center;
  
  /* Adiciona um padding e bordas para criar o efeito de caixa */
  padding: 12px; /* Adiciona espaçamento interno para evitar que a imagem seja cortada */
  background-color: var(--white);
  border-radius: 12px; /* Borda arredondada na caixa, não na imagem */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.bio-imagem img {
  width: 100%; /* Garante que a imagem preencha 100% da caixa */
  max-width: 250px;
  height: auto;
  border-radius: 8px; /* Adicione uma pequena borda arredondada na imagem, se desejar */
  display: block;
  /* Remove a sombra da imagem, pois ela agora está no contêiner */
  box-shadow: none;
}

.bio-content-wrapper {
  flex: 1;
  min-width: 300px;
}

.bio-header-box {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
}

.bio-header-box h1 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0;
}

.bio-secao {
  margin-bottom: 30px;
}

.bio-secao .intro-box {
  padding: 30px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.bio-secao .intro-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.bio-secao h2 {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 15px;
  border-bottom: 2px dotted var(--accent);
  display: inline-block;
  padding-bottom: 5px;
}

.bio-secao p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
  text-align: justify;
}

/* ---------- RESPONSIVIDADE BIOGRAFIA ---------- */
@media (max-width: 992px) {
  .bio-main-section {
    flex-direction: column;
    align-items: center;
  }
  .bio-imagem {
    padding: 10px; /* Ajuste o padding em telas menores */
  }
  .bio-imagem img {
    max-width: 200px;
  }
  .bio-content-wrapper {
    text-align: center;
  }
  .bio-secao .intro-box {
    text-align: center;
  }
  .bio-secao h2 {
    text-align: center;
    display: block;
    border-bottom: none;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .bio-header-box h1 {
    font-size: 2rem;
  }
  .bio-secao h2 {
    font-size: 1.5rem;
  }
}

/* ---------- ESTILOS ESPECÍFICOS PARA A PÁGINA DE TRABALHOS (Novas adições) ---------- */

/* Estilos gerais para as seções de trabalhos */
.trabalhos-section {
    padding: 40px 20px; /* Aumentado o padding para melhor espaçamento */
    text-align: center;
    margin-bottom: 40px; /* Espaçamento entre seções */
}

.trabalhos-section:last-child {
    margin-bottom: 0; /* Remover margem do último item */
}

.page-title {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif; /* Mantendo a fonte do título */
}

/* --- Layout para Artes Cênicas (Similar ao atual, mas dentro de uma seção específica) --- */
.artes-cenicas .works-grid-cenicas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.artes-cenicas .work-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease;
}

.artes-cenicas .work-card:hover {
    transform: translateY(-5px);
}

.artes-cenicas .work-card img {
    width: 100%;
    height: 200px; /* Altura fixa para as imagens de capa */
    object-fit: cover; /* Garante que a imagem cubra a área sem distorcer */
}

.artes-cenicas .work-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.artes-cenicas .work-info h3 {
    font-size: 1.2rem;
    color: var(--accent); /* Usando a cor de acento para títulos de trabalho */
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.artes-cenicas .work-info p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.4;
    margin-top: auto; /* Empurra o parágrafo para baixo */
}

/* --- Layout para Audiovisual --- */
.audiovisual .video-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.audiovisual .video-item {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 560px; /* Largura aproximada de um vídeo embedado */
    text-align: left;
    display: flex;
    flex-direction: column;
}

.audiovisual .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
}

.audiovisual .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.audiovisual .video-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Permite que o info ocupe o espaço restante */
}

.audiovisual .video-info h3 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.audiovisual .video-info p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
}

/* --- Layout para Desenvolvimento Web --- */
.desenvolvimento-web .works-grid-web {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Cards um pouco maiores */
    gap: 10px;
    padding: 0px 40px;
    margin: 0px auto;
    max-width: 2000px;
    height: 650px;
}

.desenvolvimento-web .work-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.desenvolvimento-web .work-card:hover {
    transform: translateY(-5px);
}

.desenvolvimento-web .work-card img {
    margin: 20px;
    width: 100%;
    height: 500px; /* Altura um pouco maior para imagens de projetos web */
    
}

.desenvolvimento-web .work-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.desenvolvimento-web .work-info h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.desenvolvimento-web .work-info p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.5;
    margin-top: auto;
}


/* Responsividade específica para a página de trabalhos */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    /* Ajustes para o grid de artes cênicas e web */
    .artes-cenicas .works-grid-cenicas,
    .desenvolvimento-web .works-grid-web {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    /* Ajustes para os vídeos */
    .audiovisual .video-item {
        max-width: 100%; /* Ocupa toda a largura em telas menores */
    }

    .audiovisual .video-container {
        padding-bottom: 56.25%; /* Mantém a proporção */
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    .trabalhos-section {
        padding: 20px 10px;
    }
    .artes-cenicas .work-info,
    .audiovisual .video-info,
    .desenvolvimento-web .work-info {
        padding: 15px;
    }
    .artes-cenicas .work-info h3,
    .audiovisual .video-info h3,
    .desenvolvimento-web .work-info h3 {
        font-size: 1.1rem;
    }
    .artes-cenicas .work-info p,
    .audiovisual .video-info p,
    .desenvolvimento-web .work-info p {
        font-size: 0.9rem;
    }
}

/* ---------- ESTILOS ESPECÍFICOS PARA O CARROSSEL DE TRABALHOS ---------- */

.carousel-container {
  position: relative; /* Necessário para posicionar os botões */
  max-width: 800px; /* Largura máxima do carrossel */
  margin: 40px auto; /* Centraliza o carrossel */
  overflow: hidden; /* Esconde os itens que estão fora da área visível */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); /* Sombra sutil */
  border-radius: 12px; /* Bordas arredondadas */
  background-color: var(--white); /* Fundo branco para o contêiner */
}

.carousel-track {
  display: flex; /* Para alinhar os itens em uma linha */
  transition: transform 0.5s ease-in-out; /* Animação suave para a troca de slides */
}

.carousel-item {
  flex: 0 0 100%; /* Cada item ocupa 100% da largura do contêiner */
  box-sizing: border-box; /* Inclui padding e border na largura total */
  display: block; /* Esconde todos os itens por padrão, exceto o ativo */
}

.carousel-item.active {
  display: block; /* Mostra apenas o item ativo */
}

.carousel-item .work-card {
  margin: 0; /* Remove margens do card interno, pois o carrossel tem seu próprio padding/margem */
  box-shadow: none; /* Remove a sombra individual dos cards dentro do carrossel */
  border-radius: 0; /* Remove bordas arredondadas dos cards internos */
  height: 100%; /* Garante que o card ocupe toda a altura do item */
  align-items: center;
}

.carousel-item .work-card img {
  width: 50%;
  height: 400px; /* Altura fixa para a imagem no carrossel */
  object-fit: cover; /* Garante que a imagem cubra a área sem distorcer */
  border-radius: 12px 12px 0 0; /* Arredonda apenas o topo da imagem */
  align-items: center;
}

.carousel-item .work-info {
  padding: 30px; /* Mais padding para os detalhes do trabalho dentro do carrossel */
  text-align: center; /* Centraliza o texto para melhor visualização */
}

.carousel-item .work-info h3 {
  font-size: 2rem; /* Título maior dentro do carrossel */
  color: var(--accent);
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
}

.carousel-item .work-info p {
  font-size: 1.1rem; /* Texto um pouco maior */
  color: var(--gray);
  line-height: 1.6;
}

/* Estilos para os botões de controle do carrossel */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(196, 14, 14, 0.603); /* Fundo semi-transparente */
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10; /* Garante que os botões fiquem sobre os slides */
  border-radius: 50%; /* Forma redonda para os botões */
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}

.carousel-control:hover {
  background-color: rgba(0, 0, 0, 0.8); /* Fundo mais escuro no hover */
}

.carousel-control.prev {
  left: 20px; /* Posição do botão anterior */
}

.carousel-control.next {
  right: 20px; /* Posição do botão próximo */
}

/* Responsividade para o Carrossel */
@media (max-width: 768px) {
  .carousel-container {
    max-width: 95%; /* Ocupa quase toda a largura em telas menores */
    margin: 20px auto;
  }

  .carousel-item .work-card img {
    height: 300px; /* Imagem menor em telas médias */
  }

  .carousel-item .work-info h3 {
    font-size: 1.6rem;
  }

  .carousel-item .work-info p {
    font-size: 1rem;
  }

  .carousel-control {
    padding: 8px 12px;
    font-size: 20px;
    width: 40px;
    height: 40px;
  }

  .carousel-control.prev {
    left: 10px;
  }

  .carousel-control.next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .carousel-item .work-card img {
    height: 250px; /* Imagem ainda menor em telas pequenas */
  }

  .carousel-item .work-info {
    padding: 20px;
  }

  .carousel-item .work-info h3 {
    font-size: 1.4rem;
  }

  .carousel-item .work-info p {
    font-size: 0.9rem;
  }
}

/* Seção de Vídeos (Manter ou adaptar, dependendo se você quer um carrossel para eles também) */
.video-section {
    padding: 40px 20px;
    margin-top: 40px;
    text-align: center;
    background-color: var(--bg); /* Fundo para diferenciar da seção do carrossel */
}

.video-section h1 {
    font-size: 2.2rem;
    color: var(--text);
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px;
    flex-grow: 1; /* Garante que o info ocupe espaço se necessário */
}

.video-info h3 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.video-info p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Responsividade para a seção de Vídeos */
@media (max-width: 768px) {
  .video-section h1 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .video-item {
    max-width: 100%;
  }
}
