/* style.css - Paleta: Opção A (Azul profundo + Roxo + Ciano) */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");
:root {
  --bg1: #0a0f24; /* azul profundo */
  --bg2: #421f91; /* roxo */
  --cyan: #00e5ff; /* destaque */
  --text: #f4f4f5; /* texto primário */
  --muted: #aab0c0; /* texto secundário */
  --glass: rgba(255, 255, 255, 0.04);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  color: var(--text);
  line-height: 1.55;
}

.bg-section-1 {
  background-color: #0a0f24;
}

.bg-section-2 {
  background: linear-gradient(135deg, var(--bg1) 0%, #23114d 100%);
}

.bg-section-3 {
  background: linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* small accessibility and focus states */
a:focus {
  outline: 3px solid rgba(0, 229, 255, 0.12);
  outline-offset: 3px;
  border-radius: 8px;
}

button:focus {
  outline: 3px solid rgba(0, 229, 255, 0.12);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 15, 36, 0.55);
  backdrop-filter: blur(14px);
  padding: 10px 0;
  z-index: 999;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1.3rem;
}

.logo span {
  color: var(--cyan);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  transition: 0.2s;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-links .btn-primary {
  font-size: 1rem;
}

/* BUTTONS */

.btn-primary,
.btn-secondary {
  display: inline-block;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.2s;
}

.btn-primary {
  background: linear-gradient(
    90deg,
    rgba(0, 229, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  color: var(--text);
  border: 1px solid rgba(0, 229, 255, 0.18);
  backdrop-filter: blur(4px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-primary:hover {
  color: var(--cyan);
  transform: translateY(-3px);
}

.btn-secondary:hover {
  border: 1px solid rgba(255, 255, 255, 0.158);
  background: linear-gradient(
    90deg,
    rgba(0, 229, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  color: var(--cyan);
  transform: translateY(-3px);
}

/* HERO */

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px 0px;
  height: 100vh;
}

.hero-content {
  max-width: 980px;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero-head {
  align-self: center;
  justify-self: center;
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 4.2vw, 48px);
  margin: 100px 0 18px;
  line-height: 1.02;
  font-weight: 700;
}

.hero h1 span {
  color: var(--cyan);
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.hero-arrow {
  align-self: end;
  justify-self: center;
  margin-top: 150px;
}

.arrows {
  width: 60px;
  height: 80px;
}
.arrows path {
  stroke: var(--cyan);
  fill: transparent;
  stroke-width: 1px;
  animation: arrow 2s infinite;
  -webkit-animation: arrow 2s infinite;
  opacity: 0.85;
}
@keyframes arrow {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes arrow {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.arrows path.a1 {
  animation-delay: -1s;
  -webkit-animation-delay: -1s;
}

.arrows path.a2 {
  animation-delay: -0.5s;
  -webkit-animation-delay: -0.5s;
}

.arrows path.a3 {
  animation-delay: 0s;
  -webkit-animation-delay: 0s;
}

/* BENEFITS */

.benefits {
  min-height: 80vh;
  margin: 0px auto;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.benefits-content {
  max-width: 80%;
}

.benefits h2 {
  text-align: center;
  margin-bottom: 35px;
  font-size: 1.6rem;
}

.highlight {
  color: var(--cyan);
  font-weight: 700;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.benefit-item {
  background: linear-gradient(
    90deg,
    rgba(0, 229, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  padding: 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.45);
  text-align: center;
}

.benefit-item i {
  font-size: 45px;
  background: linear-gradient(
    90deg,
    rgba(0, 229, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  color: var(--text);
  padding: 18px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.benefit-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.benefit-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* SLIDER COM SWIPER */

.carousel {
  padding: 40px 0;
}

.netflix-slider {
  padding-left: 24px;
  margin-bottom: 30px;
  /* width: 98%; */
}

.swiper {
  overflow: visible;
}

.header-swiper,
.header-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
}

.header-swiper h2,
.header-cta h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 0;
  width: 90%;
}

.header-swiper p,
.header-cta p {
  width: 80%;
  text-align: center;
}

.swiper-slide {
  width: 260px !important; /* ESSENCIAL para estilo Netflix */
  flex-shrink: 0;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.card {
  background: linear-gradient(135deg, #333, #111);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 0 8px 1px #00003f;
}

.swiper-slide:hover .card {
  transform: scale(1.03);
  transform: translateY(-3px);
  z-index: 10;
}

/* CTA */
.cta {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 0;
}

.cta-content {
  width: 1100px;
  padding: 36px 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.header-cta p {
  margin-top: 10px;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.cta-item {
  padding: 0px;
  position: relative;
}

.cta-item h3 {
  margin: 20px 0 8px;
  font-size: 1.5rem;
}

.cta-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 35px;
}

.card-inner {
  position: relative;
  height: 600px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.cta-item.flip .card-inner {
  transform: rotateY(180deg);
}

/* .cta-item.flip .card-front {
  pointer-events: none;
  opacity: 0;
} */

.card-front {
  height: 100%;
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.45);
  padding: 30px;
  transition: 0.8s;
  transform-style: preserve-3d;
}

.card-back {
  transform: rotateY(180deg);
}

.d-none {
  opacity: 0;
  /* pointer-events: none; */
}

.card-back h3 {
  text-align: left;
}

.card-back ul {
  margin-bottom: 50px;
}

.cta-item ul {
  padding-left: 0;
  list-style: none;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.8rem;
}

.destaque {
  border-radius: 12px;
  border: 2px solid var(--cyan);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.45);
}

.selo {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: bold;
  z-index: 10;
  background: linear-gradient(
    90deg,
    rgba(0, 229, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  color: var(--cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.5);
  backdrop-filter: blur(4px);
}

.btn-cta-container {
  position: absolute;
  display: flex;
  flex-direction: column;
  bottom: 15px;
  left: 0;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.btn-cta-container .btn-secondary:hover {
  color: var(--text);
}

#btn-questions-cta,
#btn-completed-cta {
  width: 300px;
  position: relative;
  overflow: hidden;
}

.text-wrapper {
  position: relative;
  display: inline-block;
}

/* placeholder mantém tamanho do botão */
#btn-questions-cta .text.placeholder,
#btn-completed-cta .text.placeholder {
  visibility: hidden;
  position: static;
  white-space: nowrap;
}

#btn-questions-cta .text,
#btn-completed-cta .text {
  position: absolute;
  inset: 0;
  white-space: nowrap;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* estados iniciais */
#btn-questions-cta .text.default,
#btn-completed-cta .text.default {
  transform: translateX(0);
}
#btn-questions-cta .text.hover,
#btn-completed-cta .text.hover {
  transform: translateX(130%);
}

/* hover */
#btn-questions-cta.is-hover .text.default,
#btn-completed-cta.is-hover .text.default {
  transform: translateX(-130%);
}
#btn-questions-cta.is-hover .text.hover,
#btn-completed-cta.is-hover .text.hover {
  transform: translateX(0);
}

.flip-btn {
  background: none;
  border: none;
  color: var(--text);
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
  font-style: italic;
  cursor: pointer;
  margin-top: 15px;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.flip-btn:focus {
  outline: none;
}

.flip-btn:hover {
  color: var(--cyan);
}

.cta-item i {
  font-size: 16px;
}

.strategic {
  width: 90%;
  margin: 50px auto 0;
  font-size: 0.85rem;
  padding: 20px 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

/* SUPPORT */

.support h2 {
  margin: 0 0 14px;
}

.support {
  min-height: 80vh;
}

.support-content img {
  width: 200px;
}

/* FOOTER */
.footer {
  padding: 5px 5px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1600px) {
  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 980px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features {
    grid-template-columns: 1fr;
  }
  .features-image {
    order: -1;
    margin-bottom: 18px;
  }
}

@media (max-width: 640px) {
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .navbar {
    padding: 10px;
  }
  .logo {
    font-size: 0.95rem;
  }
  .nav-links .btn-primary {
    font-size: 0.75rem;
  }
  .btn-primary,
  .btn-secondary {
    padding: 10px 14px;
  }
  .hero {
    padding-top: 28px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero-arrow {
    margin-top: 0px;
  }
  .cta-content {
    max-width: 90%;
    padding: 50px 10px;
  }
  .cta.support h2 {
    font-size: 16px;
  }
  .cta.support a {
    font-size: 14px;
  }
  .footer {
    font-size: 10px;
  }
  .swiper-slide {
    width: 200px !important;
  }
  .header-swiper h2 {
    font-size: 1.4rem;
  }
  .header-cta h2 {
    width: 100%;
    font-size: 1.4rem;
  }
  .header-cta p {
    width: 90%;
    font-size: 0.98rem;
    margin-top: 15px;
  }
  .header-swiper p {
    width: 90%;
    font-size: 12px;
  }
  .cta-grid {
    display: flex;
    flex-direction: column;
  }
  .cta-card-container .cta-item:nth-child(1) .card-inner {
    height: 700px;
  }
  .cta-card-container .cta-item:nth-child(2) .card-inner {
    height: 780px;
  }
  .card-front,
  .card-back {
    padding: 30px 20px;
  }
  .strategic {
    width: 100%;
    margin: 50px auto 0;
    font-size: 0.92rem;
    padding: 20px 10px;
  }
  .support {
    min-height: 70vh;
  }
}
