/* ========================================================
   PEDRO CM VIDROS — FOLHA DE ESTILOS MODERNA
   Arquitetura Sóbria • Sem Pills • Sem Emojis • Sem Neon
   Layout 100% Full-Width sem Card Flutuante
   ======================================================== */

:root {
  /* Identidade Visual Pedro CM Vidros */
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --navy: #09172f;
  --navy-light: #162a4d;
  --cyan-accent: #38bdf8;
  --wpp: #25d366;
  --wpp-hover: #22bf5b;
  --wpp-dark: #128c7e;

  /* Superfícies e Tipografia */
  --paper: #ffffff;
  --light-bg: #f8fafc;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --line-subtle: #edf2f7;

  /* Fontes */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #ffffff;
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Regra Padrão para Ícones de Linha */
svg:not(.icon-wpp) {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

/* Ícone Oficial WhatsApp (Sempre Preenchido em Branco Sólido) */
.icon-wpp,
svg.icon-wpp,
svg.icon-wpp path {
  fill: #ffffff !important;
  stroke: none !important;
}

/* Container Estrutural da Página (Full-Width, Sem Borda de Card) */
.page-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Containers Padronizados e Alinhados para Todas as Seções */
.topbar-container,
.hero-container,
.projects-container,
.matrix-container,
.features-container,
.detail-container,
.closing-container,
.footer-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

/* ========================================================
   TOPBAR
======================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-badge {
  display: flex;
  align-items: center;
  padding: 8px 18px;
  background: #182744;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(24, 39, 68, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: transform 200ms ease;
}

.brand-logo-badge:hover {
  transform: translateY(-2px);
}

.brand-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--wpp);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
  transition: background 180ms ease, transform 180ms ease;
}

.top-contact:hover {
  background: var(--wpp-hover);
  transform: translateY(-2px);
}

.top-contact .icon-wpp {
  width: 18px;
  height: 18px;
}

/* ========================================================
   HERO SECTION
======================================================== */
.hero {
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: clamp(40px, 5vw, 68px) 0 clamp(48px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

/* Perfil e Identificação do Pedro no Topo */
.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.profile-avatar-box {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.22);
  flex-shrink: 0;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  display: block;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.profile-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}


.eyebrow-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
  stroke-width: 2.2;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.16;
}

h1 em {
  font-style: normal;
  color: var(--primary);
}

.intro {
  max-width: 560px;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Links da Bio */
.link-list {
  display: grid;
  max-width: 520px;
  gap: 12px;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 16px 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 200ms ease;
}

.link-item:hover {
  color: var(--primary);
  border-color: rgba(2, 132, 199, 0.35);
  transform: translateX(4px);
}

.link-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.link-mini-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.link-item svg:last-child {
  width: 18px;
  height: 18px;
  color: #94a3b8;
  transition: transform 180ms ease, color 180ms ease;
  flex-shrink: 0;
}

.link-item:hover svg:last-child {
  color: var(--primary);
  transform: translateX(3px);
}

/* Link Principal de Conversão WhatsApp */
.primary-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--wpp);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.25);
  transition: background 180ms ease, transform 180ms ease;
}

.primary-link:hover {
  background: var(--wpp-hover);
  transform: translateY(-2px);
}

.primary-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.primary-link-icon .icon-wpp {
  width: 22px;
  height: 22px;
}

