/*
 * Base styling for Blue Lemonade site
 * Defines variables, typography, layout and component styles.
 */

/* CSS variables for easy theming */
:root {
  --color-primary: #00e8f5; /* azul principal */
  --color-secondary: #f59745; /* laranja secundária */
  --color-light: #c9fcfe; /* branco gelo */
  --color-dark: #000000; /* preto */
  --color-muted: #f3f7f8; /* fundo suave para cartões */

  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

/* Reset and global styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover,
a:focus {
  color: var(--color-secondary);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Navbar específica para portfolio - sempre preta */
.portfolio-page .navbar {
  background-color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

.portfolio-page .navbar.scrolled {
  background-color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Texto da navbar do portfolio em preto */
.portfolio-page .nav-menu a {
  color: #000000 !important;
}

.portfolio-page .nav-menu a:hover {
  color: var(--color-secondary) !important;
}

.portfolio-page .nav-menu a.active {
  color: #000000 !important;
}

/* Fundo da página do portfolio */
.portfolio-page {
  background-color: #ffffff !important;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.5rem;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-image {
  height: 70px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}
.nav-menu a {
  color: var(--color-light);
  font-weight: 500;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width 0.3s ease;
}
.nav-menu a:hover::after,
.nav-menu a:focus::after,
.nav-menu a.active::after {
  width: 100%;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--color-light);
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animations for hamburger to close icon */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  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: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
}

.hero-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-logo-image {
  height: 180px;
  width: auto;
  max-width: 800px;
  object-fit: contain;
}

.hero-content .btn {
  margin-top: 1rem;
}
.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--color-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
}
.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-dark);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #e28334;
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: var(--color-primary);
  color: var(--color-dark);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #02d0e1;
  transform: translateY(-2px);
}

/* Section base styling */
.section {
  padding: 4rem 0;
  /* Provide space at top when navigated via anchor to compensate fixed navbar */
  scroll-margin-top: 80px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 800px;
  color: #C9FCFE;
}

.section-description-portfolio {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 800px;
  color: #000000;
}

/* Sobre section styles */
.sobre {
  background-color: var(--color-dark);
  color: var(--color-light);
}
.sobre .section-title {
  color: var(--color-primary);
}

/* Garantir que a cor da seção sobre seja mantida em todos os dispositivos */
.sobre .section-title {
  color: var(--color-primary) !important;
}

/* Layout da seção sobre com vídeo */
.sobre-content-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.sobre-text-content {
  flex: 1 1 60%;
}

.sobre-video-container {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sobre-video {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 232, 245, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sobre-video:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 232, 245, 0.4);
}

.sobre h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}
.two-columns {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.two-columns .column {
  flex: 1 1 300px;
}
.two-columns p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Produtos section */
.produtos {
  background-color: var(--color-light);
}
.produtos .section-title {
  color: var(--color-dark);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background-color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}
.icon-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-dark);
}

.service-icon {
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: center;
}

.portfolio-button-container {
  text-align: center;
  margin-top: 3rem;
}

.portfolio-button-container .btn {
  background-color: var(--color-secondary);
  color: var(--color-dark);
  text-transform: none;
}

.portfolio-button-container .btn:hover {
  background-color: #e28334;
  color: #ffffff;
  transform: translateY(-2px);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-secondary);
}
.card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: #555;
}

