/* Variáveis e Repg')set */

/* Variáveis e Reset */
:root {
  --primary: #082b63; /* Azul Marinho */
  --secondary: #8a8a8a; /* Cinza */
  --accent: #3b82f6; /* Azul claro destaque */
  --white: #ffffff;
  --dark: #1a1a1a;
  --font-main: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-main);
  color: var(--dark);
  line-height: 1.6;
  padding-top: 85px; /* Compensa o header fixo */
  overflow-x: hidden;
}

CSS
/* ==========================================================
   VARIÁVEIS E RESET
========================================================== */
:root {
  --primary: #082b63;
  --secondary: #8a8a8a;
  --accent: #3b82f6;
  --white: #ffffff;
  --dark: #1a1a1a;
  --font-main: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--dark);
  line-height: 1.6;
  padding-top: 85px; /* Compensa o header fixo */
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

section {
  padding: 50px 0;
  position: relative;
}

/* Header Premium */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  transition: 0.3s;
}
.header .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 14px;
  flex-shrink: 0;
}

.logo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(130deg, #3b82f6, #dbeafe, #082b63, #3b82f6);
  background-size: 240% 240%;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: logoBorderFlow 5s linear infinite;
  pointer-events: none;
}

.main-nav {
  margin-left: auto;
}
.header nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.header nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: 0.3s;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: rgba(8, 43, 99, 0.1);
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.dev-lock-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(8, 43, 99, 0.2);
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}

.dev-lock-btn:hover {
  background: var(--primary);
  color: #fff;
}

.nav-dev-open {
  border: none;
  background: transparent;
  color: var(--dark);
  font-weight: 600;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.nav-dev-open i {
  color: var(--primary);
}
/* Botões */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 10px 23px;
  border-radius: 5px;
  text-decoration: none;
}
.btn-light {
  background: #fff;

  color: var(--primary);

  padding: 15px 35px;

  border-radius: 8px;

  font-weight: 600;
}

