/* =========================
   🎨 VARIÁVEIS DE CORES
========================= */
* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}
:root {
  --cor-fundo: #001833;
  --cor-fundo-claro: #00234b;
  --cor-dourado: #c19a52;
  --cor-dourado-hover: #d7b97d;

  --cor-scrollbar: #000c1a;
  --cor-scrollbar-hover: #c19a52;
  --cor-texto: #ffffff;
  --cor-titulo: #c19a52;
}

/* =========================
   🌐 BASE
========================= */
html,
body,
#root {
  height: 100%;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: radial-gradient(
    circle at center,
    
    var(--cor-fundo) 100%
  );
  color: var(--cor-texto);
  display: flex;
  flex-direction: column;
}

body > .row {
  margin-left: 0;
  margin-right: 0;
}

/* FIX para desktop apenas */
@media (min-width: 1024px) {
  body {
    background-attachment: fixed;
  }
}

/* garante fundo estável no mobile (remove flash branco) */
html {
  background-color: var(--cor-fundo);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

#inicio,
#sobre,
#servico,
#local,
#faq {
  scroll-margin-top: 90px;
}

/* layout principal */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* empurra footer para baixo */
main {
  flex: 1;
}

/* =========================
   📜 SCROLLBAR
========================= */
/* =========================
   📜 SCROLLBAR COMPLETA
========================= */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cor-fundo); /* fundo azul */
}

::-webkit-scrollbar-thumb {
  background-color: var(--cor-scrollbar);
  border-radius: 10px;
  border: 1px solid var(--cor-dourado);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--cor-dourado);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--cor-scrollbar) var(--cor-fundo);
}
/* =========================
   📝 TIPOGRAFIA
========================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--cor-titulo);
}

p {
  color: var(--cor-texto);
  opacity: 0.9;
}

.form-label {
  color: var(--cor-dourado);
}

/* links */
a {
  text-decoration: none !important;
  color: inherit;
}

a:hover {
  color: var(--cor-dourado);
}

/* =========================
   🧩 COMPONENTES
========================= */
.cart-icon {
  background-color: transparent;
  color: var(--cor-dourado);
  margin-right: 8px;
}

/* cards */
.card {
  overflow: hidden;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(193, 154, 82, 0.2);
  backdrop-filter: blur(10px);
}
.card-ajuste {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  will-change: transform;
}

.card-ajuste:hover {
  transform: translate3d(0, -8px, 0) scale(1.03);
  border-color: var(--cor-dourado);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

@media (hover: none) {
  .card-ajuste:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(193, 154, 82, 0.2);
  }
}

/* imagem */

