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

:root {
  --azul: #1a4fb4;
  --azul-escuro: #0d2c66;
  --vermelho: #c62026;
  --prata: #e8eaee;
  --texto: #1c2230;
  --texto-suave: #5a6272;
  --fundo: #f7f8fa;
  --branco: #ffffff;
  --radius: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Botões ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--vermelho), #a3181d);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(198, 32, 38, 0.55);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(198, 32, 38, 0.6);
}

.btn--ghost {
  background: transparent;
  border: 2px solid var(--azul);
  color: var(--azul);
}

.btn--ghost:hover {
  background: var(--azul);
  color: #fff;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ===== Header ===== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--branco);
  box-shadow: 0 2px 12px rgba(13, 44, 102, 0.08);
}

.topbar__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand__logo {
  height: 40px;
  width: auto;
  display: block;
}

.brand__text {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.3rem;
  color: var(--azul-escuro);
}

.brand__text strong {
  color: var(--vermelho);
}

.nav {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--texto-suave);
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--vermelho);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav a:hover {
  color: var(--azul-escuro);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--azul-escuro);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ===== Hero ===== */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 5%;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(26, 79, 180, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(198, 32, 38, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #eef1f6 100%);
  z-index: -1;
}

.hero__content {
  max-width: 640px;
}

.eyebrow, .section-eyebrow {
  display: inline-block;
  color: var(--vermelho);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--azul-escuro);
  margin-bottom: 1.2rem;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--vermelho);
}

.hero__lead {
  color: var(--texto-suave);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__badge {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  filter: drop-shadow(0 20px 40px rgba(13, 44, 102, 0.25));
}

/* ===== Seções gerais ===== */

section {
  padding: clamp(60px, 8vw, 110px) 5%;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--azul-escuro);
  margin-bottom: 2.5rem;
  text-wrap: balance;
}

/* ===== Serviços ===== */

.servicos {
  max-width: 1200px;
  margin: 0 auto;
}

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

.card-servico {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: 0 8px 24px -12px rgba(13, 44, 102, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-servico:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -14px rgba(13, 44, 102, 0.25);
}

.card-servico__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--azul), var(--azul-escuro));
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.card-servico h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--texto);
}

.card-servico p {
  color: var(--texto-suave);
  font-size: 0.95rem;
}

/* ===== Por que a MG ===== */

.porque {
  background: linear-gradient(135deg, var(--azul-escuro), var(--azul));
  color: #fff;
}

.porque__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
}

.porque .section-eyebrow {
  color: #ffd9da;
}

.porque .section-title {
  color: #fff;
}

.porque__text p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.porque__lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.porque__lista li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.porque__lista i {
  color: var(--vermelho);
  background: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.porque__badge {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
}

/* ===== Contato ===== */

.contato {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contato__lead {
  color: var(--texto-suave);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contato__alt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contato__alt a {
  color: var(--texto-suave);
  text-decoration: none;
  font-size: 0.95rem;
}

.contato__alt a:hover {
  color: var(--azul);
}

.contato__alt i {
  margin-right: 0.4rem;
}

/* ===== Rodapé ===== */

.rodape {
  background: var(--azul-escuro);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 5%;
}

.rodape__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.rodape__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.rodape__brand img {
  height: 34px;
  width: auto;
  background: #fff;
  padding: 5px 8px;
  border-radius: 8px;
}

.rodape__copy {
  font-size: 0.85rem;
}

.footer-credit {
  font-size: 0.8rem;
  opacity: 0.75;
}

.footer-credit a {
  color: #fff;
  font-weight: 600;
}

/* ===== FAB WhatsApp ===== */

.fab-whatsapp {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.6);
  z-index: 90;
  transition: transform 0.2s ease;
}

.fab-whatsapp:hover {
  transform: scale(1.08);
}

/* ===== Responsivo ===== */

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--branco);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 12px 24px -12px rgba(13, 44, 102, 0.2);
    transition: max-height 0.3s ease;
  }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  .nav--aberto {
    max-height: 240px;
  }

  .hamburger {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .hero__badge {
    display: none;
  }

  .servicos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .porque__badge {
    max-width: 220px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .servicos__grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    justify-content: center;
  }
}

/* ===== Faixa de destaques ===== */
.faixa { padding: 0 5%; margin-top: -2.5rem; position: relative; z-index: 1; }
.faixa__lista { list-style: none; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  background: var(--branco); border-radius: var(--radius); padding: 1.2rem 1.5rem; box-shadow: 0 16px 36px -18px rgba(13, 44, 102, 0.3); }
.faixa__lista li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--azul-escuro); font-size: 0.95rem; }
.faixa__lista i { color: var(--azul); font-size: 1.1rem; width: 1.3rem; text-align: center; }

