/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

:root {
  --bege: #CBC5AD;
  --verde: #8BC34A;
  --verde-escuro: #151811;
}

/* BODY */
body {
  font-family: 'Oswald', sans-serif;
  background: var(--verde-escuro);
  color: var(--bege);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--bege);
}

/* CONTAINER GLOBAL */
.container {
  max-width: 1300px;
  margin: auto;
  padding: 0 60px;
}

/* HEADER */
.header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 60px;
  z-index: 10;
  transition: all 0.3s ease;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 20px;
}

.logo img {
  height: 50px;
}

/* MENU */
.menu {
  display: flex;
  gap: 40px;
}

.menu a {
  font-size: 18px;
  letter-spacing: 2px;
  position: relative;
  transition: .3s;
}

.menu a:hover {
  color: var(--verde);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--bege);
  display: block;
}

.menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 90px;
  right: 30px;
  background: #151811;
  padding: 25px 35px;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
  border-radius: 6px;
}

/* HERO */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  background-image: url("img/wallpaper5.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

/* Overlay da hero */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

/* HERO CONTAINER */
.hero-container {
  max-width: 1300px;
  width: 100%;
  margin: auto;
  padding: 0 60px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* HERO LEFT */
.hero-left {
  max-width: 600px;
}

.hero-left h1 {
  font-size: 72px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--bege);
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 35px;
  background: var(--verde);
  border: none;
  padding: 15px 30px;
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: .3s;
  color: #000;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,.4);
}

/* =========================
MANIFESTO
========================= */
.manifesto {
  width: 100%;
  min-height: 100vh;
  padding: 120px 60px;
  background: #151811;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifesto-container {
  max-width: 900px;
  text-align: center;
}

.manifesto-tag {
  color: var(--verde);
  font-size: 60px;
  letter-spacing: 4px;
  display: block;
  margin-bottom: 25px;
}

.manifesto-title {
  font-size: 40px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--bege);
  margin-bottom: 40px;
}

.manifesto-text {
  font-size: 18px;
  line-height: 1.8;
  max-width: 700px;
  margin: auto;
  opacity: .9;
}

/* =========================
COLEÇÕES
========================= */
.colecoes {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 60px;
  position: relative;
  background-image: url("img/wallpaper4.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.colecoes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
  pointer-events: none; /* Isso garante que o gradiente não atrapalhe cliques nos cards */
}

.colecoes-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  text-align: left;
  position: relative; /* Adicione esta linha */
  z-index: 2; /* Adicione esta linha */
}

.colecao-card.card-duas-imagens:hover .card-overlay h3 {
  color: var(--verde); /* Muda para a cor verde destaque */
  transition: color 0.3s ease; /* Transição suave */
}

.colecoes-title {
  font-size: 60px;
  color: var(--verde);
  margin-bottom: 20px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.drop-title {
  font-size: 22px;
  color: var(--bege);
  margin-bottom: 25px;
  letter-spacing: 3px;
  font-weight: 400;
}

/* GRID */
.colecoes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* CARD padrão (para os cards que não têm duas imagens) */
.colecao-card {
  position: relative;
  height: 420px;
  overflow: hidden;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0 30px 40px rgba(0,0,0,0.5);
}

.colecao-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

/* OVERLAY (comum a todos os cards) */
.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  z-index: 3; /* garante que fique acima das imagens */
}

.card-overlay h3 {
  color: var(--bege);
  font-size: 28px;
  letter-spacing: 2px;
}

/* HOVER padrão (zoom) */
.colecao-card:hover img {
  transform: scale(1.08);
}

/* ===== CARD COM DUAS IMAGENS (FRENTE/VERSO) ===== */

css
/* ============================================
   CARD COM DUAS IMAGENS (FRENTE/VERSO)
   Alternância suave com delay de 2s
   ============================================ */

/* Container principal do card (já deve existir, mas garantimos o contexto) */
.colecao-card.card-duas-imagens {
  position: relative;
  overflow: hidden; /* Garante que nada vaze para fora */
}

/* Wrapper das imagens (necessário para o posicionamento absoluto) */
.colecao-card.card-duas-imagens .card-imagens {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Evita que o zoom ultrapasse os limites */
}

/* Estilo base para ambas as imagens */
.colecao-card.card-duas-imagens .card-imagens img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Garante que a imagem cubra todo o espaço sem distorcer */
  backface-visibility: hidden; /* Previne flickering em alguns navegadores */
  will-change: opacity, transform; /* Otimiza a performance da animação */
  pointer-events: none; /* Evita que a imagem interfira no clique */
  
  /* Transição: opacidade com duração de 1.5s, easing suave e delay 0s (padrão) */
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 1.5s ease;
  transform: scale(1); /* Escala inicial */
}

/* Imagem da frente (inicialmente visível) */
.colecao-card.card-duas-imagens .img-frente {
  opacity: 1;
  z-index: 2;
}

/* Imagem de trás (inicialmente oculta) */
.colecao-card.card-duas-imagens .img-verso {
  opacity: 0;
  z-index: 1;
}

/* Efeito ao passar o mouse */
.colecao-card.card-duas-imagens:hover .img-frente {
  opacity: 0;
  /* Descomente a linha abaixo para ativar um leve zoom na imagem frontal ao desaparecer */
  /* transform: scale(1.08); */
  transition-delay: 1s; /* Delay de 2 segundos antes de começar a transição */
}

