@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;600;700&display=swap');

body{
  font-family:'Inter', sans-serif;
}

h1, h2, h3{
  font-family:'Poppins', sans-serif;
  letter-spacing:-0.5px;
}


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

body{
  background:#ffffff;
  color:#111;
}

/* LOADER */
.loader{
  position:fixed;
  inset:0;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.loader div{
  width:40px;
  height:40px;
  border:4px solid #eee;
  border-top:4px solid #e30613;
  border-radius:50%;
  animation:spin 1s linear infinite;
}

@keyframes spin{
  to{transform:rotate(360deg);}
}

/* HEADER FIXO */
.header{
  position:fixed;
  top:0;
  width:100%;
  background:rgba(255,255,255,0.8);
  backdrop-filter:blur(10px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 30px;
  z-index:1000;
  border-bottom:1px solid #eee;
}

.header img{
  height:50px;
}

.header a{
  background:#e30613;
  color:#fff;
  padding:10px 18px;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
}

/* HERO */
.hero {
  width: 100%;
  height: 100vh;
  background: url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  position: relative;
}

.hero h1{
  font-size:38px;
  color:#e30613;
}

.hero p{
  margin:15px 0 25px;
  color:#444;
}

/* BOTÕES */
.btn{
  padding:14px 26px;
  margin:6px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  transition:.3s;
}

.btn-primary{
  background:#e30613;
  color:#fff;
}

.btn-primary:hover{
  background:#b8000f;
}

.btn-secondary{
  border:2px solid #e30613;
  color:#e30613;
}

.btn-secondary:hover{
  background:#e30613;
  color:#fff;
}

/* SECTIONS */
.section{
  padding:80px 20px;
  text-align:center;
}

.section h2{
  color:#e30613;
  font-size:28px;
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-top:40px;
}

/* CARD GLASS */
.card{
  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(8px);
  border:1px solid rgba(0,0,0,0.05);
  padding:25px;
  border-radius:12px;
  transition:.3s;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* PROVA SOCIAL */
.logos{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:30px;
  margin-top:30px;
}

.logos img{
  height:40px;
  opacity:0.7;
}

/* FORM */
form{
  max-width:420px;
  margin:auto;
}

form input, form select{
  width:100%;
  padding:14px;
  margin:10px 0;
  border:1px solid #ddd;
  border-radius:6px;
}

/* WHATS */
.whatsapp{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25d366;
  padding:15px;
  border-radius:50%;
  text-decoration:none;
}

/* ANIMAÇÃO */
.hidden{
  opacity:0;
  transform:translateY(30px);
  transition:all 0.6s ease;
}

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

/* RESPONSIVO */
@media(max-width:900px){
  .grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .grid{
    grid-template-columns:1fr;
  }

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

/* FOOTER PREMIUM */
.footer{
  background:linear-gradient(135deg,#e30613,#b8000f);
  color:#fff;
  padding:60px 20px 20px;
}

.footer-container{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  align-items:center;
}

.footer h3{
  margin-bottom:10px;
  font-size:22px;
}

.footer p{
  font-size:14px;
  opacity:0.9;
  margin:5px 0;
}

.footer-info p strong{
  color:#fff;
}

/* BOTÃO FOOTER */
.btn-footer{
  display:inline-block;
  background:#fff;
  color:#e30613;
  padding:12px 20px;
  border-radius:6px;
  font-weight:600;
  text-decoration:none;
  transition:.3s;
}

.btn-footer:hover{
  background:#000;
  color:#fff;
}

/* BOTTOM */
.footer-bottom{
  text-align:center;
  margin-top:30px;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,0.2);
  font-size:13px;
  opacity:0.8;
}

/* RESPONSIVO */
@media(max-width:900px){
  .footer-container{
    grid-template-columns:1fr;
    text-align:center;
  }
}



/* NAV */
.nav{
  display:flex;
  gap:20px;
}

.nav a{
  text-decoration:none;
  color:#111;
  font-weight:500;
  position:relative;
}

.nav a::after{
  content:"";
  position:absolute;
  bottom:-5px;
  left:0;
  width:0;
  height:2px;
  background:#e30613;
  transition:.3s;
}

.nav a:hover::after{
  width:100%;
}

/* CTA NAV */
.cta-nav{
  background:#e30613;
  color:#fff;
  padding:10px 18px;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
}

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

/* DEPOIMENTOS */
.depoimento{
  text-align:left;
}

.depoimento p{
  font-style:italic;
  margin-bottom:10px;
}

.stars{
  color:#facc15;
  margin-top:10px;
  font-size:18px;
}

.mais{
  margin-top:20px;
  color:#666;
}

/* TEXTAREA */
textarea{
  width:100%;
  padding:14px;
  margin:10px 0;
  border:1px solid #ddd;
  border-radius:6px;
  resize:none;
}

/* RESPONSIVO NAV */
@media(max-width:768px){
  .nav{
    display:none;
  }
}


/* HEADER PREMIUM */
.header{
  position:fixed;
  top:0;
  width:100%;
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(12px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 30px;
  z-index:1000;
  border-bottom:1px solid #eee;
}

.logo-nav{
  height:50px;
}

/* NAV */
.nav{
  display:flex;
  gap:25px;
}

.nav a{
  text-decoration:none;
  color:#222;
  font-weight:500;
  position:relative;
}

.nav a::after{
  content:"";
  position:absolute;
  bottom:-5px;
  left:0;
  width:0;
  height:2px;
  background:#e30613;
  transition:.3s;
}

.nav a:hover::after{
  width:100%;
}

/* CTA DISCRETO */
.cta-nav{
  border:1px solid #e30613;
  color:#e30613;
  padding:8px 16px;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
  transition:.3s;
}

.cta-nav:hover{
  background:#e30613;
  color:#fff;
}

/* MENU MOBILE */
.menu-toggle{
  display:none;
  font-size:26px;
  cursor:pointer;
}

/* HERO COM IMAGEM FORTE */
.hero{
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background-image: linear-gradient(
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.75)
    ),
    url("../images/fundo.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  color: #fff;
}

.hero-overlay{
  max-width:700px;
  padding:20px;
}

.hero h1{
  font-size:40px;
  margin-bottom:15px;
}

.hero p{
  font-size:18px;
  margin-bottom:25px;
}

/* SERVIÇOS GRID AJUSTADO */
#servicos .grid{
  grid-template-columns:repeat(3,1fr);
}

/* CARDS MAIS PREMIUM */
.card{
  background:#fff;
  padding:25px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  transition:.3s;
}

.card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 50px rgba(0,0,0,0.15);
}

/* RESPONSIVO */
@media(max-width:900px){

  .nav{
    position:absolute;
    top:70px;
    right:0;
    background:#fff;
    flex-direction:column;
    width:200px;
    padding:20px;
    display:none;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
  }

  .nav.active{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }

  #servicos .grid{
    grid-template-columns:repeat(2,1fr);
  }

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

  .hero{
    height:80vh;
  }
}

.hero p{
  color: rgba(255,255,255,0.85);
}

.grid-2x2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.grid-2x2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
  margin-top:40px;
}


/* =========================
   NAV CORRIGIDO (PREMIUM)
   ========================= */

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

.nav a{
  text-decoration:none;
  color:#222;
  font-weight:500;
  font-size:14px;
  position:relative;
  opacity:0.85;
  transition:.3s;
}

.nav a:hover{
  opacity:1;
  color:#e30613;
}

.nav a::after{
  content:"";
  position:absolute;
  bottom:-5px;
  left:0;
  width:0;
  height:2px;
  background:#e30613;
  transition:.3s;
}

.nav a:hover::after{
  width:100%;
}

/* =========================
   CTA NAV (DISCRETO PREMIUM)
   ========================= */

.cta-nav{
  border:1px solid rgba(227,6,19,0.6);
  color:#e30613;
  padding:8px 16px;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  background:transparent;
  transition:.3s;
}

.cta-nav:hover{
  background:rgba(227,6,19,0.08);
  border-color:#e30613;
}

/* =========================
   MOBILE NAV
   ========================= */

@media(max-width:768px){

  .nav{
    position:absolute;
    top:70px;
    right:0;
    background:#fff;
    flex-direction:column;
    width:220px;
    padding:20px;
    display:none;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
    border-radius:10px;
  }

  .nav.active{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }

  .cta-nav{
    margin-left:10px;
  }
}


.header a{
  background:transparent;
  font-size: 16px;    
  color:#e30613;
  padding:0;
  font-weight:700;
  text-decoration:none;
}


.cta-nav{
  background:transparent !important;
  border:none !important;
  color:#e30613;
  padding:0;
  font-weight:600;
  text-decoration:none;
  position:relative;
}

.menu-toggle{
  display:none !important;
}

@media(max-width:768px){
  .nav{
    display:flex !important;
    position:static;
    width:auto;
    flex-wrap:wrap;
    gap:15px;
  }
}



html{
  scroll-behavior:smooth;
  scroll-padding-top:120px;
}

section{
  overflow-anchor: none;
}


@media(max-width:768px){

  .header{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:10px 15px;
    gap:6px;
  }

  .nav{
    display:flex !important;
    flex-direction:row;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    width:100%;
  }

  .nav a{
    font-size:13px;
    white-space:nowrap;
  }

  .logo-nav{
    height:42px;
    order:2;
  }

  .cta-nav{
    order:3;
    margin-top:6px;
    display:inline-block;
  }

}

@media(max-width:768px){
  .hero{
    height:100vh;
    padding-top:90px;
  }
}



.fab-whatsapp,
.fab-top{
  position:fixed;
  bottom:20px;
  width:55px;
  height:55px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  cursor:pointer;
  z-index:9999;

  backdrop-filter: blur(10px);
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
  transition:all .4s ease;
}

/* WHATSAPP */
.fab-whatsapp{
  right:20px;
  background:#25d366;
  color:#fff;
  animation:pulse 2s infinite;
}

/* TOP BUTTON */
.fab-top{
  left:20px;
  background:#111;
  color:#fff;
  opacity:0;
  transform:translateY(20px);
  pointer-events:none;
}

/* SHOW/HIDE TOP BUTTON */
.fab-top.show{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

/* HOVER PREMIUM */
.fab-whatsapp:hover,
.fab-top:hover{
  transform:scale(1.1);
}

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



form input,
form select,
form textarea{
  transition:all .3s ease;
  background:#fff;
  border:1px solid #e5e5e5;
}

/* efeito ao clicar */
form input:focus,
form select:focus,
form textarea:focus{
  outline:none;
  border-color:#e30613;
  box-shadow:0 0 0 3px rgba(227,6,19,0.12);
  transform:translateY(-2px);
}




form input::placeholder,
form textarea::placeholder{
  transition:opacity .3s ease;
}

form input:focus::placeholder,
form textarea:focus::placeholder{
  opacity:0.4;
}




#form{
  animation:fadeUp .8s ease;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.destaque-prova{
  margin-top:20px;
  font-size:14px;
  color:#e30613;
  font-weight:500;
  opacity:0.85;
  letter-spacing:0.2px;
}

.destaque-prova{
  margin-top:20px;
  font-size:13px;
  color:#666;
  font-style:italic;
  position:relative;
}

.destaque-prova::before{
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  background:#e30613;
  border-radius:50%;
  margin-right:8px;
  vertical-align:middle;
}


.hero h1{
  text-shadow:
    0 1px 2px rgba(255,255,255,0.25),
    0 6px 18px rgba(255,255,255,0.15),
    0 20px 40px rgba(0,0,0,0.35);
}



form{
  max-width:420px;
  margin:auto;
  padding:28px;
  border-radius:16px;

  background:linear-gradient(#fff, #fcfcfc);

  border:1px solid rgba(227,6,19,0.12);

  box-shadow:
    0 15px 40px rgba(0,0,0,0.10),
    0 2px 0 rgba(255,255,255,0.9) inset;
}



form input,
form select,
form textarea{
  border:1px solid #e5e5e5;
  transition:.3s;
}

form input:focus,
form select:focus,
form textarea:focus{
  border-color:#e30613;
  box-shadow:0 0 0 4px rgba(227,6,19,0.10);
}

@media(max-width:768px){

  .nav a{
    font-size:15px;
    padding:12px 0;
    font-weight:700;
    letter-spacing:0.3px;
    opacity:0.9;
  }

  .nav a:active{
    color:#e30613;
    transform:scale(0.98);
  }

}



.header a{
  background:transparent;
  font-size:16px;
  color:#e30613;
  padding:0;
  font-weight:700;
  text-decoration:none;
  position:relative;
  transition:.3s;
}

/* underline animado premium */
.header a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:100%;
  height:2px;
  background:#e30613;
  transform:scaleX(0.4);
  transform-origin:left;
  transition:transform .4s ease;
  opacity:0.6;
}

/* hover desktop */
.header a:hover::after{
  transform:scaleX(1);
  opacity:1;
}

/* MOBILE: efeito de atenção suave (pulse) */
@media(max-width:768px){

  .header a{
    animation:pulseCTA 2.2s infinite ease-in-out;
  }

  @keyframes pulseCTA{
    0%{
      transform:scale(1);
      opacity:0.85;
    }
    50%{
      transform:scale(1.06);
      opacity:1;
    }
    100%{
      transform:scale(1);
      opacity:0.85;
    }
  }

}

/* ===== SERVIÇOS ===== */

.servicos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.servico-item {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.4s;
  position: relative;
}

.servico-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,140,0,0.15), transparent);
  opacity: 0;
  transition: 0.4s;
}

