/* ===== ARTES DA SI - HOME STYLES ===== */

/* ========= HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
 padding: 0.75rem 1.5rem;
}



.header__logo {
  height: 90px;
  width: auto;
}


.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: var(--primary);
}

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

.nav__toggle span {
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

/* ========== HERO COM VÍDEO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--panel);
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

/* Overlay inteligente com gradiente */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(25, 0, 25, 0.45) 0%, 
    rgba(25, 0, 25, 0.25) 100%
  );
  mix-blend-mode: multiply;
  z-index: 2;
}

/* Segundo overlay para reforçar contraste */
.hero__overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center, 
    transparent 0%, 
    rgba(25, 0, 25, 0.15) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 2rem;
  animation: fadeInUp 1.5s ease;
}

/* Título com sombra forte */
.hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 
    0 2px 12px rgba(0, 0, 0, 0.45),
    0 4px 24px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

/* Subtítulo com sombra suave */
.hero__subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 400;
  color: #F7E6F1;
  text-shadow: 
    0 2px 12px rgba(0, 0, 0, 0.45),
    0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== ANIMAÇÃO DE ENTRADA ========== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desabilitar animação se preferir movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .hero__content {
    animation: none;
  }
}


/* ========== BOTÕES ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

/* Botão primário com transparência sutil */
.btn--primary {
  background: rgba(232, 182, 216, 0.9);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 182, 216, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--primary:hover {
  background: rgba(242, 198, 232, 0.95);
  transform: translateY(-3px);
  box-shadow: 
    0 12px 32px rgba(232, 182, 216, 0.45),
    0 0 20px rgba(255, 255, 255, 0.2);
}

/* Botão secundário */
.btn--secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}


/* ========== SEÇÃO CATEGORIAS ========== */
.categories {
  background: #FAFAFA;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  margin-bottom: 1rem;
  color: var(--accent-navy);
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.category-card {
  background: var(--panel);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.category-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #E4DED0;
}

.category-card__content {
  padding: 1.5rem;
  text-align: center;
}

.category-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-navy);
}

