/* Containers de partículas */

.sparks {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99;
}

.smoke {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 98;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: black;
  color: white;
  overflow-x: hidden;
}

/* HEADER */

.header {

  position: fixed;
  top: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 60px;

  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);

  z-index: 999;

}

.logo {
  height: 50px;
}

nav a {
  margin-left: 30px;
  text-decoration: none;
  color: white;
}

.buy {
  background: white;
  color: black;
  padding: 10px 18px;
  border-radius: 30px;
}

/* SECTIONS */

section {

  min-height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  position: center;

  padding: 80px 40px;

}

/* HERO */

.hero h1 {
  font-size: 90px;
  font-weight: 800;
}

.hero p {
  margin-top: 20px;
  font-size: 24px;
  opacity: .7;
}

.cta {
  margin-top: 30px;
  background: white;
  color: black;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
}

/* THREE */

.product {
  background: black;
  width: 100%;
  height: 100vh;
  margin-top: -80px;

  display: flex;
  justify-content: center; /* centraliza horizontal */
  align-items: center;     /* centraliza vertical */
}

.colar-product {
  background: black;
  width: 100%;
  height: 100vh;
  margin-top: -80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#three-container {
  width: 100%;
  height: 100vh;
  margin-top: -80px;

  display: flex;
  justify-content: center;
  align-items: center;
}

#colar-three-container {
  width: 100%;
  height: 100vh;
  margin-top: -80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* VIDEO CARD SECTION */

.video-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  gap: 8px;
  /* Espaço pequeno entre cards */
}

.video-card {

  position: relative;

  width: 100%;
  max-width: 1200px;

  border-radius: 40px;

  overflow: hidden;

  background: black;

}

.video-card.white {
  background: white;
}

/* VIDEO ESCALADA */

.video-full {

  width: 100%;
  height: 100;
  display: block;

}

/* VIDEO COLAR */

.video-half {

  width: 100%;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;

}

.video-half video {

  height: 100%;
  width: auto;

}

/* BLOCO INFERIOR */

.video-bottom {

  position: absolute;

  bottom: 40px;
  left: 60px;
  right: 60px;

  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  gap: 20px;

}

.video-bottom.dark {
  color: black;
}

/* TEXTO */

.video-text {

  max-width: 520px;
  text-align: left;

}

.video-text h2 {

  font-size: 52px;
  font-weight: 800;

}

.video-text p {

  margin-top: 12px;
  font-size: 22px;
  opacity: .85;

}

/* BOTÃO */

.btn-outline {

  padding: 12px 28px;

  border: 2px solid white;

  border-radius: 30px;

  color: white;

  text-decoration: none;

  background: transparent;

  transition: 0.3s;

  font-size: 16px;

}

.btn-outline:hover {
  background: white;
  color: black;
}

.dark-border {
  border: 2px solid black;
  color: black;
}

.dark-border:hover {
  background: black;
  color: white;
}

/* FEATURE */


.feature {
  font-size: 50px;
  margin-bottom: 40px;
}
.feature p {
  font-size: 22px;
  margin-top: 20px;
}

.airpods-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 32px;
}
.airpods-card {
  background: #f5f5f7;
  color: #111;
  border-radius: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 24px 24px 24px;
  width: 340px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: box-shadow 0.2s;
}
.airpods-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
}
.card-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.card-title {
  font-size: 20px;
  font-weight: 700;
}
.card-toggle {
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: #111;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.card-toggle:hover {
  background: #e0e0e0;
  color: #0071e3;
}
.card-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  transition: opacity 0.4s;
}
.card-extra {
  font-size: 18px;
  color: #111;
  margin-top: 12px;
  transition: opacity 0.4s;
}

/* CTA */

.cta-big {

  margin-top: 40px;

  background: white;
  color: black;

  padding: 20px 40px;

  border-radius: 40px;

  text-decoration: none;

  font-size: 24px;

}

.cta-card {
  background: #111;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 48px 32px;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cta-card h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}
.cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
  align-items: flex-start;
}
.check {
  color: #ffd700;
  font-size: 22px;
  margin-right: 8px;
}
.cta-stars {
  font-size: 28px;
  color: #ffd700;
  margin: 8px 0;
  letter-spacing: 2px;
}
.star {
  font-size: 28px;
  color: #ffd700;
  margin: 0 2px;
}
.cta-pets {
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}
.cta-big {
  margin-top: 32px;
  font-size: 22px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 30px;
  background: #fff;
  color: #111;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background .2s, color .2s;
}
.cta-big:hover {
  background: #ffd700;
  color: #111;
}
.cta-guarantee {
  margin-top: 12px;
  font-size: 15px;
  color: #ffd700;
  font-weight: 600;
}

