html, body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  margin-top: 0;
  background: url('img/fundo.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(194, 135, 68, 0.2); /* filtro escuro */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  padding: 20px;
}

/* TEXTO */
.hero-text {
  flex: 0 0 550px;
  max-width: 550px;
}

.empresa {
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.empresa::before {
  content: "";
  width: 40px;
  height: 2px;
  background: #fff;
  display: inline-block;
}

.hero-text h1 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 20px;
}

.destaque-amarelo {
  color: #f4b400; /* amarelo bonito (pode ajustar se quiser) */
}

.hero-text p {
  font-size: 16px;
  color: #fff;
  margin-bottom: 25px;
}

/* BOTÃO */
.btn-orcamento {
  display: inline-block;
  background: #007BFF;
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-orcamento:hover {
  background: #0056b3;
}

/* IMAGEM */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  transform: translateX(80px);
}

.hero-image img {
  max-width: 850px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    max-width: 300px;
  }

  .hero-text h1 {
    font-size: 40px;
    color: #000;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
  }
}

.sobre {
  padding: 80px 20px;
  background: #fff;
}

.sobre .container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 60px;
}

/* ESQUERDA */
.sobre-left {
  flex: 1;
}

.tag {
  color: #007BFF;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tag::before {
  content: "";
  width: 40px;
  height: 2px;
  background: #000;
}

.sobre-left h2 {
  font-size: 42px;
  margin: 20px 0;
  line-height: 1.2;
}

.sobre-left p {
  color: #555;
  margin-bottom: 15px;
}

.destaque {
  background: #f5f5f5;
  padding: 20px;
  margin: 25px 0;
  border-radius: 8px;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.checklist li::before {
  content: "✔";
  color: #007BFF;
  position: absolute;
  left: 0;
}

/* DIREITA */
.sobre-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: #f7f7f7;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
}

.card img {
  width: 50px;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: #555;
  font-size: 14px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .sobre .container {
    flex-direction: column;
  }

  .sobre-right {
    grid-template-columns: 1fr;
  }
}

.visao {
  position: relative;
  padding: 100px 20px;
  background: #f9f9f9;
  overflow: hidden;
}

/* FUNDO COM LINHAS */
.visao::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('img/linhas.png');
  opacity: 0.05;
  z-index: 0;
}

.visao-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* IMAGENS */
.visao-imagens {
  position: relative;
  flex: 1;
}

.img-principal {
  width: 100%;
  border-radius: 6px;
}

.img-secundaria {
  position: absolute;
  width: 60%;
  bottom: -30px;
  right: -30px;
  border: 8px solid #fff;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* CONTEÚDO */
.visao-conteudo {
  flex: 1;
}

.tag-visao {
  color: #007BFF;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tag-visao::before {
  content: "";
  width: 30px;
  height: 2px;
  background: #000;
}

.visao-conteudo h2 {
  font-size: 42px;
  margin: 20px 0;
  line-height: 1.2;
}

.visao-conteudo p {
  color: #555;
  margin-bottom: 15px;
}

/* BLOCO LATERAL */
.visao-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
}

.anos {
  min-width: 120px;
}

.numero {
  font-size: 48px;
  font-weight: bold;
  color: #007BFF;
  display: block;
}

.texto {
  font-size: 14px;
  color: #333;
}

/* LINHA DIVISÓRIA */
.linha {
  width: 1px;
  background: #ccc;
  height: 100%;
}

/* TEXTO DIREITA */
.descricao h4 {
  margin-bottom: 10px;
}

.descricao p {
  font-size: 14px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .visao-container {
    flex-direction: column;
  }

  .img-secundaria {
    position: static;
    width: 100%;
    margin-top: 20px;
  }

  .visao-info {
    flex-direction: column;
  }

  .linha {
    display: none;
  }
}

/* SEÇÃO ESCURA MENOR */
.hero-dark {
  height: 380px; /* controla a altura real da seção */
  min-height: 380px;
  overflow: hidden;
}

/* overlay mais escuro */
.hero-dark .hero-overlay {
  background: rgba(0, 0, 0, 0.7);
}

/* conteúdo mais compacto */
.hero-dark .hero-content {
  max-width: 1200px;
  gap: 120px;
  padding: 0 20px;
}

/* texto */
.hero-dark .hero-text h1 {
  color: #fff;
  font-size: 38px;
  line-height: 1.15;
}

.hero-dark .hero-text p {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  max-width: 480px;
}

/* imagem 2x menor */
.hero-dark .hero-image {
  transform: translateX(0);
  justify-content: center;
}

.hero-dark .hero-image img {
  max-width: 300px;
}

/* FAQ */
.faq-section {
  padding: 120px 20px;
  background: #fff;
}

.faq-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 110px;
}

/* IMAGEM */
.faq-image {
  flex: 1;
}

.faq-image img {
  width: 100%;
  max-width: 520px;
  height: 560px;
  object-fit: cover;
  display: block;
}

/* CONTEÚDO */
.faq-content {
  flex: 1;
  max-width: 580px;
}

.faq-tag {
  color: #007BFF;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.faq-tag::before {
  content: "";
  width: 22px;
  height: 2px;
  background: #000;
  display: inline-block;
}

.faq-content h2 {
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 22px;
  color: #050505;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.faq-desc {
  color: #666;
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 35px;
}

/* ACCORDION */
.faq-box {
  border: 1px solid #d89a59;
  margin-bottom: 6px;
  background: #fff;
}

.faq-box.active {
  border: none;
}

.faq-question {
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #000;
}

.faq-question span {
  font-size: 24px;
  font-weight: 300;
  color: #111;
}

.faq-box.active .faq-question {
  background: #0579bd;
  color: #fff;
}

