/* =================================================
   RESET GLOBAL
================================================= */

* {
  box-sizing: border-box;
  max-width: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.05), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(0, 0, 0, 0.4), transparent 70%),
    #0B1F3B;
}

/* STICKY FOOTER */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* faz o conteúdo ocupar o espaço da tela */

.main-bg {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.portfolio {
  flex: 1;
}

:root {
  --nav-height: 110px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* =================================================
   BACKGROUND PRINCIPAL
================================================= */

.main-bg {
  background-image: url("/assets/img/fundo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 700px;
  width: 100%;
}

/* =================================================
   CONTAINER PADRÃO
================================================= */

.container-custom {
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

.container-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: radial-gradient(circle at 30% 20%, #0A2A4A 0%, #031A2F 40%, #020617 100%);

  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 15px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* LOGO */
.header__logo img {
  height: 110px;
}
#header__logo{
  display: none;
}

/* MENU */
.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header__menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__menu li {
  position: relative;
}

.header__menu a {
  font-family: "Play", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 6px 0;
  display: block;
}

.header__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  background: #00bfe7;
  transform: scaleX(0);
  transform-origin: left;
  transition: .3s;
}

.header__menu li:hover a::after,
.header__menu li.active a::after {
  transform: scaleX(1);
}

/* SOCIAL */
.header__social {
  display: flex;
  gap: 20px;
  padding-left: 30px;
  position: relative;
}

.header__social::before {
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, .25);
}

.header__social a {
  font-size: 20px;
  color: #fff;
  transition: .3s;
}

.header__social a:hover {
  color: #00bfe7;
}

/* TOGGLE MOBILE */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
}

.menu-close {
  display: none;
}

/* =================================================
   INÍCIO / HERO
================================================= */

.hero {
  margin-top: -80px;
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slider {
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}

.hero-slide.active {
  opacity: 1;
  position: relative;
  z-index: 1;
}

.hero-inner {
  height: 100vh;
  max-width: 1190px;
  margin: auto;
  padding: 0 15px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  max-width: 520px;
  color: #fff;
  font-family: "Play", sans-serif;
}

.hero-content span {
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: .85;
  display: block;
}

.hero-content h2 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero-content .btn {
  padding: 14px 32px;
  background: #00bfe7;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: .3s;
}

.hero-content .btn:hover {
  background: #009ec2;
  transform: translateY(-2px);
}

/* IMAGEM */
.hero-image {
  max-width: 620px;
  flex-shrink: 0;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}

/* NUMERAÇÃO */
.hero-dots {
  position: absolute;
  left: 23%;
  top: 68%;
  display: flex;
  gap: 20px;
  z-index: 10;
}

.hero-dots span {
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.hero-dots span.active {
  color: #00bfe7;
}

/* ================================
   ABOUT SECTION
================================ */

.about {
  position: relative;
  isolation: isolate;
  /* 🔥 DESCE A SECTION INTEIRA */
  padding-top: calc(var(--nav-height) + clamp(40px, 6vh, 52px));
  padding-bottom: clamp(90px, 10vh, 110px);
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* 🔥 AQUI ESTÁ A MÁGICA */
  background: linear-gradient(to bottom,
      rgba(5, 4, 20, 0) 0%,
      /* topo totalmente transparente */
      rgba(5, 4, 20, 0.4) 25%,
      /* começa a aparecer */
      rgba(5, 4, 20, 0.85) 60%,
      /* fundo já dominante */
      rgba(5, 4, 20, 0.95) 100%);
}

.about__container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text {
  text-indent: 1.5em;
  text-align: justify;
}

/* MEDIA GRID */

.about__media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.media--large {
  grid-row: span 2;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, .4),
      transparent);
}

.media:hover img {
  transform: scale(1.08);
}

/* CONTENT */

.about__eyebrow {
  font-size: 14px;
  letter-spacing: 2px;
  color: #6ecbff;
  display: inline-block;
  margin-bottom: 16px;
}

.about__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.about__divider {
  width: 48px;
  height: 3px;
  background: #00bfe7;
  display: block;
  margin: 24px 0 40px;
}

/* FEATURES*/

.about__features {
  display: flex;
  gap: 24px;
  margin-bottom: 30px;
}

.feature {
  position: relative;
  width: 56px;
  height: 56px;

  display: grid;
  place-items: center;

  border-radius: 8px;
  transition: box-shadow .3s ease;
}

/* Borda animada (premium) */
.feature::before {
  content: "";
  position: absolute;
  inset: 0;

  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;

  transform: rotate(0deg);

  /* 🔥 EFEITO PREMIUM */
  transition:
    transform .4s cubic-bezier(.4, 0, .2, 1),
    border-color .3s ease;
}

/* Hover */
.feature:hover::before {
  transform: rotate(45deg);
  border-color: #00bfe7;
}

.feature:hover {
  box-shadow: 0 0 20px rgba(0, 191, 231, .4);
}

/* Ícone */
.icon {
  position: relative;
  z-index: 1;

  display: block;
  width: 40px;
  height: 40px;

  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-video {
  background-image: url("/<?= BASE_URL; ?>assets/img/icons/ci-2.png");
}

.icon-design {
  background-image: url("/<?= BASE_URL; ?>assets/img/icons/ci-4.png");
}

/* TEXT
================================ */

.about__content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: -7px;
  color: #bfc5ff;
}

.about__content strong {
  color: #ffffff;
}

.about__highlight {
  margin-top: 1px;
  font-size: -8px;
  color: #ffffff;
}

/* =====================================================
   CONTACT SECTION - SENIOR LEVEL UI
===================================================== */

/* =========================
   CONTACT WIDGET (TOPO)
========================= */

.contact-widget {
  position: relative;
  padding-top: 135px;
  z-index: 2;

}

.contact-widget .row {
  align-items: center;
}

.contact__widget__item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 18px;
  transition: transform .3s ease;
}

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

