/* ================================
   Mario & Luigi - Responsive Theme
   Author: (generated)
   Breakpoints:
   - <= 1024px (tablet)
   - <= 768px  (mobile)
   - <= 480px  (small mobile)
================================ */

:root{
  --bg: #0b1020;                /* azul bem escuro */
  --surface: rgba(255,255,255,.08);
  --surface-strong: rgba(255,255,255,.12);
  --text: #f6f7fb;
  --muted: rgba(246,247,251,.78);

  --red: #e63946;
  --blue: #1d4ed8;
  --yellow: #fbbf24;

  --shadow: 0 14px 40px rgba(0,0,0,.45);
  --radius: 16px;

  --container: 1100px;
  --nav-h: 70px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: "Mukta", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% 10%, rgba(29,78,216,.35), transparent 55%),
              radial-gradient(900px 500px at 80% 20%, rgba(230,57,70,.28), transparent 60%),
              radial-gradient(800px 500px at 60% 90%, rgba(251,191,36,.22), transparent 60%),
              var(--bg);
  overflow-x: hidden;
}

img, video{ max-width: 100%; display:block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; cursor: pointer; }

/* ================================
   Navbar
================================ */
.navbar{
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 50;
  background: rgba(11,16,32,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.navbar-container{
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.navbar-logo{
  display:flex;
  align-items:center;
  gap: 10px;
  user-select: none;
}
.logo-img{
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.35));
}
.logo-text{
  font-weight: 700;
  letter-spacing: .2px;
}
.tex-form{
  font-weight: 700;
  letter-spacing: .2px;
}

/* Menu */
.nav-menu{
  display:flex;
  align-items:center;
  gap: 14px;
}

.nav-list{
  margin: 0;
  padding: 0;
  list-style: none;
  display:flex;
  align-items:center;
  gap: 10px;
}

.nav-link{
  display:inline-flex;
  align-items:center;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-link:hover{
  background: rgba(255,255,255,.09);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-contato-nav{
  border: 0;
  padding: 10px 14px;
  border-radius: 14px;
  color: #111827;
  background: linear-gradient(135deg, var(--yellow), #ffd56a);
  box-shadow: 0 10px 20px rgba(251,191,36,.22);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-contato-nav:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(251,191,36,.28);
}

/* Hamburger */
.menu-toggle{
  width: 44px;
  height: 44px;
  display:none;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.hamburger{
  display:block;
  width: 20px;
  height: 2px;
  background: rgba(246,247,251,.92);
  border-radius: 2px;
  position: relative;
}
.hamburger + .hamburger{ margin-top: 5px; }

.menu-toggle.active{
  border-color: rgba(251,191,36,.35);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}

/* ================================
   Layout Base
================================ */
.caixa-mae{
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 26px);
  position: relative;
}

/* Background video area */
.caixa-video-mario{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.caixa-video-mario video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.03);
}

/* dark overlay */
.mascara-video{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,16,32,.35), rgba(11,16,32,.80) 65%, rgba(11,16,32,.92));
}

/* Main content wrapper (hero) */
.caixa-principal{
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 34px 18px 40px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 28px;
}

/* Logo hero */
.logo-mario{
  width: 330px;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.45));
}

h1{
  margin: 0 0 8px 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: .2px;
}
.subtitle{
  margin: 0 0 12px 0;
  color: rgba(251,191,36,.95);
  font-weight: 700;
}
.description{
   
  margin: 0 0 20px 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.55;
}