/* ========== SEÇÃO CORPORATIVO ========== */
.corporativo {
  background: linear-gradient(135deg, #F7E6F1 0%, #FAFAFA 100%);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* ========== SEÇÃO SOBRE ========== */
.sobre {
  background: var(--panel);
  text-align: center;
}

.sobre__content {
  max-width: 800px;
  margin: 0 auto;
}

.sobre__text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 2rem;
}

.sobre__signature {
  font-family: var(--font-cursive);
  font-size: 2.5rem;
  color: var(--primary);
  margin-top: 2rem;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--accent-navy);
  color: var(--text-on-dark);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer__logo {
  height: 80px;
  margin: 0 auto 1.5rem;
}

.footer__text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer__socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer__social-link {
  font-size: 1.5rem;
  color: var(--text-on-dark);
  transition: color 0.3s ease;
}

.footer__social-link:hover {
  color: var(--primary);
}

.footer__copy {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 1024px) {
  .categories__grid,
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== MOBILE - HERO APRIMORADO ========== */
@media (max-width: 768px) {
  /* Overlay mais forte no mobile */
  .hero__overlay {
    background: linear-gradient(
      180deg, 
      rgba(25, 0, 25, 0.55) 0%, 
      rgba(25, 0, 25, 0.35) 100%
    );
  }
  
  /* Título menor */
  .hero__title {
    font-size: 2rem;
    text-shadow: 
      0 2px 16px rgba(0, 0, 0, 0.6),
      0 4px 28px rgba(0, 0, 0, 0.4);
  }
  
  /* Subtítulo menor */
  .hero__subtitle {
    font-size: 1.1rem;
    text-shadow: 
      0 2px 16px rgba(0, 0, 0, 0.6),
      0 1px 8px rgba(0, 0, 0, 0.4);
  }
  
  /* Conteúdo mais compacto */
  .hero__content {
    max-width: 90%;
    padding: 1.5rem;
  }
  
  /* Botões em coluna */
  .hero__cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* Mobile muito pequeno */
/* Mobile muito pequeno */
@media (max-width: 480px) {
  .hero__title {
    font-size: 1.75rem;
  }
  
  .hero__subtitle {
    font-size: 1rem;
  }
  
  /* Overlay ainda mais forte */
  .hero__overlay {
    background: linear-gradient(
      180deg, 
      rgba(25, 0, 25, 0.6) 0%, 
      rgba(25, 0, 25, 0.4) 100%
    );
  }
}
/* ========== MOBILE - HEADER CORRIGIDO ========== */
@media (max-width: 768px) {
  /* Logo menor no mobile */
  .header__logo {
    height: 60px;  /* Reduzido para mobile */
  }
  
  /* Header mais compacto */
  .header__container {
    padding: 0.5rem 1rem;
  }
  
  /* Header fixo transparente sobre o vídeo */
  .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
  }
  
  /* Menu hamburguer */
  .nav__toggle {
    display: flex;
    z-index: 1001;
  }
  
  /* Menu mobile */
  .nav__list {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: left 0.3s ease;
    z-index: 1000;
  }
  
  .nav__list.active {
    left: 0;
  }
  
  /* Links do menu mobile */
  .nav__link {
    font-size: 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(232, 182, 216, 0.2);
  }
  
  /* Hero - ajustar para não ficar escondido atrás do header */
  .hero {
    margin-top: 0;
    min-height: 100vh;
  }
  
  .hero__title {
    font-size: 2rem;
    margin-top: 0;
  }
  
  .hero__subtitle {
    font-size: 1rem;
  }
  
  /* Botões do hero em coluna */
  .hero__cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Mobile pequeno (< 480px) */
@media (max-width: 480px) {
  .header__logo {
    height: 50px;  /* Ainda menor em telas muito pequenas */
  }
  
  .header__container {
    padding: 0.4rem 1rem;
  }
  
  .hero__title {
    font-size: 1.75rem;
  }
  
  .hero__subtitle {
    font-size: 0.95rem;
  }
}
/* ===== NAV: E-book Hotmart callout ===== */
.nav__item--ebook { /* garante bom espaçamento no desktop */
  margin-left: .5rem;
}

.btn--ebook {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .2px;
  color: #fff;
  background: linear-gradient(135deg, #FF7A18 0%, #FF3D00 60%, #FF8A00 100%);
  box-shadow:
    0 6px 20px rgba(255, 61, 0, .35),
    inset 0 0 0 1px rgba(255,255,255,.15);
  border: 0;
  position: relative;
  isolation: isolate;
  transform: translateZ(0);
  animation: ebookPulse 2.2s ease-in-out infinite;
}

/* glow externo sutil */
.btn--ebook::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: radial-gradient(60% 60% at 50% 50%, rgba(255,125,0,.25), transparent 70%);
  filter: blur(8px);
  z-index: -1;
  opacity: .7;
}

/* foguinho com flicker leve */
.ebook__flame {
  display: inline-block;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(255,125,0,.45));
  animation: flameFlicker 1.2s ease-in-out infinite;
}

/* hover/focus */
.btn--ebook:hover {
  transform: translateY(-1px);
  box-shadow:
    0 10px 28px rgba(255,61,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.15);
}
.btn--ebook:focus-visible {
  outline: 2px solid transparent;
  box-shadow:
    0 0 0 4px rgba(255,125,0,.35),
    0 10px 28px rgba(255,61,0,.45);
}

/* animações */
@keyframes ebookPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.035); }
}
@keyframes flameFlicker {
  0%, 100% { transform: translateY(0) rotate(0deg);   opacity: 1;   }
  30%      { transform: translateY(-1px) rotate(-4deg); opacity: .95; }
  60%      { transform: translateY(1px)  rotate(3deg);  opacity: .9;  }
}