.contact__widget__item__icon {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  transition: all .3s ease;
}

.contact__widget__item__icon i {
  font-size: 30px;
  color: #00bfe7;
}

.contact__widget__item:hover .contact__widget__item__icon {
  border-color: #00bfe7;
  box-shadow: 0 0 25px rgba(0, 191, 231, 0.4);
}

.contact__widget__item__text h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #ffffff;
}

.contact__widget__item__text p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================
   CONTACT MAIN SECTION
========================= */

.contact {
  position: relative;
  padding: 20px 0 10px;
  /* ↓ menos espaço em cima */
  min-height: 500px;
  display: flex;
  align-items: center;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(19, 30, 73, 0.92),
      rgba(65, 73, 97, 0.85));
  backdrop-filter: blur(1px);
}

.contact .container {
  position: relative;
  z-index: 2;
}

/* =========================
   MAPA
========================= */

.contact__map iframe {
  width: 100%;
  height: 520px;
  border-radius: 18px;
  border: none;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

/* =========================
   FORM
========================= */

.contact__form {
  padding-left: 60px;
}

.contact__form h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Inputs */

.contact__form form input,
.contact__form form textarea {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  font-size: 15px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transition: all .3s ease;
}

.contact__form form textarea {
  min-height: 150px;
  resize: none;
}

.contact__form form input::placeholder,
.contact__form form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact__form form input:focus,
.contact__form form textarea:focus {
  border-color: #00bfe7;
  box-shadow: 0 0 20px rgba(0, 191, 231, 0.4);
  outline: none;
}

/* =========================
   BUTTON
========================= */

.site-btn {
  width: 100%;
  height: 58px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #00bfe7, #0088a9);
  box-shadow: 0 12px 30px rgba(0, 191, 231, 0.4);
  transition: all .3s ease;
}

.site-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 191, 231, 0.6);
}

/* ==========================================================
   SERVICES PAGE  
========================================================== */

.services-page {
  position: relative;
  isolation: isolate;
  padding-top: 110px;
  padding-bottom: 60px;
}

.services-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background: linear-gradient(to bottom,
      rgba(5, 4, 20, 0) 0%,
      rgba(5, 4, 20, 0.4) 25%,
      rgba(5, 4, 20, 0.85) 60%,
      rgba(5, 4, 20, 0.95) 100%);
}

.services-page>* {
  position: relative;
  z-index: 1;
}

/* GRID 3 COLUNAS */
.services-page .row {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  justify-content: center;
  column-gap: 40px;
  row-gap: 5px;
  /* REDUZ DISTÂNCIA ENTRE LINHAS */
}

