/* ==========================================================================
   Tokyo Game Show 2027 com BRKsEDU  —  tokyo-game-show-2.php
   Base (reboot, grid, fontes, footer, modal, slick): j2you.min.css
   ========================================================================== */

.j2you-tgs2 {
  --tgs2-red: #F42742;
  --tgs2-red-dark: #d81b35;
  --tgs2-red-soft: #F9B4BE;
  --tgs2-black: #111111;
  --tgs2-text: #555555;
  --tgs2-gray-bg: #EFF2F6;
  --tgs2-border: #DADDE2;
  --tgs2-font: 'Lato', 'Poppins', Arial, sans-serif;
}

/* Fonte e cor só nas seções da página (header/footer seguem o site) */
.j2you-tgs2-title,
.j2you-tgs2-hero,
.j2you-tgs2-experiencias,
.j2you-tgs2-form,
.j2you-tgs2-fotos {
  font-family: var(--tgs2-font);
  color: var(--tgs2-black);
}

.j2you-tgs2-title h1,
.j2you-tgs2-hero :is(h2, p, button),
.j2you-tgs2-experiencias :is(h2, h3),
.j2you-tgs2-form :is(h2, p, button, input),
.j2you-tgs2-fotos :is(h2, p, button) {
  font-family: var(--tgs2-font);
}

/* Botão padrão ------------------------------------------------------------ */
.j2you-tgs2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 20px;
  border: 0;
  border-radius: 6px;
  background-color: var(--tgs2-red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.j2you-tgs2-btn:hover,
.j2you-tgs2-btn:focus-visible {
  background-color: var(--tgs2-red-dark);
  color: #fff;
  text-decoration: none;
}
.j2you-tgs2-btn:focus-visible {
  outline: 2px solid var(--tgs2-black);
  outline-offset: 2px;
}
.j2you-tgs2-btn--block {
  display: flex;
  width: 100%;
}
.j2you-tgs2-btn.is-loading {
  pointer-events: none;
  opacity: .7;
}
.j2you-tgs2-btn.is-loading::after {
  content: '';
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border: 2px solid rgba(255,255,255,.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: tgs2-spin .7s linear infinite;
}
@keyframes tgs2-spin { to { transform: rotate(360deg); } }

/* Decorações --------------------------------------------------------------- */
.j2you-tgs2-dots {
  position: absolute;
  width: 72px;
  height: 250px;
  background-image: radial-gradient(#3a3a3a 1.3px, transparent 1.6px);
  background-size: 15px 15px;
  opacity: .8;
  pointer-events: none;
}
.j2you-tgs2-dots--left { left: 40px; bottom: -120px; }
.j2you-tgs2-dots--right { right: 40px; bottom: -40px; }

.j2you-tgs2-sun {
  position: absolute;
  top: 10px;
  right: 40px;
  width: 140px;
  height: 140px;
  pointer-events: none;
}
.j2you-tgs2-sun::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 30px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: var(--tgs2-red);
}
.j2you-tgs2-sun::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 10px, #e9e9e9 10px, #e9e9e9 11px, transparent 11px,
                            transparent 17px, #e9e9e9 17px, #e9e9e9 18px, transparent 18px,
                            transparent 24px, #e9e9e9 24px, #e9e9e9 25px, transparent 25px);
}

/* TÍTULO ==================================================================== */
.j2you-tgs2-title {
  padding: 34px 0;
  background-color: var(--tgs2-gray-bg);
  border-bottom: 4px solid var(--tgs2-red);
  text-align: center;
}
.j2you-tgs2-title h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--tgs2-black);
}

