/* =====================================================
   4THINKS — Tema baseado no Nexora (Bootstrap 5)
   Cor de destaque: #f4623a
   ===================================================== */

:root {
  /* Cores */
  --n-primary: #f4623a;
  --n-primary-dark: #e64417;
  --n-secondary: #f7931e;
  --n-navy: #0B1437;
  --n-success: #12B76A;
  --n-slate: #667085;
  --n-slate-light: #98A2B3;
  --n-bg: #F7F9FC;
  --n-bg-alt: #FFF1EC;
  --n-border: #E4E7EC;
  --n-white: #FFFFFF;

  /* Gradientes */
  --n-gradient-primary: linear-gradient(135deg, #f4623a 0%, #f7931e 100%);
  --n-gradient-soft: linear-gradient(135deg, #FFF3EE 0%, #FFF8EE 100%);
  --n-gradient-dark: linear-gradient(135deg, #0B1437 0%, #1A2456 100%);

  /* Tipografia */
  --n-font-display: 'Sora', sans-serif;
  --n-font-body: 'Inter', sans-serif;

  /* Espaçamento */
  --n-space-xs: 0.5rem;
  --n-space-sm: 1rem;
  --n-space-md: 1.5rem;
  --n-space-lg: 2.5rem;
  --n-space-xl: 4rem;
  --n-space-2xl: 6rem;

  /* Raios */
  --n-radius-sm: 8px;
  --n-radius-md: 14px;
  --n-radius-lg: 20px;
  --n-radius-pill: 100px;

  /* Sombras */
  --n-shadow-sm: 0 2px 8px rgba(11, 20, 55, 0.06);
  --n-shadow-md: 0 8px 24px rgba(11, 20, 55, 0.08);
  --n-shadow-lg: 0 20px 48px rgba(11, 20, 55, 0.12);
  --n-shadow-primary: 0 12px 28px rgba(244, 98, 58, 0.28);

  /* Bootstrap */
  --bs-primary: #f4623a;
  --bs-primary-rgb: 244, 98, 58;
  --bs-link-color: #f4623a;
  --bs-link-color-rgb: 244, 98, 58;
  --bs-link-hover-color: #e64417;
  --bs-link-hover-color-rgb: 230, 68, 23;
  --bs-body-font-family: var(--n-font-body);
  --bs-body-color: var(--n-slate);
  --bs-body-bg: var(--n-white);
}

/* =====================================================
   BASE
   ===================================================== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--n-font-body);
  color: var(--n-slate);
  background-color: var(--n-white);
  -webkit-font-smoothing: antialiased;
  /* "clip" em vez de "hidden": hidden força overflow-y:auto no body e quebra o ScrollSpy do menu */
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: var(--n-font-display);
  color: var(--n-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-weight: 800; }

p { line-height: 1.7; }

a { text-decoration: none; }

.text-primary,
.text-primary-custom { color: var(--n-primary) !important; }
.text-slate { color: var(--n-slate) !important; }
.text-navy { color: var(--n-navy) !important; }
.bg-soft { background-color: var(--n-bg) !important; }
.bg-navy { background-color: var(--n-navy) !important; }

.section { padding-top: var(--n-space-2xl); padding-bottom: var(--n-space-2xl); }

@media (max-width: 767.98px) {
  .section { padding-top: var(--n-space-xl); padding-bottom: var(--n-space-xl); }
}

/* Âncoras não ficam escondidas atrás do menu fixo */
section[id], header[id] { scroll-margin-top: 80px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--n-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--n-primary);
  background: var(--n-bg-alt);
  padding: 0.4rem 1rem;
  border-radius: var(--n-radius-pill);
  margin-bottom: var(--n-space-sm);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--n-primary);
  display: inline-block;
}

.eyebrow-dark { background: rgba(255, 255, 255, 0.08); }

.section-title { margin-bottom: var(--n-space-sm); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--n-slate);
  max-width: 620px;
}
.section-header { margin-bottom: var(--n-space-xl); }

/* =====================================================
   BOTÕES
   ===================================================== */
.btn {
  font-family: var(--n-font-display);
  font-weight: 600;
  border-radius: var(--n-radius-sm);
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border-width: 1.5px;
}