/* CARD */
.services-page .services__item {
  text-align: center;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* IMAGEM */
.services-page .services__icon {
  margin-bottom: 0;
  line-height: 0;
  /* remove espaço invisível da imagem */
}

.services-page .services__icon img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  display: block;
}

/* TITULO */
.services-page .services__item h4 {
  color: #ffffff;
  font-size: 22px;
  margin-top: -10px;
  /* aproxima da imagem */
  margin-bottom: 6px;
  padding: 0;
  line-height: 1.1;
  text-align: center;
}

/* LINK */
.services-page .services__link {
  display: inline-block;
  /* muda de block para botão */
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  background-color: #00bfe7;
  /* azul turquesa */
  padding: 6px 30px;
  border-radius: 8px;
  margin-top: 35px;
  text-align: center;
  text-decoration: none;
  transition: 0.3s ease;
}

/* HOVER */
.services-page .services__link:hover {
  background-color: #ffffff;
  /* um pouco mais escuro */
  color: #00bfe7;
}

/*=================================================
BOTAO FLUTUANTE
=================================================*/
/* BOTÃO FOTO */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 65px;
  height: 65px;
  cursor: pointer;
  z-index: 999;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: none;
  /* remove qualquer efeito acinzentado */
}

.online-dot {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 14px;
  height: 14px;
  background: #25d366;
  border: 2px solid #fff;
  border-radius: 50%;
}

/* CAIXA */
.whatsapp-chat {
  position: fixed;
  bottom: 20px;
  /* mesma base da foto */
  right: 20px;
  width: 300px;
  background: #fff;
  border-radius: 12px;
  display: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 1000;
}

