/* =========================
   BALAZI VARAIS - STYLE.CSS
   LP OTIMIZADA MOBILE + iOS
   ========================= */

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

html, body {
  height: 100%;
}

/* VARIÁVEIS */
:root {
  --azul: #1b53ff;
  --verde: #1bb015;
  --cinza-claro: #f5f7fa;
  --cinza-medio: #e6e9ef;
  --texto: #1d1d1d;
  --max-width: 1100px;
}

/* GLOBAL */
body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

/* LAYOUT */
.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 16px;
}

/* LOGO */
.topo {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.logo {
  max-width: 180px;
  height: auto;
}

/* HERO */
.hero {
  padding: 40px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero h1 {
  font-size: 32px;
  font-weight: 800;
}
.hero p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: auto;
}

/* BOTÕES */
.btn {
  background: var(--verde);
  color: #fff;
  padding: 16px 26px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s;
  font-size: 18px;
}
.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* SESSÕES */
section {
  padding: 50px 0;
}

/* BENEFÍCIOS */
.beneficios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--cinza-medio);
  padding: 22px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.card h3 {
  margin-bottom: 8px;
}

/* PRODUTOS */
.produtos {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.produto {
  background: #fff;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--cinza-medio);
}
.produto h3 {
  margin: 10px 0;
}
.produto p {
  color: #555;
}

/* CARROSSEL DE PROJETOS */
.projetos {
  text-align: center;
}

.carrossel-container {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
}

.carrossel {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.carrossel img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255,255,255,0.95);
  font-size: 28px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.seta-esquerda {
  left: 8px;
}
.seta-direita {
  right: 8px;
}

/* SEÇÃO DEPOIMENTOS */
.depoimentos-section {
    text-align: center;
    padding: 60px 20px;
}

.depoimentos-section .subtitle {
    color: #555;
    margin-bottom: 25px;
}

/* Galeria horizontal */
.depoimentos-galeria {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.depoimentos-galeria img {
    width: 320px;
    max-width: 90%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

/* Remover scrollbar no mobile */
.depoimentos-galeria::-webkit-scrollbar {
    display: none;
}

/* Botões de navegação */
.galeria-controles {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.galeria-btn {
    background: var(--verde);
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.galeria-btn:hover {
    opacity: 0.85;
}


/* FORMULÁRIO (aparência externa — Kommo gerencia interno) */
.amoforms_iframe {
  border-radius: 14px !important;
}

.amoforms_submit_button {
  background: var(--verde) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 16px !important;
  font-size: 18px !important;
}

/* FOOTER */
footer {
  background: var(--cinza-claro);
  padding: 22px;
  text-align: center;
  font-size: 14px;
}

/* ================
   RESPONSIVO MOBILE
   ================ */

@media (max-width: 600px) {

  .hero {
    padding: 24px 0;
  }

  .hero h1 {
    font-size: 24px;
  }

  .btn {
    font-size: 16px;
    padding: 14px 20px;
  }

  .carrossel img {
    width: 220px;
    height: 150px;
  }

  .beneficios,
  .produtos,
  .depoimentos {
    grid-template-columns: 1fr !important;
  }
}

/* COMO ORÇAR */
.como-orcar {
    padding: 60px 20px;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.passos-orcamento {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.passo {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* FAQ */
.faq {
    max-width: 900px;
    margin: 60px auto;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 15px;
    background: #f2f4f8;
    border: none;
    font-size: 17px;
    border-radius: 8px;
    cursor: pointer;
}

.faq-answer {
    display: none;
    padding: 15px;
    background: #fff;
    border-left: 3px solid var(--azul);
}
