/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #111827;
}
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}


/* =========================
   HEADER
========================= */
.header-ref {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO NO HEADER */
.logo img {
    height: 62px;
    /* tamanho ideal para header */
    width: auto;
    display: block;
}

@media (max-width: 900px) {
    .logo img {
        height: 36px;
    }
}

/* MENU */
.menu {
    display: flex;
    gap: 18px;
}

.menu a {
    text-decoration: none;
    font-size: 0.85rem;
    color: #111827;
}

.menu a:hover {
    text-decoration: underline;
}

/* ÍCONES */
.header-icons a {
    margin-left: 10px;
    text-decoration: none;
    font-size: 1rem;
    color: #111827;
}

/* =========================
   HERO (ESTILO REFERÊNCIA)
========================= */
.hero-ref {
    position: relative;
    height: 86vh;
    /* controla a altura */
    max-height: 780px;
    /* evita hero gigante */
    background: url("../assets/images/hero-bg.png") center / cover no-repeat;
    overflow: hidden;
    /* CORTA o fundo sobrando */
}

/* OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(90, 70, 55, 0.55);
}

/* CONTAINER */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    height: 100%;
    margin: auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    /* centraliza verticalmente */
}


/* TEXTO */
.hero-text h1 {
    font-size: 3.8rem;
    color: #f5e7d3;
    margin-bottom: 12px;
}

.hero-text h2 {
    font-size: 1.25rem;
    color: #e6d2b8;
    margin-bottom: 22px;
    font-weight: normal;
}

.hero-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #ffffff;
    max-width: 500px;
    margin-bottom: 32px;
}

/* BOTÃO */
.btn-hero {
    display: inline-block;
    padding: 14px 30px;
    background: #6b4f3f;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* IMAGEM DIREITA */
.hero-image img {
    max-width: 100%;
    border-radius: 4px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: auto;
        margin-bottom: 30px;
    }

    .hero-image {
        margin-top: 40px;
    }
}

/* =========================
   SOBRE NÓS
========================= */
.sobre-nos {
    background: #ffffff;
    padding: 100px 20px;
}

.sobre-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* TEXTO */
.sobre-texto h2 {
    font-size: 2.4rem;
    color: #2f2f2f;
    margin-bottom: 10px;
}

.sobre-subtitulo {
    display: block;
    font-size: 1.05rem;
    color: #8b5e3c;
    margin-bottom: 25px;
}

.sobre-texto p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b4b4b;
    margin-bottom: 18px;
}

/* BOTÃO */
.btn-sobre {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 32px;
    background: #6b4f3f;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.95rem;
}

.btn-sobre:hover {
    opacity: 0.9;
}

/* IMAGEM */
.sobre-imagem img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .sobre-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sobre-imagem {
        margin-top: 40px;
    }
}

