/* =========================================================
   CLEVERDEV — LANDING PAGE
   Tipografias: DM Sans + JetBrains Mono

   Paleta:
   Verde principal: #72F9AE
   Roxo acinzentado: #68688A
   Branco suave: #EEEEF8
   Fundo principal: #0D0D1A
========================================================= */

/* =========================
   VARIÁVEIS
========================= */

:root {
  --green: #72f9ae;
  --green-dark: #48d88b;
  --green-light: #a2ffd0;

  --dark: #0d0d1a;
  --dark-soft: #121222;
  --card: #171729;
  --card-light: #1d1d34;

  --white: #eeeef8;
  --gray: #68688a;
  --gray-light: #aaaac2;

  --border: rgba(114, 249, 174, 0.14);
  --border-light: rgba(238, 238, 248, 0.08);

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --shadow-green: 0 0 35px rgba(114, 249, 174, 0.15);

  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-large: 28px;

  --container: 1200px;

  --transition: 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;

  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(114, 249, 174, 0.09),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 18%,
      rgba(104, 104, 138, 0.15),
      transparent 30%
    ),
    var(--dark);

  color: var(--white);

  font-family: "DM Sans", sans-serif;
  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";

  position: fixed;
  inset: 0;

  z-index: -2;

  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    );

  background-size: 45px 45px;

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 85%
    );

  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 85%
    );
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

ul {
  list-style: none;
}

/* =========================
   UTILITÁRIOS
========================= */

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

section {
  position: relative;
}

.badge {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 8px 14px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: rgba(114, 249, 174, 0.06);

  color: var(--green);

  font-family: "JetBrains Mono", monospace;

  font-size: 0.72rem;
  font-weight: 600;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  box-shadow:
    inset 0 0 20px
    rgba(114, 249, 174, 0.03);
}

.badge::before {
  content: "";

  width: 7px;
  height: 7px;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 10px
    rgba(114, 249, 174, 0.8);

  animation:
    badgePulse 2s ease-in-out infinite;
}

/* =========================
   BOTÕES
========================= */

.btn-primary,
.btn-secondary {
  min-height: 48px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 0 22px;

  border-radius: 12px;

  font-size: 0.95rem;
  font-weight: 700;

  text-align: center;

  white-space: nowrap;

  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.btn-primary {
  border: 1px solid var(--green);

  background: var(--green);

  color: #07130d;

  box-shadow:
    0 10px 30px
    rgba(114, 249, 174, 0.18);
}

.btn-primary:hover {
  transform: translateY(-3px);

  border-color: var(--green-light);

  background: var(--green-light);

  box-shadow:
    0 16px 40px
    rgba(114, 249, 174, 0.28);
}

.btn-secondary {
  border:
    1px solid
    rgba(238, 238, 248, 0.12);

  background:
    rgba(255, 255, 255, 0.025);

  color: var(--white);
}

.btn-secondary:hover {
  transform: translateY(-3px);

  border-color:
    rgba(114, 249, 174, 0.35);

  background:
    rgba(114, 249, 174, 0.06);

  color: var(--green);
}

/* =========================
   NAVBAR
========================= */

header {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.05);

  background:
    rgba(13, 13, 26, 0.78);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.logo {
  display: flex;

  align-items: center;

  gap: 10px;

  flex-shrink: 0;

  font-size: 1.2rem;
  font-weight: 800;

  letter-spacing: -0.04em;
}

.logo img {
  width: 35px;
  height: 35px;

  flex-shrink: 0;

  object-fit: contain;
}

.logo span {
  color: var(--white);
}

nav {
  display: flex;

  align-items: center;

  gap: 30px;
}

nav a {
  position: relative;

  color: var(--gray-light);

  font-size: 0.9rem;
  font-weight: 500;

  white-space: nowrap;

  transition:
    color var(--transition);
}

nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -8px;

  width: 100%;
  height: 2px;

  border-radius: 20px;

  background: var(--green);

  transform: scaleX(0);

  transform-origin: right;

  transition:
    transform var(--transition);
}

nav a:hover {
  color: var(--white);
}

nav a:hover::after {
  transform: scaleX(1);

  transform-origin: left;
}

header .btn-primary {
  flex-shrink: 0;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;

  display: flex;

  align-items: center;

  padding:
    145px 0
    90px;
}

.hero::before {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  top: 18%;
  right: -180px;

  border-radius: 50%;

  background:
    rgba(114, 249, 174, 0.12);

  filter: blur(120px);

  pointer-events: none;
}

.hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(420px, 0.95fr);

  align-items: center;

  gap: 72px;
}

.hero-left {
  min-width: 0;

  animation:
    heroLeft 900ms
    cubic-bezier(0.2, 0.8, 0.2, 1)
    both;
}

.hero h1 {
  max-width: 760px;

  margin-top: 25px;

  color: var(--white);

  font-size:
    clamp(3.5rem, 6vw, 6.2rem);

  font-weight: 700;

  line-height: 0.94;

  letter-spacing: -0.075em;

  overflow-wrap: break-word;
}

.hero h1::selection {
  color: var(--dark);
  background: var(--green);
}

.hero-left > p {
  max-width: 630px;

  margin-top: 28px;

  color: var(--gray-light);

  font-size:
    clamp(1rem, 1.5vw, 1.15rem);

  line-height: 1.75;
}

.hero-buttons {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-top: 35px;
}

.hero-info {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 14px;

  margin-top: 55px;
}

.hero-info div {
  min-width: 0;

  padding: 16px 0;

  border-top:
    1px solid
    rgba(238, 238, 248, 0.1);
}

.hero-info h3 {
  color: var(--white);

  font-family:
    "JetBrains Mono",
    monospace;

  font-size: 0.83rem;
  font-weight: 600;

  letter-spacing: 0.02em;

  overflow-wrap: anywhere;
}

.hero-info span {
  display: block;

  margin-top: 4px;

  color: var(--gray);

  font-size: 0.8rem;
}

/* =========================
   DASHBOARD DO HERO
========================= */

.hero-right {
  position: relative;

  min-width: 0;

  animation:
    heroRight 1000ms
    180ms
    cubic-bezier(0.2, 0.8, 0.2, 1)
    both;
}

.hero-right::before {
  content: "";

  position: absolute;

  inset: 10%;

  z-index: -1;

  border-radius: 50%;

  background:
    rgba(114, 249, 174, 0.15);

  filter: blur(90px);
}

.glass-card {
  position: relative;

  min-height: 500px;

  overflow: hidden;

  padding: 18px;

  border:
    1px solid
    rgba(114, 249, 174, 0.14);

  border-radius: var(--radius-large);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.015)
    );

  box-shadow:
    var(--shadow),
    inset 0 1px 0
    rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  transform:
    perspective(1000px)
    rotateY(-3deg)
    rotateX(2deg);

  transition:
    transform 600ms
    cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-card:hover {
  transform:
    perspective(1000px)
    rotateY(0deg)
    rotateX(0deg)
    translateY(-8px);
}

.glass-card::before {
  content: "";

  position: absolute;

  width: 220px;
  height: 220px;

  top: -90px;
  right: -80px;

  border-radius: 50%;

  background:
    rgba(114, 249, 174, 0.14);

  filter: blur(55px);
}

.glass-header {
  height: 42px;

  display: flex;

  align-items: center;

  gap: 7px;

  padding: 0 4px 12px;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.06);
}

.dot {
  width: 9px;
  height: 9px;

  border-radius: 50%;
}

.dot.green {
  background: var(--green);
}