.colecao-card.card-duas-imagens:hover .img-verso {
  opacity: 1;
  transition-delay: 1s; /* Mesmo delay para manter sincronia */
}

/* Remove qualquer transformação indesejada do hover padrão do card */
.colecao-card.card-duas-imagens:hover img {
  transform: none; /* Mantém o controle manual */
}

/* Quando o mouse NÃO está sobre o card, a transição de volta acontece sem delay */
.colecao-card.card-duas-imagens:not(:hover) .img-frente,
.colecao-card.card-duas-imagens:not(:hover) .img-verso {
  transition-delay: 0s;
}
/* =========================
CONTATO
========================= */
.contato {
  width: 100%;
  min-height: 80vh;
  padding: 120px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #151811;
}

.contato-container {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.contato-title {
  font-size: 52px;
  margin-bottom: 20px;
  color: var(--verde);
}

.contato-sub {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 50px;
}

/* FORM */
.contato-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Grupos de campo */
.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 8px;
  position: relative;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #CBC5AD;
  text-transform: uppercase;
  margin-left: 4px;
}

/* Inputs */
.contato-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid transparent;
  outline: none;
  background: #1c2018;
  color: #CBC5AD;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.contato-form input::placeholder {
  color: #CBC5AD;
  opacity: 0.6;
}

.contato-form input:focus {
  border-color: #8BC34A;
  background: #23281f;
  box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

/* Dica do campo (small) */
.field-hint {
  font-size: 12px;
  color: #8a8a7c;
  margin-left: 4px;
  align-self: flex-start;
}

/* Checkbox de consentimento */
.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  text-align: left;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: #8BC34A;
  transform: scale(1.1);
}

.checkbox-group label {
  font-size: 14px;
  text-transform: none;
  font-weight: normal;
  color: #CBC5AD;
  margin: 0;
  line-height: 1.4;
}

.checkbox-group a {
  color: #8BC34A;
  text-decoration: none;
  border-bottom: 1px dotted #8BC34A;
}

.checkbox-group a:hover {
  color: #a5d66b;
}

/* Botão */
.contato-form .btn {
  margin-top: 16px;
  background-color: #8BC34A;
  color: #151811;
  border: none;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
}

.contato-form .btn:hover {
  background-color: #a5d66b;
  box-shadow: 0 4px 12px rgba(139, 195, 74, 0.3);
}

.contato-form .btn:active {
  transform: scale(0.98);
}

.contato-form .btn:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Estado de desabilitado */
.contato-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #6a8a4a;
}

/* Honeypot */
.hp-field {
  display: none;
}

/* Estilos para feedback de validação */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Estado de erro */
.form-group.error input {
  border: 2px solid #ff6b6b !important;
  background-color: rgba(255, 107, 107, 0.05);
}

/* Estado de sucesso */
.form-group.success input {
  border: 2px solid #8BC34A !important;
}

/* Mensagem de erro */
.error-message {
  display: block;
  text-align: left;
  font-size: 12px;
  color: #ff6b6b;
  margin-top: 5px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Dica do campo (small) */
.field-hint {
  display: block;
  text-align: left;
  font-size: 12px;
  color: #aaa;
  margin-top: 5px;
}

/* Grupo checkbox com feedback */
.checkbox-group.error {
  border-left: 3px solid #ff6b6b;
  padding-left: 10px;
}

.checkbox-group.success {
  border-left: 3px solid #8BC34A;
  padding-left: 10px;
}

/* Botão desabilitado (global) */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #666;
}

.btn:disabled:hover {
  background-color: #666;
  transform: none;
}

/* Mensagem de sucesso após envio */
.success-message {
  background: rgba(139, 195, 74, 0.1);
  border: 2px solid var(--verde);
  color: var(--bege);
  padding: 30px 20px;
  border-radius: 8px;
  font-size: 18px;
  text-align: center;
  line-height: 1.5;
}

/* =========================
FOOTER
========================= */
.footer {
  width: 100%;
  padding: 40px 60px;
  background: #0f120c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 2px;
}

.footer-logo img {
  height: 35px;
}

.footer-copy {
  font-size: 14px;
  opacity: .7;
}

.footer-social {
  display: flex;
  gap: 28px;
}

.footer-social a {
  font-size: 26px;
  color: var(--bege);
  transition: 0.3s;
}

.footer-social a:hover {
  color: var(--verde);
  transform: translateY(-3px);
}

/* =========================
RESPONSIVO
========================= */
@media (max-width: 1000px) {
  .hero-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
  }

  .hero-left h1 {
    font-size: 54px;
  }

  .colecoes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* TABLET */
@media (max-width: 768px) {
  .header {
    padding: 20px 30px;
  }

  .hero-container {
    padding: 0 30px;
  }

  .manifesto {
    padding: 100px 30px;
  }

  .manifesto-title {
    font-size: 30px;
  }

  .manifesto-text {
    font-size: 16px;
  }

  .colecoes {
    padding: 100px 30px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-container {
    padding: 0 20px;
  }

  .hero-left h1 {
    font-size: 36px;
  }

  .colecoes-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .colecoes-title {
    font-size: 42px;
  }

  .contato {
    padding: 100px 25px;
  }

  .contato-title {
    font-size: 36px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}