.primary-link-text {
  flex: 1;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.primary-link-arrow {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.primary-link-arrow svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
  stroke: #ffffff;
  transition: transform 180ms ease;
}

.primary-link:hover .primary-link-arrow svg {
  transform: translateX(4px);
}

/* ========================================================
   HERO SHOWCASE / CARROSSEL DE PROJETOS
======================================================== */
.hero-showcase {
  position: relative;
  width: 100%;
}

.hero-carousel {
  position: relative;
  width: 100%;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
}

.hero-slide {
  display: none;
  width: 100%;
  animation: heroFade 380ms ease;
}

.hero-slide.active {
  display: block;
}

@keyframes heroFade {
  from {
    opacity: 0.5;
    transform: scale(0.99);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 4px;
}

.hero-carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(11, 21, 40, 0.04);
  transition: all 180ms ease;
}

.hero-carousel-btn:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.hero-carousel-btn svg {
  width: 18px;
  height: 18px;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  border: none;
  background: #cbd5e1;
  padding: 0;
  cursor: pointer;
  transition: all 250ms ease;
}

.hero-carousel-dots .dot.active {
  width: 24px;
  background: var(--primary);
}

.hero-frame-notch {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(11, 21, 40, 0.08);
}

.hero-img {
  width: 100%;
  height: clamp(400px, 42vw, 540px);
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-caption {
  padding: 18px 22px 20px;
  background: #09172f;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-caption-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  margin-bottom: 6px;
}

.hero-caption h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.hero-caption p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

/* ========================================================
   CATÁLOGO DE SERVIÇOS
======================================================== */
.projects {
  width: 100%;
  padding: clamp(60px, 7vw, 96px) 0;
  background: #ffffff;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 40px;
  margin-bottom: 44px;
}

.section-heading .heading-left {
  flex: 1 1 540px;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.25;
}

.section-heading .section-desc {
  flex: 1 1 360px;
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-wide {
  grid-column: span 2;
}

.project-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 18px;
  background: #cbd5e1;
  box-shadow: 0 10px 28px rgba(11, 21, 40, 0.06);
  transition: transform 250ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.project-card:hover img {
  transform: scale(1.03);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 12, 23, 0.15) 0%,
    rgba(6, 12, 23, 0.45) 30%,
    rgba(6, 12, 23, 0.88) 60%,
    rgba(6, 12, 23, 0.98) 100%
  );
  pointer-events: none;
}

.project-card-content {
  position: absolute;
  z-index: 2;
  inset: auto 24px 24px;
  color: #fff;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(6, 12, 23, 0.88);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.project-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.project-card p {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  transition: all 180ms ease;
}

.card-action-btn:hover {
  background: #ffffff;
  color: var(--navy);
}

.card-action-btn .icon-wpp {
  width: 16px;
  height: 16px;
}

.card-action-btn:hover .icon-wpp path {
  fill: var(--navy) !important;
}

/* ========================================================
   MATRIZ DE SERVIÇOS (Sem Pills, Sem Emojis)
======================================================== */
.services-matrix-section {
  width: 100%;
  padding: clamp(52px, 6vw, 76px) 0;
  background: #f8fafc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.matrix-title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.matrix-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.matrix-item:hover {
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 4px 12px rgba(11, 21, 40, 0.04);
}

.matrix-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ========================================================
   DIFERENCIAIS / FEATURES (Com Ícones SVG)
======================================================== */
.features-section {
  width: 100%;
  padding: clamp(52px, 6vw, 76px) 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px 28px;
  background: #f8fafc;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.feature-svg {
  width: 22px;
  height: 22px;
}

.feature-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.feature-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* ========================================================
   SHOWCASE DE DETALHES (Carrossel Interativo + Zoom)
======================================================== */
.detail-showcase {
  width: 100%;
  padding: clamp(60px, 7vw, 96px) 0;
  overflow: hidden;
  background: #f8fafc;
}

.detail-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 40px;
  margin-bottom: 40px;
}

.detail-heading .heading-left {
  flex: 1 1 540px;
  max-width: 700px;
}

.detail-heading .section-desc {
  flex: 1 1 360px;
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.detail-marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
}

.detail-track {
  display: flex;
  width: max-content;
  animation: detail-scroll 45s linear infinite;
  will-change: transform;
}

.detail-marquee:hover .detail-track {
  animation-play-state: paused;
}

.detail-group {
  display: flex;
  gap: 20px;
  padding: 0 10px;
}

.detail-card {
  position: relative;
  flex: 0 0 290px;
  width: 290px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: #cbd5e1;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 21, 40, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.detail-card-wide {
  flex: 0 0 380px;
  width: 380px;
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(11, 21, 40, 0.12);
}

.detail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.detail-card:hover img {
  transform: scale(1.04);
}

.detail-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 14, 27, 0.15) 0%,
    rgba(7, 14, 27, 0.45) 40%,
    rgba(7, 14, 27, 0.95) 100%
  );
  pointer-events: none;
}