.dot.yellow {
  background: #f9d976;
}

.dot.red {
  background: #ff7575;
}

.dashboard {
  position: relative;

  height: 420px;

  padding: 24px 6px 0;
}

.dashboard-top {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 12px;
}

.mini-card {
  min-width: 0;

  padding: 18px;

  border:
    1px solid
    rgba(255, 255, 255, 0.07);

  border-radius: 16px;

  background:
    rgba(13, 13, 26, 0.65);

  transition:
    transform var(--transition),
    border-color var(--transition);
}

.mini-card:hover {
  transform: translateY(-4px);

  border-color:
    rgba(114, 249, 174, 0.28);
}

.mini-card small {
  color: var(--gray);

  font-family:
    "JetBrains Mono",
    monospace;

  font-size: 0.7rem;

  text-transform: uppercase;
}

.mini-card h2 {
  margin-top: 5px;

  color: var(--green);

  font-size: 2rem;

  letter-spacing: -0.05em;

  overflow-wrap: anywhere;
}

.chart {
  position: relative;

  height: 205px;

  overflow: hidden;

  margin-top: 14px;

  border:
    1px solid
    rgba(255, 255, 255, 0.07);

  border-radius: 16px;

  background:
    linear-gradient(
      rgba(114, 249, 174, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(114, 249, 174, 0.035) 1px,
      transparent 1px
    ),
    rgba(13, 13, 26, 0.7);

  background-size:
    26px 26px;
}

.chart::before {
  content: "";

  position: absolute;

  left: 5%;
  bottom: 15%;

  width: 90%;
  height: 65%;

  background:
    linear-gradient(
      165deg,
      transparent 0 12%,
      var(--green) 13% 14%,
      transparent 15% 30%,
      var(--green) 31% 32%,
      transparent 33% 48%,
      var(--green) 49% 50%,
      transparent 51% 65%,
      var(--green) 66% 67%,
      transparent 68%
    );

  clip-path:
    polygon(
      0 85%,
      18% 65%,
      34% 72%,
      52% 38%,
      68% 48%,
      83% 18%,
      100% 2%,
      100% 10%,
      84% 28%,
      69% 56%,
      52% 48%,
      35% 82%,
      18% 75%,
      0 95%
    );

  filter:
    drop-shadow(
      0 0 8px
      rgba(114, 249, 174, 0.6)
    );

  animation:
    chartGlow 3s ease-in-out infinite;
}

.chart::after {
  content: "";

  position: absolute;

  width: 10px;
  height: 10px;

  right: 7%;
  top: 14%;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 0 5px
    rgba(114, 249, 174, 0.1),
    0 0 20px
    rgba(114, 249, 174, 0.8);

  animation:
    pointPulse 2s ease-in-out infinite;
}

.line {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(114, 249, 174, 0.08),
      transparent
    );

  transform: translateX(-100%);

  animation:
    scanLine 4s linear infinite;
}

.dashboard-bottom {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 12px;

  margin-top: 14px;
}

.stat {
  min-width: 0;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  padding: 15px 16px;

  border:
    1px solid
    rgba(255, 255, 255, 0.07);

  border-radius: 14px;

  background:
    rgba(13, 13, 26, 0.65);
}

.stat span {
  color: var(--green);

  font-family:
    "JetBrains Mono",
    monospace;

  font-size: 1.15rem;
  font-weight: 700;
}

.stat small {
  color: var(--gray);

  font-size: 0.72rem;

  text-align: right;
}

/* =========================
   TECNOLOGIAS
========================= */

.clients {
  padding:
    35px 0
    95px;
}

.clients p {
  margin-bottom: 25px;

  color: var(--gray);

  font-family:
    "JetBrains Mono",
    monospace;

  font-size: 0.72rem;

  letter-spacing: 0.12em;

  text-align: center;

  text-transform: uppercase;
}

.clients-grid {
  display: grid;

  grid-template-columns:
    repeat(8, minmax(0, 1fr));

  overflow: hidden;

  border:
    1px solid
    rgba(255, 255, 255, 0.06);

  border-radius: 16px;

  background:
    rgba(255, 255, 255, 0.015);
}

.clients-grid div {
  min-width: 0;
  min-height: 80px;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 16px;

  border-right:
    1px solid
    rgba(255, 255, 255, 0.06);

  color: var(--gray-light);

  font-family:
    "JetBrains Mono",
    monospace;

  font-size: 0.78rem;

  text-align: center;

  overflow-wrap: anywhere;

  transition:
    background var(--transition),
    color var(--transition);
}

.clients-grid div:last-child {
  border-right: 0;
}

.clients-grid div:hover {
  background:
    rgba(114, 249, 174, 0.06);

  color: var(--green);
}

/* =========================
   SERVIÇOS
========================= */

.services {
  padding:
    110px 0
    130px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.05);

  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.012),
      transparent
    );
}

.section-title {
  max-width: 760px;

  margin-bottom: 55px;
}

.section-title span {
  display: inline-block;

  margin-bottom: 15px;

  color: var(--green);

  font-family:
    "JetBrains Mono",
    monospace;

  font-size: 0.75rem;
  font-weight: 600;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.section-title h2 {
  color: var(--white);

  font-size:
    clamp(2.4rem, 4.5vw, 4.8rem);

  font-weight: 600;

  line-height: 1.05;

  letter-spacing: -0.06em;

  overflow-wrap: break-word;
}

.services-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 14px;
}

.services-grid article {
  position: relative;

  min-width: 0;
  min-height: 310px;

  overflow: hidden;

  padding: 30px;

  border:
    1px solid
    rgba(255, 255, 255, 0.07);

  border-radius: var(--radius-medium);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    );

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.services-grid article::before {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  top: -100px;
  right: -100px;

  border-radius: 50%;

  background:
    rgba(114, 249, 174, 0.1);

  filter: blur(45px);

  opacity: 0;

  transition:
    opacity var(--transition);
}

.services-grid article::after {
  content: "";

  position: absolute;

  left: 30px;
  bottom: 24px;

  width: 35px;
  height: 2px;

  border-radius: 20px;

  background: var(--green);

  transform: scaleX(0);

  transform-origin: left;

  transition:
    transform var(--transition);
}

.services-grid article:hover {
  transform: translateY(-8px);

  border-color:
    rgba(114, 249, 174, 0.28);

  background:
    linear-gradient(
      145deg,
      rgba(114, 249, 174, 0.055),
      rgba(255, 255, 255, 0.012)
    );

  box-shadow:
    0 25px 65px
    rgba(0, 0, 0, 0.25);
}

.services-grid article:hover::before {
  opacity: 1;
}

.services-grid article:hover::after {
  transform: scaleX(1);
}

.services-grid i {
  width: 52px;
  height: 52px;

  display: grid;

  place-items: center;

  margin-bottom: 75px;

  border:
    1px solid
    rgba(114, 249, 174, 0.18);

  border-radius: 14px;

  background:
    rgba(114, 249, 174, 0.06);

  color: var(--green);

  font-size: 1.15rem;

  box-shadow:
    inset 0 0 20px
    rgba(114, 249, 174, 0.035);

  transition:
    transform var(--transition),
    background var(--transition);
}

.services-grid article:hover i {
  transform:
    translateY(-4px)
    rotate(-4deg);

  background:
    rgba(114, 249, 174, 0.12);
}

.services-grid h3 {
  margin-bottom: 13px;

  color: var(--white);

  font-size: 1.4rem;
  font-weight: 600;

  letter-spacing: -0.03em;

  overflow-wrap: anywhere;
}

