/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   Cores: Branco, Azul, Preto e detalhes em Amarelo + Botões em Laranja
   ========================================================================== */
:root {
  /* Cores Principais */
  --color-primary: #1d4ed8;       /* Azul vibrante moderno */
  --color-primary-dark: #0f172a;  /* Azul escuro / Quase Preto */
  --color-primary-light: #3b82f6; /* Azul claro */
  
  /* Laranja para os Botões */
  --color-orange: #f97316;        /* Laranja vibrante */
  --color-orange-hover: #ea580c;  /* Laranja escuro no hover */
  --color-orange-shadow: rgba(249, 115, 22, 0.38);
  
  /* Amarelo para Detalhes / JS */
  --color-yellow: #facc15;        /* Amarelo JS vibrante */
  --color-yellow-hover: #eab308;
  
  /* Neutros e Pretos */
  --color-black: #090d16;         /* Preto elegante */
  --color-dark-gray: #1e293b;     /* Cinza chumbo */
  --color-muted: #64748b;         /* Cinza neutro */
  --color-border: #e2e8f0;        /* Borda sutil */
  
  --color-bg-light: #f8fafc;      /* Fundo branco gelo */
  --color-white: #ffffff;         /* Branco puro */
  
  /* Tipografia */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Sombras e Elevação */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  
  /* Bordas arredondadas */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transições suaves */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-light);
  color: var(--color-dark-gray);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   CABEÇALHO (HEADER)
   ========================================================================== */
.header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.03);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--color-dark-gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-btn {
  background-color: var(--color-orange);
  color: var(--color-white);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 4px 14px var(--color-orange-shadow);
}

.nav-btn:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}

/* ==========================================================================
   HERO / DOWNLOAD SECTION
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, #090d16 0%, #0f1c3f 55%, #1d4ed8 100%);
  color: var(--color-white);
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.15) 0%, rgba(29, 78, 216, 0) 70%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

/* Logo JavaScript com sombra no topo */
.hero-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.js-logo-hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.js-logo-shadow {
  width: 250px;
  height: auto;
  object-fit: contain;
  /* Sombra marcante solicitada pelo usuário */
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.65)) 
          drop-shadow(0 0 40px rgba(250, 204, 21, 0.35));
  transition: transform 0.4s ease, filter 0.4s ease;
  animation: floatEffect 4s ease-in-out infinite;
}

.js-logo-shadow:hover {
  transform: scale(1.04) translateY(-6px);
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.75)) 
          drop-shadow(0 0 55px rgba(250, 204, 21, 0.55));
}

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

.hero-badge {
  background: rgba(250, 204, 21, 0.15);
  color: var(--color-yellow);
  border: 1px solid var(--color-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
}

/* Card do Formulário */
.form-card {
  background-color: var(--color-white);
  color: var(--color-dark-gray);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  position: relative;
}

.badge-accent {
  display: inline-block;
  background-color: #fef9c3;
  color: #854d0e;
  border-left: 4px solid var(--color-yellow);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-black);
  line-height: 1.25;
  margin-bottom: 12px;
}

.form-description {
  color: var(--color-muted);
  font-size: 1rem;
  margin-bottom: 28px;
}

.download-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark-gray);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: #f8fafc;
  color: var(--color-dark-gray);
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.form-input::placeholder {
  color: #94a3b8;
}

/* ==========================================================================
   BOTÕES LARANJA
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--color-orange) 0%, #ea580c 100%);
  color: var(--color-white);
  border: none;
  padding: 16px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 22px var(--color-orange-shadow);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(234, 88, 12, 0.45);
}

.btn-icon {
  stroke: var(--color-white);
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 6px;
}

/* ==========================================================================
   CONTEÚDO / O QUE VOCÊ VAI APRENDER
   ========================================================================== */
.learning-section {
  background-color: #0b1329;
  color: var(--color-white);
  padding: 90px 0;
}

