/* ==========================================================================
   Estilos Globais e do Layout Base
   ========================================================================== */

body {
  background: #111;
  margin: 0;
  font-family: 'Montserrat', 'Lora', Arial, sans-serif;
  color: #f5f5f5;
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: auto;
}

.section-padded {
  padding: 4rem 1rem 2rem 1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ==========================================================================
   Navegação e Cabeçalho
   ========================================================================== */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-nav ul,
.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #f5f5f5;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
  position: relative;
}

.main-nav a.active,
.main-nav a:hover {
  color: #e7c27d;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 1rem;
  z-index: 101;
}

.hamburger {
  display: block;
  width: 28px;
  height: 3px;
  background: #e7c27d;
  position: relative;
  border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background: #e7c27d;
  position: absolute;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger::before {
  top: -9px;
}

.hamburger::after {
  top: 9px;
}

#langToggle,
.langToggle {
  background: none;
  border: none;
  color: #e7c27d;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  pointer-events: none;
}

.langToggle i {
  font-size: 1.1rem;
}

/* ==========================================================================
   Seção Hero e Botões
   ========================================================================== */

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/assets/Background.webp') center center/cover no-repeat;
  filter: blur(2px) brightness(0.6);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #f5f5f541 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-content h1 {
  font-size: 5rem;
  font-family: 'Lora', serif;
  color: #e7c27d;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero-location {
  font-size: 1.1rem;
  color: #fff;
  background: rgba(231, 194, 125, 0.15);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  display: inline-block;
  margin-top: 1rem;
}

.btn-hero {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(
    90deg,
    rgba(255, 224, 85, 0.2) 0%,
    rgba(230, 161, 34, 0.2) 50%,
    rgba(26, 188, 156, 0.2) 100%
  );
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 24px rgba(231, 194, 125, 0.18);
  text-decoration: none;
  letter-spacing: 1px;
  transition:
    background 0.3s,
    transform 0.3s;
  cursor: pointer;
}

.btn-hero:hover {
  background: linear-gradient(90deg, #c19a6b 0%, #e7c27d 100%);
  transform: scale(1.05);
}

/* ==========================================================================
   Seção Sobre
   ========================================================================== */

.sobre-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.sobre-img img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #e7c27d;
  box-shadow: 0 4px 24px rgba(231, 194, 125, 0.15);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.sobre-text h2 {
  font-size: 2rem;
  color: #e7c27d;
  margin-bottom: 1rem;
}

.sobre-text p {
  font-size: 1.15rem;
  color: #ccc;
}

.destaque {
  background: linear-gradient(50deg, #e7c27d, #31d8d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

/* ==========================================================================
   Seção de Serviços
   ========================================================================== */

.servicos-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: center;
}

.servico-card {
  background: #181818;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
  box-shadow: 0 2px 16px rgba(231, 194, 125, 0.08);
  text-align: center;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
  position: relative;
  overflow: hidden;
}

.servico-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: none;
  z-index: 0;
  transition:
    background 0.4s,
    opacity 0.4s;
  pointer-events: none;
}

.servico-card:hover::before {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(29, 233, 182, 0.25) 0%,
    rgba(0, 184, 212, 0.18) 60%,
    rgba(24, 24, 24, 0.01) 100%
  );
  opacity: 1;
}

.servico-card > * {
  position: relative;
  z-index: 1;
}

.servico-card:hover {
  box-shadow: 0 8px 32px rgba(231, 194, 125, 0.18);
  transform: scale(1.06);
}

.servico-card i {
  font-size: 2.5rem;
  color: #e7c27d;
  margin-bottom: 1rem;
}

.servico-card h3 {
  color: #e7c27d;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.servico-card p {
  color: #ccc;
  font-size: 1rem;
}

/* ==========================================================================
   Seção de Portfólio
   ========================================================================== */