.btn-primary {
  background: var(--n-gradient-primary);
  border: none;
  box-shadow: var(--n-shadow-primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(244, 98, 58, 0.34);
  color: #fff;
  background: var(--n-gradient-primary);
}

.btn-primary:disabled {
  background: var(--n-gradient-primary);
  opacity: 0.65;
  transform: none;
}

.btn-light-custom {
  background: #fff;
  color: var(--n-navy);
  border: 1.5px solid var(--n-border);
}

.btn-light-custom:hover {
  background: var(--n-bg);
  color: var(--n-navy);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: transparent;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-lg-custom { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm-custom { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar-nexora {
  padding: 1rem 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar-nexora.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--n-shadow-sm);
}

.navbar-nexora .navbar-brand img {
  height: 56px;
  width: auto;
  transition: height 0.3s ease;
}

.navbar-nexora.scrolled .navbar-brand img { height: 46px; }

.navbar-nexora .nav-link {
  font-family: var(--n-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--n-slate) !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--n-radius-sm);
  transition: all 0.2s ease;
}

.navbar-nexora .nav-link:hover,
.navbar-nexora .nav-link.active {
  color: var(--n-primary) !important;
  background: var(--n-bg-alt);
}

.navbar-nexora .btn.nav-link,
.navbar-nexora .btn.nav-link:hover,
.navbar-nexora .btn.nav-link.active {
  color: #fff !important;
  background: var(--n-gradient-primary);
  padding: 0.5rem 1.25rem !important;
}

.navbar-toggler-custom {
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--n-radius-sm);
  background: var(--n-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  padding: 0;
}

.navbar-toggler-custom:focus { box-shadow: none; }

.navbar-toggler-custom .bar {
  width: 20px;
  height: 2px;
  background: var(--n-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-toggler-custom.active .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navbar-toggler-custom.active .bar:nth-child(2) { opacity: 0; }
.navbar-toggler-custom.active .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 991.98px) {
  .navbar-nexora .navbar-collapse {
    background: #fff;
    border-radius: var(--n-radius-md);
    box-shadow: var(--n-shadow-md);
    padding: 0.75rem;
    margin-top: 0.75rem;
  }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 6rem;
  background: var(--n-gradient-soft);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 147, 30, 0.16) 0%, rgba(244, 98, 58, 0.06) 60%, transparent 100%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 98, 58, 0.10) 0%, transparent 70%);
  z-index: 0;
}

.hero-content { position: relative; z-index: 2; }

.hero h1 { font-size: 3.25rem; line-height: 1.15; }

@media (max-width: 991.98px) {
  .hero { padding-top: 8rem; text-align: center; }
  .hero h1 { font-size: 2.4rem; }
  .hero .section-subtitle { margin-left: auto; margin-right: auto; }
}

@media (max-width: 575.98px) {
  .hero h1 { font-size: 2rem; }
}

.hero-visual {
  position: relative;
  z-index: 1;
}

/* Cards flutuantes de tecnologias */
.tech-cloud {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 1.25rem;
  max-width: 500px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

/* Brilho laranja atrás dos cards */
.tech-cloud::before {
  content: '';
  position: absolute;
  inset: 10% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 98, 58, 0.18) 0%, transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.tech-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  box-shadow: var(--n-shadow-md);
  padding: 1rem 1.1rem;
  font-family: var(--n-font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--n-navy);
  text-align: left;
  animation: tech-float 6s ease-in-out infinite;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.tech-card small {
  display: block;
  font-family: var(--n-font-body);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--n-slate);
  margin-top: 0.15rem;
}

.tech-card .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.15rem;
}

.tech-card:hover {
  box-shadow: var(--n-shadow-lg);
  border-color: rgba(244, 98, 58, 0.35);
}

/* Rotação e ritmo individuais (a rotação entra na animação via --r) */
.tech-card:nth-child(1) { --r: -5deg; animation-delay: 0s; }
.tech-card:nth-child(2) { --r: 4deg; animation-delay: -1.5s; animation-duration: 7s; }
.tech-card:nth-child(3) { --r: -2deg; animation-delay: -3s; animation-duration: 5.5s; }
.tech-card:nth-child(4) { --r: 6deg; animation-delay: -4.5s; animation-duration: 8s; }
.tech-card:nth-child(5) { --r: -4deg; animation-delay: -2s; animation-duration: 7.5s; }
.tech-card:nth-child(6) { --r: 3deg; animation-delay: -5s; animation-duration: 6.5s; }

@keyframes tech-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) * -0.4)); }
}