.btn-instagram {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  background: linear-gradient(45deg, #833ab4, #e1306c, #f77737);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  color: #fff !important;
}

.btn-instagram i {
  font-size: 18px;
}

.btn-tiktok {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-tiktok:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Hero */
.hero {
  --hero-sync-duration: 9.6s;
  --hero-sync-ease: cubic-bezier(0.42, 0, 0.24, 1);
  min-height: calc(100vh - 85px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(59, 130, 246, 0.18),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(255, 255, 255, 0.08),
      transparent 35%
    ),
    linear-gradient(135deg, #051938 0%, #082b63 52%, #0a3a82 100%);
  color: #fff;
  overflow: hidden;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(4, 17, 38, 0.72) 0%,
    rgba(8, 43, 99, 0.6) 55%,
    rgba(10, 58, 130, 0.42) 100%
  );
  z-index: 2;
} /* O overlay fica na camada inferior */

.hero-bg-icons {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-icons .icon-float {
  position: absolute;
  --move-x: 22vw;
  --move-y: 16vh;
  --tilt: 7deg;
  color: rgba(224, 242, 255, 0.34);
  text-shadow:
    0 0 12px rgba(125, 198, 255, 0.42),
    0 0 24px rgba(125, 198, 255, 0.22);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 10px rgba(125, 198, 255, 0.28));
  animation: heroTraverse calc(var(--hero-sync-duration) * 2.2) linear infinite;
  will-change: transform;
}

.hero-bg-icons .icon-float::after {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(130, 208, 255, 0.32) 0%,
    rgba(130, 208, 255, 0.12) 45%,
    transparent 78%
  );
  filter: blur(4px);
}

.hero-bg-icons .icon-1 {
  top: 14%;
  left: 8%;
  font-size: 2.4rem;
  --move-x: 36vw;
  --move-y: 24vh;
  animation-delay: -2s;
}

.hero-bg-icons .icon-2 {
  top: 20%;
  right: 16%;
  font-size: 2.1rem;
  --move-x: -34vw;
  --move-y: 22vh;
  animation: heroTraverseWide calc(var(--hero-sync-duration) * 2.6) linear
    infinite;
  animation-delay: -7s;
}

.hero-bg-icons .icon-3 {
  top: 56%;
  left: 12%;
  font-size: 2rem;
  --move-x: 40vw;
  --move-y: -20vh;
  animation-delay: -4s;
}

.hero-bg-icons .icon-4 {
  bottom: 14%;
  right: 12%;
  font-size: 2.2rem;
  --move-x: -30vw;
  --move-y: -22vh;
  animation: heroTraverseWide calc(var(--hero-sync-duration) * 2.4) linear
    infinite;
  animation-delay: -11s;
}

.hero-bg-icons .icon-5 {
  bottom: 24%;
  left: 48%;
  font-size: 1.9rem;
  --move-x: -26vw;
  --move-y: 18vh;
  animation-delay: -8s;
}

.hero-bg-icons .icon-6 {
  top: 38%;
  right: 34%;
  font-size: 1.6rem;
  --move-x: 24vw;
  --move-y: -18vh;
  animation-delay: -5s;
}

.hero-bg-icons .icon-7 {
  top: 10%;
  left: 36%;
  font-size: 1.8rem;
  --move-x: 30vw;
  --move-y: 26vh;
  animation: heroTraverseWide calc(var(--hero-sync-duration) * 2.9) linear
    infinite;
  animation-delay: -13s;
}

.hero-bg-icons .icon-8 {
  bottom: 10%;
  left: 22%;
  font-size: 1.7rem;
  --move-x: 32vw;
  --move-y: -24vh;
  animation: heroTraverse calc(var(--hero-sync-duration) * 2.7) linear infinite;
  animation-delay: -9s;
}

.hero-bg-icons .icon-9 {
  top: 66%;
  right: 24%;
  font-size: 1.7rem;
  --move-x: -28vw;
  --move-y: -20vh;
  animation: heroTraverseWide calc(var(--hero-sync-duration) * 2.8) linear
    infinite;
  animation-delay: -15s;
}

.hero-bg-icons .icon-10 {
  top: 46%;
  left: 56%;
  font-size: 1.6rem;
  --move-x: -36vw;
  --move-y: 16vh;
  animation: heroTraverse calc(var(--hero-sync-duration) * 2.5) linear infinite;
  animation-delay: -6s;
}

.hero-bg-icons .icon-11 {
  bottom: 30%;
  right: 6%;
  font-size: 1.85rem;
  --move-x: -34vw;
  --move-y: -26vh;
  animation: heroTraverseWide calc(var(--hero-sync-duration) * 3) linear
    infinite;
  animation-delay: -17s;
}

.hero-bg-icons .icon-12 {
  top: 26%;
  left: 66%;
  font-size: 1.5rem;
  --move-x: -22vw;
  --move-y: 22vh;
  animation: heroTraverse calc(var(--hero-sync-duration) * 2.35) linear infinite;
  animation-delay: -12s;
}

.hero-bg-icons .icon-float:nth-child(odd) {
  opacity: 0.98;
}

.hero-bg-icons .icon-float:nth-child(even) {
  opacity: 0.84;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  display: grid;
  gap: 16px;
}

.hero .badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero .hero-area {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #d9e8ff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 4px;
  color: #ffffff; /* Força a cor branca no título */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Adiciona uma sombra leve para destacar o branco */
}

.hero .company-highlight {
  display: inline-block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2px 10px;
  border-radius: 10px;
  background:
    linear-gradient(
      118deg,
      rgba(3, 19, 44, 0.68) 0%,
      rgba(10, 58, 130, 0.62) 42%,
      rgba(74, 160, 255, 0.58) 70%,
      rgba(255, 255, 255, 0.26) 100%
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 197, 61, 0.18) 0 10px,
      rgba(255, 255, 255, 0.08) 10px 21px
    );
  background-size:
    230% 100%,
    190% 190%;
  border: 1px solid rgba(255, 255, 255, 0.56);
  font-weight: 800;
  white-space: nowrap;
  box-shadow:
    0 8px 20px rgba(8, 43, 99, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: companyHighlightFlow var(--hero-sync-duration)
    var(--hero-sync-ease) infinite;
}

.hero .company-highlight::before {
  content: "";
  position: absolute;
  inset: -35% -85%;
  z-index: -1;
  background: linear-gradient(
    102deg,
    transparent 38%,
    rgba(255, 255, 255, 0.46) 50%,
    transparent 62%
  );
  transform: translateX(-58%) skewX(-18deg);
  animation: companyHighlightSweep calc(var(--hero-sync-duration) * 0.72)
    var(--hero-sync-ease) infinite;
}

.hero .company-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 18px rgba(163, 211, 255, 0.22);
  animation: companyHighlightGlow calc(var(--hero-sync-duration) * 0.58)
    var(--hero-sync-ease) infinite;
  pointer-events: none;
}

