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

:root {
  --primary: #E05A00;
  --primary-dark: #B84800;
  --primary-light: #FF7A20;
  --dark: #111111;
  --dark2: #1E1E1E;
  --gray: #F6F6F6;
  --text: #2E2E2E;
  --text-light: #666;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --radius: 14px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; background: var(--white); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(224,90,0,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: #f5f5f5; transform: translateY(-1px); }
.btn-green { background: #25D366; color: var(--white); }
.btn-green:hover { background: #1ebe5d; transform: translateY(-1px); }
.btn-whatsapp { background: #25D366; color: var(--white); padding: 10px 18px; font-size: 0.87rem; }
.btn-whatsapp:hover { background: #1ebe5d; }
.btn.full { width: 100%; justify-content: center; }

/* ===========================
   HEADER
   =========================== */
#header {
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
}
#header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.1); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-flame { font-size: 1.7rem; }
.logo strong { display: block; font-size: 1rem; color: var(--dark); line-height: 1.2; }
.logo small { font-size: 0.72rem; color: var(--text-light); display: block; }

#nav { display: flex; align-items: center; gap: 26px; }
#nav a { font-size: 0.875rem; font-weight: 500; color: var(--text); transition: color 0.2s; }
#nav a:hover { color: var(--primary); }

.hamburger { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--dark); }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,5,0,0.88) 0%, rgba(20,8,0,0.75) 50%, rgba(40,15,0,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 60px 0;
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.badge {
  display: inline-block;
  background: rgba(224,90,0,0.25);
  color: #ffb380;
  border: 1px solid rgba(224,90,0,0.45);
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-content h1 span { color: var(--primary-light); }
.hero-content p { font-size: 1.1rem; color: rgba(255,255,255,0.72); margin-bottom: 36px; max-width: 520px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===========================
   NUMBERS
   =========================== */
.numbers { background: var(--primary); padding: 36px 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.number-item strong { display: block; font-size: 1.8rem; font-weight: 900; color: var(--white); line-height: 1.1; }
.number-item span { font-size: 0.82rem; color: rgba(255,255,255,0.72); }

/* ===========================
   SECTIONS
   =========================== */
.section { padding: 96px 0; }
.section-dark { background: var(--dark); }
.section-gray { background: var(--gray); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--dark); margin-bottom: 12px; letter-spacing: -0.3px; }
.section-header p { font-size: 1.05rem; color: var(--text-light); max-width: 520px; margin: 0 auto; }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.6); }

.section-tag {
  display: inline-block;
  background: rgba(224,90,0,0.1);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-tag-light {
  display: inline-block;
  background: rgba(255,122,32,0.15);
  color: var(--primary-light);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ===========================
   CARDS (SERVIÇOS)
   =========================== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid #eaeaea;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.card-icon { font-size: 2.2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

/* ===========================
   TECNOLOGIA
   =========================== */
.tech-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}

.tech-image img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}

.cert-list { display: flex; flex-direction: column; gap: 24px; }
.cert-item { display: flex; gap: 20px; align-items: flex-start; }
.cert-badge {
  flex-shrink: 0;
  min-width: 54px;
  height: 54px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.2;
}
.cert-item strong { display: block; color: var(--white); font-weight: 700; font-size: 0.98rem; margin-bottom: 5px; }
.cert-item p { font-size: 0.87rem; color: rgba(255,255,255,0.55); line-height: 1.6; margin: 0; }

.specs-section { margin-bottom: 56px; }
.specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spec-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.spec-card:hover { border-color: var(--primary); }
.spec-icon { font-size: 1.8rem; margin-bottom: 12px; }
.spec-card h4 { color: var(--white); font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; }
.spec-card p { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.6; }

.tech-banner img {
  width: 100%;
  border-radius: var(--radius);
  max-height: 360px;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
}

/* ===========================
   SOBRE
   =========================== */
.sobre-grid { display: grid; grid-template-columns: 480px 1fr; gap: 72px; align-items: center; }

.sobre-images { position: relative; }
.sobre-img-main {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  height: 400px;
}
.sobre-img-secondary {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 52%;
  border-radius: var(--radius);
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
  object-fit: cover;
  height: 180px;
}

.badge-dark {
  display: inline-block;
  background: rgba(224,90,0,0.1);
  color: var(--primary);
  border: 1px solid rgba(224,90,0,0.25);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 16px;
}

.sobre-content h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: var(--dark); margin-bottom: 20px; line-height: 1.25; letter-spacing: -0.2px; }
.sobre-content p { color: var(--text-light); margin-bottom: 16px; line-height: 1.75; font-size: 0.97rem; }
.sobre-content strong { color: var(--dark); }

.diferenciais { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.diferencial-item { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 500; color: var(--dark); }
.diferencial-item span { color: var(--primary); font-weight: 700; font-size: 1rem; }

/* ===========================
   COMO FUNCIONA (STEPS)
   =========================== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid #eaeaea;
  position: relative;
  transition: box-shadow 0.2s;
}
.step:hover { box-shadow: var(--shadow); }
.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(224,90,0,0.12);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.step h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.step p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; }

/* ===========================
   TERMOSTATOS
   =========================== */
.termostatos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.termostato-card {
  background: var(--white);
  border: 1px solid #eaeaea;
  border-radius: var(--radius);
  padding: 28px 20px 24px;
  text-align: center;
  position: relative;
  transition: all 0.25s ease;
}
.termostato-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.termostato-card.featured { border-color: var(--primary); box-shadow: 0 4px 20px rgba(224,90,0,0.12); }

.termostato-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.termostato-img img { max-height: 100%; max-width: 100%; object-fit: contain; }

.termostato-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.termostato-card h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.termostato-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ===========================
   CABO INSTALADO
   =========================== */
.cabo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.cabo-img-main img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cabo-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cabo-side img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  border-radius: var(--radius);
  min-height: 155px;
}

/* ===========================
   FAQ
   =========================== */
.faq-grid { display: flex; flex-direction: column; gap: 0; max-width: 860px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid #e0e0e0; }
.faq-item:first-child { border-top: 1px solid #e0e0e0; }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--primary); }
.faq-q span {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .faq-q span { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 4px 20px;
}
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: 0.93rem; color: var(--text-light); line-height: 1.75; }
.faq-a strong { color: var(--dark); }

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #c24a00 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-content h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--white); margin-bottom: 12px; letter-spacing: -0.3px; }
.cta-content p { color: rgba(255,255,255,0.8); margin-bottom: 36px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===========================
   CONTATO
   =========================== */
.contato-grid { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }

.contato-info { display: flex; flex-direction: column; gap: 24px; }
.info-item { display: flex; align-items: flex-start; gap: 16px; }
.info-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.info-item strong { display: block; font-weight: 600; color: var(--dark); margin-bottom: 2px; font-size: 0.9rem; }
.info-item p, .info-item a { font-size: 0.95rem; color: var(--text-light); }
.info-item a:hover { color: var(--primary); }

.cert-badges-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mini-cert {
  background: rgba(224,90,0,0.08);
  color: var(--primary);
  border: 1px solid rgba(224,90,0,0.2);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}

.contato-form { background: var(--gray); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 18px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.83rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #ddd; border-radius: 8px;
  font-family: inherit; font-size: 0.93rem; color: var(--text);
  background: var(--white); outline: none; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-note { text-align: center; font-size: 0.88rem; color: #25a244; min-height: 20px; }

/* ===========================
   FOOTER
   =========================== */
footer { background: var(--dark); padding: 52px 0 28px; }

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.footer-brand strong { color: var(--white); font-size: 1rem; display: block; }
.footer-brand small { color: rgba(255,255,255,0.4); font-size: 0.72rem; display: block; }

.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong { color: rgba(255,255,255,0.6); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }
.footer-col a, .footer-col span { color: rgba(255,255,255,0.45); font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { color: rgba(255,255,255,0.2); font-size: 0.78rem; }

/* ===========================
   WHATSAPP FLUTUANTE
   =========================== */
.wpp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wpp-float:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(37,211,102,0.6); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: 1fr; }
  .tech-image { max-width: 480px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 48px; }
  .sobre-images { max-width: 480px; }
  .contato-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 1024px) {
  .termostatos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #nav { display: none; flex-direction: column; }
  #nav.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 16px 24px;
    gap: 4px;
  }
  #nav.open a { padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 1rem; }
  #nav.open a:last-child { border-bottom: none; }
  .header-inner .btn-whatsapp { display: none; }
  .hamburger { display: block; }

  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .cabo-grid { grid-template-columns: 1fr; }
  .sobre-img-secondary { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { gap: 32px; }
}

@media (max-width: 520px) {
  .cards-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .termostatos-grid { grid-template-columns: 1fr 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
  .contato-form { padding: 24px 16px; }
  .badges-row .badge:nth-child(n+3) { display: none; }
}