/* Desktop: cards espalhados livremente */
@media (min-width: 992px) {
  .tech-cloud {
    display: block;
    height: 480px;
    max-width: 540px;
    padding-bottom: 0;
  }

  .tech-card {
    position: absolute;
    width: max-content;
    max-width: 230px;
  }

  .tech-card:hover { z-index: 5; }

  .tech-card:nth-child(1) { top: 2%;  left: 0; }
  .tech-card:nth-child(2) { top: 10%; right: 2%; padding: 1.25rem 1.4rem; font-size: 1rem; }
  .tech-card:nth-child(3) { top: 35%; left: 26%; }
  .tech-card:nth-child(4) { top: 58%; left: 4%; padding: 0.8rem 1rem; font-size: 0.85rem; }
  .tech-card:nth-child(5) { top: 62%; right: 0; }
  .tech-card:nth-child(6) { top: 85%; left: 38%; padding: 0.8rem 1rem; font-size: 0.85rem; }

  .tech-card:nth-child(2) .icon-box { width: 52px; height: 52px; font-size: 1.35rem; }
  .tech-card:nth-child(4) .icon-box,
  .tech-card:nth-child(6) .icon-box { width: 38px; height: 38px; font-size: 1rem; }
}

/* Tablet/celular: grade, mas com deslocamentos irregulares */
@media (max-width: 991.98px) {
  .tech-card:nth-child(2) { margin-top: 2rem; }
  .tech-card:nth-child(3) { margin-left: 1.25rem; margin-right: -0.5rem; }
  .tech-card:nth-child(4) { margin-top: 1rem; }
  .tech-card:nth-child(5) { margin-top: -0.5rem; margin-right: 1rem; }
  .tech-card:nth-child(6) { margin-top: 1.5rem; margin-left: -0.5rem; }
}

@media (max-width: 575.98px) {
  .tech-cloud { gap: 0.75rem; padding-bottom: 1.5rem; }
  .tech-card { flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 0.9rem; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tech-card { animation: none; transform: rotate(var(--r, 0deg)); }
}

.hero-float-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--n-radius-md);
  box-shadow: var(--n-shadow-md);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--n-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--n-navy);
  z-index: 3;
  text-align: left;
}

.hero-float-badge.badge-1 { top: -1.5rem; left: -1.5rem; }
.hero-float-badge.badge-2 { bottom: -1.5rem; right: -1.5rem; }

.hero-float-badge .icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  .hero-float-badge { padding: 0.6rem 0.9rem; font-size: 0.75rem; }
  .hero-float-badge.badge-1 { top: -1rem; left: -0.5rem; }
  .hero-float-badge.badge-2 { bottom: -1rem; right: -0.5rem; }
}

/* =====================================================
   TECNOLOGIAS (faixa de logos)
   ===================================================== */
.tech-stack-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n-slate);
  margin-bottom: 1.75rem;
}

.tech-stack-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.5rem;
}

.tech-stack-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--n-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--n-slate-light);
  opacity: 0.75;
  filter: grayscale(1);
  transition: all 0.25s ease;
  cursor: default;
}

.tech-stack-item i { font-size: 1.75rem; }

.tech-stack-item:hover {
  opacity: 1;
  filter: none;
  color: var(--n-navy);
  transform: translateY(-3px);
}

@media (max-width: 575.98px) {
  .tech-stack-list { gap: 1rem 1.5rem; }
  .tech-stack-item { font-size: 0.9rem; }
  .tech-stack-item i { font-size: 1.4rem; }
}

/* =====================================================
   ICON BOXES
   ===================================================== */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--n-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.icon-box-primary { background: var(--n-bg-alt); color: var(--n-primary); }
.icon-box-secondary { background: #FFF6E6; color: var(--n-secondary); }
.icon-box-success { background: #E7F9F0; color: var(--n-success); }
.icon-box-lg { width: 72px; height: 72px; font-size: 2rem; border-radius: var(--n-radius-md); }

/* =====================================================
   CARDS
   ===================================================== */
.card-premium {
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  box-shadow: var(--n-shadow-sm);
  transition: all 0.3s ease;
  padding: var(--n-space-lg);
  height: 100%;
}

.card-premium:hover {
  box-shadow: var(--n-shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}

.card-premium .card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card-link-arrow {
  font-family: var(--n-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--n-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
  background: none;
  border: none;
  padding: 0;
}

.card-link-arrow:hover { gap: 0.7rem; color: var(--n-primary-dark); }

/* Card de produto */
.product-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card-body {
  padding: var(--n-space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-body p { flex: 1; }

.tag-pill {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--n-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--n-primary);
  background: var(--n-bg-alt);
  padding: 0.3rem 0.8rem;
  border-radius: var(--n-radius-pill);
  margin-bottom: 0.75rem;
}

/* =====================================================
   SOBRE
   ===================================================== */
.rounded-img { border-radius: var(--n-radius-lg); }

/* Foto com borda orgânica ("blob") */
.about-visual {
  position: relative;
  padding: 1rem;
}

/* Mancha laranja atrás da foto, levemente deslocada */
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--n-gradient-primary);
  opacity: 0.18;
  border-radius: 42% 58% 63% 37% / 45% 38% 62% 55%;
  transform: translate(14px, 14px) rotate(-4deg);
  animation: blob-morph 14s ease-in-out infinite reverse;
  z-index: 0;
}

/* Segunda camada, laranja mais escuro, deslocada para o lado oposto */
.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--n-gradient-primary);
  opacity: 0.18;
  border-radius: 55% 45% 40% 60% / 60% 42% 58% 40%;
  transform: translate(-12px, -10px) rotate(5deg);
  animation: blob-morph 18s ease-in-out infinite;
  animation-delay: -6s;
  z-index: 0;
}

.about-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 40% center;
  border-radius: 58% 42% 38% 62% / 42% 55% 45% 58%;
  box-shadow: var(--n-shadow-lg);
  animation: blob-morph 14s ease-in-out infinite;
}

