:root {
  --laranja: #ff6a00;
  --preto: #111;
  --branco: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--branco);
  color: var(--preto);
}

/* HEADER */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  background: var(--laranja);
  z-index: 1000;
}

.nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo img {
  height: 65px;
}

.menu {
  display: flex;
  gap: 25px;
  align-items: center;
}

.menu a {
  color: white;
  text-decoration: none;
}

.btn-header {
  background: white;
  color: var(--laranja);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
}

/* HERO */
.hero {
  margin-top: 110px;
  background: var(--laranja);
  color: white;
  padding: 100px 20px;
  text-align: center;
}

section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ANIMAÇÃO */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

@media(max-width: 768px){
  .menu {
    display: none;
    flex-direction: column;
    background: var(--laranja);
    position: absolute;
    top: 80px;
    width: 100%;
    left: 0;
    padding: 20px;
  }

  .menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* BOTÃO ORÇAMENTO PREMIUM */
.btn-header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #25D366, #4BE37A);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  animation: pulseGreen 2s infinite;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-header i {
  font-size: 18px;
}

@keyframes pulseGreen {
  0% {
    background: linear-gradient(45deg, #25D366, #4BE37A);
  }
  50% {
    background: linear-gradient(45deg, #1ebe5d, #6fff9c);
  }
  100% {
    background: linear-gradient(45deg, #25D366, #4BE37A);
  }
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
}

/* HERO COM VÍDEO */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* CORREÇÃO AQUI 👇 */
.hero-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%!important;      /* CORRETO (não usar 100vw) */
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%!important;     /* CORRETO */
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* TEXTO */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}

/* MOBILE */
@media(max-width: 768px){

  .video-desktop {
    display: none;
  }

  .video-mobile {
    display: block;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}

/* HERO FULL WIDTH (CORREÇÃO DEFINITIVA) */
.full-width {
  max-width: 100% !important;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ANIMAÇÃO HERO TEXTO */
.hero-content {
  opacity: 0;
  transform: translateY(60px);
  animation: fadeUpHero 1.2s ease forwards;
  animation-delay: 0.4s;
}

@keyframes fadeUpHero {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* SOBRE PREMIUM */
.sobre {
  background: #f9f9f9;
}

.sobre-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sobre-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.sobre-text p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.destaque {
  font-weight: 600;
  color: var(--laranja);
}

.sobre-list .item {
  background: white;
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.sobre-list .item:hover {
  transform: translateY(-5px);
}

/* MOBILE */
@media(max-width: 768px){
  .sobre-content {
    grid-template-columns: 1fr;
  }
}


/* ACCORDION PREMIUM */
.accordion-item {
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* CABEÇALHO */
.accordion-header {
  background: var(--laranja);
  color: white;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: 0.3s;
}

.accordion-header:hover {
  filter: brightness(1.1);
}

/* ÍCONE */
.accordion-header .icon {
  font-size: 22px;
  transition: 0.3s ease;
}

/* CONTEÚDO (ANIMAÇÃO REAL SUAVE) */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0 20px;
}

/* TEXTO */
.accordion-content p {
  margin: 15px 0;
}

.stars {
  color: gold;
  margin-bottom: 15px;
  font-size: 18px;
}

/* ATIVO (ABERTO) */
.accordion-item.active .accordion-content {
  max-height: 200px;
  padding: 15px 20px;
}

/* ÍCONE ANIMADO (+ vira -) */
.accordion-item.active .icon {
  transform: rotate(45deg);
}


/* GRID DEPOIMENTOS */
.accordion {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* DESKTOP: 2 COLUNAS */
@media(min-width: 768px){
  .accordion {
    grid-template-columns: 1fr 1fr;
  }
}


/* PRODUTOS */
.titulo-produtos {
  color: var(--laranja);
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

/* GRID */
.produtos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

/* CARD */
.produto {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: 0.3s;
}

.produto:hover {
  transform: translateY(-8px);
}
.produto img {
  width: 100%;
  height: 220px;
  object-fit: contain; /* NÃO CORTA */
  background: #f5f5f5; /* fundo neutro premium */
  padding: 10px; /* respiro elegante */
}

/* TÍTULO */
.produto h3 {
  margin: 15px 0;
}

/* BOTÃO */
.btn-produto {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 20px;
  background: var(--laranja);
  color: white;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-produto:hover {
  background: #e65c00;
}

/* ANIMAÇÕES LATERAIS */
.fade-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 0.8s ease;
}

.fade-right {
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.8s ease;
}

.fade-left.show,
.fade-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* RESPONSIVO */
@media(min-width: 768px){
  .produtos-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(min-width: 1024px){
  .produtos-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* ANIMAÇÃO */
.modal {
  background: white;
  width: 90%;
  max-width: 900px;
  border-radius: 15px;
  overflow: hidden;
  transform: translateY(-50px);
  opacity: 0;
  transition: 0.4s;
}

.modal.show {
  transform: translateY(0);
  opacity: 1;
}

/* CONTEÚDO */
.modal-content {
  display: flex;
  gap: 20px;
  padding: 20px;
}

/* IMAGEM */
.modal-img img {
  width: 100%;
  max-width: 350px;
  object-fit: contain;
}

/* TEXTO */
.modal-text {
  flex: 1;
}

.modal-text p {
  text-align: justify;
  margin: 15px 0;
  line-height: 1.6;
}

/* CORES */
.cores {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.cores span {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

/* BOTÃO */
.btn-modal {
  display: inline-block;
  background: var(--laranja);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
}

/* FECHAR */
.close-modal {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
}

/* SETAS */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.modal-nav.left { left: -40px; }
.modal-nav.right { right: -40px; }

/* MOBILE */
@media(max-width:768px){
  .modal-content {
    flex-direction: column;
  }

  .modal-img img {
    max-width: 100%;
  }
}







/* SETAS MODAL PREMIUM */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}

/* POSIÇÃO AJUSTADA */
.modal-nav.left {
  left: 10px;
}

.modal-nav.right {
  right: 10px;
}

/* HOVER */
.modal-nav:hover {
  background: var(--laranja);
}







/* GARANTE REFERÊNCIA */
.modal {
  position: relative;
}

/* SETAS MAIS PARA FORA */
.modal-nav.left {
  left: -60px; /* joga para fora */
}

.modal-nav.right {
  right: -60px; /* joga para fora */
}






@media(max-width: 768px){
  .modal-nav.left {
    left: 10px;
  }

  .modal-nav.right {
    right: 10px;
  }
}


/* SETAS COM RESPIRO LATERAL */
.modal-nav.left {
  left: -23px; /* antes era 10px */
}

.modal-nav.right {
  right: -23px; /* antes era 10px */
}



/* SETAS MODAL DISCRETAS PREMIUM */
.modal-nav {
  opacity: 0.70;    
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  
  width: 26px;   /* menor */
  height: 26px;  /* menor */

  background: rgba(0,0,0,0.4); /* mais suave */
  color: #fff;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px; /* menor ícone */
  cursor: pointer;

  z-index: 10;
  transition: all 0.3s ease;
}

/* POSIÇÃO COM RESPIRO */
.modal-nav.left {
  left: 0px;
}

.modal-nav.right {
  right: 0px;
}

/* HOVER PREMIUM */
.modal-nav:hover {
  background: var(--laranja);
  transform: translateY(-50%) scale(1.1);
}



/* OVERLAY */
.form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: flex-end;
  z-index: 9999;
}

/* CONTAINER */
.form-container {
  width: 50%;
  height: 100%;
  background: white;
  padding: 40px;
  transform: translateX(100%);
  transition: 0.4s;
  overflow-y: auto;
  border-radius: 20px 0 0 20px;
}

/* ABRIR */
.form-container.show {
  transform: translateX(0);
}

/* FECHAR */
.fechar-form {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
}

/* INPUTS PREMIUM */
form input,
form select,
form textarea {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  transition: 0.3s;
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--laranja);
  box-shadow: 0 0 8px rgba(255,106,0,0.3);
  outline: none;
}

/* BOTÃO */
.btn-enviar {
  width: 100%;
  margin-top: 15px;
  padding: 15px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(45deg,#25D366,#4BE37A);
  color: white;
  font-weight: 600;
  display: flex;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-enviar:hover {
  transform: scale(1.03);
}

/* MOBILE */
@media(max-width:768px){
  .form-container {
    width: 90%;
  }
}


.produtos-check {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 15px 0;
}

.produtos-check label {
  background: #f5f5f5;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
  font-size: 14px;
}

/* ESCONDE CHECKBOX */
.produtos-check input {
  display: none;
}

/* QUANDO SELECIONADO */
.produtos-check input:checked + span,
.produtos-check label:has(input:checked) {
  background: var(--laranja);
  color: white;
  border-color: var(--laranja);
  transform: scale(1.03);
}



/* MOBILE MENU DIRETO (SEM HAMBURGUER) */
@media(max-width: 768px){

  /* ESCONDE BOTÃO HAMBURGUER */
  .menu-toggle {
    display: none !important;
  }

  /* MENU SEMPRE VISÍVEL */
  .menu {
    display: flex !important;
    position: static;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: var(--laranja);
    padding: 15px 0;
  }

  /* LINKS */
  .menu a {
    color: white;
    font-size: 16px;
  }

  /* BOTÃO ORÇAMENTO DESTACADO */
  .btn-header {
    background: linear-gradient(45deg, #25D366, #4BE37A);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 10px;
  }

}


@media(max-width: 768px){

  /* NAV AJUSTE */
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  /* LOGO MAIOR E DESTACADO */
  .logo img {
    height: 75px; /* maior destaque */
    margin-bottom: 10px;
  }

  /* MENU À DIREITA */
  .menu {
    width: 100%;
    align-items: flex-end; /* joga pra direita */
    text-align: right;
    padding-right: 20px;
  }

  .menu a {
    width: 100%;
    text-align: right;
    font-size: 16px;
  }

  /* BOTÃO ORÇAMENTO MAIS DESTACADO */
  .btn-header {
    align-self: flex-end;
  }

}

@media(max-width: 768px){

  /* NAV CENTRALIZADO */
  .nav {
    flex-direction: column;
    align-items: center; /* centraliza tudo */
  }

  /* LOGO CENTRAL E MAIOR */
  .logo {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .logo img {
    height: 90px; /* ~20% maior */
    margin-bottom: 10px;
  }

}


/* CORREÇÃO SCROLL SUAVE (DESKTOP + MOBILE) */
section {
  scroll-margin-top: 110px; /* desktop */
}

/* MOBILE */
@media(max-width: 768px){
  section {
    scroll-margin-top: 95px; /* ajuste fino mobile */
  }
}



@media(max-width: 768px){

  /* NAV EM LINHA (LOGO + LINKS) */
  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* LOGO ESQUERDA */
  .logo {
    display: flex;
    align-items: center;
  }

  .logo img {
    height: 70px;
    margin: 0;
  }

  /* MENU DIREITA */
  .menu {
    display: flex !important;
    position: static;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    background: transparent;
    padding: 0;
  }

  /* LINKS */
  .menu a {
    font-size: 14px;
    text-align: right;
  }

  /* BOTÃO ORÇAMENTO CENTRALIZADO EMBAIXO */
  .btn-header {
    align-self: center;
    margin-top: 10px;
    padding: 10px 22px;
  }

}

@media(max-width: 768px){

  /* REDUZ ALTURA DO HEADER */
  .nav {
    padding: 8px 12px; /* antes maior */
  }

  /* LOGO UM POUCO MAIS COMPACTO */
  .logo img {
    height: 60px;
  }

  /* MENOS ESPAÇO ENTRE LINKS */
  .menu {
    gap: 5px;
  }

  /* LINKS MAIS COMPACTOS */
  .menu a {
    font-size: 13px;
    line-height: 1.2;
  }

  /* BOTÃO MAIS AJUSTADO */
  .btn-header {
    margin-top: 6px;
    padding: 8px 18px;
    font-size: 13px;
  }

}


/* BOTÃO WHATSAPP */
.btn-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #25D366, #4BE37A);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: pulseWhats 2s infinite;
  transition: 0.3s;
}

.btn-whatsapp svg {
  width: 28px;
  fill: white;
}

.btn-whatsapp:hover {
  transform: scale(1.1);
}

/* ANIMAÇÃO */
@keyframes pulseWhats {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}


/* BOTÃO TOPO */
.btn-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background: var(--laranja);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

/* APARECER */
.btn-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* HOVER */
.btn-top:hover {
  transform: translateY(-5px);
  background: #e65c00;
}

/* MOBILE AJUSTE */
@media(max-width: 768px){
  .btn-whatsapp {
    width: 55px;
    height: 55px;
  }

  .btn-top {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}


/* FOOTER PREMIUM */
.footer {
  width: 100%;
  height: 500px;
  background: linear-gradient(180deg, #000, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

/* TEXTO */
.footer-copy {
  color: white;
  font-size: 16px;
}

/* BOTÃO WHATSAPP */
.btn-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  background: linear-gradient(45deg, #25D366, #4BE37A);
  animation: footerPulse 2s infinite;
  transition: 0.3s;
}

.btn-footer svg {
  width: 22px;
  fill: white;
}

/* ANIMAÇÃO PREMIUM */
@keyframes footerPulse {
  0% {
    background: linear-gradient(45deg, #25D366, #4BE37A);
  }
  50% {
    background: linear-gradient(45deg, #1ebe5d, #6fff9c);
  }
  100% {
    background: linear-gradient(45deg, #25D366, #4BE37A);
  }
}

.btn-footer:hover {
  transform: scale(1.05);
}

/* LINK DESENVOLVEDOR */
.footer-dev {
  color: #aaa;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-dev:hover {
  color: white;
}

/* MOBILE */
@media(max-width:768px){
  .footer {
    height: auto;
    padding: 60px 20px;
  }
}























/* ===== CORREÇÃO MODAL FORM MOBILE (SEM ALTERAR MAIS NADA) ===== */
@media(max-width:768px){

  .form-overlay {
    justify-content: center !important;
    align-items: center !important;
  }

  .form-container {
    width: 95% !important;
    height: auto !important;
    max-height: 90vh !important;
    border-radius: 15px !important;
    padding: 25px !important;

    /* ANIMAÇÃO CORRIGIDA */
    transform: translateY(100%) !important;
  }

  .form-container.show {
    transform: translateY(0) !important;
  }

}








/* ===== FORÇAR FORM LATERAL NO MOBILE (IGUAL DESKTOP) ===== */
@media(max-width:768px){

  .form-overlay {
    display: flex;
    justify-content: flex-end !important; /* força lado direito */
    align-items: stretch !important;
  }

  .form-container {
    width: 90% !important; /* ocupa bem a tela */
    max-width: 400px !important;
    height: 100% !important;

    border-radius: 20px 0 0 20px !important;

    /* GARANTE ANIMAÇÃO LATERAL */
    transform: translateX(100%) !important;
  }

  .form-container.show {
    transform: translateX(0) !important;
  }

}













/* ===== FORM PREMIUM UI ===== */

.form-container {
  height: 100vh !important;
  max-height: 100vh !important;
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* CABEÇALHO FIXO (se tiver título/fechar) */
.form-header {
  flex-shrink: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/* CONTEÚDO COM SCROLL SUAVE */
.form-container form,
.form-container .form-content {
  flex: 1;
  overflow-y: auto !important;
  padding-right: 6px;

  /* SCROLL SUAVE */
  scroll-behavior: smooth;
}

/* ESCONDER SCROLL (visual premium) */
.form-container form::-webkit-scrollbar,
.form-container .form-content::-webkit-scrollbar {
  width: 6px;
}

.form-container form::-webkit-scrollbar-thumb,
.form-container .form-content::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
}

/* FIREFOX */
.form-container form,
.form-container .form-content {
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.2) transparent;
}

/* BOTÃO FIXO NO RODAPÉ */
.form-footer {
  flex-shrink: 0;
  padding-top: 10px;
  background: #fff;
  border-top: 1px solid #eee;
}

/* BOTÃO BONITO */
.form-footer button {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 10px;
}

/* ===== ANIMAÇÃO MAIS SUAVE ===== */
.form-container {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ===== MOBILE ===== */
@media(max-width:768px){

  .form-container {
    width: 95% !important;
    max-width: 400px !important;
  }

}
















/* ===== CORREÇÃO DEFINITIVA FORM (DESKTOP + MOBILE) ===== */

/* OVERLAY CORRETO */
.form-overlay {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;

  background: rgba(0,0,0,0.6); /* fundo escuro correto */

  display: none;
  justify-content: flex-end;
  align-items: stretch;

  z-index: 99999;
  overflow: hidden !important;
}

/* CONTAINER DO FORM */
.form-container {
  width: 100%;
  max-width: 400px; /* impede estouro */
  height: 100%;

  background: #fff;

  display: flex;
  flex-direction: column;

  transform: translateX(100%);
  transition: transform 0.35s ease;

  box-shadow: -5px 0 20px rgba(0,0,0,0.2);
}

/* QUANDO ABRE */
.form-container.show {
  transform: translateX(0);
}

/* CONTEÚDO INTERNO */
.form-container form {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

/* BOTÃO NÃO QUEBRA */
.btn-enviar {
  width: 100%;
}

/* ===== MOBILE ===== */
@media(max-width:768px){

  .form-container {
    width: 90% !important;
    max-width: 360px !important;
  }

}













@media(max-width: 768px){

  html, body {
    overflow-x: hidden !important;
  }

  /* NAV NÃO ESTOURA */
  .nav {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  /* MENU CONTROLADO */
  .menu {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  /* LINKS NÃO EMPURRAM LAYOUT */
  .menu a {
    width: 100%;
    max-width: 100%;
    word-break: break-word;
  }

}





.modal-overlay {
  width: 100vw !important;
  max-width: 100vw !important;
  overflow: hidden !important;
}

.modal {
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
}

/* CONTEÚDO INTERNO ROLA, NÃO O MODAL */
.modal-content {
  overflow-y: auto;
  max-height: 90vh;
}









@media(max-width:768px){

  .modal {
    width: 95%;
    max-width: 95%;
    max-height: 90vh;
  }

  .modal-content {
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
  }

}










@media(max-width: 768px){

  .menu a {
    font-size: 23px;  
    display: block;
    padding: 10px 0;   /* aumenta área clicável */
    line-height: 1.6;  /* respiro entre linhas */
  }
    
   .menu {
    gap: 35px; /* espaço entre os links */
  }  

}



.btn-header {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}














@media(max-width: 768px){

  .menu a {
    font-size: 16px !important;  
    line-height: 1.8 !important;  
    padding: 8px 0 !important;
  }

  .menu {
    gap: 2px !important;
  }

}



@media(max-width: 768px){

  section {
    scroll-margin-top: 195px !important;
  }

}



@media(max-width: 768px){

  .hero-video {
    margin-top: 120px !important; /* ajusta conforme altura do header */
  }

}



.btn-hero {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 30px;
  background: linear-gradient(45deg, #ff6a00, #ff8c42);
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 35px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

/* HOVER PREMIUM */
.btn-hero:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* MOBILE AJUSTE */
@media(max-width: 768px){
  .btn-hero {
    font-size: 15px;
    padding: 12px 26px;
  }
}






















.assistente-box {
  position: fixed;
  right: 20px;
  bottom: 20px;
   z-index: 999999 !important;
}

/* BOTÃO */
.assistente-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #ff6a00, #ff8c42);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  animation: pulseBtn 2s infinite;
}

/* POPUP */
.assistente-msg {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 220px;
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: none;
  text-align: center;
}

.assistente-msg strong {
  display: block;
  color: #ff6a00;
  margin-bottom: 5px;
}

.assistente-msg a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background: #25D366;
  color: white;
  border-radius: 20px;
  text-decoration: none;
}

/* ANIMAÇÃO */
@keyframes pulseBtn {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}







.assistente-btn {
  pointer-events: auto;
  touch-action: manipulation;
}



.assistente-btn {
  pointer-events: auto !important;
  touch-action: manipulation;
}










/* BOTÃO FLUTUANTE */
#whatsappFlutuante {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: 'Poppins', sans-serif;
}

/* BOTÃO REDONDO COM PULSANTE */
#btnWhatsApp {
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  animation: pulsar 2s infinite;
  font-size: 28px;
}

#btnWhatsApp:hover {
  transform: scale(1.1);
}

/* PULSANTE */
@keyframes pulsar {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* POPUP */
#popupWhatsApp {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 220px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
  text-align: center;
  overflow: hidden;
  font-size: 14px;
}

/* HEADER POPUP */
#popupWhatsApp .popup-header {
  background: #25D366;
  color: #fff;
  font-weight: 600;
  padding: 10px;
  font-size: 15px;
}

/* BODY POPUP */
#popupWhatsApp .popup-body {
  padding: 10px;
  color: #333;
}

/* BOTÃO DENTRO DO POPUP */
#popupWhatsApp .btn-popup {
  display: block;
  background: #128C7E;
  color: #fff;
  text-decoration: none;
  margin: 10px;
  padding: 10px 15px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#popupWhatsApp .btn-popup:hover {
  background: #075E54;
}

/* RESPONSIVO */
@media(max-width: 768px){
  #popupWhatsApp {
    width: 180px;
  }
}