/* HEADER */
.chat-header {
  background: #000;
  color: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header img {
  width: 40px;
  border-radius: 50%;
}

.chat-header button {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* BODY */
.chat-body {
  padding: 10px;
  background: #f5f5f5;
}

.msg {
  background: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

/* FOOTER */
.chat-footer {
  padding: 10px;
  text-align: right;
}

.chat-footer a {
  background: #25d366;
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
}

/*=================================================
FOOTER
=================================================*/

.footer-roxo {
  position: relative;
  z-index: 10;
  /* garante que fique acima das sections */
  background: radial-gradient(circle at 30% 20%, #0A2A4A 0%, #031A2F 40%, #020617 100%);
  color: #fff;
  padding: 25px 20px;
  text-align: center;
  width: 100%;
}

.footer-roxo a {
  color: #00ffa6;
  font-weight: bold;
  text-decoration: none;
}

.footer-roxo a:hover {
  text-decoration: underline;
}

footer {
  flex-shrink: 0;
}

/* ===============================
PORTFOLIO
=============================== */

:root {
  --gap: 24px;
  --cards-visiveis: 3;
}

.portfolio-section {
  min-height: calc(100vh - var(--nav-height) - 120px);
  padding: 80px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* ===============================
FILTER
=============================== */

.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 90px 0 70px;
  list-style: none;
}

.portfolio-filter li {
  padding: 10px 20px;
  border-radius: 30px;
  border: 2px solid #fff;
  color: #fff;
  cursor: pointer;
  transition: .3s;
}

.portfolio-filter li:hover,
.portfolio-filter .active {
  background: linear-gradient(90deg, #6a00ff, #8e2bff);
  border-color: transparent;
}

/* ===============================
SLIDER
=============================== */

.portfolio-slider {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===============================
MÁSCARA INTELIGENTE (SEM CORTAR CARD)
=============================== */

.portfolio-mask {
  --card-size: calc((100% - (var(--gap) * (var(--cards-visiveis) - 1))) / var(--cards-visiveis));
  overflow: hidden;
  position: relative;
  /* abre exatamente 1 card + gap */
  width: calc(100% + var(--card-size) + var(--gap));
  margin-left: calc((var(--card-size) + var(--gap)) / -2);
  margin-left: auto;
  margin-right: auto;
}

/* ===============================
TRACK
=============================== */

.portfolio-track {
  display: flex;
  gap: var(--gap);
  flex-wrap: nowrap;
  justify-content: flex-start;
  transition: transform 0.4s ease;
}

/* ===============================
CARD
=============================== */

.portfolio-card {
  flex: 0 0 calc((100% - (var(--gap) * (var(--cards-visiveis) - 1))) / var(--cards-visiveis));

  max-width: calc((100% - (var(--gap) * (var(--cards-visiveis) - 1))) / var(--cards-visiveis));

  background: #e6e6e6;
  border-radius: 18px;
  border: 6px solid #fff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
  will-change: transform;
}

.portfolio-card:hover {
  transform: none;
  box-shadow: none;
  border: 6.9px solid #6a00ff;
  z-index: 3;
}

/* ===============================
IMAGE
=============================== */

.card-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

.card-image img {
  width: 100%;
  height: 219px;
}

/* ===============================
TEXT
=============================== */

.card-body h3 {
  font-size: 18px;
  color: #111;
  margin-bottom: 15px;
}

/* ===============================
BUTTON
=============================== */

.btn-card {
  text-align: center;
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(90deg, #6a00ff, #8e2bff);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
}

.btn-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(106, 0, 255, .4);
}

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

.portfolio-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: .3s;
}

.nav-btn:hover {
  background: #6a00ff;
  border-color: #6a00ff;
}

/* ===============================
RESPOSTA MODAL
=============================== */

.form-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.form-modal-content {
  background: #fff;
  padding: 30px 35px;
  /* 👈 um pouco mais de respiro lateral */
  border-radius: 16px;
  width: 90%;
  max-width: 560px;
  /* 👈 aumentei de 480px → 560px */

  position: relative;
  top: 45%;
  /* 👈 desce o modal (ajuste fino aqui: 55%, 60%, etc) */
  transform: translateY(-50%);

  margin: 0 auto;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: scaleIn 0.3s ease;
}

/* TEXTO AJUSTADO */
.modal-text {
  font-family: "Play", sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #6a00ff;
  margin-bottom: 20px;
  line-height: 1.5;
  word-break: keep-all;
  /* 👈 NÃO quebra palavras */
}

/* BOTÃO AJUSTADO (COM BORDA + HOVER INVERTIDO) */
.modal-btn {
  margin-top: 10px;
  padding: 10px 20px;
  border: 2px solid #6a00ff;
  background: #6a00ff;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Play", sans-serif;
  font-weight: bold;
  transition: all 0.3s ease;
}

.modal-btn:hover {
  background: #fff;
  color: #6a00ff;
}

/* (OPCIONAL) SE NÃO FOR USAR ÍCONE, PODE REMOVER OU DEIXAR */
.modal-icon {
  display: none;
}

/* ANIMAÇÕES (mantidas) */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===============================
REMOVIDO FADE (NÃO CORTAR CARD)
=============================== */

.portfolio-mask::before,
.portfolio-mask::after {
  display: none;
}

.hidden {
  display: none !important;
}

/*=================================================
 MÓDULO RESPONSIVO (ORGANIZADO)
================================================= */

/* ===============================
   📱 MOBILE COMPLETO AJUSTADO
================================ */
@media (max-width: 991px) {

  .header__social::before {
  display: none;
}

  /* =================================
     ❌ ESCONDE LOGO DO HEADER (DESKTOP)
  ================================== */
  .header__inner > .header__logo {
    display: none !important;
  }

  /* =================================
     NAV BASE
  ================================== */
  .header__nav {
    position: fixed;
    inset: 0;
    z-index: 9999;

    transform: translateX(100%);
    transition: .4s;

    display: flex;
    flex-direction: column;

    /* 🔥 DISTRIBUI EM 3 BLOCOS */
    justify-content: space-between;

    padding: 20px;
  }

  .header__nav.active {
    transform: translateX(0);
  }

  /* =================================
     FUNDO COM BLUR
  ================================== */
  .header__nav::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);

    z-index: 1;
  }

  /* =================================
     CONTEÚDO ACIMA DO FUNDO
  ================================== */
  .header__nav > * {
    position: relative;
    z-index: 2;
    width: 100%;
  }

  /* =================================
     🔝 TOPO (LOGO + CLOSE)
  ================================== */
  .mobile-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
  }

  /* =================================
     🟣 LOGO DO MENU
  ================================== */
  #header__logo {
    display: none;
  }

  .header__nav.active #header__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
  }

  #header__logo img {
    display: block;
    width: 240px; /* 🔥 AJUSTADO PRA CABER NA TELA */
    height: auto;
    object-fit: contain;
    margin-top: 100px;
  }

  /* =================================
     ❌ BOTÃO FECHAR
  ================================== */
  .menu-close {
    display: none;

    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3;
  }

  .header__nav.active .menu-close {
    display: block;
  }

  /* =================================
     📌 MENU CENTRALIZADO
  ================================== */
  .header__menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    margin-top: -40px; /* 🔥 AJUSTE AQUI */
  }

  .header__menu li {
  text-align: center;
}

  .header__menu a {
  display: inline-block; /* 🔥 ESSENCIAL */
  width: auto;           /* 🔥 REMOVE 100% */
  text-align: center;
}

  /* =================================
     📌 SOCIAL NO RODAPÉ
  ================================== */
  .header__nav.active ~ .header__social {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
  }

  /* =================================
     ☰ BOTÃO TOGGLE
  ================================== */
  .header__toggle {
    display: flex;
  }

}