.container-img {
  border-radius: 20px;
  overflow: hidden;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.foto-projeto {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

/* =========================
   🦶 FOOTER PROFISSIONAL
========================= */
footer {
  background-color: rgba(0, 0, 0, 0.4);

  margin-top: auto;
  padding: 20px 0;
  text-align: center;
  padding-bottom: 40px;
}

footer span {
  color: var(--cor-texto);
  font-size: 14px;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

footer span:hover {
  opacity: 1;
}

.hero {
  position: relative;
}

/* imagem topo */

.foto-perfil {
  width: 100%;
}

@media (max-width: 768px) {
  .foto-perfil {
    height: 40vh; /* ou 50vh, depende do layout */
  }
}

/* overlay escuro elegante */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ================= NAVBAR ================= */

/* ================= NAVBAR ================= */
.navbar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: transparent;
  transition: all 0.3s ease;
  pointer-events: none;
  
}

.navbar-overlay .container-fluid {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 24px;
  align-items: flex-start;
  pointer-events: auto;
  
}

/* efeito ao rolar */
.navbar-overlay.scrolled {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(193, 154, 82, 0.3);
  
}

/* ================= BOTÃO HAMBURGUER ================= */
.navbar-toggler {
  border: none;
  background-color: transparent !important;
  z-index: 10000;
  transition: all 0.2s ease;
  
  
}

/* remove contorno feio ao clicar */
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* pequeno efeito de clique */
.navbar-toggler:active {
  transform: scale(0.95);
}

/* ícone branco */
.navbar-toggler-icon {
  filter: invert(1);
  
}

/* ================= MENU ================= */
.navbar-collapse {
  flex-basis: 100%;
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
  display: flex;
  justify-content: flex-end;
}

.navbar-nav {
  gap: 8px;
  align-items: flex-end;
}

/* links */
.navbar-nav .nav-link {
  display: inline-block;
  min-width: 120px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 500;
  color: var(--cor-dourado) !important;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

/* hover elegante */
.navbar-nav .nav-link:hover {
  background: rgba(193, 154, 82, 0.15);
  color: var(--cor-dourado) !important;
  border-color: var(--cor-dourado);
  transform: translateY(-2px);
}

/* clique */
.navbar-nav .nav-link:active {
  transform: scale(0.97);
}

/* responsivo */
@media (max-width: 768px) {
  .navbar-overlay .container-fluid {
    padding: 10px 16px;
  }

  .navbar-nav {
    max-width: calc(100vw - 32px);
  }

  .navbar-nav .nav-link {
    min-width: 160px;
    text-align: right;
  }
}

/* fundo escuro quando menu abre */
.navbar-overlay-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1040;
}

/* ativo */
.navbar-overlay-bg.active {
  opacity: 1;
  visibility: visible;
}

/* ================= BOTÃO WHATSAPP ================= */
.whatsapp-btn {
  position: fixed;
  bottom: 35px;
  right: 35px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  cursor: pointer;

  transition: all 0.3s ease;

  /* 👇 só 3 vezes */
  animation: pulse 1.5s ease-out 3;
}

/* Ícone */
.whatsapp-btn img {
  width: 32px;
  height: 32px;
}

/* Hover */
.whatsapp-btn:hover {
  transform: scale(1.15);
}

/* Animação */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.btn-padrao {
  min-width: 120px;
}

/* ================= BOTÕES ================= */
.btn-whatsapp-custom,
.btn-instagram-custom,
.btn-linkedin-custom,
.btn-email-custom {
  border-color: transparent;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-whatsapp-custom:hover {
  background-color: #25d366;
  border-color: #25d366;
}

.btn-instagram-custom:hover {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.btn-linkedin-custom:hover {
  background-color: #0a66c2;
  border-color: #0a66c2;
}

.btn-email-custom:hover {
  background-color: #ea4335;
  border-color: #ea4335;
}

/* ícones */
.btn-whatsapp-custom svg,
.btn-instagram-custom svg,
.btn-linkedin-custom svg,
.btn-email-custom svg {
  color: inherit;
}

/* ================= ACCORDION ================= */

/* item geral */
.accordion-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(193, 154, 82, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

/* botão (título) */
.accordion-button {
  background-color: transparent;
  color: var(--cor-texto);
  font-weight: 500;
  box-shadow: none;
  cursor: pointer;
}

/* remove azul padrão ao clicar */
.accordion-button:focus {
  box-shadow: none;
  border: none;
}

/* quando está aberto */
.accordion-button:not(.collapsed) {
  background-color: rgba(193, 154, 82, 0.1);
  color: var(--cor-dourado);
}

/* seta */
.accordion-button::after {
  filter: invert(1); /* deixa branca */
}

/* conteúdo */
.accordion-body {
  background-color: transparent;
  color: var(--cor-texto);
}

/* hover */
.accordion-button:hover {
  background-color: rgba(193, 154, 82, 0.1);
  color: var(--cor-dourado);
}

.accordion {
  border-radius: 12px;
  overflow: hidden;
}

.btn-whatsapp-animado {
  opacity: 0;
  transform: translate3d(-100px, 0, 0);
  transition: all 0.8s ease;

  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* estado final */
.btn-whatsapp-animado.show {
  opacity: 1;
  transform: translateX(0);
}

.scroll-text {
  opacity: 0.3;
  transition: opacity 1.4s ease;
}

.scroll-text.show {
  opacity: 1;
}

.scroll-img {
  opacity: 0.2;
  transform: translateX(-80px) scale(0.95);
  transition:
    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.3s ease;
}

.scroll-img.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

#faq {
  opacity: 0;
  transform: translateY(48px) scale(0.98);
  transform-origin: center top;
  filter: blur(6px);
  transition:
    transform 1.35s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.1s ease,
    filter 0.95s ease;
  will-change: transform, opacity, filter;
}

#faq.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

#faq > h1,
#faq > p,
#faq > div {
  opacity: 0;
  transform: translateY(22px);
  transition:
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.85s ease;
}

#faq.show > h1,
#faq.show > p,
#faq.show > div {
  opacity: 1;
  transform: translateY(0);
}

#faq.show > h1 {
  transition-delay: 0.08s;
}

#faq.show > p {
  transition-delay: 0.18s;
}

#faq.show > div:nth-of-type(1) {
  transition-delay: 0.28s;
}