.servico-item:hover::after {
  opacity: 1;
}

.servico-item:hover {
  transform: translateY(-8px) scale(1.02);
}

/* IMAGEM */
.lazy-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: blur(10px);
  transition: 0.6s;
}

.lazy-img.loaded {
  filter: blur(0);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;

  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(20px) saturate(140%);
  z-index: 9999;

  opacity: 0;
  transition: 0.4s;
}

.lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox-inner {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;

  padding: 20px;
  max-width: 90%;
  width: 500px;

  transform: scale(0.9);
  transition: 0.4s;
}

.lightbox.show .lightbox-inner {
  transform: scale(1);
}

.lightbox img {
  width: 100%;
  border-radius: 12px;
}

.lightbox p {
  margin-top: 15px;
}

/* CONTROLES */
.close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 30px;
  cursor: pointer;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;

  border-radius: 50%;
  background: rgba(255,255,255,0.08);

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

  cursor: pointer;
}

.prev { left: 15px; }
.next { right: 15px; }

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



#lightbox-text {
  color: #fff;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}





/* IMAGEM PADRÃO */
.lightbox img {
  transform: scale(1);
  opacity: 1;
  filter: blur(0);
  transition: 
    opacity 0.4s ease,
    transform 0.4s ease,
    filter 0.4s ease;
}