.hero .hero-tagline {
  margin-top: -2px;
  margin-bottom: 0;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
}
/* Garante que qualquer parágrafo dentro do hero também fique branco */
.hero p {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.hero-stats div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.93rem;
  line-height: 1.35;
}

.hero-stats i {
  color: #8ed2ff;
  flex-shrink: 0;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: start;
  min-height: calc(100vh - 80px);
}

.logo img {
  max-width: 150px;
  height: auto; /* Garante que a proporção da imagem seja mantida */
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.hero h1,
.hero h2 {
  color: #ffffff !important; /* Força a cor branca */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Sombra para destacar o branco */
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.about-public-cards {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-public-card {
  background: #fff;
  border: 1px solid #dbe5f1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(8, 43, 99, 0.08);
}

.about-public-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.about-public-card h3 {
  font-size: 0.96rem;
  color: var(--primary);
  padding: 10px 12px 12px;
  line-height: 1.35;
}

.about-image {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
}

.about-image img {
  position: absolute;
  width: 100%;
  max-width: 520px;
  height: 100%;
  object-fit: cover;
  right: 0;
  top: 0;

  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);

  opacity: 0;
  transform: scale(1.05);
  animation: slideshow 15s infinite;
}

/* atraso de cada imagem */

.about-image img:nth-child(1) {
  animation-delay: 0s;
}
.about-image img:nth-child(2) {
  animation-delay: 5s;
}
.about-image img:nth-child(3) {
  animation-delay: 10s;
}

.about-video {
  max-width: 1040px;
  margin: 0 auto;
}

.about-video iframe {
  display: block;
  width: 100%;
  height: min(760px, 78vh);
  border: 0;
  border-radius: 8px;
  background: #eef0ed;
}

.institutional-video {
  overflow: hidden;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(8, 43, 99, 0.14);
}

.institutional-video__media {
  background: #061a3b;
}

.institutional-video__media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #061a3b;
}

.institutional-video__content {
  padding: 22px;
}

.institutional-video__content h3 {
  margin: 5px 0 10px;
  color: var(--primary);
  font-size: 1.3rem;
  line-height: 1.3;
}

.institutional-video__content p {
  color: #526275;
}

.institutional-video--gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  margin-top: 32px;
}

.institutional-video--gallery .institutional-video__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.institutional-video--about {
  width: 100%;
}

.sound-toggle {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  margin-top: 18px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.sound-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.sound-toggle i {
  color: var(--accent);
}

.slide2 {
  animation-delay: 10s;
}

.slide3 {
  animation-delay: 10s;
}

/* Serviços Grid */
#servicos {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.service-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  grid-template-areas:
    "icon title action"
    "icon description action";
  align-items: center;
  column-gap: 16px;
  row-gap: 4px;
  min-height: 126px;
  padding: 22px;
  background: #fff;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(8, 43, 99, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card > i {
  grid-area: icon;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7f0fc;
  color: var(--primary);
  font-size: 1.35rem;
}

.service-card h3 {
  grid-area: title;
  color: var(--primary);
  font-size: 1.08rem;
  line-height: 1.35;
}

.service-card p {
  grid-area: description;
  color: #536273;
  font-size: 0.92rem;
  line-height: 1.5;
}

.btn-servico {
  grid-area: action;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  color: var(--primary);
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: #8ab4ed;
  box-shadow: 0 14px 30px rgba(8, 43, 99, 0.14);
}

.service-card:hover > i {
  background: var(--primary);
  color: #fff;
}

.service-card:hover .btn-servico,
.btn-servico:focus-visible {
  background: var(--primary);
  color: #fff;
}

.btn-servico:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.35);
  outline-offset: 3px;
}

/* Trabalhos Realizados */
#trabalhos {
  padding: 80px 0;
  background: #f3f7fb;
}

.trabalhos-intro {
  max-width: 720px;
  margin: 12px auto 0;
  color: #4e5b6a;
}