/* Sustentabilidade section */
.sustentabilidade {
  background-color: var(--color-dark);
  color: var(--color-light);
}
.sustentabilidade .section-title {
  color: var(--color-primary);
}
.sustainability-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.sustainability-text {
  flex: 1 1 300px;
}
.sustainability-text p {
  margin-bottom: 1rem;
}
.sustainability-image {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sustainability-image img {
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sustainability-video {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Contato section */
.contato {
  background-color: var(--color-light);
}
.contact-form {
  margin-top: 2rem;
  width: 100%;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.9rem;
  color: #333;
}
.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-body);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 232, 245, 0.2);
}
.form-group.full {
  grid-column: 1 / -1;
}
.contact-form .btn-primary {
  margin-top: 1rem;
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 2rem 0;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer p {
  margin: 0;
}
.social-links {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
}
.social-links a {
  color: var(--color-light);
  transition: color 0.3s ease;
}
.social-links a:hover,
.social-links a:focus {
  color: var(--color-primary);
}

/* WhatsApp floating button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
}
.whatsapp-button:hover {
  transform: translateY(-3px);
}
.whatsapp-icon {
  width: 32px;
  height: 32px;
  color: #fff;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-menu a {
    color: var(--color-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-toggle {
    display: flex;
  }
  .hero-logo-image {
    height: 250px;
    max-width: 600px;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-content .btn {
    margin-top: 1.5rem;
  }
  .two-columns {
    flex-direction: column;
    gap: 1.5rem; /* Espaçamento consistente entre as colunas */
  }
  
  .two-columns .column {
    flex: none; /* Remove flex para evitar problemas de altura */
    margin-bottom: 0; /* Remove margens extras */
  }
  
  /* Layout responsivo da seção sobre */
  .sobre-content-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
  
  .sobre-video-container {
    order: -1; /* Vídeo aparece antes do texto em mobile */
    margin-bottom: 1rem;
  }
  
  .sobre-video {
    max-width: 300px;
    border-radius: 15px;
  }
  
  /* Garantir cores corretas dos botões em mobile */
  .btn-primary {
    background-color: var(--color-secondary) !important;
    color: var(--color-dark) !important;
  }
  
  .btn-primary:hover,
  .btn-primary:focus {
    background-color: #e28334 !important;
    color: #ffffff !important;
  }
  
  .portfolio-button-container .btn {
    background-color: var(--color-secondary) !important;
    color: var(--color-dark) !important;
  }
  
  .portfolio-button-container .btn:hover {
    background-color: #e28334 !important;
    color: #ffffff !important;
  }
  
  .sustainability-container {
    flex-direction: column;
  }
  
  .sustainability-video {
    height: 250px;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Portfolio Section */
.portfolio {
  background-color: var(--color-muted);
  padding: 5rem 0;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-primary);
  color: var(--color-dark);
}


/* Portfolio Sections */
.portfolio-section {
  transition: all 0.3s ease;
}

.portfolio-section.hidden {
  display: none !important;
}

.category-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-dark);
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  min-height: 400px;
}

.portfolio-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-item.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  display: none !important;
}

.portfolio-media {
  position: relative;
  height: 250px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.video-placeholder,
.image-placeholder {
  text-align: center;
  padding: 2rem;
  cursor: pointer;
}

.video-placeholder i,
.image-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.video-placeholder p,
.image-placeholder p {
  font-size: 1.1rem;
  font-weight: 500;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.portfolio-content p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.portfolio-tag {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Portfolio CTA Section */
.portfolio-cta-section {
  background-color: var(--color-light);
  padding: 4rem 0;
}

.portfolio-cta {
  text-align: center;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.portfolio-cta p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--color-dark);
  font-weight: 600;
}

.portfolio-cta .btn {
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

/* Responsive Portfolio */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .portfolio-filter {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .portfolio-media {
    height: 200px;
  }
  
  .video-placeholder i,
  .image-placeholder i {
    font-size: 3rem;
  }

  .category-title {
    font-size: 2rem;
  }

  .portfolio-cta-section {
    padding: 3rem 0;
  }

  .portfolio-cta p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  .portfolio-cta .btn {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }
}

/* Video Container with Thumbnail */
.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.video-container .video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.video-container:hover .video-thumbnail {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  transition: all 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.video-container:hover .video-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.video-overlay .play-button {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  transition: all 0.3s ease;
  pointer-events: none;
}

.video-container:hover .video-overlay .play-button {
  opacity: 1;
  transform: scale(1.1);
}

.video-overlay .video-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  pointer-events: none;
}

/* Video Modal Styles */
.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: 10000;
  padding: 2rem;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
}

.video-modal video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Para vídeos verticais (reels) em mobile */
@media (max-width: 768px) {
  .video-modal video {
    object-fit: cover; /* Para vídeos verticais, usar cover para preencher melhor */
  }
}

/* Para vídeos horizontais em mobile, manter contain */
@media (max-width: 768px) and (orientation: landscape) {
  .video-modal-content {
    aspect-ratio: 16/9; /* Volta para horizontal em landscape */
  }
  
  .video-modal video {
    object-fit: contain; /* Mantém contain para vídeos horizontais */
  }
}

.video-modal .close-button {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s ease;
}

.video-modal .close-button:hover {
  color: var(--color-primary);
}

/* Photo Container and Overlay Styles */
.photo-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.photo-container:hover {
  transform: scale(1.05);
}

.photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
  pointer-events: none;
}

.photo-container:hover .photo-overlay {
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
}

.photo-overlay .zoom-button {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  color: #fff;
  pointer-events: none;
}

.photo-container:hover .photo-overlay .zoom-button {
  opacity: 1;
  transform: scale(1.1);
}

.photo-overlay .photo-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  color: #fff;
  pointer-events: none;
}

/* Photo Modal Styles */
.photo-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: 10000;
  padding: 2rem;
}

.photo-modal.active {
  display: flex;
}