/* ===== Equipamentos ===== */
.equip { background: var(--branco); }
.equip__inner, .publico__inner, .passos__inner, .faq__inner { max-width: 1200px; margin: 0 auto; }
.equip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-equip { border: 1px solid var(--prata); border-radius: var(--radius); padding: 1.6rem; background: var(--fundo); }
.card-equip__img { height: 110px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, #eaf0fb, #dbe5f7); color: var(--azul); }
.card-equip__img svg { width: 84px; height: 84px; }
.card-equip h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.card-equip p { color: var(--texto-suave); font-size: 0.95rem; }
.equip__nota { margin-top: 2rem; color: var(--texto-suave); text-align: center; }

/* ===== Pra quem ===== */
.publico__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-publico { background: var(--branco); border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: 0 8px 24px -12px rgba(13, 44, 102, 0.15); border-top: 4px solid var(--azul); }
.card-publico i { font-size: 1.8rem; color: var(--azul); margin-bottom: 1rem; }
.card-publico h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.card-publico p { color: var(--texto-suave); font-size: 0.95rem; }

/* ===== Sinais ===== */
.sinais { background: var(--azul-escuro); color: #fff; }
.sinais__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.sinais .section-title { color: #fff; margin-bottom: 1rem; }
.sinais .section-eyebrow { color: #8fb3ff; }
.sinais__lead { color: #c9d5ee; margin-bottom: 1.6rem; }
.sinais__lista { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sinais__lista li { display: flex; gap: 0.9rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 1rem; }
.sinais__lista i { color: #8fb3ff; font-size: 1.2rem; margin-top: 0.2rem; width: 1.4rem; text-align: center; }
.sinais__lista strong { display: block; }
.sinais__lista span { color: #c9d5ee; font-size: 0.9rem; }

/* ===== Como funciona ===== */
.passos__lista { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: p; }
.passos__lista li { background: var(--branco); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 8px 24px -12px rgba(13, 44, 102, 0.15); }
.passos__num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--vermelho); color: #fff;
  font: 700 1.2rem/1 "Barlow Condensed", sans-serif; margin-bottom: 0.9rem; }
.passos__lista h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.passos__lista p { color: var(--texto-suave); font-size: 0.95rem; }

/* ===== PMOC ===== */
.pmoc { background: var(--branco); }
.pmoc__inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: start;
  border: 2px solid var(--prata); border-radius: 20px; padding: clamp(1.6rem, 4vw, 3rem); }
.pmoc__icone { width: 84px; height: 84px; border-radius: 20px; display: grid; place-items: center; font-size: 2.2rem; color: #fff;
  background: linear-gradient(135deg, var(--azul), var(--azul-escuro)); }
.pmoc .section-title { margin-bottom: 1rem; }
.pmoc p { color: var(--texto-suave); margin-bottom: 1.2rem; }
.pmoc__lista { list-style: none; display: grid; gap: 0.5rem; margin-bottom: 1.6rem; }
.pmoc__lista i { color: var(--azul); margin-right: 0.5rem; }

/* ===== FAQ ===== */
.faq__inner { max-width: 820px; }
.faq details { background: var(--branco); border-radius: 12px; margin-bottom: 0.8rem; box-shadow: 0 6px 18px -12px rgba(13, 44, 102, 0.2); }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--azul); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--texto-suave); }

@media (max-width: 900px) {
  .faixa__lista { grid-template-columns: repeat(2, 1fr); }
  .equip__grid, .publico__grid { grid-template-columns: repeat(2, 1fr); }
  .sinais__inner { grid-template-columns: 1fr; }
  .passos__lista { grid-template-columns: repeat(2, 1fr); }
  .nav--aberto { max-height: 360px; }
}
@media (max-width: 560px) {
  .faixa { margin-top: -1.5rem; }
  .faixa__lista { padding: 1rem; gap: 0.8rem; }
  .faixa__lista li { font-size: 0.85rem; }
  .equip__grid, .publico__grid, .sinais__lista, .passos__lista { grid-template-columns: 1fr; }
  .pmoc__inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .pmoc__icone { width: 64px; height: 64px; font-size: 1.7rem; }
}

/* ===== BTUs + calculadora ===== */
.btu__inner { max-width: 1100px; margin: 0 auto; }
.btu__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.card-btu { background: var(--branco); border-radius: var(--radius); padding: 1.4rem; box-shadow: 0 8px 24px -12px rgba(13, 44, 102, 0.15); }
.card-btu strong { display: block; font: 700 1.6rem/1.1 "Barlow Condensed", sans-serif; color: var(--azul-escuro); }
.card-btu span { display: inline-block; margin: 0.3rem 0 0.6rem; font-size: 0.8rem; font-weight: 700; color: var(--azul); background: #eaf0fb; border-radius: 999px; padding: 0.15rem 0.6rem; }
.card-btu p { color: var(--texto-suave); font-size: 0.92rem; }
.calc { background: linear-gradient(135deg, var(--azul-escuro), var(--azul)); color: #fff; border-radius: 20px; padding: clamp(1.4rem, 4vw, 2.4rem); display: grid; gap: 1.2rem; }
.calc h3 { font-size: 1.7rem; }
.calc h3 i { margin-right: 0.4rem; }
.calc__campos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.calc label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; color: #dfe7f7; }
.calc input[type="number"] { font: inherit; font-size: 1rem; padding: 0.7rem 0.9rem; border-radius: 10px; border: 0; color: var(--texto); width: 100%; }
.calc__check { grid-column: 1 / -1; display: flex !important; align-items: center; gap: 0.6rem; }
.calc__check input { width: 20px; height: 20px; accent-color: var(--vermelho); }
.calc .btn { justify-self: start; }
.calc__resultado { background: rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 1.2rem; display: grid; gap: 0.6rem; }
.calc__ideal { font-size: 1.15rem; }
.calc__ideal strong { font-size: 1.4rem; }
.calc__nota { font-size: 0.82rem; color: #c9d5ee; }
@media (max-width: 900px) { .btu__grid { grid-template-columns: repeat(2, 1fr); } .calc__campos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .calc__campos { grid-template-columns: 1fr; } .calc .btn { justify-self: stretch; justify-content: center; } }

/* ===== Vitrine (aparelhos à venda, sem preço) ===== */
.vitrine { background: var(--fundo); }
.vitrine__inner { max-width: 1200px; margin: 0 auto; }
.vitrine .section-title { margin-bottom: 0.8rem; }
.vitrine__lead { color: var(--texto-suave); margin-bottom: 1.4rem; max-width: 640px; }
.vitrine__filtros { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.vitrine__filtros button { font: inherit; font-weight: 600; font-size: 0.9rem; padding: 0.5rem 1rem; border-radius: 999px; border: 2px solid var(--prata); background: var(--branco); color: var(--azul-escuro); cursor: pointer; }
.vitrine__filtros button[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); color: #fff; }
.vitrine__lista { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.produto { border: 1px solid var(--prata); border-radius: var(--radius); padding: 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; background: var(--branco); box-shadow: 0 8px 24px -14px rgba(13, 44, 102, 0.18); }
.produto[hidden] { display: none; }
.produto__img { position: relative; height: 130px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #eaf0fb, #dbe5f7); color: var(--azul); }
.produto__img svg { width: 80px; height: 80px; }
.produto__btus { position: absolute; left: 10px; top: 10px; background: var(--azul-escuro); color: #fff; font: 700 0.95rem/1 "Barlow Condensed", sans-serif; padding: 0.35rem 0.6rem; border-radius: 8px; letter-spacing: 0.5px; }
.produto h3 { font-size: 1.25rem; }
.produto__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.produto__tags li { font-size: 0.75rem; font-weight: 600; color: var(--azul); background: #eaf0fb; border-radius: 999px; padding: 0.2rem 0.6rem; }
.produto__btn { margin-top: auto; justify-content: center; }
.vitrine__nota { margin-top: 1.8rem; color: var(--texto-suave); text-align: center; }
.vitrine__nota a { color: var(--azul); font-weight: 600; text-decoration: underline; }
@media (max-width: 900px) { .vitrine__lista { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .vitrine__lista { gap: 0.7rem; }
  .produto { padding: 0.7rem; gap: 0.5rem; }
  .produto__img { height: 92px; }
  .produto__img svg { width: 54px; height: 54px; margin-top: 14px; }
  .produto__btus { font-size: 0.82rem; left: 6px; top: 6px; }
  .produto h3 { font-size: 1.05rem; }
  .produto__tags li { font-size: 0.68rem; padding: 0.15rem 0.45rem; }
  .produto__btn { padding: 0.6rem 0.5rem; font-size: 0.85rem; }
}