.portfolio-slider {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.portfolio-viewport {
  overflow: hidden;
  width: 100%;
}

.portfolio-grid {
  display: flex;
  gap: 24px;
  transition: transform 0.55s ease;
  will-change: transform;
}

.portfolio-arrow {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.portfolio-arrow:hover {
  background: #0d5bdd;
}

.portfolio-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  flex: 0 0 calc((100% - 48px) / 3);
}

@media (max-width: 1100px) {
  .portfolio-card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .testimonials-track .testimonial-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}

.portfolio-card:hover {
  transform: translateY(-6px);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.portfolio-card h3 {
  padding: 16px 18px 20px;
  color: var(--primary);
  font-size: 1.05rem;
}

.trabalhos-actions {
  margin-top: 20px;
  text-align: center;
}

.trabalhos-actions .btn-primary,
.trabalhos-actions .btn-tiktok {
  margin: 6px;
}

.video-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.video-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.video-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.05rem;
}

.video-embed {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

.video-embed .video-capa {
  pointer-events: auto;
}

#videos {
  padding: 85px 0;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.videos-intro {
  max-width: 760px;
  margin: 12px auto 0;
  color: #4e5b6a;
}

.video-showcase-card {
  margin: 38px auto 0;
  max-width: 980px;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 36px rgba(8, 43, 99, 0.14);
}

.video-showcase-media {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
  max-height: 72vh;
  background: #0f172a;
}

.video-destaque {
  width: 100%;
  height: 100%;
  display: block;
  max-height: 72vh;
  object-fit: contain;
  object-position: center;
  background: #000;
}

.video-showcase-content {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.video-showcase-content h3 {
  color: var(--primary);
  font-size: 1.3rem;
}

.video-showcase-content p {
  color: #49576a;
}

/* Diferenciais e Tciferenciais */
#diferenciais {
  background: #f4f7f9;
  padding: 80px 0;
  scroll-margin-top: 105px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-item,
.feature-card {
  background: white;
  min-height: 220px;
  padding: 26px 22px;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(8, 43, 99, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.feature-item:hover,
.feature-card:hover {
  transform: translateY(-5px);
  border-color: #8db5eb;
  box-shadow: 0 16px 32px rgba(8, 43, 99, 0.16);
}

.feature-item i,
.feature-card i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #eaf3ff;
  color: var(--primary);
  font-size: 1.25rem;
}

.feature-card h3 {
  color: var(--primary);
  font-size: 1.08rem;
  line-height: 1.3;
}

.feature-card p {
  margin-top: 10px;
  color: #58687d;
  font-size: 0.9rem;
  line-height: 1.55;
}

#diferenciais {
  padding: 80px 0;
  background: #fcfcfc;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
  }

  .feature-card {
    min-height: 0;
    padding: 20px 16px;
  }

  .feature-card i {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }

  .feature-card h3 {
    font-size: 0.98rem;
  }

  .feature-card p {
    font-size: 0.83rem;
  }
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

/* Linha conectora */
.steps-container::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.step-card {
  background: #fff;
  padding: 35px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: 0.35s;
  border-top: 5px solid var(--primary);
}

.step-number {
  width: 70px;
  height: 70px;
  margin: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0d5bdd);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12);
}
.step-card h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.step-card p {
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
}

/* Responsividade: Oculta a linha em telas pequenas */
@media (max-width: 768px) {
  .steps-container::before {
    display: none;
  }
}
/* Avaliações e CTA */

#avaliacoes {
  padding: 100px 0;
  background: #fff;
}

/* ==========================
   CARD DE AVALIAÇÃO
========================== */

.rating-highlight {
  background-color: #004a99; /* Azul institucional */
  color: #ffffff;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 400px;
  margin: 20px auto;
}

.rating-highlight .stars {
  font-size: 28px;
  color: #ffd700; /* Dourado para as estrelas */
  margin-bottom: 10px;
}

.rating-highlight .rating-highlight__summary {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  opacity: 1;
}

.rating-highlight h3 {
  margin: 0 0 5px 0;
  font-size: 24px;
}

