/* ==========================================================================
   RESET & VARIÁVEIS GLOBAIS
   ========================================================================== */
:root {
  --primary-color: #D84B16;     /* Laranja principal */
  --primary-hover: #B83B0E;     /* Laranja escuro no hover */
  --dark-color: #1A1A1A;        /* Preto/Cinza bem escuro */
  --light-bg: #F9F9F9;          /* Fundo claro para seções */
  --card-bg: #FFFFFF;          /* Fundo dos cards */
  --text-color: #333333;        /* Cor do texto principal */
  --text-muted: #666666;       /* Texto secundário/suave */
  --border-color: #EEEEEE;      /* Bordas suaves */
  --font-main: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: #FAFAFA;
  color: var(--text-color);
  line-height: 1.6;
}

/* Trava global de segurança para evitar estouro de imagens */
img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Fix Global de Links */
a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   PADRONIZAÇÃO DE BOTÕES (FIX DO TEXTO ROXO / SEM FUNDO)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary, 
.btn-primary:visited, 
.btn-primary:active,
.btn-primary:link {
  background-color: var(--primary-color) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(216, 75, 22, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-hover) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 75, 22, 0.6);
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: url('img/hero-bg.jpg') no-repeat center center/cover;
  padding: 80px 0 100px;
  text-align: center;
  color: #FFFFFF;
  background-color: var(--dark-color); /* Fallback */
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  max-width: 180px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1); /* Aplica o filtro 100% branco na logo */
}

.badge {
  background: var(--primary-color);
  color: #FFF;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  max-width: 800px;
}

.hero p {
  font-size: 18px;
  color: #E0E0E0;
  max-width: 700px;
  margin-bottom: 30px;
}

/* ==========================================================================
   SEÇÕES GERAIS E TÍTULOS
   ========================================================================== */
section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 30px;
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ==========================================================================
   COMO FUNCIONA
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.step-card {
  background: var(--card-bg);
  padding: 35px 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.04);
  position: relative;
  border: 1px solid var(--border-color);
}

.step-num {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: 700;
  color: #F0F0F0;
}

.step-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.step-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ==========================================================================
   GALERIA DE PRODUTOS & UPSELL
   ========================================================================== */
.galeria-section {
  background-color: var(--light-bg);
}

.grid-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card-produto {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-preco {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0,0,0,0.8);
  color: #FFF;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.badge-upsell {
  background: var(--dark-color) !important;
  color: #FFF;
}

.card-body {
  padding: 25px;
  flex-grow: 1;
}

.card-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.card-body p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ==========================================================================
   VANTAGENS
   ========================================================================== */
.v-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.v-item {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.v-item i {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.v-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--dark-color);
}

.v-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta {
  background: linear-gradient(135deg, var(--dark-color) 0%, #111111 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.cta p {
  color: #CCCCCC;
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: #111111;
  color: #888888;
  text-align: center;
  padding: 30px 0;
  font-size: 14px;
  border-top: 1px solid #222222;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 26px;
  }
  
  .hero p {
    font-size: 15px;
  }
  
  .btn-large {
    width: 100%;
  }
  
  .section-title h2 {
    font-size: 24px;
  }
}