@keyframes blob-morph {
  0%, 100% { border-radius: 58% 42% 38% 62% / 42% 55% 45% 58%; }
  33% { border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; }
  66% { border-radius: 52% 48% 45% 55% / 38% 60% 40% 62%; }
}

@media (prefers-reduced-motion: reduce) {
  .about-img, .about-visual::before, .about-visual::after { animation: none; }
}

.list-check {
  list-style: none;
  padding: 0;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.list-check li > i {
  color: var(--n-primary);
  background: var(--n-bg-alt);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* =====================================================
   CLIENTES (faixa de logos em rolagem infinita)
   ===================================================== */
.clients-marquee {
  overflow: hidden;
  padding: 1rem 0 1.5rem;
  /* Esmaece as bordas da faixa */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.clients-track {
  display: flex;
  width: max-content;
  animation: clients-scroll 40s linear infinite;
}

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

.clients-group {
  display: flex;
  gap: 1.5rem;
  padding-right: 1.5rem;
}

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-logo {
  width: 240px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  box-shadow: var(--n-shadow-sm);
  padding: 1.25rem 1.25rem 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
}

.client-logo:hover {
  box-shadow: var(--n-shadow-md);
  border-color: rgba(244, 98, 58, 0.35);
  transform: translateY(-6px);
}

.client-logo-img {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--n-radius-sm);
}

.client-logo span {
  display: block;
  font-family: var(--n-font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--n-slate);
  margin-top: 0.85rem;
  transition: color 0.3s ease;
}

.client-logo:hover span { color: var(--n-primary); }

@media (max-width: 575.98px) {
  .client-logo { width: 170px; padding: 1rem 1rem 0.75rem; }
  .client-logo-img { height: 76px; }
  .clients-track { animation-duration: 30s; }
}

/* Sem animação: vira uma grade com todos os logos */
@media (prefers-reduced-motion: reduce) {
  .clients-marquee { -webkit-mask-image: none; mask-image: none; }
  .clients-track { animation: none; width: auto; }
  .clients-group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .clients-group[aria-hidden="true"] { display: none; }
}

/* =====================================================
   FORMULÁRIOS
   ===================================================== */
.form-control,
.form-select {
  border: 1.5px solid var(--n-border);
  border-radius: var(--n-radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  background-color: var(--n-bg);
  color: var(--n-navy);
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--n-primary);
  box-shadow: 0 0 0 4px rgba(244, 98, 58, 0.12);
  background-color: #fff;
}

.form-label {
  font-family: var(--n-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--n-navy);
  margin-bottom: 0.5rem;
}

.form-card {
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-lg);
  box-shadow: var(--n-shadow-md);
  padding: var(--n-space-lg);
}

@media (max-width: 575.98px) {
  .form-card { padding: var(--n-space-md); }
}

/* Cards de informação de contato */
.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  box-shadow: var(--n-shadow-sm);
  padding: var(--n-space-md);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  box-shadow: var(--n-shadow-md);
  transform: translateY(-4px);
}

.contact-info-card h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-card a {
  color: var(--n-slate);
  word-break: break-word;
}

.contact-info-card a:hover { color: var(--n-primary); }

/* Ícones sociais */
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--n-bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--n-primary) !important;
  transition: all 0.2s ease;
}

.social-icon:hover {
  background: var(--n-primary);
  color: #fff !important;
  transform: translateY(-3px);
}

.social-icon-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}

/* =====================================================
   TRABALHE CONOSCO (bloco escuro, estilo CTA)
   ===================================================== */