/* HERO ====================================================================== */
.j2you-tgs2-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 56px 0;
  overflow: hidden;
}
.j2you-tgs2-hero > .j2you-container {
  position: relative;
  z-index: 3;
  width: 100%;
}
.j2you-tgs2-hero-text {
  max-width: 500px;
}
.j2you-tgs2-hero-text h2 {
  margin: 0 0 28px;
  padding-left: 20px;
  border-left: 5px solid var(--tgs2-black);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--tgs2-black);
}
.j2you-tgs2-hero-text p {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--tgs2-text);
}
.j2you-tgs2-hero-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(50% + 40px);
  overflow: hidden;
  border-bottom-left-radius: 40px;
}
.j2you-tgs2-hero-img img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
    max-width: 910px;
}
.j2you-tgs2-hero-cloud {
  position: absolute;
  z-index: 1;
  right: calc(50% + 50px);
  bottom: 0;
  width: 340px;
  fill: var(--tgs2-gray-bg);
  pointer-events: none;
}
.j2you-tgs2-hero-more {
  position: absolute;
  z-index: 4;
  right: calc(50% + 58px);
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tgs2-red);
  cursor: pointer;
}
.j2you-tgs2-hero-more span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 14px;
  font-weight: 700;
}

/* EXPERIÊNCIAS ============================================================= */
.j2you-tgs2-experiencias {
  position: relative;
  padding: 80px 0 60px;
}
.j2you-tgs2-experiencias h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 32px;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
}
.j2you-tgs2-experiencias-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.j2you-tgs2-experiencias-card img {
  display: block;
  width: 100%;
  aspect-ratio: 396 / 262;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}
.j2you-tgs2-experiencias-card {
  position: relative;
}
.j2you-tgs2-experiencias-card::before {
  /* linha vermelha contínua sob as fotos */
  content: '';
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: 52px;
  height: 3px;
  background-color: var(--tgs2-red);
}
.j2you-tgs2-experiencias-card:first-child::before { left: 0; }
.j2you-tgs2-experiencias-card:last-child::before { right: 0; }
.j2you-tgs2-experiencias-card::after {
  /* pontinho vermelho */
  content: '';
  position: absolute;
  left: 50%;
  bottom: 46px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background-color: var(--tgs2-red);
}
.j2you-tgs2-experiencias-card h3 {
  margin: 0;
  padding-top: 22px;
  height: 52px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: var(--tgs2-black);
}

/* FORMULÁRIO =============================================================== */
.j2you-tgs2-form {
  position: relative;
  padding: 40px 0 60px;
}
.j2you-tgs2-form-box {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 322px 1fr;
  gap: 36px;
  padding: 26px 30px 26px 36px;
  border-radius: 28px;
  background-color: var(--tgs2-gray-bg);
}
.j2you-tgs2-form-card {
  padding: 34px 24px 26px;
  border: 1px solid var(--tgs2-border);
  border-radius: 24px;
  background-color: #fff;
  text-align: center;
}
.j2you-tgs2-form-card h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
}
.j2you-tgs2-form-sub {
  margin: 0 0 30px;
  font-size: 15px;
  color: #333;
}
.j2you-tgs2-field {
  position: relative;
  display: block;
  margin: 0 0 12px;
}
.j2you-tgs2-field input {
  display: block;
  width: 100%;
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: var(--tgs2-gray-bg);
  font-size: 14px;
  color: var(--tgs2-black);
  outline: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.j2you-tgs2-field input:focus {
  border-color: var(--tgs2-red);
  background-color: #fff;
}
.j2you-tgs2-field.has-error input {
  border-color: var(--tgs2-red);
}
.j2you-tgs2-field span {
  position: absolute;
  top: 50%;
  left: 17px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #8a8f98;
  pointer-events: none;
  transition: opacity .15s ease;
}
.j2you-tgs2-field span em {
  font-style: normal;
  color: var(--tgs2-red);
  margin-left: 3px;
}
.j2you-tgs2-field input:not(:placeholder-shown) + span,
.j2you-tgs2-field input:focus + span {
  opacity: 0;
}
.j2you-tgs2-form-card .j2you-tgs2-btn {
  margin-top: 26px;
  min-height: 38px;
  font-size: 15px;
}
.j2you-tgs2-form-note {
  margin: 18px 0 0;
  font-size: 12px;
  font-style: italic;
  color: #333;
}
.j2you-tgs2-form-legal {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #8a8f98;
}

.j2you-tgs2-form-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 165px 1fr;
  gap: 26px;
}
.j2you-tgs2-form-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 22px;
  filter: grayscale(1) sepia(.15) contrast(1.05);
}
.j2you-tgs2-form-gallery img:nth-child(1) { grid-column: 1 / 7; }
.j2you-tgs2-form-gallery img:nth-child(2) { grid-column: 7 / 13; }
.j2you-tgs2-form-gallery img:nth-child(3) { grid-column: 1 / 5; }
.j2you-tgs2-form-gallery img:nth-child(4) { grid-column: 5 / 10; }
.j2you-tgs2-form-gallery img:nth-child(5) { grid-column: 10 / 13; }

