/* ==========================================================================
   1. VARIÁVEIS E RESET GLOBAL
   ========================================================================== */
:root {
  --bg: #07111f;
  --bg-2: #0b1a2d;
  --card: #10243a;
  --card-2: #0d2035;
  --text: #f6fbff;
  --muted: #a9bbca;
  --primary: #19b8ff;
  --primary-2: #087de5;
  --cyan: #5ee7ff;
  --line: rgba(255, 255, 255, 0.10);
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.30);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10+ */
  user-select: none; /* Padrão */
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {  
  -webkit-user-drag: none;  
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

/* Compensação para o cabeçalho fixo na rolagem dos links */
section[id] {
  scroll-margin-top: 90px;
}

#inicio {
  scroll-margin-top: 124px;
}

/* ========================================================================== 
   2. ESTRUTURA E COMPONENTES REUTILIZÁVEIS
   ========================================================================== */
.container {
  width: min(var(--max), 92%);
  margin: auto;
}

.section {
  padding: 50px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 15px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 10px;
}

h1, h2, h3 {
  line-height: 1.12;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.04em;
}

.section-head {
  max-width: 720px;
  margin-bottom: 50px;
}

.section-head p {
  color: var(--muted);
  margin-top: 17px;
  font-size: 1.04rem;
}

/* Botões */
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 14px;
  padding: 13px 19px;
  font-weight: 850;
  cursor: pointer;
  transition: 0.25s;
}

.nav-cta, .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 35px rgba(25, 184, 255, 0.22);
}

.nav-cta:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(25, 184, 255, 0.32);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-2px);
}

/* ==========================================================================
   3. CABEÇALHO & NAV
   ========================================================================== */
header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

header.scrolled {
  background: rgba(7, 17, 31, 0.94);
  border-color: var(--line);
}