.portfolio-tab {
  display: inline-block;
  background: linear-gradient(90deg, #e7c27d 0%, #c19a6b 100%);
  color: #181818;
  border: none;
  border-radius: 20px 20px 0 0;
  padding: 0.7rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(231, 194, 125, 0.1);
  transition:
    background 0.3s,
    color 0.3s;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.portfolio-tab.active {
  background: linear-gradient(90deg, #c19a6b 0%, #e7c27d 100%);
  color: #fff;
}

.portfolio-panel {
  animation: fadeIn 0.5s;
}

.portfolio-tabs {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.portfolio-type {
  font-size: 1.4rem;
  color: #e7c27d;
  margin: 2.5rem 0 1rem 0;
  font-weight: 700;
  letter-spacing: 1px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.portfolio-grid img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(231, 194, 125, 0.12);
  transition: transform 0.3s;
}

.portfolio-grid a:hover img {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(231, 194, 125, 0.18);
}

.portfolio-card {
  transition:
    transform 0.3s,
    background 0.3s;
  background: #181818;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(231, 194, 125, 0.08);
  padding: 1rem 1rem 0.5rem 1rem;
  flex: 1 1 320px;
  min-width: 300px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: none;
  z-index: 0;
  transition:
    background 0.4s,
    opacity 0.4s;
  pointer-events: none;
}

.portfolio-card:hover::before {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(29, 233, 182, 0.25) 0%,
    rgba(0, 184, 212, 0.18) 60%,
    rgba(24, 24, 24, 0.01) 100%
  );
  opacity: 1;
}

.portfolio-card > * {
  position: relative;
  z-index: 1;
}

.portfolio-card:hover {
  transform: scale(1.04);
}

.portfolio-info {
  width: 100%;
  text-align: left;
  font-size: 1rem;
  color: #faf9f6;
  margin-bottom: 0.5rem;
}

.portfolio-title {
  font-weight: 600;
  color: #e7c27d;
  font-size: 1.1rem;
  display: block;
}

.portfolio-location {
  font-size: 0.95rem;
  color: #ccc;
  display: block;
  margin-bottom: 0.2rem;
}

.portfolio-contrib {
  font-size: 0.9rem;
  color: #e7c27d;
  font-style: italic;
  display: block;
}

/* ==========================================================================
   Seção de Contato
   ========================================================================== */

.contact-grid {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-form-wrapper,
.contact-info-wrapper {
  flex: 1 1 320px;
  background: #181818;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 16px rgba(231, 194, 125, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group label {
  color: #e7c27d;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: none;
  background: #222;
  color: #faf9f6;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid #e7c27d;
}

.contact-info-wrapper h3 {
  color: #e7c27d;
  margin-bottom: 1rem;
}

.info-item strong {
  color: #e7c27d;
}

.info-item a {
  color: #faf9f6;
  text-decoration: underline;
  transition: color 0.3s;
}

.info-item a:hover {
  color: #e7c27d;
}

.footer-contato {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Rodapé
   ========================================================================== */

.site-footer {
  background: #181818;
  color: #e7c27d;
  padding: 2.5rem 0 1.2rem 0;
  position: relative;
  margin-top: 3rem;
}

.site-footer .container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.footer-brand {
  text-align: center;
}

.footer-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #e7c27d;
  margin-bottom: 0.2rem;
  letter-spacing: 2px;
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #555;
  font-weight: 400;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-contact {
  margin-bottom: 0.5rem;
}

.footer-email {
  color: #e7c27d;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-email i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
  vertical-align: middle;
}

.footer-email:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.footer-social a {
  color: #e7c27d;
  font-size: 2.2rem;
  margin: 0 1.2rem;
  transition:
    color 0.3s,
    transform 0.3s;
  vertical-align: middle;
}

.footer-social a i {
  font-size: 2.2rem;
}

.footer-social a.footer-email i {
  font-size: 2.3rem;
}

.footer-social a:hover {
  color: #fff;
  transform: scale(1.2);
}

.footer-gold-line {
  border: none;
  border-top: 3px solid #e7c27d;
  width: 100%;
  margin: 2rem 0 1.2rem 0;
  box-shadow: 0 2px 12px 0 rgba(231, 194, 125, 0.15);
  border-radius: 8px;
}

.footer-copyright {
  color: #e7c27d;
  font-size: 1rem;
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 1px;
}

/* ==========================================================================
   Media Queries (Responsividade)
   ========================================================================== */

@media (max-width: 800px) {
  .nav-toggle {
    display: block;
    position: absolute;
    top: 1.2rem;
    right: 1rem;
    margin-left: 0;
    z-index: 102;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: #181818;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu.open {
    max-height: 400px;
    padding-bottom: 1rem;
  }

  .main-nav {
    position: relative;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .main-nav ul {
    gap: 1rem;
  }

  .sobre-flex {
    flex-direction: column;
    align-items: center;
  }

  .servicos-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

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

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .langToggle {
    margin: 0.5rem auto;
    display: inline-block;
  }
}