/* =========================
   SERVIÇOS
========================= */
.servicos {
    background: #f0f0f0;
    padding: 100px 20px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.servicos-header {
    text-align: center;
    margin-bottom: 80px;
}

.servicos-header h2 {
    font-size: 2.6rem;
    color: #6b4f3f;
    margin-bottom: 12px;
}

.servicos-header .linha {
    display: block;
    width: 80px;
    height: 3px;
    background: #6b4f3f;
    margin: 0 auto;
}

/* ITEM */
.servico-item {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* TEXTO */
.servico-texto h3 {
    font-size: 2rem;
    color: #2f2f2f;
    margin-bottom: 20px;
}

.servico-texto p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b4b4b;
    margin-bottom: 16px;
}

/* AÇÕES */
.servico-acoes {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-servico {
    padding: 12px 28px;
    background: #6b4f3f;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.95rem;
}

.btn-servico:hover {
    opacity: 0.9;
}

.btn-icone {
    width: 44px;
    height: 44px;
    border: none;
    background: #eaeaea;
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
}

/* IMAGEM */
.servico-imagem img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .servico-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .servico-acoes {
        justify-content: center;
    }
}

.serv-02 {
    margin-top: 50px;
    margin-bottom: 50px;
    color: #fff;
}

.serv-13 {
    background-color: #f0f0f0;
}

.serv-22 {
    margin-top: 50px;
    margin-bottom: 50px;
    color: #fff;
}

.contratar-detetive {
    background: #2b1e18;
    padding: 100px 0;
}

.contratar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contratar-texto h2 {
    font-size: 38px;
    color: #ffffff;
    margin-bottom: 25px;
}

.contratar-texto h4 {
    font-size: 18px;
    color: #c9a27d;
    margin: 25px 0 10px;
}

.contratar-texto p {
    font-size: 16px;
    line-height: 1.7;
    color: #e6d6c8;
}

.btn-contratar {
    display: inline-block;
    margin-top: 30px;
    background: #6b4b3a;
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-contratar:hover {
    background: #8a634e;
}

.contratar-imagem img {
    width: 100%;
    max-width: 420px;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .contratar-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contratar-imagem img {
        margin: 0 auto;
    }
}

.cta-final {
    background: #ffffff;
    padding: 90px 20px;
    text-align: center;
    border-top: 1px solid #eaeaea;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.cta-final h2 {
    font-size: 40px;
    color: #2b1e18;
    /* marrom escuro institucional */
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 18px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 35px;
}

.btn-cta-final {
    display: inline-block;
    background: #6b4b3a;
    color: #ffffff;
    padding: 16px 38px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-cta-final:hover {
    background: #8a634e;
    transform: translateY(-2px);
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .cta-final h2 {
        font-size: 32px;
    }

    .cta-final p {
        font-size: 16px;
    }
}

/* BOTÃO CTA HEADER */
.header-ref .menu a.cta-header {
  margin-left: 20px;
  padding: 10px 22px;
  border: 1.5px solid #6b4b3a; /* marrom institucional */
  border-radius: 30px;
  color: #6b4b3a;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
}

/* HOVER */
.header-ref .menu a.cta-header:hover {
  background: #6b4b3a;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(107, 75, 58, 0.35);
  transform: translateY(-1px);
}

.atendimento-brasil {
  background: #3a3a3c;
  padding: 80px 20px;
  color: #ffffff;
}

.atendimento-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.logo-rodape img {
  max-width: 180px;
  margin-bottom: 20px;
}

.contato {
  font-size: 15px;
  margin-bottom: 15px;
}

.descricao {
  font-size: 14px;
  line-height: 1.6;
  color: #e0e0e0;
}

.redes-sociais {
  margin-top: 20px;
}

.redes-sociais a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 10px;
  border-radius: 50%;
  background: #6b4b3a;
  color: #ffffff;
  font-size: 18px;
  transition: 0.3s;
}

.redes-sociais a:hover {
  background: #8a634e;
}

.atendimento-mapa img {
  width: 100%;
  max-width: 500px;
}

.atendimento-texto p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #f1f1f1;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .atendimento-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .atendimento-mapa img {
    margin: 0 auto;
  }
}

.rodape-final {
  background: #2b2b2d;
  padding: 25px 20px;
  color: #ffffff;
}

.rodape-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.links-rodape a {
  color: #ffffff;
  margin-left: 20px;
  text-decoration: none;
}

.links-rodape a:hover {
  text-decoration: underline;
}

/* RESPONSIVO */
@media (max-width: 700px) {
  .rodape-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .links-rodape a {
    margin: 0 10px;
  }
}