.services-grid p {
  color: var(--gray-light);

  font-size: 0.93rem;

  line-height: 1.75;

  overflow-wrap: anywhere;
}

/* =========================
   ANIMAÇÕES
========================= */

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.55;
  }

  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

@keyframes heroLeft {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes chartGlow {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

@keyframes pointPulse {
  0%,
  100% {
    transform: scale(0.8);
  }

  50% {
    transform: scale(1.25);
  }
}

@keyframes scanLine {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

/* =========================
   RESPONSIVO — NOTEBOOK
========================= */

@media (max-width: 1180px) {
  .nav {
    gap: 20px;
  }

  nav {
    gap: 20px;
  }

  nav a {
    font-size: 0.84rem;
  }

  header .btn-primary {
    min-height: 42px;

    padding: 0 16px;

    font-size: 0.82rem;
  }

  .hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(370px, 0.9fr);

    gap: 45px;
  }

  .hero h1 {
    font-size:
      clamp(3.4rem, 6vw, 5.3rem);
  }

  .services-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

/* =========================
   RESPONSIVO — TABLET
========================= */

@media (max-width: 980px) {
  .nav {
    min-height: 70px;
  }

  nav {
    display: none;
  }

  .logo {
    flex: 1;
  }

  header .btn-primary {
    width: auto;

    min-width: 132px;
    min-height: 40px;

    padding: 0 14px;

    border-radius: 10px;

    font-size: 0.76rem;
  }

  .hero {
    min-height: auto;

    padding:
      125px 0
      85px;
  }

  .hero-grid {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .hero-left {
    max-width: 820px;
  }

  .hero h1 {
    max-width: 780px;

    font-size:
      clamp(3.5rem, 8vw, 5.5rem);
  }

  .hero-left > p {
    max-width: 680px;
  }

  .hero-right {
    width: 100%;
    max-width: 760px;

    margin-inline: auto;
  }

  .glass-card {
    transform: none;
  }

  .glass-card:hover {
    transform: translateY(-6px);
  }

  .clients-grid {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
  }

  .clients-grid div {
    border-bottom:
      1px solid
      rgba(255, 255, 255, 0.06);
  }

  .clients-grid div:nth-child(4n) {
    border-right: 0;
  }

  .clients-grid div:nth-last-child(-n + 4) {
    border-bottom: 0;
  }
}

/* =========================
   RESPONSIVO — CELULAR
========================= */

@media (max-width: 720px) {
  .container {
    width:
      min(
        calc(100% - 30px),
        var(--container)
      );
  }

  .nav {
    min-height: 64px;

    gap: 12px;
  }

  .logo {
    min-width: 0;

    gap: 8px;

    font-size: 1rem;
  }

  .logo img {
    width: 30px;
    height: 30px;
  }

  .logo span {
    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
  }

  header .btn-primary {
    width: auto;

    min-width: 116px;
    min-height: 38px;

    padding: 0 11px;

    border-radius: 9px;

    font-size: 0.69rem;

    line-height: 1;
  }

  .hero {
    padding:
      105px 0
      65px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero h1 {
    margin-top: 20px;

    font-size:
      clamp(2.8rem, 12vw, 4.2rem);

    line-height: 0.98;

    letter-spacing: -0.065em;
  }

  .hero-left > p {
    margin-top: 22px;

    font-size: 0.96rem;

    line-height: 1.65;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: stretch;

    gap: 10px;

    margin-top: 28px;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;

    min-height: 46px;
  }

  .hero-info {
    grid-template-columns: 1fr;

    gap: 0;

    margin-top: 38px;
  }

  .hero-info div {
    padding: 14px 0;
  }

  .glass-card {
    min-height: auto;

    padding: 14px;

    border-radius: 22px;
  }

  .dashboard {
    height: auto;

    min-height: 390px;

    padding: 20px 2px 0;
  }

  .dashboard-top,
  .dashboard-bottom {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 9px;
  }

  .mini-card {
    padding: 14px;

    border-radius: 13px;
  }

  .mini-card h2 {
    font-size: 1.55rem;
  }

  .chart {
    height: 180px;

    margin-top: 10px;

    border-radius: 13px;
  }

  .dashboard-bottom {
    margin-top: 10px;
  }

  .stat {
    padding: 12px;

    gap: 8px;

    border-radius: 12px;
  }

  .stat span {
    font-size: 1rem;
  }

  .stat small {
    font-size: 0.65rem;
  }

  .clients {
    padding:
      20px 0
      70px;
  }

  .clients p {
    margin-bottom: 20px;

    font-size: 0.66rem;
  }

  .clients-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .clients-grid div {
    min-height: 68px;

    padding: 12px 8px;

    border-right:
      1px solid
      rgba(255, 255, 255, 0.06);

    border-bottom:
      1px solid
      rgba(255, 255, 255, 0.06);

    font-size: 0.7rem;
  }

  .clients-grid div:nth-child(even) {
    border-right: 0;
  }

  .clients-grid div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .services {
    padding:
      80px 0
      90px;
  }

  .section-title {
    margin-bottom: 35px;
  }

  .section-title span {
    font-size: 0.68rem;
  }

  .section-title h2 {
    font-size:
      clamp(2.4rem, 10vw, 3.3rem);
  }

  .services-grid {
    grid-template-columns: 1fr;

    gap: 12px;
  }

  .services-grid article {
    min-height: 255px;

    padding: 25px;
  }

  .services-grid article::after {
    left: 25px;

    bottom: 21px;
  }

  .services-grid i {
    width: 48px;
    height: 48px;

    margin-bottom: 48px;
  }
}

/* =========================
   RESPONSIVO — CELULAR PEQUENO
========================= */

@media (max-width: 480px) {
  .container {
    width:
      min(
        calc(100% - 22px),
        var(--container)
      );
  }

  .nav {
    min-height: 60px;

    gap: 8px;
  }

  .logo {
    gap: 7px;

    font-size: 0.9rem;
  }

  .logo img {
    width: 27px;
    height: 27px;
  }

  header .btn-primary {
    display: inline-flex;

    width: auto;

    min-width: 103px;
    min-height: 35px;

    padding: 0 9px;

    border-radius: 8px;

    font-size: 0.62rem;

    line-height: 1;
  }

  .hero {
    padding:
      94px 0
      58px;
  }

  .badge {
    gap: 7px;

    max-width: 100%;

    padding: 7px 10px;

    font-size: 0.57rem;

    letter-spacing: 0.08em;
  }

  .badge::before {
    width: 6px;
    height: 6px;
  }

  .hero h1 {
    font-size:
      clamp(2.45rem, 13vw, 3.15rem);

    line-height: 1;
  }

  .hero-left > p {
    font-size: 0.91rem;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    min-height: 44px;

    font-size: 0.86rem;
  }

  .glass-card {
    padding: 11px;

    border-radius: 18px;
  }

  .glass-header {
    height: 36px;
  }

  .dashboard {
    min-height: auto;

    padding-top: 15px;
  }

  .dashboard-top,
  .dashboard-bottom {
    gap: 7px;
  }

  .mini-card {
    padding: 11px;
  }

  .mini-card small {
    font-size: 0.59rem;
  }

  .mini-card h2 {
    font-size: 1.25rem;
  }

  .chart {
    height: 155px;
  }

  .stat {
    padding: 10px 8px;
  }

  .stat span {
    font-size: 0.88rem;
  }

  .stat small {
    font-size: 0.56rem;
  }

  .section-title h2 {
    font-size:
      clamp(2.2rem, 11vw, 2.8rem);
  }

  .services-grid article {
    min-height: 235px;

    padding: 22px;
  }

  .services-grid article::after {
    left: 22px;
  }

  .services-grid i {
    margin-bottom: 38px;
  }
}

/* =========================
   RESPONSIVO — TELAS MUITO PEQUENAS
========================= */

@media (max-width: 370px) {
  .container {
    width:
      min(
        calc(100% - 18px),
        var(--container)
      );
  }

  .logo {
    font-size: 0.82rem;
  }

  .logo img {
    width: 25px;
    height: 25px;
  }

  header .btn-primary {
    min-width: 92px;
    min-height: 33px;

    padding: 0 7px;

    font-size: 0.56rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .dashboard-top,
  .dashboard-bottom {
    grid-template-columns: 1fr;
  }

  .chart {
    height: 145px;
  }

  .stat {
    min-height: 48px;
  }
}

/* =========================
   DISPOSITIVOS SEM HOVER
========================= */

@media (hover: none) {
  .glass-card:hover,
  .services-grid article:hover,
  .mini-card:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}

/* =========================
   REDUÇÃO DE MOVIMENTO
========================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }
}

/* =========================
   FOOTER
========================= */

.footer {
  position: relative;

  overflow: hidden;

  padding:
    95px 0
    30px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.06);

  background:
    linear-gradient(
      180deg,
      rgba(18, 18, 34, 0.35),
      rgba(13, 13, 26, 0.96)
    );
}

.footer-glow {
  position: absolute;

  width: 420px;
  height: 420px;

  top: -280px;
  left: 50%;

  border-radius: 50%;

  background:
    rgba(114, 249, 174, 0.1);

  filter: blur(110px);

  transform: translateX(-50%);

  pointer-events: none;
}

.footer-container {
  position: relative;

  z-index: 2;
}

.footer-top {
  display: grid;

  grid-template-columns:
    minmax(230px, 0.8fr)
    minmax(0, 2fr);

  gap: 80px;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  display: inline-flex;

  align-items: center;

  gap: 11px;

  margin-bottom: 22px;

  color: var(--white);

  font-size: 1.3rem;
  font-weight: 800;

  letter-spacing: -0.04em;
}

.footer-logo img {
  width: 38px;
  height: 38px;

  object-fit: contain;
}

.footer-brand > p {
  color: var(--gray-light);

  font-size: 0.92rem;

  line-height: 1.75;
}

.footer-socials {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 28px;
}

.footer-socials a {
  width: 42px;
  height: 42px;

  display: grid;

  place-items: center;

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  border-radius: 11px;

  background:
    rgba(255, 255, 255, 0.025);

  color: var(--gray-light);

  font-size: 1rem;

  transition:
    color var(--transition),
    border-color var(--transition),
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.footer-socials a:hover {
  transform: translateY(-4px);

  border-color:
    rgba(114, 249, 174, 0.3);

  background:
    rgba(114, 249, 174, 0.08);

  color: var(--green);

  box-shadow:
    0 12px 30px
    rgba(0, 0, 0, 0.2);
}

.footer-navigation {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 35px;
}

.footer-column {
  min-width: 0;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 12px;
}

.footer-column h3 {
  margin-bottom: 8px;

  color: var(--white);

  font-family:
    "JetBrains Mono",
    monospace;

  font-size: 0.72rem;
  font-weight: 600;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.footer-column a {
  color: var(--gray-light);

  font-size: 0.86rem;

  line-height: 1.5;

  overflow-wrap: anywhere;

  transition:
    color var(--transition),
    transform var(--transition);
}

.footer-column > a:hover {
  transform: translateX(4px);

  color: var(--green);
}

.footer-contact a,
.footer-location {
  display: flex;

  align-items: flex-start;

  gap: 9px;
}

.footer-contact i {
  width: 17px;

  flex-shrink: 0;

  margin-top: 4px;

  color: var(--green);

  text-align: center;
}

.footer-location {
  margin: 0;

  color: var(--gray-light);

  font-size: 0.86rem;
}

.footer-divider {
  width: 100%;
  height: 1px;

  margin:
    65px 0
    27px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent
    );
}

.footer-legal {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 35px;
}

.footer-legal-text {
  display: flex;

  flex-direction: column;

  gap: 5px;
}

.footer-legal-text p {
  color: var(--gray);

  font-size: 0.76rem;

  line-height: 1.55;
}

.footer-legal-links {
  display: flex;

  align-items: center;
  justify-content: flex-end;

  flex-wrap: wrap;

  gap: 18px;
}

.footer-legal-links a,
.cookie-settings-button {
  color: var(--gray-light);

  font-family:
    "DM Sans",
    sans-serif;

  font-size: 0.76rem;
  font-weight: 500;

  transition:
    color var(--transition);
}

.footer-legal-links a:hover,
.cookie-settings-button:hover {
  color: var(--green);
}

.cookie-settings-button {
  padding: 0;

  border: 0;

  background: transparent;

  cursor: pointer;
}

.footer-notice {
  display: flex;

  align-items: flex-start;

  gap: 12px;

  margin-top: 25px;

  padding: 16px 18px;

  border:
    1px solid
    rgba(114, 249, 174, 0.1);

  border-radius: 12px;

  background:
    rgba(114, 249, 174, 0.035);
}

.footer-notice i {
  flex-shrink: 0;

  margin-top: 3px;

  color: var(--green);

  font-size: 0.9rem;
}

.footer-notice p {
  color: var(--gray);

  font-size: 0.73rem;

  line-height: 1.6;
}

/* =========================
   FOOTER RESPONSIVO
========================= */

@media (max-width: 1050px) {
  .footer-top {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .footer-brand {
    max-width: 520px;
  }

  .footer-navigation {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .footer {
    padding-top: 75px;
  }

  .footer-navigation {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap:
      45px
      30px;
  }

  .footer-legal {
    align-items: flex-start;

    flex-direction: column;

    gap: 22px;
  }

  .footer-legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .footer {
    padding:
      65px 0
      25px;
  }

  .footer-top {
    gap: 42px;
  }

  .footer-logo {
    font-size: 1.15rem;
  }

  .footer-logo img {
    width: 34px;
    height: 34px;
  }

  .footer-navigation {
    grid-template-columns: 1fr;

    gap: 38px;
  }

  .footer-column {
    gap: 10px;
  }

  .footer-divider {
    margin:
      48px 0
      24px;
  }

  .footer-legal-links {
    gap:
      12px
      16px;
  }

  .footer-notice {
    padding: 14px;
  }

  .footer-notice p {
    font-size: 0.69rem;
  }
}

@media (hover: none) {
  .footer-socials a:hover,
  .footer-column > a:hover {
    transform: none;
  }
}

/* =========================
   PROJETO
========================= */

/* =========================================================
   PORTFÓLIO CLEVER
========================================================= */

.portfolio {
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(
      180deg,
      rgba(18, 18, 34, 0.2),
      rgba(13, 13, 26, 0.92)
    );
}

.portfolio-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(125px);
  pointer-events: none;
}

.portfolio-glow-left {
  top: 10%;
  left: -270px;
  background: rgba(114, 249, 174, 0.1);
}

.portfolio-glow-right {
  right: -280px;
  bottom: 15%;
  background: rgba(104, 104, 138, 0.18);
}

.portfolio-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 58px;
}

.portfolio-heading-content {
  max-width: 830px;
}

.portfolio-label,
.portfolio-panel-label,
.business-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.portfolio-heading h2 {
  color: var(--white);
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.portfolio-heading-content > p {
  max-width: 680px;
  margin-top: 24px;
  color: var(--gray-light);
  font-size: 1rem;
  line-height: 1.75;
}

.portfolio-counter {
  flex-shrink: 0;
  padding: 22px 26px;
  border: 1px solid rgba(114, 249, 174, 0.13);
  border-radius: 16px;
  background: rgba(114, 249, 174, 0.035);
}

.portfolio-counter span {
  display: block;
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
}

.portfolio-counter p {
  max-width: 125px;
  margin-top: 8px;
  color: var(--gray-light);
  font-size: 0.72rem;
  line-height: 1.45;
}

/* =========================
   ABAS
========================= */

.portfolio-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 65px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.02);
}

.portfolio-tab {
  min-width: 0;
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--gray-light);
  text-align: left;
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.portfolio-tab:hover {
  background: rgba(255, 255, 255, 0.025);
  color: var(--white);
}

.portfolio-tab.active {
  border-color: rgba(114, 249, 174, 0.2);
  background:
    linear-gradient(
      145deg,
      rgba(114, 249, 174, 0.1),
      rgba(114, 249, 174, 0.025)
    );
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 15px 35px rgba(0, 0, 0, 0.18);
}

.portfolio-tab-number {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
}

.portfolio-tab-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.portfolio-tab-content strong {
  font-size: 1rem;
  font-weight: 600;
}

.portfolio-tab-content small {
  margin-top: 3px;
  color: var(--gray);
  font-size: 0.72rem;
}

/* =========================
   PAINÉIS
========================= */

.portfolio-panel {
  animation: portfolioPanelEntry 450ms ease both;
}

.portfolio-panel[hidden] {
  display: none;
}

.portfolio-panel-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 65px;
  align-items: end;
  margin-bottom: 45px;
}

.portfolio-panel-intro h3 {
  max-width: 700px;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.055em;
}

.portfolio-panel-intro > p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* =========================
   BOTÃO INTERNO DOS CARDS
========================= */

.project-card-button {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

/* =========================
   CLEVER DESIGN
========================= */

.design-projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 15px;
}

.design-project-card {
  grid-column: span 4;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.design-project-card.featured-project {
  grid-column: span 8;
}

.design-project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(114, 249, 174, 0.25);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25);
}

.design-project-image {
  position: relative;
  height: 265px;
  overflow: hidden;
  background: var(--card);
}

.featured-project .design-project-image {
  height: 360px;
}

.design-project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(13, 13, 26, 0.42),
      transparent 55%
    );
}

.design-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.design-project-card:hover .design-project-image img {
  transform: scale(1.045);
}

.project-view-icon {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(238, 238, 248, 0.12);
  border-radius: 11px;
  background: rgba(13, 13, 26, 0.72);
  color: var(--green);
  backdrop-filter: blur(12px);
  transition:
    transform var(--transition),
    background var(--transition);
}

.design-project-card:hover .project-view-icon {
  transform: translateY(-3px) rotate(3deg);
  background: var(--green);
  color: var(--dark);
}

.project-card-content {
  padding: 22px;
}

.project-card-content > span,
.project-card-meta span {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-card-content h4 {
  margin-top: 10px;
  color: var(--white);
  font-size: 1.23rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.project-card-content p {
  margin-top: 9px;
  color: var(--gray-light);
  font-size: 0.83rem;
  line-height: 1.65;
}

/* =========================
   CLEVER DEEP
========================= */

.development-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.development-project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.02);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.development-project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(114, 249, 174, 0.26);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25);
}