/* Buttons */
.botoes-principais{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.enviar1 {
  border: 0;
  padding: 12px 16px;
  border-radius: 14px;
  color: var(--text);
  background: linear-gradient(135deg, var(--red), #ff5964);
  box-shadow: 0 16px 34px rgba(230,57,70,.18);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

   
   .enviar {
      display: bloch;
padding-left: auto;
padding-right: auto;
transform: translateY(-1px);
 box-shadow: 0 22px 40px rgba(230,57,70,.22); filter: saturate(1.05);
      border: 0;
  padding: 12px 16px;
  border-radius: 14px;
  color: var(--text);
  background: linear-gradient(135deg, var(--red), #ff5964);
  box-shadow: 0 16px 34px rgba(230,57,70,.18);
  transition: transform .
}
   
.enviar:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(230,57,70,.22);
  filter: saturate(1.05);
}

/* Right side character image */
.imagem-mario-luigi{
  position: absolute;
  right: max(18px, calc((100vw - var(--container))/2));
  bottom: 0;
  z-index: 1;
  width: min(330px, 42vw);
  filter: drop-shadow(0 28px 46px rgba(0,0,0,.55));
  pointer-events: none;
}

/* ================================
   Contact Form (slide-in)
================================ */
.fale-conosco{
  position: fixed;
  top: calc(var(--nav-h) + 16px);
  left: -420px;                /* hidden */
  z-index: 60;
  width: min(380px, calc(100vw - 32px));
  max-height: calc(100vh - var(--nav-h) - 32px);
  overflow: auto;

  padding: 18px;
  border-radius: var(--radius);
  background: rgba(11,16,32,.88);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);

  transition: left .28s ease, transform .28s ease;
}

.form-header{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.form-header h2{
  margin: 0;
  font-size: 20px;
}

.fale-conosco input,
.fale-conosco textarea{
  width: 100%;
  padding: 12px 12px;
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  outline: none;
}
.fale-conosco textarea{
  min-height: 120px;
  resize: vertical;
}
.fale-conosco input::placeholder,
.fale-conosco textarea::placeholder{
  color: rgba(246,247,251,.62);
}

.mascara-form{
  position: fixed;
  inset: 0;
  z-index: 55;
  visibility: hidden;
  opacity: 0;
  background: rgba(0,0,0,.55);
  transition: opacity .2s ease, visibility .2s ease;
}

/* JS toggles visibility on .mascara-form and moves form to 50% */
.mascara-form[style*="visible"],
.mascara-form.visible{
  visibility: visible;
  opacity: 1;
}

/* ================================
   WhatsApp Button
================================ */
.whatsapp-link{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;

  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #06130b;
  box-shadow: 0 18px 34px rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.12);
}
.whatsapp-link i{
  font-size: 28px;
  color: #052e16;
}

/* ================================
   Tablet <= 1024px
================================ */
@media (max-width: 1024px){
  :root{ --container: 980px; }

  .caixa-principal{
    grid-template-columns: 1fr;
    padding-bottom: 280px; /* espaço pro Mario embaixo */
    
  }

  .imagem-mario-luigi{
    width: min(380px, 56vw);
    right: 18px;
    bottom: -8px;
  }
}

/* ================================
   Mobile <= 768px
================================ */
@media (max-width: 768px){
  .menu-toggle{ display:flex; }

  /* Transformar nav em dropdown */
  .nav-menu{
    position: absolute;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    background: rgba(11,16,32,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.10);

    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .26s ease, padding .26s ease;
  }

  .nav-menu.active{
    max-height: 420px;
    padding: 14px 14px 18px;
  }

  .nav-list{
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .nav-link{
    width: 100%;
    padding: 12px 12px;
  }

  .btn-contato-nav{
    width: 100%;
    margin-top: 10px;
  }

  .logo-text{ font-size: 15px; }

  .caixa-principal{
    padding-top: 22px;
    padding-bottom: 310px;
  }

  .logo-mario{ width: 330px; }

  .imagem-mario-luigi{
    width: min(340px, 70vw);
    right: 10px;
    bottom: -10px;
  }

   
   .logo-mario{
  width: 320px;
  height: auto;

}

  .fale-conosco{
    top: calc(var(--nav-h) + 12px);
    width: min(380px, calc(100vw - 24px));
  }

  .whatsapp-link{
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
  }
}

/* ================================
   Small Mobile <= 480px
================================ */
@media (max-width: 480px){
  .navbar-container{ padding: 0 12px; }

  h1{ font-size: 28px; }
  .description{ font-size: 15px; }

  /* centraliza o conteúdo */
  .caixa-principal{
    padding-left: 12px;
    padding-right: 12px;

    justify-items: center;   /* centraliza itens do grid */
    text-align: center;      /* centraliza textos */

    padding-bottom: 360px;   /* espaço extra pra imagem maior */
  }

  .botoes-principais{
     display: none;
    justify-content: center; /* centraliza botões */
  }

  .description{
   display: none;
   max-width: 26ch;
   margin-left: auto;
   margin-right: auto;
  }
   

  /* centraliza e aumenta a imagem */
  .imagem-mario-luigi{
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(320px, 92vw);
    bottom: -18px;
  }
   .logo-mario{
  width: 320px;
  height: auto;

}
   .enviar1 {
      display: none;
   }
  .enviar {
     display: block;
padding-left: auto;
padding-right: auto;
     
  }
  .btn-contato-nav{
    border-radius: 12px;
  }
}


/* ================================
   Serviços - Carrosséis (profissional)
================================ */
.pagina-servicos{
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 18px 60px;
}

.servicos-hero{
  padding: 10px 0 24px;
}

.carousel-section{
  margin-top: 26px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}

.carousel-header{
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.carousel-subtitle{
  margin: 0;
  color: var(--muted);
}

.carousel{
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}

.carousel-viewport{
  overflow: hidden;
  border-radius: 14px;
}

.carousel-track{
  display: flex;
  gap: 14px;
  padding: 8px;
  transform: translateX(0);
  transition: transform .45s cubic-bezier(.2,.9,.2,1);
  will-change: transform;
}

/* 2 cards visíveis no desktop */
.service-card, .plan-card{
  flex: 0 0 calc(50% - 7px);
  min-height: 230px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(11,16,32,.78);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative;
}

.service-card:hover, .plan-card:hover{
  transform: translateY(-4px);
  border-color: rgba(251,191,36,.32);
  box-shadow: 0 26px 60px rgba(0,0,0,.45);
}

.plan-card ul{
  margin: 10px 0 12px;
  padding-left: 18px;
  color: var(--muted);
}
.plan-card li{ margin: 6px 0; }

.plan-card.featured{
  border-color: rgba(251,191,36,.35);
  box-shadow: 0 26px 70px rgba(251,191,36,.08), 0 26px 60px rgba(0,0,0,.45);
}

.card-badge{
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(230,57,70,.18);
  border: 1px solid rgba(230,57,70,.35);
  color: rgba(246,247,251,.92);
}
.card-badge.blue{
  background: rgba(29,78,216,.18);
  border-color: rgba(29,78,216,.35);
}
.card-badge.yellow{
  background: rgba(251,191,36,.18);
  border-color: rgba(251,191,36,.35);
}

.card-price{
  margin-top: 12px;
  color: rgba(246,247,251,.92);
}

.card-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--yellow), #ffd56a);
  color: #111827;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 26px rgba(251,191,36,.18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 36px rgba(251,191,36,.22);
}

.carousel-btn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(246,247,251,.92);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: transform .18s ease, background .18s ease;
}
.carousel-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
}

