:root {
  --cor-primaria: #c59d5f;
  --cor-primaria-hover: #e0b46f;
  --cor-escura: #111111;
  --cor-clara: #f4f4f4;
  --cor-branca: #ffffff;
  --cor-texto: #222222;
  --cor-texto-suave: #666666;
  --sombra-card: 0 4px 12px rgba(0, 0, 0, 0.08);
  --borda-arredondada: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--cor-clara);
  color: var(--cor-texto);
  line-height: 1.6;
}

header {
  background-color: var(--cor-escura);
  color: var(--cor-branca);
  padding: 12px 20px;
}

/* ===== HEADER - TOPO REORGANIZADO ===== */
.topo {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
}

/* Logo à esquerda */
.logo-area {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-area img {
  width: 70px;
  height: auto;
  display: block;
}

/* Título no meio */
header h1 {
  flex: 1;
  text-align: center;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin: 0;
}

/* Menu centralizado */
.nav-menu {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-menu a {
  color: rgb(255, 252, 252);
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 6px;
  transition: 0.3s;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-menu a:hover {
  background-color: rgb(227, 135, 135);
  color: var(--cor-escura);
}

/* Informações à direita */
.header-direita {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}

.header-info p {
  color: rgb(255, 252, 252);
  font-size: 0.85rem;
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
}

/* Botão WhatsApp no Header */
.header-btn-wp {
  margin: 0;
  font-size: 0.82rem;
  padding: 6px 12px;
  align-self: center;
  flex-shrink: 0;
}

/* Responsivo - Tablet */
@media (max-width: 1200px) {
  .topo {
    gap: 15px;
    padding: 0 15px;
  }

  .nav-menu {
    gap: 15px;
  }

  .nav-menu a {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  header h1 {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
  }

  .header-info p {
    font-size: 0.75rem;
  }
}

/* Responsivo - Mobile */
@media (max-width: 768px) {
  .topo {
    flex-direction: column;
    gap: 12px;
    padding: 12px 15px;
  }

  .logo-area {
    justify-content: center;
  }

  header h1 {
    font-size: 1.2rem;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nav-menu a {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .header-direita {
    flex-direction: column;
    gap: 10px;
  }

  .header-info {
    text-align: center;
  }

  .header-info p {
    font-size: 0.7rem;
  }
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--cor-escura);
  color: var(--cor-branca);
  padding: 40px 20px 0;
}

.footer-conteudo {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Coluna esquerda: nav */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.3s;
  width: fit-content;
}

.footer-nav a:hover {
  color: var(--cor-primaria);
}

/* Centro: texto livre */
.footer-texto {
  font-size: 0.95rem;
  color: #aaaaaa;
  line-height: 1.8;
  border: none;
  padding: 0;
}

/* Direita: dados de contato */
.footer-contato {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contato p {
  font-size: 0.9rem;
  color: #cccccc;
  line-height: 1.6;
  margin: 0;
}

.footer-contato strong {
  color: var(--cor-branca);
}

.footer-btn-wp {
  margin-top: 5px;
  font-size: 0.82rem;
  padding: 6px 12px;
  align-self: flex-start;
}

.footer-contato .footer-btn-wp {
  padding: 6px 12px !important;
  font-size: 0.82rem !important;
}

/* Frase de marca registrada */
.footer-marca {
  text-align: center;
  padding: 8px 20px;
  font-size: 0.75rem;
  color: #777777;
}

/* Responsivo Footer */
@media (max-width: 768px) {
  .footer-conteudo {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-btn-wp {
    align-self: center;
  }

  .footer-texto,
  .footer-contato {
    text-align: center;
    align-items: center;
  }
}

/* ===== HERO ===== */
.hero {
  min-height: 70vh;
  padding: 80px 20px;
  background-image: url("img/banner.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 700px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.45);
  padding: 30px;
  border-radius: var(--borda-arredondada);
  color: white;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-block;
  text-decoration: none;
  background-color: var(--cor-primaria);
  color: var(--cor-escura);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: 0.3s;
}

.btn:hover {
  background-color: #e0b46f;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background-color: #1ebe5b;
}

.btn-whatsapp img {
  width: 20px;
  height: 20px;
  display: block;
}

/* ===== SOBRE NÓS ===== */
.sobre {
  padding: 80px 60px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  background-color: #fffefe;
}

.sobre-texto {
  flex: 1;
  max-width: 520px;
}

.sobre-imagem {
  flex: 1.4;
  max-width: 640px;
}

.sobre-texto h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #111;
}

.sobre-texto p {
  font-size: 1rem;
  color: #1c1c1c;
  line-height: 2;
  margin-bottom: 15px;
  max-width: 100%;
}

.sobre-imagem img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ===== BENEFÍCIOS ===== */
.beneficios {
  padding: 80px 20px;
  background-color: #000000;
  text-align: center;
}

.beneficios h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fbf8f8;
}

.subtitulo {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background-color: #ffffff;
  padding: 30px 20px;
  box-shadow: var(--sombra-card);
  border-radius: var(--borda-arredondada);
}

.card img {
  width: 60px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #000000;
}

.card p {
  font-size: 0.95rem;
  color: #060606;
  line-height: 1.6;
}

/* ===== TIPOGRAFIA GERAL ===== */
section {
  scroll-margin-top: 90px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
  font-size: 1rem;
  line-height: 1.7;
}

.container {
  width: min(1100px, 100% - 40px);
  margin: 0 auto;
}

section {
  padding-top: 90px;
  padding-bottom: 90px;
  scroll-margin-top: 90px;
}

/* ===== GALERIA CARROSSEL ===== */
.galeria {
  scroll-margin-top: 90px;
  padding: 90px 20px 60px;
  background-color: var(--cor-clara);
  text-align: center;
  border-top: 1px solid #ffffff;
}

.galeria h2 {
  margin-bottom: 10px;
}

.carrossel {
  position: relative;
  max-width: 1100px;
  margin: 40px auto 0;
  overflow: visible;
  min-height: 420px;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

/* Slides */
.slide {
  display: none;
  flex-direction: row;
  align-items: center;
  padding: 20px 0 70px;
  gap: 50px;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: none;
}

.slide.active {
  display: flex;
  opacity: 1;
}

/* Imagem — lado esquerdo */
.imagem-equipamento {
  flex: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.imagem-equipamento img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--borda-arredondada);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
}

/* Informações — lado direito */
.info-produto {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.titulo-produto {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--cor-escura);
  font-weight: 700;
  line-height: 1.3;
}

.subtitulo-produto {
  font-size: 0.9rem;
  color: var(--cor-texto-suave);
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}

.descricao-produto {
  font-size: 1rem;
  color: var(--cor-texto);
  line-height: 1.7;
  margin: 0;
}

/* Botão de download */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  background-color: var(--cor-primaria);
  color: var(--cor-escura);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 8px;
  width: fit-content;
  transition: 0.3s;
}

.btn-download:hover {
  background-color: var(--cor-primaria-hover);
}

/* Controles: seta ← bolinhas → seta */
.carrossel-controles {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.seta {
  background: none;
  border: 2px solid var(--cor-primaria);
  color: var(--cor-primaria);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  line-height: 1;
}

.seta:hover {
  background-color: var(--cor-primaria);
  color: var(--cor-escura);
}

.indicadores {
  display: flex;
  gap: 10px;
  align-items: center;
}

.bolinha {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--cor-texto-suave);
  background-color: transparent;
  cursor: pointer;
  transition: 0.3s;
}

.bolinha.active {
  background-color: var(--cor-primaria);
  border-color: var(--cor-primaria);
  transform: scale(1.2);
}

/* Responsivo Galeria */
@media (max-width: 768px) {
  .slide {
    flex-direction: column;
    padding: 20px 0 80px;
    text-align: center;
  }

  .info-produto {
    text-align: center;
    align-items: center;
  }

  .imagem-equipamento img {
    max-height: 240px;
  }

  .btn-download {
    align-self: center;
  }
}

/* ===== VOLTAR AO TOPO ===== */
.voltar-topo {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 155px;
  height: 155px;
  z-index: 1200;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0;
  pointer-events: none;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  display: block;
  padding: 0;
  text-decoration: none;
}

.voltar-topo img {
  width: 155px;
  height: 155px;
  display: block;
  object-fit: contain;
}

.voltar-topo.visivel {
  opacity: 1;
  pointer-events: auto;
}

.voltar-topo:hover {
  transform: translateY(1px);
  background: none;
}

/* ===== RESPONSIVO GERAL ===== */
@media (max-width: 1024px) {
  .hero {
    padding: 60px 15px;
  }

  .hero-content {
    padding: 20px;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .sobre {
    flex-direction: column;
    text-align: center;
    padding: 50px 20px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}