.marquee {
  height: 46px;
  margin-top: 78px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 950;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.logo-mark {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 30px rgba(25, 184, 255, 0.25);
}

.logo-mark svg {
  width: 23px;
}

.logo span span {
  color: var(--primary);
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav a {
  font-size: 0.9rem;
  color: #d8e5ee;
  transition: 0.2s;
}

nav a:hover {
  color: var(--cyan);
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.7rem;
}

/* ==========================================================================
   4. SEÇÕES PRINCIPAIS DO SITE
   ========================================================================== */

/* Hero */
.hero {
  min-height: 780px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 145px 0 90px;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: 
    linear-gradient(90deg, rgba(5, 13, 24, 0.97) 0%, rgba(5, 13, 24, 0.86) 43%, rgba(5, 13, 24, 0.36) 72%, rgba(5, 13, 24, 0.68) 100%),
    url("img/hero-pc.jpg") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -220px;
  top: 80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(25, 184, 255, 0.25), transparent 65%);
  filter: blur(10px);
}

.hero-content {
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(2.9rem, 6.5vw, 5.7rem);
  letter-spacing: -0.065em;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero-copy {
  max-width: 650px;
  color: #c5d4df;
  font-size: 1.14rem;
  margin: 24px 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.btn {
  min-height: 52px;
  padding: 15px 22px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 38px;
  color: #dbe8ef;
  font-size: 0.91rem;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check {
  color: var(--cyan);
  font-weight: 900;
}

/* Banner de condição especial */
.special-offer {
  position: relative;
  z-index: 1;
  padding: 30px 0;
  background: #050d18;
}

.special-offer-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  padding: 30px 36px;
  border: 1px solid rgba(25, 184, 255, 0.35);
  border-radius: 22px;
  background:
    linear-gradient(110deg, rgba(25, 184, 255, 0.14), transparent 45%),
    linear-gradient(135deg, #102b46, #081827);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
  isolation: isolate;
}

.special-offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  animation: offer-shine 6s ease-in-out infinite;
}

.special-offer-glow {
  position: absolute;
  z-index: -1;
  top: -90px;
  right: 12%;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(25, 184, 255, 0.2);
  filter: blur(35px);
  animation: offer-glow 4s ease-in-out infinite;
}

.special-offer-content {
  max-width: 720px;
}

.special-offer-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.special-offer-label::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.special-offer h2 {
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  letter-spacing: -0.035em;
}

.special-offer p {
  margin-top: 9px;
  color: #c5d4df;
}

.special-offer-button {
  position: relative;
  flex-shrink: 0;
  animation: offer-button-pulse 3.5s ease-in-out infinite;
}

.special-offer-pointer {
  position: absolute;
  top: -31px;
  left: 50%;
  font-size: 1.65rem;
  line-height: 1;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35));
  pointer-events: none;
  animation: offer-pointer-tap 1.8s ease-in-out infinite;
}

@keyframes offer-pointer-tap {
  0%, 100% {
    opacity: 0.7;
    transform: translate(-50%, -3px) scale(1);
  }
  45%, 65% {
    opacity: 1;
    transform: translate(-50%, 5px) scale(0.9);
  }
}

@keyframes offer-shine {
  0%, 55% {
    transform: translateX(-100%);
  }
  75%, 100% {
    transform: translateX(100%);
  }
}

@keyframes offer-glow {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

@keyframes offer-button-pulse {
  0%, 100% {
    box-shadow: 0 12px 35px rgba(25, 184, 255, 0.22);
  }
  50% {
    box-shadow: 0 12px 42px rgba(25, 184, 255, 0.48);
  }
}

/* Trust Strip */
.trust-strip {
  background: #0b1929;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 24px 20px;
  display: flex;
  gap: 13px;
  align-items: center;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-icon {
  font-size: 1.45rem;
}

.trust-item strong {
  display: block;
  font-size: 0.94rem;
}

.trust-item small {
  color: var(--muted);
}

/* Serviços */
.services {
  background: #081524;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 30px;
  background: linear-gradient(145deg, rgba(18, 39, 61, 0.98), rgba(11, 30, 49, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 0.3s;
}

.service::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(25, 184, 255, 0.13), transparent 70%);
}

.service:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 184, 255, 0.35);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(25, 184, 255, 0.11);
  color: var(--cyan);
  font-size: 1.45rem;
  margin-bottom: 24px;
}

.service-image {
  height: 150px;
  margin-bottom: 24px;
  border: 1px dashed rgba(94, 231, 255, 0.45);
  border-radius: 16px;
  background: rgba(7, 17, 31, 0.35);
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Sobre */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 570px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.experience {
  position: absolute;
  right: -22px;
  bottom: 28px;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(8, 22, 37, 0.94);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.experience strong {
  display: block;
  font-size: 1.8rem;
  color: var(--cyan);
}

.experience span {
  font-size: 0.78rem;
  color: var(--muted);
}

.about-list {
  display: grid;
  gap: 17px;
  margin-top: 28px;
}

.about-list li {
  list-style: none;
  display: flex;
  gap: 13px;
}

.about-list b {
  display: block;
  margin-bottom: 3px;
}

.about-list p {
  color: var(--muted);
  font-size: 0.91rem;
}

/* Diferenciais */
.dark-panel {
  background: linear-gradient(135deg, #0e2842, #071727);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 58px;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 45px;
}

.diff h3 {
  font-size: 1.1rem;
  margin: 14px 0 7px;
}

.diff p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Processo (Como Funciona) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  position: relative;
  padding: 28px;
  background: #0c1d30;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.number {
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.step h3 {
  margin: 25px 0 10px;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Galeria de Projetos */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: 260px 260px;
  gap: 15px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  position: relative;
}

.gallery-grid figure:first-child {
  grid-row: 1 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(4, 13, 23, 0.72);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
}

.gallery-img {
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gallery-img:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Avaliações (Testimonials) */
.testimonials {
  background: #081524;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review {
  padding: 30px;
  background: #0e2135;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.stars {
  color: #67dfff;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.review p {
  color: #d9e5ec;
  font-size: 0.96rem;
}

.review-author {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.review-author small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ==========================================================================
   5. SEÇÃO DE ORÇAMENTO (FORMULÁRIO)
   ========================================================================== */
.budget-section {
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(25, 184, 255, .08),
      transparent 35%
    ),
    var(--bg);
}

.budget-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  padding: 60px;
  background: linear-gradient(135deg, rgba(16, 36, 58, .98), rgba(8, 24, 40, .98));
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

/* Texto Orçamento */
.budget-info h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
  margin-bottom: 20px;
}

.budget-info h2 span {
  display: block;
  color: var(--primary);
}

.budget-info > p {
  color: var(--muted);
  max-width: 500px;
  font-size: 1rem;
  line-height: 1.7;
}

/* Benefícios Orçamento */
.budget-benefits {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}

.budget-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.budget-benefit > span {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(25, 184, 255, .12);
  color: var(--cyan);
  font-weight: 900;
}

.budget-benefit strong {
  display: block;
  font-size: 0.95rem;
}

.budget-benefit small {
  display: block;
  margin-top: 3px;
  color: #879dac;
  font-size: 0.83rem;
}

/* Card do Formulário */
.budget-card {
  padding: 32px;
  background: #071625;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 24px;
}

/* Campos de Entrada */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #e8f2f7;
  font-size: 0.88rem;
  font-weight: 750;
}

.form-group label span {
  color: #718696;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
  background: #0d2034;
  color: #fff;
  padding: 14px 15px;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  transition: 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #718696;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25, 184, 255, .08);
}

.form-group textarea {
  resize: vertical;
  min-height: 105px;
}

/* Opções Radio */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-option {
  margin: 0 !important;
  cursor: pointer;
}

.radio-option input {
  display: none;
}

.radio-option span {
  display: block;
  padding: 10px 15px;
  border-radius: 10px;
  background: #0d2034;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: 0.2s;
}

.radio-option input:checked + span {
  background: rgba(25, 184, 255, .13);
  border-color: var(--primary);
  color: var(--cyan);
}

/* Botão Enviar Orçamento */
.budget-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  font-weight: 850;
  font-size: 0.94rem;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(25, 184, 255, .22);
  transition: 0.25s;
}

.budget-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(25, 184, 255, .32);
}

.budget-note {
  margin-top: 13px;
  text-align: center;
  color: #718696;
  font-size: 0.76rem;
  line-height: 1.5;
}

/* ==========================================================================
   6. OUTROS ELEMENTOS (MAPA, FAQ, CTA, FOOTER, MODAL)
   ========================================================================== */

/* Mapa */
.section-map {
  padding: 60px 0 100px 0;
}

.map-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid #1a2a3a;
  background-color: var(--bg);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 450px;
  filter: invert(90%) hue-rotate(180deg) contrast(110%) saturate(120%);
}