.photo-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
}

.photo-modal img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.photo-modal .close-button {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.photo-modal .close-button:hover {
  color: var(--color-primary);
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* Responsive Video Modal */
@media (max-width: 768px) {
  .video-modal {
    padding: 0.5rem;
  }
  
  .video-modal-content {
    width: 95%;
    max-width: none;
    aspect-ratio: 9/16; /* Muda para formato vertical em mobile */
    max-height: 85vh;
  }
  
  .video-modal .close-button {
    top: -40px;
    font-size: 1.5rem;
  }

  .photo-modal {
    padding: 1rem;
  }
  
  .photo-modal .close-button {
    top: -40px;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }
}

/* Mobile específico para vídeos - telas muito pequenas */
@media (max-width: 480px) {
  .video-modal {
    padding: 0.25rem;
  }
  
  .video-modal-content {
    width: 98%;
    aspect-ratio: 9/16;
    max-height: 90vh;
    border-radius: 10px;
  }
  
  .video-modal .close-button {
    top: -35px;
    font-size: 1.3rem;
    right: 5px;
  }
  
  .video-modal video {
    border-radius: 10px;
  }
}

/* Clientes Section */
.clientes {
  background: linear-gradient(135deg, var(--color-primary) 0%, #00c4d6 100%);
  padding: 2rem 0;
  overflow: hidden;
}

.clientes .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.clientes .section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-dark);
  text-shadow: none;
  font-size: 2em;
}

.clientes .section-description {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-dark);
  font-size: 1.1rem;
}

.clients-logos-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: transparent;
  padding: 2rem 0;
  margin-top: 2rem;
}

.clients-logos-track {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: scroll-logos 60s linear infinite;
  width: max-content;
  padding: 0 4rem;
}

.client-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  min-width: 300px;
  padding: 0 4rem;
  transition: transform 0.3s ease;
}

.client-logo:hover {
  transform: scale(1.05);
}

.client-logo img {
  max-height: 150px;
  max-width: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

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

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pausar animação no hover */
.clients-logos-container:hover .clients-logos-track {
  animation-play-state: paused;
}

/* Responsive Clientes */
@media (max-width: 768px) {
  .clientes {
    padding: 1.5rem 0;
  }
  
  .clientes .container {
    padding: 0 0.5rem;
  }
  
  .clients-logos-container {
    padding: 1.5rem 0;
    margin-top: 1.5rem;
  }
  
  .clients-logos-track {
    gap: 0.3rem;
    animation-duration: 50s;
    padding: 0 1rem;
  }
  
  .client-logo {
    height: 120px;
    min-width: 200px;
    padding: 0 1.5rem;
  }
  
  .client-logo img {
    max-height: 100px;
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .clientes {
    padding: 1rem 0;
  }
  
  .clientes .container {
    padding: 0 0.5rem;
  }
  
  .clients-logos-container {
    padding: 1rem 0;
    margin-top: 1rem;
  }
  
  .clients-logos-track {
    gap: 0.2rem;
    animation-duration: 40s;
    padding: 0 0.5rem;
  }
  
  .client-logo {
    height: 100px;
    min-width: 150px;
    padding: 0 0.8rem;
  }
  
  .client-logo img {
    max-height: 80px;
    max-width: 140px;
  }
}

/* Contact Info Icons */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 0 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-dark);
  font-weight: 500;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--color-primary);
  width: 24px;
  text-align: center;
}

.contact-item span {
  font-size: 1rem;
}

/* Responsive Contact Info */
@media (max-width: 768px) {
  .contact-info {
    gap: 0.8rem;
    margin: 1.2rem 0 0 0;
  }
  
  .contact-item {
    gap: 0.8rem;
  }
  
  .contact-item i {
    font-size: 1.3rem;
  }
  
  .contact-item span {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .contact-info {
    gap: 0.7rem;
    margin: 1rem 0 0 0;
  }
  
  .contact-item {
    gap: 0.7rem;
  }
  
  .contact-item i {
    font-size: 1.2rem;
  }
  
  .contact-item span {
    font-size: 0.9rem;
  }
}

/* Portfolio preview toggle on home */
.portfolio-preview-wrapper {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, rgba(0, 232, 245, 0.08), rgba(245, 151, 69, 0.06));
  border: 1px solid rgba(0, 232, 245, 0.18);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.preview-text h3 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: var(--color-secondary);
  margin-bottom: 0.35rem;
}