/* CARROSSEL ================================================================ */
.j2you-tgs2-fotos {
  padding: 60px 0 80px;
}
.j2you-tgs2-fotos h2 {
  margin: 0 0 22px;
  font-size: 40px;
  font-weight: 900;
}
.j2you-tgs2-fotos .j2you-container p {
  margin: 0 0 48px;
  font-size: 15px;
  color: #333;
}
.j2you-tgs2-fotos-carousel {
  overflow: hidden;
}
.j2you-tgs2-fotos-carousel:not(.slick-initialized) {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.j2you-tgs2-fotos-slide {
  width: 620px;
  padding: 0 10px;
  outline: none;
}
.j2you-tgs2-fotos-carousel:not(.slick-initialized) .j2you-tgs2-fotos-slide {
  flex: 0 0 620px;
}
.j2you-tgs2-fotos-slide img {
  display: block;
  width: 100%;
  height: 370px;
  object-fit: cover;
}
.j2you-tgs2-fotos-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-top: 26px;
}
.j2you-tgs2-fotos-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--tgs2-red);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s ease;
}
.j2you-tgs2-fotos-arrow:hover { background-color: var(--tgs2-red-dark); }
.j2you-tgs2-fotos-dots .slick-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  position: static;
  margin: 0;
  padding: 0;
  list-style: none;
}
.j2you-tgs2-fotos-dots .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}
.j2you-tgs2-fotos-dots .slick-dots button {
  display: block;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background-color: var(--tgs2-red-soft);
  font-size: 0;
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease;
}
.j2you-tgs2-fotos-dots .slick-dots button::before { display: none; }
.j2you-tgs2-fotos-dots .slick-dots .slick-active button {
  width: 28px;
  background-color: var(--tgs2-red);
}

/* RESPONSIVO =============================================================== */
@media (min-width: 1820px) {
  .j2you-tgs2-hero { min-height: 620px; }
}

@media (max-width: 1199.98px) {
  .j2you-tgs2-form-box { grid-template-columns: 300px 1fr; gap: 24px; }
  .j2you-tgs2-form-gallery { gap: 16px; }
  .j2you-tgs2-hero-text h2 { font-size: 32px; }
}