.website-preview {
  position: relative;
  overflow: hidden;
  margin: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  background: #10101d;
}

.browser-toolbar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(238, 238, 248, 0.16);
}

.browser-dots span:first-child {
  background: #ff7575;
}

.browser-dots span:nth-child(2) {
  background: #f9d976;
}

.browser-dots span:last-child {
  background: var(--green);
}

.browser-address {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--gray);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.website-preview-content {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.website-preview-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(13, 13, 26, 0.35),
      transparent 50%
    );
}

.website-preview-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.development-project-card:hover .website-preview-content img {
  transform: scale(1.035);
}

.website-preview-action {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(114, 249, 174, 0.2);
  border-radius: 9px;
  background: rgba(13, 13, 26, 0.82);
  color: var(--green);
  font-size: 0.69rem;
  font-weight: 600;
  opacity: 0;
  transform: translate(-50%, 12px);
  backdrop-filter: blur(12px);
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.development-project-card:hover .website-preview-action {
  opacity: 1;
  transform: translate(-50%, 0);
}

.project-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.project-card-meta small {
  color: var(--gray);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  text-align: right;
}

.development-warning {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(114, 249, 174, 0.1);
  border-radius: 11px;
  background: rgba(114, 249, 174, 0.03);
}

.development-warning i {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--green);
}