@media (max-width: 900px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .menu a {
    font-size: 14px;
  }

  .cta-header {
    margin-top: 10px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 80px 20px 60px;
    background-position: center;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-content .btn {
    margin: 25px auto 0;
  }
}

@media (max-width: 900px) {
  .sobre-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sobre-imagem img {
    max-width: 100%;
    margin: 0 auto 30px;
  }
}

@media (max-width: 900px) {
  .sobre-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sobre-imagem img {
    max-width: 100%;
    margin: 0 auto 30px;
  }
}

@media (max-width: 900px) {
  .servico-item,
  .servico-item.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .servico-imagem img {
    width: 100%;
    margin-bottom: 25px;
  }

  .servico-texto h3 {
    font-size: 24px;
  }

  .servico-texto p {
    font-size: 15px;
  }

  .servico-acoes {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .contratar-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contratar-imagem img {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .cta-final h2 {
    font-size: 28px;
  }

  .cta-final p {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .atendimento-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .atendimento-mapa img {
    max-width: 260px;
    margin: 20px auto;
  }

  .rodape-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* AJUSTE DAS IMAGENS DOS SERVIÇOS */
.servico-imagem {
  display: flex;
  justify-content: center;
}

.servico-imagem img {
  width: 100%;
  max-width: 520px;   /* LIMITE NO DESKTOP */
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .servico-imagem img {
    max-width: 320px;  /* LIMITE NO CELULAR */
  }
}

/* =========================
   AJUSTES MOBILE (até 768px)
========================= */
@media (max-width: 768px) {

  /* HEADER */
  .header-ref {
    position: relative;
  }

  .menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #fff;
    width: 220px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    flex-direction: column;
    padding: 15px;
    z-index: 999;
  }

  .menu a {
    padding: 10px 0;
    font-size: 16px;
    color: #222;
  }

  .menu.active {
    display: flex;
  }

  /* Botão CTA do menu */
  .menu .cta {
    margin-top: 10px;
    background: #6b4b3e;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
  }

  /* Ícone hamburguer */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
  }

  /* HERO */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-image {
    order: 1;
    width: 100%;
    max-width: 320px;
    margin-bottom: 20px;
  }

  .hero-image img {
    width: 100%;
    border-radius: 16px;
  }

  .hero-content {
    order: 2;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-content h2 {
    font-size: 18px;
    margin-top: 10px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.6;
    margin: 15px 0;
  }

  .hero-content .btn {
    margin: 0 auto;
    padding: 14px 28px;
    font-size: 16px;
  }

}

@media (max-width: 768px) {

  .menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    margin-bottom: 10px;
  }

}

/* ===== HEADER BASE ===== */
.header-ref {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 45px;
}

/* MENU DESKTOP */
.menu {
  display: flex;
  gap: 25px;
  align-items: center;
}

.menu a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

.menu .cta {
  display: none;
}

/* CTA DESKTOP */
.cta-header {
  padding: 10px 18px;
  border: 1px solid #6b4b3a;
  border-radius: 6px;
  color: #6b4b3a;
  text-decoration: none;
  font-weight: 600;
}

/* HAMBURGUER */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* BOTÃO FECHAR */
.menu-close {
  display: none;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .menu.active {
    transform: translateX(0);
  }

  .menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
  }
}

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Botão hamburguer */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
  }

  /* Menu lateral */
  .menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .menu.active {
    transform: translateX(0);
  }

  /* Botão fechar */
  .menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
  }

}

/* Overlay escuro */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}

/* Menu */
.menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

/* Ativo */
.menu.active {
  transform: translateX(0);
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Botões */
.menu-toggle {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Desktop */
@media (min-width: 769px) {
  .menu-toggle,
  .menu-overlay {
    display: none;
  }

  .menu {
    position: static;
    height: auto;
    transform: none;
    flex-direction: row;
    background: transparent;
  }
}

/* ================= HERO MOBILE – CORREÇÃO FINAL ================= */

@media (max-width: 768px) {

  .hero-ref {
    padding: 40px 0;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 0 16px;
  }

  /* IMAGEM */
  .hero-image {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-image img {
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
  }

  /* TEXTO */
  .hero-text {
    order: 2;
    max-width: 100%;
    color: #fff;
  }

  .hero-text h1 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .hero-text h2 {
    font-size: 18px;
    margin-bottom: 14px;
    font-weight: 500;
  }

  .hero-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  /* BOTÃO */
  .btn-hero {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 14px;
    font-size: 16px;
    margin: 0 auto;
    text-align: center;
  }
}

.redes-sociais {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.redes-sociais a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.redes-sociais a:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.redes-sociais .whatsapp {
    background: #000;
}

.redes-sociais .instagram {
    background: #000;
}

.redes-sociais {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px;
    color: #fff;
    background: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.social-icon.whatsapp {
    background-color: #25D366;
}

.social-icon.instagram {
    background: linear-gradient(45deg,
        #f58529,
        #dd2a7b,
        #8134af,
        #515bd4
    );
}

/* CORRIGE ÍCONES SOCIAIS DO RODAPÉ */
.redes-sociais a {
    width: 46px;
    height: 46px;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
}

.redes-sociais a i {
    margin: 0;
}

/* CORES */
.redes-sociais a:first-child {
    background-color: #25D366;
}

.redes-sociais a:last-child {
    background: linear-gradient(45deg,
        #f58529,
        #dd2a7b,
        #8134af,
        #515bd4
    );
}

/* HOVER */
.redes-sociais a:hover {
    transform: translateY(-3px);
    transition: 0.3s ease;
}

/* CENTRALIZAR ÍCONES NO MOBILE */
@media (max-width: 768px) {
    .redes-sociais {
        justify-content: center;
        align-items: center;
        width: 100%;
    }
}