#faq.show > div:nth-of-type(2) {
  transition-delay: 0.38s;
}

@media (max-width: 768px) {
  #faq,
  #faq > h1,
  #faq > p,
  #faq > div {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.text-custom {
  font-size: 1.14rem;
  line-height: 1.6;
  font-weight: 300;
  font-family: inherit; /* herda a mesma fonte do h1/body */
}

@media (max-width: 768px) {
  .text-custom {
    font-size: 0.85rem; /* 0.7rem fica pequeno demais */
  }
}





/* CONTAINER MAPA */
.mapa {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
}

/* IFRAME */
.mapa iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;

  /* Dark mode elegante */
  filter:
    invert(90%)
    hue-rotate(180deg)
    brightness(90%)
    contrast(92%)
    saturate(0.9);

  transition: 0.4s ease;
}

/* Hover suave */
.contato-card:hover iframe {
  transform: scale(1.01);
}

/* ENDEREÇO */
.endereco {
  color: #fff;
}

.endereco p {
  color: #d1d5db;
  font-size: 15px;
  margin-bottom: 4px;
}

/* MOBILE */
@media (max-width: 768px) {
  .mapa iframe {
    height: 250px;
  }

  .contato-card {
    border-radius: 22px;
  }
}

.contato-card {
  background: linear-gradient(145deg, #001833, #00234b);
  color: #fff;
  border-radius: 20px;
}

.contato-card:hover {
  transform: translateY(-5px);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.9;
}

.btn-contato {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

.btn-contato:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-contato.destaque {
  background: #25d366;
  color: #fff;
  font-weight: bold;
}

.btn-contato.destaque:hover {
  background: #1ebe5d;
}

#contact {
  opacity: 0;
  transform: translateX(80px); /* começa à direita */
  transition:
    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.3s ease;
}

/* quando ativar */
#contact.show {
  opacity: 1;
  transform: translateX(0);
}

.btn-cta-whats {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

/* Hover */
.btn-cta-whats:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Clique */
.btn-cta-whats:active {
  transform: scale(0.97);
}

/* Brilho */
.btn-cta-whats::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.2)
  );
  transform: skewX(-25deg);
  transition: 0.5s;
}

.btn-cta-whats:hover::after {
  left: 125%;
}

/* SEÇÃO */
.processo-section {
  background: var(--cor-fundo);
}

/* TÍTULOS */
.titulo-processo {
  color: #fff;
  font-size: 2.2rem;
}

.subtitulo-processo {
  color: #cbd5e1;
  max-width: 700px;
  margin: auto;
}

/* CARDS */
.processo-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  padding: 35px 25px;
  color: white;
  position: relative;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.35s ease;
}

/* HOVER */
.processo-card:hover {
  transform: translateY(-8px);

  background: rgba(255, 255, 255, 0.06);

  border-color: rgba(255, 255, 255, 0.15);
}

/* NÚMERO */
.numero {
  position: absolute;
  top: 15px;
  right: 18px;

  font-size: 3rem;
  font-weight: bold;

  color: rgba(255, 255, 255, 0.08);
}

/* ÍCONE */
.icone-processo {
  width: 80px;
  height: 80px;

  margin: auto;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.08);

  color:var(--cor-dourado);
}

/* TEXTO */
.processo-card p {
  color: #cbd5e1;
  margin-top: 12px;
  line-height: 1.7;
}

/* MOBILE */
@media (max-width: 768px) {
  .titulo-processo {
    font-size: 1.8rem;
  }

  .processo-card {
    padding: 30px 20px;
  }
}