.development-warning p {
  color: var(--gray);
  font-size: 0.75rem;
  line-height: 1.6;
}

/* =========================
   CLEVER BUSINESS
========================= */

.business-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 18px;
  margin-bottom: 18px;
}

.business-hero-content {
  padding: 42px;
  border: 1px solid rgba(114, 249, 174, 0.13);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(114, 249, 174, 0.08),
      transparent 35%
    ),
    rgba(255, 255, 255, 0.022);
}

.business-hero-content h4 {
  max-width: 680px;
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3.55rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.business-hero-content > p {
  max-width: 740px;
  margin-top: 20px;
  color: var(--gray-light);
  font-size: 0.93rem;
  line-height: 1.8;
}

.business-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.business-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(114, 249, 174, 0.13);
  border-radius: 999px;
  background: rgba(114, 249, 174, 0.045);
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.61rem;
  font-weight: 500;
}

.business-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.business-metrics article {
  min-width: 0;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.02);
}

.business-metric-number {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.business-metrics p {
  color: var(--gray-light);
  font-size: 0.76rem;
  line-height: 1.55;
}

.business-experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.business-experience-card {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.018);
  transition:
    transform var(--transition),
    border-color var(--transition);
}

.business-experience-card:hover {
  transform: translateY(-5px);
  border-color: rgba(114, 249, 174, 0.22);
}

.business-experience-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(114, 249, 174, 0.17);
  border-radius: 13px;
  background: rgba(114, 249, 174, 0.055);
  color: var(--green);
  font-size: 1.1rem;
}

.business-experience-card span {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.business-experience-card h4 {
  margin-top: 7px;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
}

.business-experience-card p {
  margin-top: 10px;
  color: var(--gray-light);
  font-size: 0.81rem;
  line-height: 1.7;
}

/* =========================
   CERTIFICAÇÕES
========================= */

.certifications-section {
  margin-top: 70px;
}

.certifications-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 30px;
}

