/* =========================================
   1. GERAIS, RESET E LAYOUT (Sincronizado c/ Global)
   ========================================= */
html { scroll-behavior: smooth; }

* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box; 
}

:root {
  --brand-gold: #baa360;
  --brand-red: #7f1810;
  --text-dark: #212529;
  --text-muted: #5f5f5f;
  --white: #ffffff;
  --bg-soft: #f4f7f9;
  --bg-light: #ffffff;
  --border-color: #e5e7eb;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

ul { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

h1, h2, h3, h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
.bg-soft { background-color: var(--bg-soft); }
.bg-light { background-color: var(--bg-light); }
.border-top { border-top: 1px solid var(--border-color); }

.text-center { text-align: center; }
.text-left { text-align: left; }

section { scroll-margin-top: 100px; }

.sub-eyebrow {
  color: var(--brand-red);
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.title-xl {
  font-size: 2.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}
.section-title p {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.line {
  width: 60px;
  height: 3px;
  background: var(--brand-red);
  margin: 0 auto 20px auto;
  border-radius: 2px;
}

/* Regras específicas para o Footer */
footer a {
  text-decoration: none !important;
  color: inherit !important;
}

footer a:hover {
  color: var(--brand-gold) !important;
}

/* =========================================
   2. HERO SECTION HARDWARE
   ========================================= */
.product-hero {
  margin-top: 110px;
  padding: 80px 0 0 0;
  background: 
    linear-gradient(
      135deg,
      rgba(21, 21, 21, 0.95) 0%,
      rgba(127, 24, 16, 0.85) 100%
    ),
    url("../img/hardware_hero.png") center/cover;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.product-hero-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Botão Voltar */
.back-link-wrapper {
  width: 100%;
  text-align: left;
  margin-bottom: 30px;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.btn-back i { font-size: 1.1rem; }
.btn-back:hover {
  color: var(--white);
  transform: translateX(-6px);
}

.eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  font-family: "Montserrat", sans-serif;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.btn-main {
  background: var(--brand-red);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  border: 2px solid var(--brand-red);
  box-shadow: 0 4px 14px rgba(127, 24, 16, 0.2);
}
.btn-main:hover {
  background: #5a110b;
  border-color: #5a110b;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(127, 24, 16, 0.4);
}

.btn-alt {
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-alt:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* MOCKUP DO HARDWARE HERO */
.hero-mockup-wrapper {
  margin-top: 20px;
  margin-bottom: -60px;
}
.hero-mockup {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  background: var(--white);
}

/* =========================================
   3. CARTÕES PREMIUM (SaaS Enterprise Design)
   ========================================= */
.modern-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px; 
  margin-top: 40px;
}

.modern-info-card {
  background: var(--white);
  padding: 40px 35px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  /* Sombras multi-camada para profundidade realista */
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.02), 
    0 10px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: left; 
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* O brilho subtil (Glow) que aparece no fundo ao passar o rato */
.modern-info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(186, 163, 96, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

/* A linha dourada que cresce do centro para os lados na base */
.modern-info-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0%; height: 4px;
  background: var(--brand-gold);
  transform: translateX(-50%);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modern-info-card:hover {
  transform: translateY(-8px);
  /* Sombra intensifica-se e ganha o tom quente da marca */
  box-shadow: 
    0 12px 24px rgba(127, 24, 16, 0.04), 
    0 24px 48px rgba(127, 24, 16, 0.06);
  border-color: rgba(186, 163, 96, 0.3);
}

.modern-info-card:hover::before { opacity: 1; }
.modern-info-card:hover::after { width: 100%; }

/* Formato Quadrado Arredondado (Squircle) para o Ícone */
.card-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(127, 24, 16, 0.04);
  border-radius: 14px; 
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid rgba(127, 24, 16, 0.05);
}

.card-icon-wrapper i {
  font-size: 1.8rem;
  color: var(--brand-red);
  transition: all 0.4s ease;
}

.modern-info-card:hover .card-icon-wrapper {
  background: var(--brand-red);
  transform: translateY(-5px); 
  box-shadow: 0 10px 20px rgba(127, 24, 16, 0.25);
  border-color: var(--brand-red);
}

.modern-info-card:hover .card-icon-wrapper i {
  color: var(--white);
  transform: scale(1.1); 
}

.modern-info-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.modern-info-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   4. SPLIT FEATURE SECTION (Lado a Lado)
   ========================================= */
.split-feature-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.split-image { flex: 1; }
.split-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.05);
  background: var(--white);
}

.split-content { flex: 1; }

/* Vantagens em Lista Elegante */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  padding: 20px 25px;
  border-radius: 12px;
  border: 1px solid rgba(186, 163, 96, 0.35);
  border-left: 5px solid var(--brand-gold);
  box-shadow: 0 6px 15px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(10px);
  box-shadow: 0 12px 25px rgba(186, 163, 96, 0.15);
  border-color: var(--brand-gold);
}

.benefit-icon {
  font-size: 1.5rem;
  color: var(--brand-red);
  background: rgba(127, 24, 16, 0.05);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.benefit-item strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.benefit-item p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =========================================
   5. FAQs (DESIGN LIMPO)
   ========================================= */
.clean-faq { max-width: 100%; margin: 0 auto; }
.clean-faq .faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 0;
  margin-bottom: 0;
}
.clean-faq .faq-item:last-child { border-bottom: none; }

.clean-faq .faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 30px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #3b404d;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f5f6f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-icon-circle i {
  color: var(--brand-red);
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.clean-faq .faq-item.open .faq-icon-circle i { transform: rotate(45deg); }

.clean-faq .faq-answer { display: none; padding: 0 0 30px 0; }
.clean-faq .faq-item.open .faq-answer { display: block; }
.clean-faq .faq-answer p { margin: 0; color: #666; font-size: 1.05rem; line-height: 1.6; max-width: 90%; }

/* =========================================
   6. CONTACTOS E FORMULÁRIO (Sincronizado)
   ========================================= */
#contactos {
  background: var(--light-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  color: var(--brand-red);
  margin-bottom: 20px;
  font-size: 2rem;
  line-height: 1.2;
}

.contact-info > p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

.info-item {
  margin-top: 28px;
}

.info-item strong {
  color: var(--brand-gold);
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.info-item p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form-container {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #444;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fafafa;
  color: #222;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(186, 163, 96, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.form-check input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--brand-red);
  flex-shrink: 0;
}


.g-recaptcha {
  margin-top: 12px !important;
  margin-bottom: 16px !important;
}

.btn-submit {
  background: var(--brand-red);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 8px;
  width: 100%;
  transition:
    background 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(127, 24, 16, 0.2);
}

.btn-submit:hover {
  background: #5a110b;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(127, 24, 16, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(127, 24, 16, 0.2);
}

/* =========================================
   7. RESPONSIVIDADE (Sincronizado c/ Global)
   ========================================= */
@media (max-width: 992px) {
  .contact-wrapper, .split-feature-wrapper { 
    grid-template-columns: 1fr; 
    flex-direction: column; 
    text-align: center; 
  }
  .benefit-item { text-align: left; }
}

@media (max-width: 768px) {
  .product-hero { margin-top: 74px; padding: 60px 0 0 0; }
  .hero-title { font-size: 2.2rem; }
  .title-xl { font-size: 1.8rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto 30px auto; }
  .btn-main, .btn-alt { width: 100%; }
  .hero-mockup-wrapper { margin-bottom: -30px; }
  .modern-info-card { padding: 35px 25px; } 

  /* Sincronização do Formulário em Mobile */
  .contact-wrapper {
    gap: 40px;
    text-align: left;
  }
  .contact-form-container {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  /* Sincronização dos Paddings em Mobile */
  .section-padding { padding: 60px 0; }
}