.detail-card span {
  position: absolute;
  z-index: 2;
  inset: auto 18px 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.detail-card span small {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  background: rgba(7, 14, 27, 0.85);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.detail-hint {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

@keyframes detail-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 10px));
  }
}

/* ========================================================
   CALL TO ACTION FINAL (Sóbrio, Sem Neon)
======================================================== */
.closing-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(60px, 7vw, 96px) 0;
  background: #ffffff;
}

.closing {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: clamp(48px, 6vw, 72px) clamp(24px, 4vw, 48px);
  color: #fff;
  background: linear-gradient(135deg, #09172f 0%, #034b75 60%, #0284c7 100%);
  box-shadow: 0 16px 40px rgba(3, 75, 117, 0.16);
  text-align: center;
}

.closing .eyebrow {
  color: var(--cyan-accent);
}

.closing h2 {
  color: #ffffff;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}

.closing > p:not(.eyebrow) {
  max-width: 580px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.6;
}

.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--wpp);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.3);
  transition: background 180ms ease, transform 180ms ease;
}

.closing-cta:hover {
  transform: translateY(-2px);
  background: var(--wpp-hover);
}

.closing-cta .icon-wpp {
  width: 22px;
  height: 22px;
}

.cta-arrow {
  width: 18px;
  height: 18px;
  transition: transform 200ms ease;
}

.closing-cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* ========================================================
   RODAPÉ
======================================================== */
footer {
  width: 100%;
  border-top: 1px solid var(--line);
  background: #09172f;
  color: #cbd5e1;
  padding: 32px 0;
  font-size: 13px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #182744;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(24, 39, 68, 0.12);
  margin-bottom: 2px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-brand span {
  font-size: 12px;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f1f5f9;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--cyan-accent);
}

.footer-links .sep {
  color: #475569;
}

.footer-credit {
  width: 100%;
  margin: 8px 0 0;
  color: #64748b;
  font-size: 12px;
}

/* ========================================================
   MODAL DE ZOOM LIGHTBOX
======================================================== */
.zoom-dialog {
  width: min(880px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #09172f;
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.zoom-dialog::backdrop {
  background: rgba(6, 12, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.zoom-content {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
}

.zoom-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #030814;
  border-radius: 18px 18px 0 0;
}

.zoom-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #09172f;
  border-radius: 0 0 18px 18px;
}

.zoom-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.zoom-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 180ms ease;
}

.zoom-close:hover {
  background: #ffffff;
  color: var(--navy);
}

.zoom-close svg {
  width: 20px;
  height: 20px;
}

/* ========================================================
   ANIMAÇÃO DE REVELAÇÃO SUAVE (Scroll Reveal)
======================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ========================================================
   RESPONSIVIDADE (Tablets e Celulares)
======================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-img {
    height: 420px;
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-wide {
    grid-column: span 2;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-container {
    gap: 32px;
  }
  .profile-header {
    gap: 14px;
    margin-bottom: 18px;
  }
  .profile-avatar-box {
    width: 58px;
    height: 58px;
  }
  .profile-name {
    font-size: 17px;
  }
  .topbar-container {
    min-height: 62px;
    justify-content: flex-start;
  }
  .brand-logo-badge {
    padding: 6px 12px;
    border-radius: 10px;
  }
  .brand-logo-img {
    height: 36px;
  }
  .top-contact {
    padding: 8px 14px;
    font-size: 12px;
  }
  h1 {
    font-size: 34px;
  }
  .intro {
    font-size: 15px;
    margin: 14px 0 22px;
  }
  .primary-link {
    min-height: 56px;
    padding: 10px 16px;
  }
  .primary-link-text {
    font-size: 14.5px;
  }
  .hero-img {
    height: 340px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-wide {
    grid-column: span 1;
  }
  .detail-card {
    flex-basis: 240px;
    width: 240px;
    height: 330px;
  }
  .detail-card-wide {
    flex-basis: 300px;
    width: 300px;
  }
  .closing {
    padding: 40px 18px 48px;
    border-radius: 18px;
  }
  .closing h2 {
    font-size: 32px;
  }
  .closing-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .footer-links .sep {
    display: none;
  }
}