.section-tag {
  display: inline-block;
  color: var(--color-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-subtitle {
  color: #94a3b8;
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: var(--transition);
}

.topic-item:hover {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: rgba(250, 204, 21, 0.4);
  transform: translateY(-3px);
}

.topic-icon {
  color: var(--color-yellow);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  background: rgba(250, 204, 21, 0.12);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.topic-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
}

.topic-content p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   CONHECENDO O AUTOR
   ========================================================================== */
.author-section {
  padding: 90px 0;
  background-color: var(--color-bg-light);
}

.author-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.author-image-col {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.author-avatar-wrapper {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-md);
}

.author-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info-col {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.author-tag {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.author-name {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 4px;
}

.author-title {
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.author-bio {
  color: var(--color-dark-gray);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 26px;
}

.author-social {
  display: flex;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.social-link:hover {
  background-color: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.social-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ==========================================================================
   SEÇÃO DE CAPTURA INFERIOR (ABAIXO DA FOTO / ANTES DO RODAPÉ)
   ========================================================================== */
.cta-bottom-section {
  background: linear-gradient(135deg, #090d16 0%, #172554 100%);
  color: var(--color-white);
  padding: 80px 0;
  border-top: 3px solid var(--color-yellow);
}

.cta-bottom-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-bottom-subtitle {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 34px;
}

.cta-bottom-form {
  max-width: 680px;
  margin: 0 auto;
}

.cta-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.text-left {
  text-align: left;
}

.cta-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 6px;
}

.cta-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.96);
  color: var(--color-dark-gray);
  outline: none;
  transition: var(--transition);
}

.cta-input:focus {
  background-color: #ffffff;
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.25);
}

.btn-cta-submit {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.cta-privacy-note {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 14px;
}

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */
.footer {
  background-color: var(--color-black);
  color: #94a3b8;
  padding: 50px 0 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-text {
  font-size: 0.85rem;
  color: #64748b;
}

.footer-company-info {
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.6;
}

.company-name {
  color: var(--color-white);
  font-weight: 600;
}

.company-cnpj {
  color: #94a3b8;
}

.company-contact {
  color: #94a3b8;
}

.company-contact a {
  color: var(--color-yellow);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.company-contact a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.footer-copy {
  font-size: 0.82rem;
  color: #64748b;
  text-align: right;
}

/* ==========================================================================
   BOTÃO FLUTUANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.1) translateY(-4px);
  background-color: #20ba59;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-floating-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Tooltip informativo ao passar o mouse */
.whatsapp-floating-tooltip {
  position: absolute;
  right: 76px;
  bottom: 50%;
  transform: translateY(50%);
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 250px;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-floating-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--color-black);
}

.whatsapp-floating-btn:hover .whatsapp-floating-tooltip {
  opacity: 1;
  visibility: visible;
  right: 82px;
}

.tooltip-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #25d366;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tooltip-phone {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
}

.tooltip-warning {
  font-size: 0.72rem;
  color: var(--color-yellow);
  font-style: italic;
  margin-top: 2px;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-preview {
    order: 1;
  }

  .hero-form-wrapper {
    order: 2;
  }

  .form-card {
    padding: 32px 24px;
  }

  .author-card {
    grid-template-columns: 1fr;
  }

  .author-image-col {
    padding: 40px 20px 20px;
  }

  .author-info-col {
    padding: 32px 24px;
    text-align: center;
    align-items: center;
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .cta-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn-cta-submit {
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .footer-copy {
    text-align: center;
  }

  .whatsapp-floating-tooltip {
    display: none; /* Não sobrepor no mobile */
  }
}

@media (max-width: 600px) {
  .header-container {
    height: 70px;
  }

  .nav-link {
    display: none;
  }

  .js-logo-shadow {
    width: 180px;
  }

  .form-title {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .cta-bottom-title {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   BARRA DE CONSENTIMENTO E AUTORIZAÇÃO LGPD
   ========================================================================== */
.lgpd-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(9, 13, 22, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-white);
  border-top: 2px solid var(--color-yellow);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
  padding: 16px 0;
  z-index: 998;
  animation: slideUpLGPD 0.5s ease-out;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.lgpd-banner.lgpd-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

@keyframes slideUpLGPD {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.lgpd-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lgpd-text {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.lgpd-text strong {
  color: var(--color-white);
}

.lgpd-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.lgpd-actions {
  flex-shrink: 0;
}

.btn-lgpd-accept {
  background-color: var(--color-orange);
  color: var(--color-white);
  border: none;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px var(--color-orange-shadow);
  white-space: nowrap;
}

.btn-lgpd-accept:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}

@media (max-width: 768px) {
  .lgpd-container {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .lgpd-text {
    flex-direction: column;
    gap: 8px;
    font-size: 0.82rem;
  }

  .btn-lgpd-accept {
    width: 100%;
  }

  .whatsapp-floating-btn {
    bottom: 85px; /* Evita sobreposição com a barra LGPD no mobile */
  }
}

/* ==========================================================================
   MENSAGENS DE FEEDBACK DOS FORMULÁRIOS
   ========================================================================== */
.form-feedback {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  animation: fadeInFeedback 0.3s ease-in-out;
}

.form-feedback-cta {
  max-width: 600px;
  margin: 0 auto 16px auto;
  text-align: center;
}

.form-feedback-success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-feedback-error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

@keyframes fadeInFeedback {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feedback-success-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feedback-title {
  margin: 0;
  font-size: 0.95rem;
}

.feedback-subtitle {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 400;
  color: #047857;
}

.btn-download-alternative {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 6px;
  background-color: #059669;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  margin-top: 6px;
  transition: var(--transition);
}

.btn-download-alternative:hover {
  background-color: #047857;
  transform: translateY(-1px);
}

.form-feedback-cta .btn-download-alternative {
  align-self: center;
}

/* ==========================================================================
   EFEITOS DE ANIMAÇÃO AO ROLAR & ENTRADA MARCANTE
   ========================================================================== */

/* Estado inicial: escondido bem abaixo e transparente */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(70px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Entrada da esquerda com deslocamento expressivo */
.reveal-left {
  opacity: 0;
  transform: translateX(-90px) scale(0.96);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Entrada da direita com deslocamento expressivo */
.reveal-right {
  opacity: 0;
  transform: translateX(90px) scale(0.96);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Delays escalonados para itens em grade ou listas */
.delay-100 { transition-delay: 0.10s; }
.delay-200 { transition-delay: 0.20s; }
.delay-300 { transition-delay: 0.32s; }
.delay-400 { transition-delay: 0.44s; }
.delay-500 { transition-delay: 0.56s; }
.delay-600 { transition-delay: 0.68s; }

/* Hover nos cards de tópico */
.topic-item {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.topic-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--color-yellow);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/* Respeito à preferência do usuário por menos movimento */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