.certifications-heading span {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.certifications-heading h4 {
  max-width: 680px;
  margin-top: 12px;
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.certifications-heading > p {
  color: var(--gray-light);
  font-size: 0.86rem;
  line-height: 1.7;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.certification-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  transition:
    transform var(--transition),
    border-color var(--transition);
}

.certification-card:hover {
  transform: translateY(-5px);
  border-color: rgba(114, 249, 174, 0.23);
}

.certification-card .project-card-button {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 18px;
}

.certification-logo {
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 1px solid rgba(114, 249, 174, 0.12);
  border-radius: 12px;
  background: var(--card);
}

.certification-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.certification-content {
  min-width: 0;
}

.certification-content span {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.certification-content h5 {
  margin-top: 5px;
  color: var(--white);
  font-size: 0.96rem;
}

.certification-content p {
  margin-top: 4px;
  color: var(--gray);
  font-size: 0.68rem;
}

.certification-card .fa-arrow-up-right-from-square {
  color: var(--gray);
  font-size: 0.75rem;
}

.business-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 24px;
  padding: 15px 17px;
  border: 1px solid rgba(114, 249, 174, 0.1);
  border-radius: 11px;
  background: rgba(114, 249, 174, 0.03);
}

.business-disclaimer i {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--green);
}

.business-disclaimer p {
  color: var(--gray);
  font-size: 0.73rem;
  line-height: 1.65;
}

/* =========================
   MODAL
========================= */

body.modal-open {
  overflow: hidden;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.project-modal.open {
  display: flex;
}

.project-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 12, 0.82);
  backdrop-filter: blur(12px);
}

.project-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  border: 1px solid rgba(114, 249, 174, 0.18);
  border-radius: 21px;
  background: #11111f;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55);
  animation: modalEntry 350ms ease both;
}

.project-modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 10;
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(13, 13, 26, 0.86);
  color: var(--white);
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.project-modal-close:hover {
  transform: rotate(5deg);
  background: var(--green);
  color: var(--dark);
}

.project-modal-header {
  padding: 31px 75px 25px 31px;
}