.carousel-dots{
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}
.carousel-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.14);
  cursor: pointer;
}
.carousel-dot.active{
  background: rgba(251,191,36,.92);
  border-color: rgba(251,191,36,.55);
}

/* Responsivo */
@media (max-width: 1024px){
  .service-card, .plan-card{ flex-basis: 100%; }
  .carousel{ grid-template-columns: 44px 1fr 44px; }
}

@media (prefers-reduced-motion: reduce){
  .carousel-track{ transition: none; }
  .service-card, .plan-card, .carousel-btn, .card-cta{ transition: none; }
}


/* ================================
   PIX - Botão profissional + Modal
================================ */
.pix-section{ margin-top: 26px; }

.pix-card{
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}

.pix-header{
  display:flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.pix-btn{
  position: relative;
  width: 100%;
  border: 0;
  padding: 14px 16px;
  border-radius: 16px;
  color: #06130b;
  font-weight: 800;
  letter-spacing: .2px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 18px 36px rgba(22,163,74,.22), 0 18px 40px rgba(0,0,0,.35);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.pix-btn:hover{
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow: 0 24px 52px rgba(22,163,74,.26), 0 22px 46px rgba(0,0,0,.42);
}

.pix-btn-icon{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.25);
}

.pix-btn-glow{
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.45), transparent 45%),
              radial-gradient(circle at 70% 80%, rgba(255,255,255,.25), transparent 50%);
  transform: rotate(10deg);
  opacity: .75;
  animation: pixGlow 2.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pixGlow{
  0%,100%{ transform: translate3d(0,0,0) rotate(10deg); }
  50%{ transform: translate3d(20px,-10px,0) rotate(10deg); }
}

.pix-hint{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.pix-modal{
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(6px);
}
.pix-modal.open{ display: grid; }

.pix-modal-content{
  width: min(560px, 100%);
  border-radius: 18px;
  background: rgba(11,16,32,.92);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  padding: 16px;
  transform: translateY(8px);
  opacity: 0;
  animation: pixIn .22s ease forwards;
}

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

.pix-modal-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.pix-close{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(246,247,251,.92);
  font-size: 22px;
  line-height: 1;
}

.pix-desc{ margin: 8px 0 12px; color: var(--muted); }

.pix-key-box{
  display:flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.pix-key-box code{
  flex: 1;
  color: rgba(246,247,251,.92);
  word-break: break-all;
}

.pix-copy{
  border: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--yellow), #ffd56a);
  color: #111827;
  font-weight: 800;
  white-space: nowrap;
}

.pix-actions{
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}
.pix-whats{
  display: inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(246,247,251,.92);
}

.pix-toast{
  margin-top: 10px;
  min-height: 18px;
  color: rgba(251,191,36,.95);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce){
  .pix-btn, .pix-modal-content{ animation: none; transition: none; }
  .pix-btn-glow{ animation: none; }
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(0,0,0,.78);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  max-width: min(92vw, 520px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}



/* WhatsApp floating button (profissional) */
.whatsapp-link{
  position: fixed;
  right: 18px;
  bottom: 18px;

  width: 58px;
  height: 58px;
  border-radius: 50%;

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

  background: #25D366;
  color: #fff;
  text-decoration: none;

  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  z-index: 9999;

  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.whatsapp-link i{
  font-size: 30px;
  line-height: 1;
}

.whatsapp-link:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.28);
  filter: brightness(1.02);
}

.whatsapp-link:focus-visible{
  outline: 3px solid rgba(255,255,255,.95);
  outline-offset: 3px;
}

/* Tooltip discreto */
.whatsapp-link::after{
  content: "WhatsApp";
  position: absolute;
  right: 70px;
  bottom: 50%;
  transform: translateY(50%);

  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 10px;

  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity .15s ease, transform .15s ease;
}

.whatsapp-link:hover::after,
.whatsapp-link:focus-visible::after{
  opacity: 1;
  transform: translateY(50%) translateX(-2px);
}

@media (max-width: 480px){
  .whatsapp-link{
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }
  .whatsapp-link i{
    font-size: 28px;
  }
  .whatsapp-link::after{
    display: none;
  }
}