/* SAINDO */
.lightbox img.fade-out {
  opacity: 0;
  transform: scale(0.96);
  filter: blur(8px);
}

/* ENTRANDO */
.lightbox img.fade-in {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}


.lightbox img {
  transition: 
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s ease;
}




/* DOTS (indicador) */
.lightbox-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.lightbox-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: 0.3s;
}

.lightbox-dots span.active {
  background: #fff;
  transform: scale(1.3);
}

/* TRANSIÇÃO IMAGEM NÍVEL APP */
.lightbox img {
  transition: 
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s ease;
}

.lightbox img.fade-out {
  opacity: 0;
  transform: scale(0.95);
  filter: blur(10px);
}


/* LIGHTBOX CONTROLES */

.lightbox .close,
.lightbox .prev,
.lightbox .next {
  position: absolute;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  
  /* destaque */
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  padding: 10px 14px;
  backdrop-filter: blur(4px);

  transition: all 0.3s ease;
}

/* BOTÃO FECHAR */
.lightbox .close {
  top: 20px;
  right: 25px;
  font-size: 34px;
}

/* SETAS */
.lightbox .prev {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.lightbox .next {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

/* HOVER PREMIUM */
.lightbox .close:hover,
.lightbox .prev:hover,
.lightbox .next:hover {
  background: rgba(227, 6, 19, 0.8); /* seu vermelho */
  transform: scale(1.1);
}