/* FAQ */
.faq {
  max-width: 850px;
  margin: auto;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--cyan);
  font-size: 1.4rem;
}

details[open] summary::after {
  content: "−";
}

details p {
  color: var(--muted);
  padding: 15px 30px 0 0;
}

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(circle at 80% 30%, rgba(25, 184, 255, 0.24), transparent 35%),
    linear-gradient(135deg, #0b2841, #071624);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 70px;
}

.cta h2 {
  max-width: 720px;
}

.cta p {
  max-width: 650px;
  color: var(--muted);
  margin: 16px 0 28px;
}

/* Rodapé */
footer {
  padding: 60px 0 25px;
  border-top: 1px solid var(--line);
  background: #050d17;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 45px;
}

footer p, footer a {
  color: var(--muted);
  font-size: 0.9rem;
}

footer a:hover {
  color: var(--cyan);
}

footer h4 {
  margin-bottom: 15px;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 45px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #718696;
  font-size: 0.78rem;
}

/* Botão Flutuante do WhatsApp */
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 61px;
  height: 61px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #18c46b;
  color: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  transition: 0.25s;
}

.whatsapp:hover {
  transform: scale(1.07);
}

.whatsapp svg {
  width: 30px;
}

/* Animação Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Modal Zoom Galeria */
#image-modal {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  outline: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  margin: auto;
}

#image-modal:not([open]) {
  display: none;
}

#image-modal::backdrop {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.modal-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