.rating-highlight p {
  font-size: 14px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.rating-highlight .btn-google {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: rgb(0, 74, 153);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.rating-highlight .btn-google:hover {
  background-color: #f0f0f0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  margin-bottom: 0;
  background: #fff;
  border-radius: 8px;
  border-top: 4px solid #f4b400;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.client-info {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 8px;
}

.client-photo {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #123b7a;
  background: #fff;
}
.client-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.client-info h4 {
  font-size: 1.2rem;
  color: var(--primary);
}

.client-info h4 a {
  color: inherit;
  text-decoration: none;
}

.client-info h4 a:hover {
  text-decoration: underline;
}

.role {
  color: #777;
  font-size: 0.95rem;
}

.testimonial-card p {
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

.testimonial-card .stars {
  color: #f4b400;
  letter-spacing: 2px;
}

.gallery-page {
  padding: 130px 0 80px;
  background: #f6f8fb;
}

.gallery-hero {
  padding: 0 0 24px;
}

.gallery-section {
  padding: 28px 0 56px;
}

.gallery-section--videos {
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.gallery-item {
  overflow: hidden;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(8, 43, 99, 0.1);
}

.gallery-item--image {
  cursor: zoom-in;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gallery-item--image:hover,
.gallery-item--image:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(8, 43, 99, 0.18);
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.gallery-item img,
.gallery-item video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-item video {
  aspect-ratio: 16 / 9;
  background: #000;
}

.gallery-item h3 {
  margin: 0;
  padding: 16px;
  color: var(--primary);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .institutional-video--gallery {
    grid-template-columns: 1fr;
  }

  .institutional-video__content {
    padding: 18px;
  }
}

.gallery-back {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 25, 56, 0.88);
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  max-height: 100%;
}

.gallery-lightbox__dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 112px);
  margin: 0 auto;
  border-radius: 8px;
}

.gallery-lightbox__dialog p {
  margin: 12px 0 0;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.gallery-lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  font-size: 1.15rem;
}

.gallery-lightbox-open {
  overflow: hidden;
}

.testimonials-slider {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials-viewport {
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  margin-top: 0;
  display: flex;
  align-items: stretch;
  gap: 20px;
  transition: transform 0.55s ease;
  will-change: transform;
}

.testimonials-arrow {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.testimonials-arrow:hover {
  background: #0d5bdd;
}

.testimonials-track .testimonial-card {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: none;
}

.testimonials-cta {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.testimonials-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mt-large {
  margin-top: 30px;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  background: linear-gradient(135deg, #4285f4, #34a853);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
}

.btn-google:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(66, 133, 244, 0.4);
  background: linear-gradient(135deg, #1a73e8, #0f9d58);
}

/* ============================
   CTA
============================ */

.cta {
  padding: 120px 20px;
  background:
    linear-gradient(rgba(8, 43, 99, 0.88), rgba(8, 43, 99, 0.88)),
    url("img/bg-construcao.jpg") center/cover;
  text-align: center;
}

.cta-content {
  max-width: 900px;
  margin: auto;
}

.cta h2 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.cta p {
  color: #fff;
  opacity: 0.95;
  font-size: 1.15rem;
  margin-bottom: 40px;
}

/* ============================
   CONTATO
============================ */

#contato {
  padding: 100px 0;
  background: #f7f9fb;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  color: var(--primary);
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: #555;
  margin-bottom: 35px;
  line-height: 1.8;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
  font-size: 1.05rem;
  color: #333;
}

.info-item i {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

#contactForm {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  font-size: 1rem;
  transition: 0.3s;
}

#contactForm input:focus,
#contactForm textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(8, 43, 99, 0.12);
}

#contactForm button {
  width: 100%;
}

/* ============================
   TÍTULOS
============================ */

.title-center {
  text-align: center;
  margin-bottom: 20px;
}

.section-subtitle {
  display: inline-block;
  color: #0d5bdd;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.title-center h2 {
  font-size: 2.7rem;
  color: var(--primary);
}

/* ============================
   RESPONSIVO
============================ */

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .title-center h2 {
    font-size: 2rem;
  }

  .rating-highlight h3 {
    font-size: 2.3rem;
  }

  .step-card {
    padding: 30px;
  }
}
.text-center {
  text-align: center;
  margin-top: 30px;
}
#showMore {
  background: #123b7a;
  color: #fff;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

#showMore:hover {
  background: #0d2d5e;
  transform: translateY(-3px);
}

.hidden {
  display: none;
}

/* Seção Premium - Revestimentos */
.premium-section {
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}

.premium-wrap {
  display: grid;
  gap: 28px;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.premium-card {
  background: #fff;
  border: 1px solid rgba(8, 43, 99, 0.09);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 14px 28px rgba(8, 43, 99, 0.08);
}

.premium-description p {
  color: #2a2a2a;
}

.premium-differentials h3 {
  color: var(--primary);
  margin-bottom: 14px;
}

.premium-differentials ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.premium-differentials li {
  color: #28344a;
}

.premium-cta {
  background: #082b63;
  color: #fff;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}

.premium-cta-highlight {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.premium-cta .btn-primary {
  display: inline-block;
  margin-top: 16px;
  background: #fff;
  color: var(--primary);
}

/* Container */
.floating-buttons {
  position: fixed;
  right: 25px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

/* Botões */
.floating-btn {
  width: 62px;
  height: 62px;
  position: relative;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: 0.3s;
  animation: pulse 5s infinite;
}

.floating-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

/* WhatsApp */
.whatsapp {
  background: #25d366;
}

.floating-btn[data-label]::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  color: #082b63;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(8, 43, 99, 0.18);
  box-shadow: 0 8px 24px rgba(8, 43, 99, 0.18);
}

/* Efeito pulsar */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes slideshow {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }

  8% {
    opacity: 1;
    transform: scale(1);
  }

  28% {
    opacity: 1;
    transform: scale(1);
  }

  36% {
    opacity: 0;
    transform: scale(1.05);
  }

  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}
.form-group select {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  background: #fff;
  color: #333;
  outline: none;
  transition: 0.3s;
  appearance: none;
  cursor: pointer;
}

.form-group select:focus {
  border-color: #e67e22;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
}
/* ==========================================================
   RESPONSIVIDADE GERAL
========================================================== */

/* Tablets */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-public-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-image {
    height: 400px;
    justify-content: center;
  }

  .about-video iframe {
    height: 680px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    gap: 30px;
  }
}

/* Celulares */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  /* HEADER */

  header {
    height: 70px;
  }

  .container {
    padding: 0 20px;
  }

  .logo img {
    max-width: 120px;
  }

  .header .container {
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100vh - 94px);
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: none;
    z-index: 9998;
  }

  .main-nav.is-open {
    display: block;
  }

  .header nav ul {
    flex-direction: column;
    gap: 14px;
  }

  .main-nav a {
    display: block;
    padding: 8px 4px;
  }

  .header-actions {
    display: flex;
  }

  .header-actions .btn-instagram,
  .header-actions .btn-tiktok {
    display: none;
  }

  .header-actions .dev-lock-btn {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    margin-left: 0;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-dev-open {
    width: 100%;
    justify-content: flex-start;
    padding: 8px 4px;
  }

  /* HERO */

  .hero {
    min-height: auto;
    padding: 80px 0;
    text-align: center;
  }

  .about-public-cards {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    justify-items: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero .company-highlight {
    white-space: normal;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons a {
    width: 100%;

    max-width: 280px;

    text-align: center;
  }

  /* ESTATÍSTICAS */

  .hero-stats {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-bg-icons .icon-float {
    font-size: 1.55rem;
    opacity: 0.75;
    --move-x: 16vw;
    --move-y: 10vh;
  }

  .hero-bg-icons .icon-2,
  .hero-bg-icons .icon-6,
  .hero-bg-icons .icon-10,
  .hero-bg-icons .icon-12 {
    display: none;
  }

  /* SERVIÇOS */

  #servicos {
    padding: 50px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .premium-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-showcase-card {
    margin-top: 28px;
    padding: 14px;
    border-radius: 14px;
  }

  .video-showcase-media {
    min-height: 220px;
    max-height: 62vh;
  }

  .video-destaque {
    max-height: 62vh;
  }

  .video-showcase-content h3 {
    font-size: 1.1rem;
  }

  .portfolio-card {
    flex-basis: 100%;
  }

  .portfolio-arrow {
    width: 38px;
    height: 38px;
  }

  .service-card {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon description"
      "action action";
    min-height: 0;
    padding: 18px;
    column-gap: 13px;
  }

  .service-card > i {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
  }

  .btn-servico {
    justify-self: stretch;
    width: 100%;
    margin-top: 10px;
  }

  /* DIFERENCIAIS */

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    grid-template-columns: 1fr;

    margin-top: 30px;
  }

  /* AVALIAÇÕES */

  .testimonial-card {
    text-align: left;
    padding: 25px;
  }

  .client-info {
    width: 100%;
  }

  .testimonials-track .testimonial-card {
    flex-basis: 100%;
  }

  .testimonials-arrow {
    width: 38px;
    height: 38px;
  }

  /* CTA */

  .cta {
    padding: 70px 20px;
  }

  .cta h2 {
    font-size: 2rem;
  }

  /* CONTATO */

  #contato {
    padding: 60px 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  #contactForm {
    padding: 25px;
  }

  /* BOTÃO FLUTUANTE */

  .floating-buttons {
    right: 15px;

    bottom: 15px;
  }

  .floating-btn {
    width: 55px;

    height: 55px;

    font-size: 25px;
  }

  .floating-btn[data-label]::after {
    display: none;
  }
}

/* Celulares pequenos */

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 0.98rem;
  }

  .title-center h2 {
    font-size: 1.7rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .btn-primary {
    padding: 12px 18px;
  }
}

@keyframes heroTraverse {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  20% {
    transform: translate3d(
        calc(var(--move-x) * 0.42),
        calc(var(--move-y) * -0.34),
        0
      )
      rotate(calc(var(--tilt) * 0.6)) scale(1.04);
  }

  40% {
    transform: translate3d(var(--move-x), calc(var(--move-y) * 0.15), 0)
      rotate(calc(var(--tilt) * -0.35)) scale(0.98);
  }

  60% {
    transform: translate3d(calc(var(--move-x) * 0.3), var(--move-y), 0)
      rotate(calc(var(--tilt) * 0.2)) scale(1.03);
  }

  80% {
    transform: translate3d(
        calc(var(--move-x) * -0.56),
        calc(var(--move-y) * 0.35),
        0
      )
      rotate(calc(var(--tilt) * -0.25)) scale(1);
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes heroTraverseWide {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  16% {
    transform: translate3d(
        calc(var(--move-x) * 0.66),
        calc(var(--move-y) * -0.52),
        0
      )
      rotate(calc(var(--tilt) * 0.75)) scale(1.05);
  }

  33% {
    transform: translate3d(
        calc(var(--move-x) * 1.08),
        calc(var(--move-y) * 0.24),
        0
      )
      rotate(calc(var(--tilt) * -0.5)) scale(0.97);
  }

  50% {
    transform: translate3d(calc(var(--move-x) * 0.24), var(--move-y), 0)
      rotate(calc(var(--tilt) * 0.3)) scale(1.04);
  }

  66% {
    transform: translate3d(
        calc(var(--move-x) * -0.72),
        calc(var(--move-y) * 0.44),
        0
      )
      rotate(calc(var(--tilt) * -0.2)) scale(1.01);
  }

  83% {
    transform: translate3d(
        calc(var(--move-x) * -0.4),
        calc(var(--move-y) * -0.38),
        0
      )
      rotate(calc(var(--tilt) * 0.42)) scale(0.99);
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes logoBorderFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes companyHighlightFlow {
  0% {
    background-position:
      0% 50%,
      0% 0%;
  }

  50% {
    background-position:
      100% 50%,
      58% 62%;
  }

  100% {
    background-position:
      0% 50%,
      120% 120%;
  }
}

@keyframes companyHighlightSweep {
  0% {
    transform: translateX(-62%) skewX(-18deg);
    opacity: 0;
  }

  18% {
    opacity: 0.9;
  }

  55% {
    transform: translateX(30%) skewX(-18deg);
    opacity: 0.65;
  }

  100% {
    transform: translateX(82%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes companyHighlightGlow {
  0%,
  100% {
    box-shadow: inset 0 0 14px rgba(163, 211, 255, 0.16);
  }

  50% {
    box-shadow: inset 0 0 24px rgba(163, 211, 255, 0.34);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-icons .icon-float {
    animation: none;
  }

  .logo::before {
    animation: none;
  }

  .hero .company-highlight {
    animation: none;
  }

  .hero .company-highlight::before,
  .hero .company-highlight::after {
    animation: none;
  }
}
img {
  max-width: 100%;
  height: auto;
}

/* Harmonização de imagens: limites, proporção e tratamento visual */
.harmonized-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(8, 43, 99, 0.08);
  filter: saturate(0.98) contrast(1.03);
  transition:
    transform 0.28s ease,
    filter 0.28s ease;
  display: block;
}
.harmonized-img:hover {
  transform: scale(1.02);
  filter: saturate(1) contrast(1.06);
}

.premium-slider {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.premium-viewport {
  width: 100%;
  overflow: hidden;
}
.premium-gallery {
  display: flex;
  gap: 20px;
  transition: transform 0.55s ease;
  will-change: transform;
}
.premium-gallery .premium-image-card {
  flex: 0 0 calc((100% - 40px) / 3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 43, 99, 0.12);
}
.premium-gallery .premium-image-card .harmonized-img {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  border-radius: 10px;
}
.premium-gallery .premium-image-card h3 {
  font-size: 1rem;
  color: var(--primary);
  margin: 2px 16px 16px;
}
.premium-arrow {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.premium-arrow:hover {
  background: #0d5bdd;
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .premium-slider {
    position: relative;
  }
  .premium-viewport {
    width: 100%;
  }
  .premium-gallery .premium-image-card {
    flex-basis: 100%;
  }
  .premium-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    transform: translateY(-50%);
  }
  .premium-arrow.prev {
    left: 8px;
  }
  .premium-arrow.next {
    right: 8px;
  }
  .premium-arrow:hover {
    transform: translateY(-50%) scale(1.05);
  }
}
input,
textarea,
select,
button {
  max-width: 100%;
}
header nav {
  display: block;
}
/* ============================
   FOOTER
============================ */

.footer {
  background: linear-gradient(135deg, #082b63, #0b3d91);
  color: #fff;
  padding: 30px 20px;
  border-top: 4px solid #3b82f6;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer .developer {
  text-align: right;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #7ec8ff;
}

.footer .developer i {
  color: #25d366;
  margin-right: 6px;
}

.footer .developer .fa-globe {
  color: #3b82f6;
}

.footer .developer .fa-code {
  color: #ffc107;
}

.footer .developer .fa-phone {
  color: #25d366;
}

.footer .developer .fa-envelope {
  color: #ff9800;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Responsivo */

@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }

  .footer .developer {
    text-align: center;
  }

  .footer p {
    font-size: 0.9rem;
  }
}
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* Elemento invisível inicialmente */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

/* Classe aplicada via JS quando o item aparece */
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.dev-panel-open {
  overflow: hidden;
}

.is-hidden-project {
  display: none !important;
}

.dev-panel {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
}

.dev-panel.is-open {
  display: block;
}

.dev-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, 0.72);
}

.dev-panel-dialog {
  position: relative;
  width: min(860px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  margin: 12px auto;
  overflow-y: auto;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.32);
  padding: 24px;
}

.dev-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.dev-panel-header h2 {
  color: var(--primary);
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dev-panel-close {
  border: 1px solid #d2dae6;
  background: #f7f9fc;
  color: #27364d;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
}

.dev-login-form,
.dev-project-form,
.dev-projects-list-wrap {
  background: #f8fbff;
  border: 1px solid #dbe7f7;
  border-radius: 14px;
  padding: 16px;
}

.dev-login-form p {
  margin-bottom: 10px;
  color: #45586f;
}

.dev-field-group {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.dev-field-group label {
  font-weight: 600;
  color: #2a3a52;
}

.dev-field-group input,
.dev-field-group select,
.dev-field-group textarea {
  border: 1px solid #c9d5e8;
  border-radius: 8px;
  padding: 11px 12px;
  font-family: inherit;
}

.dev-field-group textarea {
  resize: vertical;
  min-height: 112px;
}

.dev-panel-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.dev-logged-user {
  color: #223247;
}

.dev-logout-btn {
  border-color: #bccbe2;
  color: #1f3352;
}

.dev-project-form h3,
.dev-projects-list-wrap h3 {
  color: #0f2c58;
  margin-bottom: 12px;
}

.dev-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dev-field-wide {
  grid-column: span 2;
}

.dev-form-actions {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dev-feedback {
  min-height: 20px;
  margin-top: 8px;
  font-size: 0.92rem;
  color: #3a4d66;
}

.dev-feedback.is-error {
  color: #b42318;
}

.dev-feedback.is-success {
  color: #0b7a35;
}

.dev-projects-list-wrap {
  margin-top: 14px;
}

.dev-projects-list {
  display: grid;
  gap: 10px;
}

.dev-project-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d4e0f0;
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}

.dev-project-meta h4 {
  color: #113464;
  font-size: 1rem;
}

.dev-project-meta p {
  color: #4d627e;
  font-size: 0.88rem;
}

.dev-project-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dev-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #294369;
  font-size: 0.9rem;
}

.dev-action-btn {
  border: 1px solid #9fb3d1;
  background: #f7f9fd;
  color: #1f3556;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.dev-action-btn.danger {
  border-color: #f0b4b4;
  color: #9d2323;
  background: #fff5f5;
}

.dev-empty {
  color: #4e5f75;
}

.testimonial-card {
  text-align: center;
}

@media (max-width: 768px) {
  .dev-panel-dialog {
    width: calc(100% - 16px);
    margin: 8px auto;
    max-height: calc(100vh - 16px);
    padding: 16px;
  }

  .dev-form-grid {
    grid-template-columns: 1fr;
  }

  .dev-field-wide {
    grid-column: auto;
  }

  .dev-project-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .dev-project-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .dev-panel-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