.preview-text .section-description.small {
  margin: 0;
  color: #0f2b32;
  font-size: 1rem;
  max-width: 540px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.portfolio-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0, 17, 23, 0.9);
  border: 1px solid rgba(0, 232, 245, 0.35);
  border-radius: 999px;
  padding: 0.45rem 0.6rem 0.45rem 0.5rem;
  color: var(--color-light);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18), 0 0 0 6px rgba(0, 232, 245, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.portfolio-switch:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22), 0 0 0 8px rgba(0, 232, 245, 0.05);
}

.switch-track {
  position: relative;
  width: 74px;
  height: 32px;
  background: #0f2026;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(0, 232, 245, 0.25);
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  overflow: hidden;
}

.switch-fill {
  position: absolute;
  inset: 4px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.switch-thumb {
  position: relative;
  width: 24px;
  height: 24px;
  background: #e8f5f7;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.switch-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(0, 232, 245, 0.45), rgba(0, 232, 245, 0));
  filter: blur(8px);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.switch-label {
  font-size: 0.95rem;
  color: var(--color-light);
  white-space: nowrap;
  min-width: 90px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  text-align: center;
}

.portfolio-switch.is-active {
  border-color: rgba(245, 151, 69, 0.6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22), 0 0 0 8px rgba(0, 232, 245, 0.07);
  background: linear-gradient(135deg, rgba(0, 232, 245, 0.2), rgba(0, 0, 0, 0.8));
}

.portfolio-switch.is-active .switch-fill {
  opacity: 1;
}

.portfolio-switch.is-active .switch-thumb {
  transform: translateX(38px);
  background-color: var(--color-secondary);
  box-shadow: 0 8px 20px rgba(245, 151, 69, 0.45);
}

.portfolio-switch.is-active .switch-glow {
  opacity: 1;
}

.portfolio-switch:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
}

.portfolio-preview {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  padding: 0;
  margin-top: 0;
  border-radius: 14px;
  background: #0d181d;
  border: 1px solid rgba(0, 232, 245, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.09);
  pointer-events: none;
  transition: max-height 0.8s ease, opacity 0.45s ease, transform 0.45s ease, padding 0.45s ease, margin-top 0.45s ease;
}

.portfolio-preview.is-open {
  max-height: 1600px;
  opacity: 1;
  transform: translateY(0);
  padding: 1.25rem;
  margin-top: 1.25rem;
  pointer-events: auto;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.preview-window {
  background: linear-gradient(160deg, rgba(0, 12, 18, 0.85), rgba(0, 46, 54, 0.9));
  border: 1px solid rgba(0, 232, 245, 0.12);
  border-radius: 14px;
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: inset 0 0 0 1px rgba(0, 232, 245, 0.06);
}

.preview-tabs {
  display: inline-flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 0.25rem;
}

.preview-tab {
  border: none;
  background: transparent;
  color: var(--color-light);
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.preview-tab:hover,
.preview-tab:focus-visible {
  background: rgba(0, 232, 245, 0.12);
  outline: none;
}

.preview-tab.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #0a0a0a;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.preview-section-hidden {
  display: none;
}

.preview-card {
  background:
    radial-gradient(120% 150% at 20% 15%, rgba(0, 232, 245, 0.2), transparent 40%),
    radial-gradient(120% 120% at 80% 0%, rgba(245, 151, 69, 0.18), transparent 42%),
    #0a171c;
  border: 1px solid rgba(0, 232, 245, 0.14);
  border-radius: 12px;
  padding: 1rem;
  color: var(--color-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 151, 69, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.preview-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: #081015;
}

.preview-media img,
.preview-media video {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.preview-media video {
  background: #000;
}

.pill {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #001013;
}

.pill-primary {
  background: var(--color-primary);
  color: #001316;
}

.pill-secondary {
  background: var(--color-secondary);
  color: #1a0a00;
}

.preview-card h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  color: var(--color-light);
}

.preview-card p {
  color: #c8e9ec;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.preview-cta {
  margin-top: 1.25rem;
  text-align: right;
}

.preview-cta .btn {
  padding: 0.65rem 1.3rem;
  border-radius: 30px;
}

@media (max-width: 900px) {
  .preview-header {
    align-items: flex-start;
  }
  
  .preview-text h3 {
    font-size: 1.6rem;
  }
  
  .portfolio-switch {
    width: 100%;
    justify-content: space-between;
  }
  
  .switch-label {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .portfolio-preview-wrapper {
    padding: 1.2rem;
  }
  
  .portfolio-preview.is-open {
    padding: 1rem;
  }
  
  .preview-grid {
    grid-template-columns: 1fr;
  }
  
  .preview-media img,
  .preview-media video {
    height: 200px;
  }
  
  .preview-cta {
    text-align: center;
  }
  
  .portfolio-switch {
    gap: 0.5rem;
  }
}