/* FOOTER */

footer {

  height: 200px;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: .5;

}

/* PLAQUINHA PERSONALIZADA */

#tag3d {

  width: 100%;
  max-width: 420px;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;

  z-index: 100;

}

.tag-img {
  width: 100%;
  display: block;
}

/* TEXTO GRAVADO */

.pet-name {

  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  font-size: 34px;
  font-weight: 800;

  letter-spacing: 3px;

  color: #111;

  opacity: 0;

  pointer-events: none;

  font-family: 'Inter', sans-serif;

}

/* LASER */

.laser {

  position: absolute;

  width: 100%;
  height: 3px;

  background: red;

  top: 50%;

  left: 0;

  opacity: 0;

  box-shadow: 0 0 10px red, 0 0 20px red;

}

/* FAISCAS */

.spark {

  position: absolute;

  width: 6px;
  height: 6px;

  background: radial-gradient(circle, #ffb300 60%, #ff6600 100%);

  border-radius: 50%;

  opacity: 0;

  pointer-events: none;

  filter: blur(0.5px);

  z-index: 20;

  box-shadow: 0 0 8px 2px #ffb300;

}

/* FUMAÇA */

.smoke-particle {

  position: absolute;

  width: 32px;
  height: 32px;

  background: radial-gradient(circle, rgba(220, 220, 220, 0.18) 60%, rgba(180, 180, 180, 0.08) 100%);

  border-radius: 50%;

  filter: blur(8px);

  opacity: 1;

  pointer-events: none;

  z-index: 15;

}

/* CUSTOMIZADOR */

.tag-customizer {

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  gap: 40px;

  text-align: center;

}


.laser-info {

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 20px;

  font-size: 22px;

  padding: 10px 20px;

}

.tag-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  /* Espaço pequeno entre cards */
}

.tag-card h2 {
  font-size: 80px;
  font-weight: 800;
}
/* ================= FIX MOBILE GLOBAL ================= */

/* melhora renderização no iOS */
html {
  -webkit-text-size-adjust: 100%;
}

/* evita zoom estranho em inputs no iOS */
input, textarea {
  font-size: 16px;
}

/* corrige vídeos no iOS */
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================= HEADER MOBILE ================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  display: block;
  border-radius: 3px;
}

/* menu mobile */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: black;
  display: flex;
  flex-direction: column;
  padding: 80px 30px;
  gap: 30px;
  transition: 0.3s;
  z-index: 1000;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  font-size: 22px;
}

.mobile-nav .buy {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 22px;
}

.mobile-nav.active {
  right: 0;
}

/* overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 999;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ================= FIXES NO SEU CSS ================= */

/* BUG: height sem unidade */
.video-full {
  height: auto; /* corrigido */
}

/* melhora responsividade dos vídeos */
.video-half video {
  max-width: 100%;
  height: auto;
}

/* evita corte estranho */
.video-half {
  overflow: hidden;
}

/* melhora toque em botões */
a, button {
  -webkit-tap-highlight-color: transparent;
}

/* ================= MOBILE ================= */

@media(max-width: 768px){

  /* header menor */
  .header {
    padding: 15px 20px;
  }

  /* esconde menu desktop */
  nav {
    display: none;
  }

  /* mostra hamburguer */
  .menu-toggle {
    display: flex;
  }

  /* HERO ajuste leve (sem quebrar estilo) */
  .hero h1 {
    font-size: 48px; /* antes 90 */
  }

  .hero p {
    font-size: 18px;
  }

  /* evita quebra de layout 3D */
  .product,
  .colar-product,
  #three-container,
  #colar-three-container {
    height: 70vh;
    margin-top: 0;
  }

  /* vídeo não cortar texto */
  .video-bottom {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* textos grandes */
  .video-text h2 {
    font-size: 28px;
  }

  .video-text p {
    font-size: 16px;
  }

  /* cards empilhados */
  .airpods-cards {
    flex-direction: column;
    align-items: center;
  }

  /* título gigante corrigido */
  .tag-card h2 {
    font-size: 36px;
  }

  /* botão maior pra dedo */
  .cta-big {
    width: 100%;
    text-align: center;
  }

}

/* ================= SAFE AREA IOS (notch) ================= */

@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}