.project-modal-header span {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-modal-header h3 {
  margin-top: 9px;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.project-modal-header p {
  max-width: 760px;
  margin-top: 13px;
  color: var(--gray-light);
  font-size: 0.88rem;
  line-height: 1.7;
}

.project-modal-media {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  margin: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  background: #090912;
}

.project-modal-media img,
.project-modal-media iframe {
  width: 100%;
  max-width: 100%;
  min-height: 600px;
  display: block;
  border: 0;
  height: auto;
  object-fit: contain;
}

.project-modal-loading {
  min-height: 430px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 13px;
}

.project-modal-loading span {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(114, 249, 174, 0.14);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: modalSpinner 800ms linear infinite;
}

.project-modal-loading p {
  color: var(--gray);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
}

.project-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 20px 24px 25px;
}

.project-modal-footer p {
  color: var(--gray);
  font-size: 0.74rem;
}

.project-modal-footer .btn-primary {
  gap: 9px;
}

/* =========================
   ANIMAÇÕES
========================= */

@keyframes portfolioPanelEntry {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalEntry {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalSpinner {
  to {
    transform: rotate(360deg);
  }
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 1050px) {
  .design-project-card,
  .design-project-card.featured-project {
    grid-column: span 6;
  }

  .business-hero {
    grid-template-columns: 1fr;
  }

  .business-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .business-metrics article {
    min-height: 155px;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .portfolio {
    padding: 90px 0 105px;
  }

  .portfolio-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .portfolio-counter {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .portfolio-counter p {
    max-width: 150px;
    margin-top: 0;
  }

  .portfolio-tabs {
    grid-template-columns: 1fr;
  }

  .portfolio-tab {
    min-height: 70px;
  }

  .portfolio-panel-intro,
  .certifications-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .development-projects-grid,
  .business-experience-grid {
    grid-template-columns: 1fr;
  }

  .business-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-modal-media img,
  .project-modal-media iframe {
    min-height: 500px;
  }
}

@media (max-width: 650px) {
  .portfolio {
    padding: 75px 0 85px;
  }

  .portfolio-heading {
    margin-bottom: 40px;
  }

  .portfolio-heading h2 {
    font-size: clamp(2.45rem, 11vw, 3.4rem);
  }

  .portfolio-tabs {
    margin-bottom: 45px;
  }

  .portfolio-panel-intro {
    margin-bottom: 30px;
  }

  .portfolio-panel-intro h3 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .design-project-card,
  .design-project-card.featured-project {
    grid-column: span 12;
  }

  .design-project-image,
  .featured-project .design-project-image {
    height: 270px;
  }

  .website-preview-content {
    height: 245px;
  }

  .business-hero-content {
    padding: 28px;
  }

  .business-metrics article {
    min-height: 145px;
    padding: 18px;
  }

  .business-experience-card {
    padding: 22px;
  }

  .certifications-section {
    margin-top: 50px;
  }

  .certification-card .project-card-button {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    padding: 14px;
  }

  .certification-logo {
    width: 62px;
    height: 62px;
  }

  .project-modal {
    padding: 10px;
  }

  .project-modal-dialog {
    max-height: calc(100vh - 20px);
    border-radius: 17px;
  }

  .project-modal-header {
    padding: 25px 62px 20px 20px;
  }

  .project-modal-media {
    margin: 0 9px;
  }

  .project-modal-media img,
  .project-modal-media iframe {
    min-height: 420px;
  }

  .project-modal-footer {
    align-items: stretch;
    flex-direction: column;
    padding: 17px;
  }

  .project-modal-footer .btn-primary {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .portfolio-tab {
    padding: 14px;
  }

  .portfolio-counter {
    width: 100%;
  }

  .design-project-image,
  .featured-project .design-project-image {
    height: 225px;
  }

  .project-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .project-card-meta small {
    text-align: left;
  }

  .business-metrics {
    grid-template-columns: 1fr;
  }

  .business-metrics article {
    min-height: 125px;
  }

  .business-experience-card {
    flex-direction: column;
  }

  .certification-card .project-card-button {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .certification-logo {
    width: 56px;
    height: 56px;
  }

  .certification-card .fa-arrow-up-right-from-square {
    display: none;
  }

  .project-modal-media img,
  .project-modal-media iframe {
    min-height: 350px;
  }
}


/* heade de projeto

/* =========================================================
   HEADER DO PORTFÓLIO
========================================================= */

.portfolio-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;

  z-index: 2000;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.06);

  background:
    rgba(13, 13, 26, 0.88);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.portfolio-header-content {
  min-height: 72px;

  display: grid;

  grid-template-columns:
    minmax(120px, 1fr)
    auto
    minmax(120px, 1fr);

  align-items: center;

  gap: 20px;
}

.portfolio-back-button {
  justify-self: start;

  display: inline-flex;

  align-items: center;

  gap: 9px;

  color: var(--gray-light);

  font-size: 0.84rem;
  font-weight: 600;

  transition:
    color var(--transition),
    transform var(--transition);
}

.portfolio-back-button i {
  color: var(--green);

  font-size: 0.76rem;
}

.portfolio-back-button:hover {
  color: var(--white);

  transform: translateX(-4px);
}

.portfolio-header-logo {
  justify-self: center;

  display: inline-flex;

  align-items: center;

  gap: 9px;

  color: var(--white);

  font-size: 1.05rem;
  font-weight: 800;

  letter-spacing: -0.04em;
}

.portfolio-header-logo img {
  width: 32px;
  height: 32px;

  flex-shrink: 0;

  object-fit: contain;
}

.portfolio-header-contact {
  justify-self: end;

  min-height: 40px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 0 15px;

  border:
    1px solid
    rgba(114, 249, 174, 0.22);

  border-radius: 10px;

  background:
    rgba(114, 249, 174, 0.06);

  color: var(--green);

  font-size: 0.76rem;
  font-weight: 700;

  white-space: nowrap;

  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.portfolio-header-contact:hover {
  transform: translateY(-2px);

  border-color: var(--green);

  background: var(--green);

  color: var(--dark);
}

/* =========================================================
   AJUSTES GERAIS DO PORTFÓLIO
========================================================= */

.portfolio {
  overflow: hidden;
}

.portfolio .container {
  min-width: 0;
}

.portfolio-heading,
.portfolio-heading-content,
.portfolio-panel,
.portfolio-panel-intro,
.design-projects-grid,
.development-projects-grid,
.business-hero,
.business-experience-grid,
.certifications-grid {
  min-width: 0;
}

.portfolio-heading h2,
.portfolio-panel-intro h3,
.business-hero-content h4,
.certifications-heading h4 {
  overflow-wrap: break-word;
  word-break: normal;
}

.portfolio-panel-intro > p,
.business-hero-content > p,
.business-experience-card p,
.project-card-content p,
.certifications-heading > p {
  overflow-wrap: anywhere;
}

.project-card-button {
  min-width: 0;
}

.design-project-card,
.development-project-card,
.business-experience-card,
.certification-card,
.business-metrics article {
  min-width: 0;
}

/* =========================================================
   RESPONSIVO — TELAS GRANDES
========================================================= */

@media (max-width: 1200px) {
  .portfolio {
    padding:
      105px 0
      120px;
  }

  .portfolio-heading {
    gap: 40px;
  }

  .portfolio-panel-intro {
    gap: 45px;
  }

  .design-project-card {
    grid-column: span 6;
  }

  .design-project-card.featured-project {
    grid-column: span 6;
  }

  .featured-project .design-project-image {
    height: 300px;
  }

  .development-projects-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .business-hero {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(320px, 0.8fr);
  }

  .certifications-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .certification-card:last-child {
    grid-column: span 2;
  }
}

/* =========================================================
   RESPONSIVO — NOTEBOOK E TABLET HORIZONTAL
========================================================= */

@media (max-width: 1024px) {
  .portfolio-header-content {
    min-height: 68px;
  }

  .portfolio {
    padding:
      90px 0
      105px;
  }

  .portfolio-heading {
    align-items: flex-start;

    flex-direction: column;

    gap: 28px;

    margin-bottom: 45px;
  }

  .portfolio-counter {
    display: flex;

    align-items: center;

    gap: 14px;
  }

  .portfolio-counter p {
    max-width: 160px;

    margin-top: 0;
  }

  .portfolio-panel-intro {
    grid-template-columns: 1fr;

    gap: 22px;
  }

  .portfolio-panel-intro > p {
    max-width: 720px;
  }

  .business-hero {
    grid-template-columns: 1fr;
  }

  .business-metrics {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
  }

  .business-metrics article {
    min-height: 150px;

    padding: 19px;
  }

  .business-experience-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .certifications-heading {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .certifications-heading > p {
    max-width: 700px;
  }

  .project-modal-dialog {
    width: min(920px, 100%);
  }
}

/* =========================================================
   RESPONSIVO — TABLET
========================================================= */

@media (max-width: 820px) {
  .portfolio-header-content {
    grid-template-columns:
      1fr
      auto
      1fr;

    gap: 12px;
  }

  .portfolio-header-contact {
    min-height: 38px;

    padding: 0 12px;

    font-size: 0.68rem;
  }

  .portfolio-back-button {
    font-size: 0.76rem;
  }

  .portfolio-header-logo {
    font-size: 0.95rem;
  }

  .portfolio-header-logo img {
    width: 29px;
    height: 29px;
  }

  .portfolio-tabs {
    grid-template-columns: 1fr;

    gap: 7px;

    margin-bottom: 45px;
  }

  .portfolio-tab {
    min-height: 68px;

    padding: 14px 16px;
  }

  .design-project-card,
  .design-project-card.featured-project {
    grid-column: span 12;
  }

  .design-project-image,
  .featured-project .design-project-image {
    height: 310px;
  }

  .development-projects-grid {
    grid-template-columns: 1fr;
  }

  .website-preview-content {
    height: 320px;
  }

  .business-metrics {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .business-experience-grid {
    grid-template-columns: 1fr;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
  }

  .certification-card:last-child {
    grid-column: auto;
  }

  .project-modal {
    padding: 14px;
  }

  .project-modal-dialog {
    max-height:
      calc(100vh - 28px);
  }

  .project-modal-media img,
  .project-modal-media iframe {
    min-height: 480px;
  }
}

/* =========================================================
   RESPONSIVO — CELULAR
========================================================= */

@media (max-width: 650px) {
  .portfolio-header-content {
    min-height: 62px;

    grid-template-columns:
      auto
      1fr
      auto;

    gap: 9px;
  }

  .portfolio-back-button {
    width: 36px;
    height: 36px;

    display: grid;

    place-items: center;

    border:
      1px solid
      rgba(255, 255, 255, 0.08);

    border-radius: 9px;

    background:
      rgba(255, 255, 255, 0.025);
  }

  .portfolio-back-button span {
    display: none;
  }

  .portfolio-back-button i {
    font-size: 0.72rem;
  }

  .portfolio-header-logo {
    justify-self: start;

    min-width: 0;

    font-size: 0.9rem;
  }

  .portfolio-header-logo img {
    width: 27px;
    height: 27px;
  }

  .portfolio-header-contact {
    min-height: 35px;

    padding: 0 9px;

    border-radius: 8px;

    font-size: 0.61rem;
  }

  .portfolio {
    padding:
      72px 0
      80px;
  }

  .portfolio-heading {
    margin-bottom: 36px;
  }

  .portfolio-heading h2 {
    font-size:
      clamp(2.35rem, 11vw, 3.25rem);

    line-height: 1.03;
  }

  .portfolio-heading-content > p {
    margin-top: 18px;

    font-size: 0.9rem;

    line-height: 1.7;
  }

  .portfolio-counter {
    width: 100%;

    padding: 17px 19px;
  }

  .portfolio-counter span {
    font-size: 2rem;
  }

  .portfolio-tabs {
    padding: 5px;

    border-radius: 15px;
  }

  .portfolio-tab {
    min-height: 64px;

    gap: 12px;

    padding: 12px 14px;

    border-radius: 10px;
  }

  .portfolio-tab-content strong {
    font-size: 0.92rem;
  }

  .portfolio-tab-content small {
    font-size: 0.66rem;
  }

  .portfolio-panel-intro {
    margin-bottom: 28px;
  }

  .portfolio-panel-intro h3 {
    font-size:
      clamp(2rem, 9vw, 2.75rem);

    line-height: 1.08;
  }

  .portfolio-panel-intro > p {
    font-size: 0.87rem;

    line-height: 1.7;
  }

  .design-projects-grid {
    gap: 12px;
  }

  .design-project-image,
  .featured-project .design-project-image {
    height: 260px;
  }

  .project-card-content {
    padding: 18px;
  }

  .project-card-content h4 {
    font-size: 1.08rem;
  }

  .project-card-content p {
    font-size: 0.79rem;
  }

  .website-preview {
    margin: 9px;
  }

  .browser-toolbar {
    height: 36px;

    padding: 0 9px;
  }

  .browser-address {
    font-size: 0.52rem;
  }

  .website-preview-content {
    height: 255px;
  }

  .website-preview-action {
    opacity: 1;

    bottom: 12px;

    transform: translate(-50%, 0);

    font-size: 0.62rem;
  }

  .project-card-meta {
    align-items: flex-start;

    flex-direction: column;

    gap: 6px;
  }

  .project-card-meta small {
    text-align: left;
  }

  .business-hero-content {
    padding: 24px;
  }

  .business-hero-content h4 {
    font-size:
      clamp(1.9rem, 9vw, 2.65rem);
  }

  .business-hero-content > p {
    font-size: 0.84rem;
  }

  .business-metrics {
    gap: 8px;
  }

  .business-metrics article {
    min-height: 135px;

    padding: 16px;
  }

  .business-metric-number {
    font-size: 1.7rem;
  }

  .business-metrics p {
    font-size: 0.68rem;
  }

  .business-experience-card {
    padding: 20px;
  }

  .business-experience-icon {
    width: 44px;
    height: 44px;
  }

  .business-experience-card h4 {
    font-size: 1.05rem;
  }

  .business-experience-card p {
    font-size: 0.77rem;
  }

  .certifications-section {
    margin-top: 45px;
  }

  .certifications-heading h4 {
    font-size:
      clamp(1.8rem, 8vw, 2.5rem);
  }

  .certification-card .project-card-button {
    grid-template-columns:
      60px
      minmax(0, 1fr)
      auto;

    gap: 12px;

    padding: 13px;
  }

  .certification-logo {
    width: 60px;
    height: 60px;
  }

  .certification-content h5 {
    font-size: 0.88rem;
  }

  .project-modal {
    padding: 8px;
  }

  .project-modal-dialog {
    max-height:
      calc(100vh - 16px);

    border-radius: 15px;
  }

  .project-modal-close {
    top: 11px;
    right: 11px;

    width: 36px;
    height: 36px;
  }

  .project-modal-header {
    padding:
      22px 56px
      18px 18px;
  }

  .project-modal-header h3 {
    font-size:
      clamp(1.65rem, 8vw, 2.4rem);
  }

  .project-modal-header p {
    font-size: 0.8rem;
  }

  .project-modal-media {
    min-height: 280px;

    margin: 0 7px;

    border-radius: 11px;
  }

  .project-modal-media img,
  .project-modal-media iframe {
    min-height: 380px;
  }

  .project-modal-footer {
    align-items: stretch;

    flex-direction: column;

    gap: 14px;

    padding: 15px;
  }

  .project-modal-footer .btn-primary {
    width: 100%;
  }
}

/* =========================================================
   RESPONSIVO — CELULAR PEQUENO
========================================================= */

@media (max-width: 430px) {
  .portfolio-header-content {
    min-height: 58px;
  }

  .portfolio-header-logo span {
    font-size: 0.82rem;
  }

  .portfolio-header-logo img {
    width: 25px;
    height: 25px;
  }

  .portfolio-header-contact {
    max-width: 92px;

    min-height: 33px;

    padding: 0 7px;

    font-size: 0.54rem;

    white-space: normal;

    line-height: 1.1;
  }

  .portfolio {
    padding:
      62px 0
      70px;
  }

  .portfolio-label,
  .portfolio-panel-label,
  .business-eyebrow {
    font-size: 0.62rem;
  }

  .portfolio-heading h2 {
    font-size:
      clamp(2.15rem, 11vw, 2.7rem);
  }

  .portfolio-tab {
    min-height: 60px;
  }

  .portfolio-tab-number {
    font-size: 0.6rem;
  }

  .portfolio-panel-intro h3 {
    font-size:
      clamp(1.85rem, 9vw, 2.3rem);
  }

  .design-project-image,
  .featured-project .design-project-image {
    height: 220px;
  }

  .project-view-icon {
    width: 37px;
    height: 37px;

    right: 12px;
    top: 12px;
  }

  .website-preview-content {
    height: 210px;
  }

  .business-metrics {
    grid-template-columns: 1fr;
  }

  .business-metrics article {
    min-height: 115px;
  }

  .business-experience-card {
    flex-direction: column;

    gap: 14px;
  }

  .certification-card .project-card-button {
    grid-template-columns:
      54px
      minmax(0, 1fr);
  }

  .certification-logo {
    width: 54px;
    height: 54px;
  }

  .certification-card .fa-arrow-up-right-from-square {
    display: none;
  }

  .project-modal-media img,
  .project-modal-media iframe {
    min-height: 320px;
  }
}

/* =========================================================
   RESPONSIVO — TELAS MUITO PEQUENAS
========================================================= */

@media (max-width: 360px) {
  .portfolio-header-contact {
    display: none;
  }

  .portfolio-header-content {
    grid-template-columns:
      auto
      1fr;
  }

  .portfolio-header-logo {
    justify-self: end;
  }

  .portfolio-heading h2 {
    font-size: 2rem;
  }

  .portfolio-counter {
    align-items: flex-start;

    flex-direction: column;

    gap: 7px;
  }

  .portfolio-tab {
    gap: 9px;

    padding: 11px;
  }

  .portfolio-tab-content strong {
    font-size: 0.84rem;
  }

  .portfolio-tab-content small {
    font-size: 0.6rem;
  }

  .design-project-image,
  .featured-project .design-project-image {
    height: 195px;
  }

  .business-hero-content {
    padding: 19px;
  }

  .business-tags span {
    font-size: 0.55rem;
  }

  .project-modal-header {
    padding:
      19px 52px
      16px 15px;
  }

  .project-modal-media img,
  .project-modal-media iframe {
    min-height: 285px;
  }
}

/* =========================================================
   DISPOSITIVOS SEM HOVER
========================================================= */

@media (hover: none) {
  .portfolio-back-button:hover,
  .portfolio-header-contact:hover,
  .portfolio-tab:hover,
  .design-project-card:hover,
  .development-project-card:hover,
  .business-experience-card:hover,
  .certification-card:hover,
  .project-modal-close:hover {
    transform: none;
  }

  .website-preview-action {
    opacity: 1;

    transform: translate(-50%, 0);
  }
}

 /* header no sobre puesto

 /* =========================================================
   AJUSTE PARA O HEADER NÃO COBRIR O CONTEÚDO
   Substitua o CSS atual do .portfolio-header e do .portfolio
   por este bloco.
========================================================= */

:root {
  --portfolio-header-height: 72px;
}

.portfolio-header {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  width: 100%;

  z-index: 2000;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.06);

  background:
    rgba(13, 13, 26, 0.9);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.portfolio-header-content {
  min-height: var(--portfolio-header-height);

  display: grid;

  grid-template-columns:
    minmax(120px, 1fr)
    auto
    minmax(120px, 1fr);

  align-items: center;

  gap: 20px;
}

.portfolio {
  position: relative;

  overflow: hidden;

  padding:
    calc(120px + var(--portfolio-header-height))
    0
    140px;

  border-top: 0;

  background:
    linear-gradient(
      180deg,
      rgba(18, 18, 34, 0.2),
      rgba(13, 13, 26, 0.92)
    );
}

/* Garante que links internos não fiquem escondidos pelo header */

#projects,
#clever-design,
#clever-deep,
#clever-business {
  scroll-margin-top:
    calc(var(--portfolio-header-height) + 24px);
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1024px) {
  :root {
    --portfolio-header-height: 68px;
  }

  .portfolio {
    padding:
      calc(90px + var(--portfolio-header-height))
      0
      105px;
  }
}

@media (max-width: 650px) {
  :root {
    --portfolio-header-height: 62px;
  }

  .portfolio {
    padding:
      calc(72px + var(--portfolio-header-height))
      0
      80px;
  }
}

@media (max-width: 430px) {
  :root {
    --portfolio-header-height: 58px;
  }

  .portfolio {
    padding:
      calc(62px + var(--portfolio-header-height))
      0
      70px;
  }
}

.data-project-image {
  height: 270px;
  width: 100%;  

}