.cta-section {
  background: var(--n-gradient-dark);
  border-radius: var(--n-radius-lg);
  padding: var(--n-space-xl) var(--n-space-lg);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 98, 58, 0.28) 0%, transparent 70%);
}

.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255, 255, 255, 0.7); }

.cta-section .form-label { color: rgba(255, 255, 255, 0.85); }

.cta-section .form-control {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.cta-section .form-control::placeholder { color: rgba(255, 255, 255, 0.45); }

.cta-section .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--n-primary);
}

@media (max-width: 575.98px) {
  .cta-section { padding: var(--n-space-lg) var(--n-space-md); }
}

/* Upload de currículo */
.arquivo { display: none; }

.file-group {
  display: flex;
  gap: 0.5rem;
}

.file-group .file { flex: 1; min-width: 0; cursor: default; }

.btn-file {
  flex-shrink: 0;
  font-family: var(--n-font-display);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--n-radius-sm);
  background: transparent;
  color: #fff;
  padding: 0 1.1rem;
  transition: all 0.2s ease;
}

.btn-file:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

@media (max-width: 575.98px) {
  .file-group { flex-direction: column; }
  .btn-file { padding: 0.75rem 1.1rem; }
}

/* =====================================================
   MODAIS DE PRODUTOS
   ===================================================== */
.modal-content {
  border: none;
  border-radius: var(--n-radius-lg);
  box-shadow: var(--n-shadow-lg);
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--n-border);
  padding: 1.25rem 1.5rem;
}

.modal-title {
  font-family: var(--n-font-display);
  font-weight: 800;
  color: var(--n-navy);
}

.modal-body {
  padding: 1.5rem;
  color: var(--n-slate);
  text-align: justify;
}

.modal-body h4,
.modal-body h5 {
  color: var(--n-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

.modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--n-radius-sm);
}

.modal-body .modal-cover {
  display: block;
  width: 100%;
  border-radius: var(--n-radius-md);
  margin-bottom: 1.5rem;
}

.modal-body .img-grid {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
  align-items: center;
}

.modal-body .img-grid-2 { grid-template-columns: repeat(2, 1fr); }
.modal-body .img-grid-3 { grid-template-columns: repeat(3, 1fr); }

.modal-body .img-single {
  display: block;
  margin: 1rem auto;
}

.modal-body .highlight { color: var(--n-primary); font-weight: 600; }

.modal-body ul { padding-left: 1.25rem; }
.modal-body ul li { margin-bottom: 0.35rem; }

.modal-footer {
  border-top: 1px solid var(--n-border);
  padding: 1rem 1.5rem;
}

/* =====================================================
   RODAPÉ
   ===================================================== */
.footer-nexora {
  background: var(--n-navy);
  color: rgba(255, 255, 255, 0.65);
  padding-top: var(--n-space-xl);
}

.footer-nexora h6 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--n-space-md);
}

.footer-nexora .footer-link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.footer-nexora .footer-link:hover { color: #fff; }

.footer-logo {
  height: 72px;
  width: auto;
  opacity: 0.85;
  /* Inverte o texto preto para branco mantendo o laranja */
  filter: invert(1) hue-rotate(180deg);
  transition: opacity 0.4s ease;
}

.footer-logo:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: var(--n-space-xl);
  padding: var(--n-space-md) 0;
  font-size: 0.85rem;
}

/* =====================================================
   SNACKBAR
   ===================================================== */
#snackbar {
  visibility: hidden;
  min-width: 280px;
  max-width: calc(100% - 2rem);
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: var(--n-radius-md);
  box-shadow: var(--n-shadow-lg);
  font-family: var(--n-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 1rem 1.5rem;
  position: fixed;
  z-index: 2000;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
}

#snackbar.show {
  visibility: visible;
  animation: fadein 0.5s;
}

@keyframes fadein {
  from { bottom: 0; opacity: 0; }
  to { bottom: 30px; opacity: 1; }
}

/* =====================================================
   ANIMAÇÕES
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.heartbeat:hover { animation: heartbeat 1.5s ease-in-out infinite both; }

@keyframes heartbeat {
  from { transform: scale(1); transform-origin: center center; animation-timing-function: ease-out; }
  10% { transform: scale(.91); animation-timing-function: ease-in; }
  17% { transform: scale(.98); animation-timing-function: ease-out; }
  33% { transform: scale(.87); animation-timing-function: ease-in; }
  45% { transform: scale(1); animation-timing-function: ease-out; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-premium:hover, .btn:hover { transform: none; }
  .heartbeat:hover { animation: none; }
}

/* Voltar ao topo */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--n-gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--n-shadow-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
  border: none;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