@media (max-width: 991.98px) {
  .j2you-tgs2-title { padding: 24px 0; }
  .j2you-tgs2-title h1 { font-size: 28px; }

  /* hero: texto em cima, foto embaixo */
  .j2you-tgs2-hero {
    display: block;
    min-height: 0;
    padding: 40px 0 0;
  }
  .j2you-tgs2-hero-text { max-width: none; }
  .j2you-tgs2-hero-text h2 { font-size: 28px; margin-bottom: 20px; }
  .j2you-tgs2-hero-text p { font-size: 16px; margin-bottom: 24px; }
  .j2you-tgs2-hero-img {
    position: relative;
    width: auto;
    margin: 36px 0 0 20px;
    aspect-ratio: 4 / 3;
    border-radius: 0 0 0 32px;
  }
  .j2you-tgs2-hero-cloud,
  .j2you-tgs2-hero-more { display: none; }

  .j2you-tgs2-experiencias { padding: 48px 0 32px; }
  .j2you-tgs2-experiencias h2 { font-size: 28px; padding-right: 90px; }
  .j2you-tgs2-sun { transform: scale(.7); transform-origin: top right; right: 10px; top: 20px; }
  .j2you-tgs2-dots { display: none; }

  /* formulário em cima, mosaico embaixo */
  .j2you-tgs2-form { padding: 24px 0 40px; }
  .j2you-tgs2-form-box {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
    border-radius: 22px;
  }
  .j2you-tgs2-form-card { padding: 28px 20px 22px; border-radius: 18px; }
  .j2you-tgs2-field input { height: 44px; font-size: 16px; }
  .j2you-tgs2-field span { font-size: 15px; }
  .j2you-tgs2-form-card .j2you-tgs2-btn { min-height: 46px; }
  .j2you-tgs2-form-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 170px;
    gap: 12px;
  }
  .j2you-tgs2-form-gallery img { border-radius: 16px; }
  .j2you-tgs2-form-gallery img:nth-child(n) { grid-column: auto; }
  .j2you-tgs2-form-gallery img:nth-child(1) { grid-column: 1 / 3; }

  .j2you-tgs2-fotos { padding: 40px 0 56px; }
  .j2you-tgs2-fotos h2 { font-size: 30px; margin-bottom: 12px; }
  .j2you-tgs2-fotos .j2you-container p { margin-bottom: 28px; }
  .j2you-tgs2-fotos-slide { width: 75vw; padding: 0 6px; }
  .j2you-tgs2-fotos-carousel:not(.slick-initialized) .j2you-tgs2-fotos-slide { flex-basis: 75vw; }
  .j2you-tgs2-fotos-slide img { height: auto; aspect-ratio: 620 / 370; }
  .j2you-tgs2-fotos-nav { gap: 32px; }
}

@media (max-width: 767.98px) {
  /* cards um abaixo do outro */
  .j2you-tgs2-experiencias-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .j2you-tgs2-experiencias-card::before { left: 0; right: 0; bottom: 46px; }
  .j2you-tgs2-experiencias-card::after { bottom: 40px; }
  .j2you-tgs2-experiencias-card h3 { height: 46px; padding-top: 16px; font-size: 18px; }
}

@media (max-width: 575.98px) {
  .j2you-tgs2-title h1 { font-size: 24px; }
  .j2you-tgs2-hero-text h2 { font-size: 24px; padding-left: 14px; border-left-width: 4px; }
  .j2you-tgs2-hero-text .j2you-tgs2-btn { width: 100%; min-height: 46px; }
  .j2you-tgs2-hero-img { margin-left: 0; border-radius: 0 0 0 24px; }
  .j2you-tgs2-experiencias h2 { font-size: 24px; }
  .j2you-tgs2-form-box { margin: 0 -8px; padding: 12px; }
  .j2you-tgs2-form-gallery { grid-auto-rows: 130px; gap: 10px; }
  .j2you-tgs2-fotos h2 { font-size: 26px; }
  .j2you-tgs2-fotos-slide { width: 85vw; }
}

.j2you-whatsapp {
  display: none!important;
  pointer-events: none;
}
/* Carrossel: placeholder enquanto as fotos carregam ----------------------- */
.j2you-tgs2-fotos-slide img { background-color: #F0F3F7; }
.j2you-tgs2-fotos-carousel:not(.slick-initialized) + .j2you-tgs2-fotos-nav { visibility: hidden; }
.j2you-tgs2-fotos-carousel.is-ready { animation: tgs2FadeIn .3s ease; }
@keyframes tgs2FadeIn { from { opacity: 0; } to { opacity: 1; } }