/* ===============================
RESPONSIVO
=============================== */

@media (max-width: 992px) {
  :root {
    --cards-visiveis: 2;
  }
}

@media (max-width: 600px) {
  :root {
    --cards-visiveis: 1;
  }
}

/* ===============================
   HERO
================================ */

@media (max-width: 991px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 38px;
  }

  .hero-image {
    margin-top: 30px;
  }
}


@media (max-width: 576px) {
  .hero-content h2 {
    font-size: 30px;
  }

  .hero-content span {
    font-size: 12px;
  }
}

/* ===============================
   CARROSSEL
================================ */

@media (max-width: 991px) {
  .logos-track img {
    width: 110px;
  }
}

@media (max-width: 576px) {
  .logos-track img {
    width: 90px;
  }
}

/* ===============================
   FOOTER
================================ */

@media (max-width: 576px) {

  .footer-roxo {
    font-size: 14px;
  }
}

/* ================================
   ABOUT
================================ */

/* ================================
   TABLET (até 992px)
================================ */

@media (max-width: 992px) {

  .about__container {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .about__media-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 5px; /* ↓ ajuste fino para afastar do nav */
  }

}


/* ================================
   MOBILE (até 576px)
================================ */

@media (max-width: 576px) {

  .about {
    padding: 80px 0;
  }

  .about__media-grid {
    margin-top: 60px; /* 🔥 ajuste real para sair do nav */
  }

  .about__features {
    gap: 16px;
  }

  .about__content p {
    font-size: 15px;
  }

}

/* ================================
   CONTATO - RESPONSIVO
================================ */
/* ================================
   TABLET (até 991px)
================================ */

@media (max-width: 991px) {

  /* CONTACT WIDGET (TOPO) */
  .contact-widget {
    padding-top: 80px;
    margin-top: 50px;
    /* ↓ ajuste fino para não esconder no nav */
  }

  /* ITENS */
  .contact__widget__item {
    margin: 12px 0;
  }

  /* FORM */
  .contact__form {
    padding-left: 0;
    margin-top: 50px;
  }

  .contact__form h3 {
    font-size: 26px;
    margin-bottom: 30px;
  }

  /* MAPA */
  .contact__map iframe {
    height: 420px;
  }

}

/* ================================
   MOBILE (até 767px)
================================ */

@media (max-width: 767px) {

  /* CONTACT WIDGET (TOPO) */
  .contact-widget {
    padding: 80px 0 30px; /* ↑ aumenta o espaço real */
    margin-top: 60px;     /* ↑ desce a section */
  }

  /* ITENS */
  .contact__widget__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
  }

  /* ÍCONE */
  .contact__widget__item__icon {
    width: 60px;
    height: 60px;
  }

  .contact__widget__item__icon i {
    font-size: 24px;
  }

  /* TEXTO */
  .contact__widget__item__text h4 {
    font-size: 18px;
  }

  .contact__widget__item__text p {
    font-size: 14px;
  }

  /* FORM */
  .contact__form {
    margin-top: 40px;
  }

  .contact__form h3 {
    font-size: 22px;
    text-align: center;
  }

  /* INPUTS */
  .contact__form form input,
  .contact__form form textarea {
    padding: 14px 16px;
    font-size: 14px;
  }

  /* BOTÃO */
  .site-btn {
    height: 52px;
    font-size: 13px;
  }

  /* MAPA */
  .contact__map iframe {
    height: 320px;
    margin-top: 20px;
  }

}