.faq-box.active .faq-question h3,
.faq-box.active .faq-question span {
  color: #fff;
}

.faq-answer {
  display: none;
  padding: 20px 16px 24px;
}

.faq-box.active .faq-answer {
  display: block;
}

.faq-box {
  cursor: pointer;
}

.faq-answer p {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.45;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .faq-container {
    flex-direction: column;
    gap: 40px;
  }

  .faq-image img {
    max-width: 100%;
    height: auto;
  }

  .faq-content h2 {
    font-size: 36px;
  }

  .faq-question h3 {
    font-size: 16px;
  }
}

/* CTA BRANCA */
.cta-branca {
  position: relative;
  min-height: 440px;
  background: url('img/fundo.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-branca-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.cta-branca-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 40px 20px;
  text-align: center;
}

.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #007BFF;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-tag::before {
  content: "";
  width: 22px;
  height: 2px;
  background: #000;
  display: inline-block;
}

.cta-branca h2 {
  margin: 0 0 20px;
  color: #000;
  font-size: 39px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1.8px;
}

.cta-branca p {
  margin: 0 auto 34px;
  color: #666;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 500;
}

.cta-branca p strong {
  font-weight: 800;
}

.cta-btn {
  display: inline-block;
  background: #0579bd;
  color: #fff;
  padding: 16px 32px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  border-radius: 0;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #005f99;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .cta-branca {
    min-height: 390px;
  }

  .cta-branca h2 {
    font-size: 30px;
  }

  .cta-branca p {
    font-size: 15px;
    line-height: 1.3;
  }

  .cta-tag {
    font-size: 15px;
  }

  .cta-btn {
    padding: 14px 24px;
  }
}

/* =========================
   AJUSTES PARA CELULAR
========================= */
@media (max-width: 768px) {

  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  .main {
    width: 100%;
  }

  /* HERO PRINCIPAL */
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 120px 20px 60px;
  }

  .hero-content {
    flex-direction: column;
    gap: 35px;
    padding: 0;
    text-align: center;
  }

  .hero-text {
    flex: none;
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 32px;
    color: #fff;
    line-height: 1.15;
  }

  .hero-text p {
    font-size: 15px;
    line-height: 1.5;
  }

  .empresa {
    justify-content: center;
  }

  .hero-image {
    transform: none;
    justify-content: center;
    width: 100%;
  }

  .hero-image img {
    max-width: 100%;
    width: 320px;
  }

  .btn-orcamento,
  .cta-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    box-sizing: border-box;
  }

  /* SOBRE */
  .sobre {
    padding: 60px 20px;
  }

  .sobre .container {
    flex-direction: column;
    gap: 35px;
  }

  .tag {
    justify-content: center;
  }

  .sobre-left {
    text-align: center;
  }

  .sobre-left h2 {
    font-size: 30px;
  }

  .sobre-left p {
    font-size: 15px;
    line-height: 1.5;
  }

  .checklist {
    text-align: left;
  }

  .sobre-right {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
    text-align: center;
  }

  /* VISÃO */
  .visao {
    padding: 60px 20px;
  }

  .visao-container {
    flex-direction: column;
    gap: 40px;
  }

  .visao-conteudo {
    text-align: center;
  }

  .tag-visao {
    justify-content: center;
  }

  .visao-conteudo h2 {
    font-size: 30px;
  }

  .visao-conteudo p {
    font-size: 15px;
    line-height: 1.5;
  }

  .img-secundaria {
    position: static;
    width: 100%;
    margin-top: 15px;
    border: 5px solid #fff;
  }

  .visao-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .linha {
    display: none;
  }

  /* HERO ESCURO */
  .hero-dark {
    height: auto;
    min-height: auto;
    padding: 60px 20px;
  }

  .hero-dark .hero-content {
    gap: 30px;
  }

  .hero-dark .hero-text h1 {
    font-size: 30px;
  }

  .hero-dark .hero-image img {
    width: 260px;
    max-width: 100%;
  }

  /* FAQ */
  .faq-section {
    padding: 60px 20px;
  }

  .faq-container {
    flex-direction: column;
    gap: 35px;
  }

  .faq-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .faq-content {
    max-width: 100%;
  }

  .faq-content h2 {
    font-size: 32px;
    text-align: center;
  }

  .faq-tag {
    justify-content: center;
  }

  .faq-desc {
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
  }

  .faq-question {
    padding: 14px;
    gap: 15px;
  }

  .faq-question h3 {
    font-size: 15px;
    line-height: 1.3;
  }

  .faq-answer p {
    font-size: 14px;
  }

  /* CTA FINAL */
  .cta-branca {
    min-height: auto;
    padding: 60px 20px;
  }

  .cta-branca-content {
    padding: 0;
  }

  .cta-tag {
    font-size: 14px;
    justify-content: center;
  }

  .cta-branca h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .cta-branca p {
    font-size: 15px;
    line-height: 1.5;
  }

  .cta-branca p br {
    display: none;
  }
}

/* CORREÇÃO DO HEADER NA HOME */
@media (max-width: 768px) {
  .header .container {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
    padding: 15px 20px !important;
  }

  .header .nav {
    position: absolute !important;
    top: 75px !important;
    left: 0 !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 25px !important;
    padding: 25px 0 !important;
  }

  .header .nav.active {
    display: flex !important;
  }

  .header .menu-toggle {
    display: block !important;
  }

  .header .cta {
    display: none !important;
  }

  .header .nav {
    display: none !important;
  }

  .header .nav.active {
    display: flex !important;
  }
}

/* FUNDO DO HEADER NO SCROLL - HOME */
.header.scrolled {
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* MOBILE */
@media (max-width: 768px) {
  .header.scrolled {
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  .header.scrolled .menu-toggle {
    color: #fff !important;
  }
}