/* acessibilidade: reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  .btn--ebook, .ebook__flame { animation: none !important; }
}

/* mobile: garante destaque e toque confortável */
@media (max-width: 767px) {
  .nav__item--ebook {
    width: 100%;
  }
  .btn--ebook {
    justify-content: center;
    width: 100%;
    padding: .9rem 1.1rem;
    font-size: 1rem;
  }
}
/* ===== NAV FIX: alinhamento perfeito (desktop e mobile) ===== */

/* header todo centralizado verticalmente */
.header .header__container {
  display: flex;
  align-items: center;            /* centra logo + nav */
  justify-content: space-between;
  min-height: 72px;               /* altura do header */
}

/* nav como linha e itens centralizados */
.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;            /* alinha links e o botão na mesma linha base */
  gap: 2rem;
  margin: 0;
}

/* links do menu com mesma altura e centrados */
.nav__link {
  display: inline-flex;
  align-items: center;
  height: 44px;                   /* mesma altura do botão */
  line-height: 1;
  padding: 0 .25rem;
}

/* botão do e-book com altura idêntica aos links */
.nav__item--ebook .btn--ebook {
  display: inline-flex;
  align-items: center;
  height: 44px;                   /* match */
  padding: 0 16px;                /* só nas laterais */
  line-height: 1;
  margin-left: .5rem;
}

/* evita que sombras e blur “puxem” o botão pra baixo visualmente */
.nav__item--ebook .btn--ebook::after {
  inset: -2px;                    /* glow mais contido */
  filter: blur(6px);
}

/* responsivo: mantém alinhado no menu mobile */
@media (max-width: 767px) {
  .nav__list {
    flex-direction: column;
    gap: 1rem;
  }
  .nav__item--ebook,
  .nav__item--ebook .btn--ebook {
    width: 100%;
  }
  .nav__item--ebook .btn--ebook {
    justify-content: center;
    height: 48px;
    font-size: 1rem;
  }
}

/* ===== Ajuste de espaçamento hero vs header ===== */
.hero {
  position: relative;
  padding-top: 8rem; /* afasta o texto do nav */
}

@media (max-width: 991px) {
  .hero {
    padding-top: 6rem; /* reduz um pouco no tablet */
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 4.5rem; /* reduz no mobile */
  }
}
/* ====== Ajuste de ícones de redes sociais no footer ====== */
.footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem; /* espaçamento entre os ícones */
  margin-top: 1rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.footer__social-link:hover {
  transform: scale(1.1);
  filter: brightness(1.15);
}

/* controla o tamanho real das imagens dos ícones */
.footer__social-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* responsivo */
@media (max-width: 767px) {
  .footer__social-link {
    width: 40px;
    height: 40px;
  }

  .footer__social-icon {
    width: 24px;
    height: 24px;
  }
}
/* ===== Footer Credit ===== */
.footer__credit {
  margin-top: 2.5rem;
  text-align: center;
  opacity: 0.9;
}

.footer__credit-text {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

.footer__credit-logos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.footer__credit-logo {
  height: 26px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer__credit-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.footer__credit .divider {
  font-weight: 500;
  color: #aaa;
  font-size: 1rem;
}

/* responsivo */
@media (max-width: 767px) {
  .footer__credit-logo {
    height: 22px;
  }
  .footer__credit-text {
    font-size: 0.8rem;
  }
}

/* ===== Footer Credit Refined ===== */
.footer__credit {
  margin-top: 2.5rem;
  text-align: center;
  opacity: 0.9;
}

.footer__credit-text {
  font-size: 0.9rem;
  color: #b3b3b3;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

.footer__credit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.footer__credit-link:hover {
  transform: scale(1.03);
}

.footer__credit-logo {
  height: 26px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer__credit-logo:hover {
  opacity: 1;
}

/* aumenta só o logo do WebLab */
.footer__credit-logo.weblab-logo {
  height: 32px;
  margin-top: 1px;
}

/* responsivo */
@media (max-width: 767px) {
  .footer__credit-logo {
    height: 22px;
  }
  .footer__credit-logo.weblab-logo {
    height: 28px;
  }
  .footer__credit-text {
    font-size: 0.8rem;
  }
}
