/* ===========================
   HOME PAGE - index.html
   =========================== */

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.37;
  z-index: 0;
}

video.hero__bg {
  min-width: 100%;
  min-height: 100%;
}

/* Poster <img> pinta na hora (LCP rápido); o vídeo entra por cima ao tocar.
   Sem flash e preservando a mesma penumbra (0.37) do fundo original. */
.hero__bg--poster {
  transition: opacity 0.5s ease;
}
.hero__bg--poster.is-hidden {
  opacity: 0;
}
.hero__bg--video {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero__bg--video.is-playing {
  opacity: 0.37;
}

.hero__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 25%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 45px;
  color: var(--white);
  margin-bottom: 40px;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 32px;
  color: var(--white);
  max-width: 1100px;
  margin: 0 auto 60px;
  line-height: 1.4;
}

.hero__buttons {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero__arrow {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: block;
  width: 60px;
  height: 60px;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: bounce 2.5s infinite ease-in-out;
}

.hero__arrow:hover {
  opacity: 1;
}

.hero__arrow svg {
  width: 60px;
  height: 60px;
  display: block;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Entrada do hero ao carregar: título, subtítulo e botões surgem em sequência */
@media (prefers-reduced-motion: no-preference) {
  .hero__title,
  .hero__subtitle,
  .hero__buttons {
    opacity: 0;
    animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .hero__title { animation-delay: 0.15s; }
  .hero__subtitle { animation-delay: 0.35s; }
  .hero__buttons { animation-delay: 0.55s; }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ABOUT / SOBRE NÓS */
.about {
  position: relative;
  padding: 120px 60px 220px;
  max-width: 1920px;
  margin: 0 auto;
  min-height: 1000px;
  overflow: hidden;
}

.about__title {
  font-family: var(--font-heading);
  font-size: 52px;
  color: var(--white);
  text-align: center;
  margin-bottom: 60px;
  padding-top: 20px;
  position: relative;
  z-index: 2;
}

.about__text {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--white);
  text-align: justify;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.about__text p {
  margin-bottom: 20px;
}

.about__text .highlight {
  color: var(--gold);
}

.about__photo {
  position: absolute;
  width: 500px;
  height: 500px;
  z-index: 1;
  opacity: 0.6;
}

/* Linha/fio que puxa a bola até a argola */
.about__photo-string {
  position: absolute;
  top: -100vh;
  left: 50%;
  width: 2px;
  height: calc(100vh - 22px);
  background: linear-gradient(to bottom, rgba(255,170,25,0), rgba(255,170,25,0.6) 40%, #FFAA19);
  transform: translateX(-50%);
  z-index: 0;
}

.about__photo-ball {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Capuchinho dourado no topo */
.about__photo-ball::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 30px;
  background: linear-gradient(to bottom, #FFAA19, #c78a10);
  border-radius: 8px 8px 4px 4px;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Argola de pendurar */
.about__photo-ball::after {
  content: '';
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 20px;
  border: 4px solid #FFAA19;
  border-radius: 50%;
  background: transparent;
  z-index: 5;
}

/* A bola em si — fundo vermelho vivo */
.about__photo-ornament {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 35% 35%, #ff3333, #e81919 40%, #c21010 80%, #8b0000);
  box-shadow:
    0 0 60px rgba(232, 25, 25, 0.5),
    0 0 120px rgba(232, 25, 25, 0.2),
    inset 0 -20px 40px rgba(0,0,0,0.3),
    inset 0 20px 40px rgba(255,255,255,0.1);
}

/* Imagem circular centralizada dentro da bola */
.about__photo-ornament img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  border: none;
  z-index: 2;
}

/* Degradê entre a foto e a bola vermelha */
.about__photo-ornament::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle,
    transparent 50%,
    rgba(194, 16, 16, 0.3) 62%,
    rgba(194, 16, 16, 0.6) 70%,
    rgba(139, 0, 0, 0.85) 80%,
    #8b0000 90%
  );
  z-index: 3;
  pointer-events: none;
}

/* Reflexo de luz na bola */
.about__photo-ornament::after {
  content: '';
  position: absolute;
  top: 8%;
  left: 15%;
  width: 30%;
  height: 20%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  transform: rotate(-30deg);
  pointer-events: none;
  z-index: 4;
}

.about__photo--right {
  top: 120px;
  right: -50px;
}

.about__photo--left {
  bottom: -50px;
  left: -50px;
}

/* === Bolas de Natal: brilho, balanço e queda no scroll === */
.about__photo {
  opacity: 0.9;
  will-change: transform, opacity;
}

/* Balanço de pêndulo (preso ao ponto do fio) */
.about__photo-ball {
  transform-origin: 50% -55px;
  animation: ornamentSway 5s ease-in-out infinite;
}
.about__photo--left .about__photo-ball { animation-delay: -2.5s; }

@keyframes ornamentSway {
  0%, 100% { transform: rotate(-3.5deg); }
  50%      { transform: rotate(3.5deg); }
}

/* Brilho pulsante da bola */
.about__photo-ornament {
  animation: ornamentGlow 4.5s ease-in-out infinite;
}
@keyframes ornamentGlow {
  0%, 100% {
    box-shadow:
      0 0 55px rgba(232, 25, 25, 0.45),
      0 0 120px rgba(232, 25, 25, 0.2),
      inset 0 -20px 40px rgba(0,0,0,0.3),
      inset 0 20px 40px rgba(255,255,255,0.1);
  }
  50% {
    box-shadow:
      0 0 90px rgba(232, 25, 25, 0.7),
      0 0 170px rgba(232, 25, 25, 0.35),
      inset 0 -20px 40px rgba(0,0,0,0.3),
      inset 0 22px 44px rgba(255,255,255,0.16);
  }
}

/* Reflexo de luz que desliza pela bola */
.about__photo-ornament::after {
  animation: ornamentShine 4.5s ease-in-out infinite;
}
@keyframes ornamentShine {
  0%, 100% { opacity: 0.35; transform: rotate(-30deg) translate(0, 0); }
  50%      { opacity: 0.7;  transform: rotate(-30deg) translate(10%, 6%); }
}

@media (prefers-reduced-motion: reduce) {
  .about__photo-ball,
  .about__photo-ornament,
  .about__photo-ornament::after { animation: none; }
}

/* RESPONSIVE - HOME */
@media (max-width: 1024px) {
  .hero__title { font-size: 36px; }
  .hero__subtitle { font-size: 24px; }
  .about__title { font-size: 50px; }
  .about__text { font-size: 22px; }
  .about__photo { width: 350px; height: 350px; }
}

@media (max-width: 768px) {
  .hero { min-height: 600px; }
  .hero__title { font-size: 28px; }
  .hero__subtitle { font-size: 18px; }
  .about { padding: 40px 20px; }
  .about__title { font-size: 40px; }
  .about__text { font-size: 18px; }
  .about__photo {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 20px auto;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
}

@media (max-width: 480px) {
  .hero__title { font-size: 22px; }
  .hero__subtitle { font-size: 16px; }
  .hero__buttons {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

/* ===========================
   CONTAGEM REGRESSIVA
   =========================== */
.countdown-section {
  text-align: center;
  padding: 70px 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,170,25,0.12), transparent 60%),
    #0a0a0a;
  border-top: 1px solid rgba(255,170,25,0.15);
  border-bottom: 1px solid rgba(255,170,25,0.15);
}

.countdown-section__label {
  font-family: var(--font-heading);
  font-size: 34px;
  color: var(--gold);
  margin-bottom: 28px;
}

.countdown-section__timer {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.countdown-box {
  background: linear-gradient(160deg, #1a1a1a, #0d0d0d);
  border: 1px solid rgba(255,170,25,0.3);
  border-radius: 14px;
  width: 100px;
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.countdown-box span {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.countdown-box small {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

.countdown-section__cta-text {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 24px;
}

/* ===========================
   NÚMEROS / AUTORIDADE
   =========================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
}

.stats__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stats__label {
  display: block;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--white);
  margin-top: 12px;
}

/* ===========================
   NOSSO PROCESSO
   =========================== */
.process {
  padding: 60px 40px 90px;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.process__intro {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 50px;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process__step {
  background: linear-gradient(160deg, #161616, #0c0c0c);
  border: 1px solid rgba(255,170,25,0.18);
  border-radius: 16px;
  padding: 30px 18px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.process__step:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(255,170,25,0.18);
}

.process__num {
  font-family: var(--font-heading);
  font-size: 40px;
  color: var(--gold);
  opacity: 0.55;
}

.process__step h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--white);
  margin: 10px 0 12px;
}

.process__step p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.5;
}

/* ===========================
   SEGMENTOS (O ANO TODO)
   =========================== */
.segments {
  padding: 60px 40px 90px;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.segments__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.segment-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: block;
  transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .45s ease;
}

.segment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.segment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.segment-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
  transition: background .35s ease;
}

.segment-card:hover img { transform: scale(1.1); }

.segment-card__name {
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--white);
  transition: color .3s ease;
}

.segment-card:hover .segment-card__name { color: var(--gold); }

/* ===========================
   DESTAQUES DA LOJA + BLOG NA HOME
   =========================== */
.home-shop, .home-blog {
  padding: 60px 40px 90px;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.home-shop__intro {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 40px;
}

.home-shop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.home-shop__card {
  background: #111;
  border: 1px solid rgba(255,170,25,0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), border-color .4s ease, box-shadow .4s ease;
}

.home-shop__card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #161616;
  padding: 16px;
}

.home-shop__card span {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--white);
  padding: 16px;
}

.home-shop__card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}

.home-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.home-blog__card {
  background: #111;
  border: 1px solid rgba(255,170,25,0.15);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.home-blog__card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-blog__card:hover img { transform: scale(1.06); }

.home-blog__body { padding: 20px; }

.home-blog__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  background: var(--gold);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.home-blog__body h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--white);
  line-height: 1.3;
}

.home-blog__card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

/* ===========================
   RESPONSIVE - SEÇÕES NOVAS
   =========================== */
@media (max-width: 1024px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .segments__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .about { padding: 40px 16px 60px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; padding: 36px 16px; }
  .stats__number { font-size: 38px; }
  .countdown-section { padding: 44px 16px; }
  .countdown-box { width: 68px; padding: 12px 6px; }
  .countdown-box span { font-size: 28px; }
  .countdown-section__label { font-size: 26px; }
  .process, .segments, .home-shop, .home-blog { padding: 36px 16px 48px; }
  .segments__grid { gap: 12px; }
  .home-shop__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 28px; }
  .home-shop__card img { height: 128px; }
  .home-shop__card span { font-size: 17px; padding: 12px; }
  .home-blog__grid { grid-template-columns: 1fr; gap: 16px; margin: 26px 0; }
  .home-blog__card img { height: 175px; }
}

@media (max-width: 480px) {
  .process__steps { grid-template-columns: 1fr; }
  /* mantém 2 colunas (cards menores) em vez de 1 gigante */
  .segments__grid { grid-template-columns: repeat(2, 1fr); }
  .segment-card { border-radius: 12px; }
  .segment-card__name { font-size: 18px; bottom: 12px; }
}