#modal-img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#close-modal {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #00a4e4;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   7. REGRAS RESPONSIVAS (MEDIA QUERIES UNIFICADAS)
   ========================================================================== */

/* Telas Médias / Tablets (Até 950px e 900px) */
@media (max-width: 950px) {
  nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  nav.mobile-open {
    display: flex;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 70px;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: #0b1b2d;
    border: 1px solid var(--line);
    border-radius: 18px;

    /* AQUI ESTÁ O AJUSTE DE ROLAGEM VERTICAL */
    max-height: calc(100vh - 90px); /* Ocupa a altura da tela menos o topo */
    overflow-y: auto;               /* Habilita a barra de rolagem vertical */
    -webkit-overflow-scrolling: touch; /* Suaviza a rolagem no iPhone/iOS */
    z-index: 1000;                  /* Garante que o menu fique acima do conteúdo */
  }

  nav.mobile-open a {
    padding: 12px 9px; /* Aumentado levemente para facilitar o toque no celular */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Separação discreta dos links */
  }

  nav.mobile-open a:last-child {
    border-bottom: none; /* Remove a linha do último item */
  }

  .nav-cta {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-image img {
    height: 450px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Ajuste Orçamento em Tablets */
  .budget-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
}

/* Dispositivos Móveis e Tablets Pequenos (Até 768px) */
@media (max-width: 768px) {
  /* Carrossel Horizontal nos Testemunhos */
  .testimonials .review-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 10px 4px 20px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .testimonials .review-grid::-webkit-scrollbar {
    display: none;
  }

  .testimonials .review {
    flex: 0 0 85%;
    min-width: 280px;
    scroll-snap-align: center;
  }

  .map-wrapper iframe {
    height: 320px;
  }
}

/* Dispositivos Móveis / Celulares (Até 620px e 600px) */
@media (max-width: 620px) {
  .section {
    padding: 75px 0;
  }

  .hero {
    min-height: 720px;
    padding-top: 48px;
  }

  .hero::before {
    background: 
      linear-gradient(90deg, rgba(5, 13, 24, 0.94), rgba(5, 13, 24, 0.67)),
      url("img/hero-celular.jpg") center/cover;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 13px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .special-offer {
    padding: 20px 0;
  }

  .special-offer-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding: 26px 22px;
    border-radius: 20px;
  }

  .special-offer-button {
    width: 100%;
  }

  .trust-grid, .service-grid, .process-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .dark-panel, .cta {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .diff-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 160px;
  }

  .gallery-grid figure:first-child {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }

  .gallery-grid figure:nth-child(2),
  .gallery-grid figure:nth-child(3) {
    grid-row: 2;
  }

  .about-image img {
    height: 390px;
  }

  .experience {
    right: 12px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .whatsapp {
    right: 16px;
    bottom: 16px;
  }

  /* Modal Zoom Celular */
  .modal-wrapper {
    max-width: 95vw;
    max-height: 95vh;
  }

  #modal-img {
    max-width: 95vw;
    max-height: 80vh;
  }

  #close-modal {
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  /* Ajustes do Formulário de Orçamento em Celulares */
  .budget-section > .container {
    width: 100%;
  }

  .budget-wrapper {
    padding: 28px 12px;
    border-radius: 24px;
  }

  .budget-card {
    padding: 22px 12px;
  }

  .radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .radio-option span {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .special-offer-card::before,
  .special-offer-glow,
  .special-offer-button {
    animation: none;
  }
}

/* Chamada para o Instagram */
.insta-callout {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  color: #a0aec0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.insta-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 164, 228, 0.1);
  color: #00a4e4;
  transition: all 0.3s ease;
}

.insta-link strong {
  color: #ffffff;
  font-weight: 600;
}

/* Efeito ao passar o mouse / tocar */
.insta-link:hover {
  background: rgba(0, 164, 228, 0.08);
  border-color: rgba(0, 164, 228, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

.insta-link:hover .insta-icon-wrapper {
  background: #00a4e4;
  color: #ffffff;
}
.special-offer-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 30px;
}
.btn.btn-primary {
  animation: pulse-button 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes pulse-button {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}