/* ================================
   MOBILE PEQUENO (até 480px)
================================ */

@media (max-width: 480px) {

  .contact-widget {
    padding: 80px 0 20px; /* mantém compensação do nav */
    margin-top: 60px;     /* NÃO reduz aqui */
  }

  .contact__widget__item {
    gap: 10px;
  }

  .contact__widget__item__icon {
    width: 55px;
    height: 55px;
  }

  .contact__widget__item__text h4 {
    font-size: 16px;
  }

  .contact__widget__item__text p {
    font-size: 13px;
  }

  .contact__form h3 {
    font-size: 20px;
  }

}

/* ================================
   SERVICES
================================ */

@media (max-width: 992px) {
  .services-page .row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-page .row {
    grid-template-columns: 1fr;
  }
}

/* =================================================
   CARROSSEL / FAIXA ROXA - BASE (DESKTOP)
================================================= */

.faixa-roxa {
  background: radial-gradient(circle at 30% 20%, #0A2A4A 0%, #031A2F 40%, #020617 100%);
  padding: 40px 0;
  margin-top: -184px; /* desktop */
  position: relative;
  z-index: 2;
  overflow: visible; /* evita corte */
}

.logos-wrap {
  width: 100%;
  overflow: hidden;
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  padding: 10px 0;
}

/* Logos fluidos (responsivo automático) */
.logos-track img {
    width: clamp(80px, 22vw, 140px);  /* 🔥 maior */
    max-height: clamp(60px, 14vw, 90px);
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: .8;
  transition: .3s;
}

.logos-track img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.08);
}

/* =================================================
   TABLET (769px até 991px)
================================================= */

@media (min-width: 769px) and (max-width: 991px) {

  .hero {
    height: auto;
    min-height: 100vh;
    margin-top: 0;
  }

  .hero-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
    height: auto;
    padding: 80px 30px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h2 {
    font-size: 42px;
  }

  .hero-image {
    display: none; /* 🔥 oculta imagem */
  }

  .hero-dots {
    display: none; /* 🔥 oculta numeração */
  }

}


/* =================================================
   MOBILE (até 768px)
================================================= */

@media (max-width: 768px) {

  .hero {
    height: auto;
    min-height: 100vh;
    margin-top: 0;
  }

  .hero-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 30px;
    height: auto;
    padding: 60px 20px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    display: none; /* 🔥 oculta imagem */
  }

  .hero-dots {
    display: none; /* 🔥 oculta numeração */
  }

  .hero-content span {
    font-size: 13px;
    letter-spacing: 1px;
  }

  .hero-content h2 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-content .btn {
    margin-top: 20px;
    display: inline-block;
  }

}

/* =================================================
   MOBILE PEQUENO
================================================= */

@media (max-width: 480px) {

  .hero-inner {
    padding: 40px 15px;
  }

  .hero-content h2 {
    font-size: 26px;
  }

  .hero-content span {
    font-size: 12px;
  }

  .hero-content .btn {
    width: 100%;
    text-align: center;
  }

}


/* =================================================
   MOBILE MUITO PEQUENO
================================================= */

@media (max-width: 380px) {

  .hero-content h2 {
    font-size: 22px;
  }

}

@media (max-width: 991px) {

  .hero-inner {
    justify-content: flex-start; /* tira do centro */
    padding-top: 170px;
  }

}

/* =================================================
   AJUSTE DE TIPOGRAFIA - MOBILE
================================================= */

@media (max-width: 768px) {

  .hero-content span {
    font-size: 15px;       /* aumenta um pouco */
    font-weight: 500;      /* semi-negrito */
    letter-spacing: 1.5px;
    opacity: 1;            /* deixa mais visível */
  }

  .hero-content h2 {
    font-size: 36px;       /* maior destaque */
    font-weight: 700;      /* negrito */
  }

}