/* ============================================================
   DMR Conecta Talentos — Premium Stylesheet
   ============================================================ */

/* ===== CSS Custom Properties ===== */
:root {
  --primary: #0D9488;
  --primary-dark: #0F766E;
  --primary-light: #14B8A6;
  --primary-lighter: #99F6E4;
  --primary-lightest: #CCFBF1;
  --secondary: #1E293B;
  --accent: #F59E0B;
  --accent-light: #FCD34D;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-dark: #0F172A;
  --bg-dark-lighter: #1E293B;
  --text: #1E293B;
  --text-light: #64748B;
  --text-lighter: #94A3B8;
  --white: #FFFFFF;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-md: 0 6px 12px -2px rgba(0,0,0,0.08), 0 3px 6px -3px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.06);
  --shadow-primary: 0 8px 24px rgba(13,148,136,0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ===== Selection ===== */
::selection {
  background: var(--primary-lighter);
  color: var(--primary-dark);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 24px rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(13, 148, 136, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.logo-dmr {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-sub {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  transition: color 0.4s ease;
}

.header.scrolled .logo-sub {
  color: var(--secondary);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  margin-right: auto;
  margin-left: 40px;
}

.nav-list {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-light);
}

.header.scrolled .nav-link {
  color: var(--text);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--primary);
}

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(13,148,136,0.3);
  z-index: 10;
}

.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,148,136,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .hamburger span {
  background: var(--secondary);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 5;
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
}

.mobile-nav-link:hover {
  color: var(--primary-light);
}

.mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 16px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero:hover .hero-bg {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0.7) 40%,
    rgba(13, 148, 136, 0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding-top: 100px;
  padding-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  justify-content: center;
  margin-bottom: 40px;
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}

.badge-pill:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.badge-pill i {
  color: var(--primary-light);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary-hero {
  background: var(--primary);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  box-shadow: var(--shadow-primary);
}

.btn-primary-hero:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13,148,136,0.35);
}

.btn-outline-hero {
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-hero:hover {
  background: var(--white);
  color: var(--secondary);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* Geometric Shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 50%;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -5%;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
  width: 180px;
  height: 180px;
  bottom: 15%;
  right: 15%;
  border-radius: 30%;
  animation: floatShape 10s ease-in-out infinite 1s;
}

.shape-3 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 25%;
  animation: floatShape 7s ease-in-out infinite 0.5s;
}

.shape-4 {
  width: 80px;
  height: 80px;
  bottom: 25%;
  left: 60%;
  border-radius: 20%;
  animation: floatShape 9s ease-in-out infinite 2s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(15px, -25px) rotate(5deg); }
  50% { transform: translate(25px, -15px) rotate(-3deg); }
  75% { transform: translate(-10px, -30px) rotate(7deg); }
}

/* ============================================================
   SECTIONS — Common
   ============================================================ */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  margin: 0 auto 16px;
  border-radius: 2px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   QUEM SOMOS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 24px;
  line-height: 1.3;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 1.02rem;
}

.about-text p strong {
  color: var(--primary-dark);
}

.about-highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1.02rem;
  margin-top: 24px;
  line-height: 1.7;
  position: relative;
}

.about-highlight i {
  font-size: 1.5rem;
  opacity: 0.4;
  margin-bottom: 8px;
  display: block;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,148,136,0.15), transparent);
  pointer-events: none;
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Counters */
.counters-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.counter-item {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

.counter-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.counter-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.counter-label {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Values Bar */
.values-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.value-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lighter);
}

.value-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.value-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  display: block;
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.service-card-icon i {
  font-size: 1.75rem;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.service-card ul {
  padding: 0;
}

.service-card ul li {
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--text-light);
  font-size: 0.95rem;
  position: relative;
}

.service-card ul li:last-child {
  border-bottom: none;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Service Levels (Card 2) */
.service-levels li {
  padding: 14px 0 14px 28px !important;
}

.service-level-name {
  display: block;
  font-weight: 600;
  color: var(--secondary) !important;
  font-size: 1rem !important;
}

.service-level-desc {
  display: block;
  font-size: 0.88rem !important;
  color: var(--text-light);
  margin-top: 2px;
}

.service-card-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid var(--bg-alt);
  font-style: italic;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============================================================
   SEGMENTOS
   ============================================================ */
.segments-intro {
  text-align: center;
  max-width: 700px;
  margin: -20px auto 48px;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.segment-item {
  text-align: center;
  padding: 36px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: default;
}

.segment-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lighter);
}

.segment-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
  transition: var(--transition);
}

.segment-item:hover i {
  transform: scale(1.15);
  color: var(--primary-dark);
}

.segment-item span {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.92rem;
  display: block;
}

/* ============================================================
   PORTFOLIO CTA
   ============================================================ */
.portfolio-cta {
  background: var(--bg-dark);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.portfolio-cta-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.portfolio-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), transparent);
  opacity: 0.06;
}

.portfolio-shape-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
}

.portfolio-shape-2 {
  width: 250px;
  height: 250px;
  bottom: -80px;
  left: -60px;
}

.portfolio-shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.portfolio-cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.portfolio-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.portfolio-cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-cta-content p {
  color: var(--text-lighter);
  font-size: 1.15rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.btn-portfolio {
  background: var(--primary);
  color: var(--white);
  padding: 18px 42px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: var(--shadow-primary);
}

.btn-portfolio:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13,148,136,0.4);
}

/* ============================================================
   PROCESSO (Timeline)
   ============================================================ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-light), var(--primary-dark));
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 44px);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 44px);
}

.timeline-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg-alt), var(--shadow-primary);
  flex-shrink: 0;
}

.timeline-content {
  background: var(--white);
  padding: 28px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
  width: 100%;
}

.timeline-content:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.diferencial-card {
  background: var(--white);
  padding: 40px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
  text-align: center;
}

.diferencial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lighter);
}

.diferencial-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
  transition: var(--transition);
}

.diferencial-card:hover i {
  transform: scale(1.1);
}

.diferencial-card h3 {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.diferencial-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Risco Zero */
.risco-zero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  margin-top: 48px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.risco-zero::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -100px;
  right: -80px;
}

.risco-zero::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  bottom: -60px;
  left: -40px;
}

.risco-zero i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.9;
  display: block;
}

.risco-zero h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.risco-zero p {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   VAGAS
   ============================================================ */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.job-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lighter);
}

.job-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.job-badge {
  display: inline-block;
  background: var(--primary-lightest);
  color: var(--primary-dark);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-pj {
  background: #FEF3C7;
  color: #92400E;
}

.job-card h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.job-location {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-location i {
  color: var(--primary);
}

.job-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
  flex: 1;
}

.job-apply-btn {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.job-apply-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* Talent Bank Card */
.talent-bank-card {
  border: 2px dashed var(--primary);
  background: var(--bg-alt);
  text-align: center;
  justify-content: center;
  align-items: center;
}

.talent-bank-card > i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.talent-bank-btn {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary) !important;
}

.talent-bank-btn:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--primary);
  color: var(--white);
}

.modal-content h2 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 4px;
}

.modal-job-label {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.modal-job-label strong {
  color: var(--primary);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group label .optional {
  font-weight: 400;
  color: var(--text-lighter);
  font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}

.form-group input.valid {
  border-color: #10B981;
}

.form-group input.invalid {
  border-color: #EF4444;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* File Upload */
.file-upload-area {
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  background: var(--bg-alt);
}

.file-upload-area:hover,
.file-upload-area.dragover {
  border-color: var(--primary);
  background: var(--primary-lightest);
}

.file-upload-area i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.file-upload-text {
  display: block;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 4px;
}

.file-upload-info {
  display: block;
  font-size: 0.85rem;
  color: var(--text-lighter);
}

.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-name {
  display: block;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--primary-dark);
  font-weight: 500;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 16px;
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}

.btn-loading .spinner {
  display: inline-block;
}

.btn-loading {
  pointer-events: none;
  opacity: 0.75;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.form-success,
.form-error {
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 16px;
  display: none;
}

.form-success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #6EE7B7;
}

.form-error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.form-success i,
.form-error i {
  font-size: 1.75rem;
  margin-bottom: 8px;
  display: block;
}

.form-success p,
.form-error p {
  font-size: 0.92rem;
  margin-top: 4px;
  opacity: 0.85;
}

/* ============================================================
   CONTATO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

.contact-info-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.whatsapp-icon {
  background: #25D366;
}

.instagram-icon {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
}

.linkedin-icon {
  background: #0A66C2;
}

.contact-info-item div strong {
  display: block;
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-info-item div span {
  color: var(--text-light);
  font-size: 0.88rem;
}

.qr-code-container {
  text-align: center;
  margin-top: 12px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.qr-code-container p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
  font-weight: 500;
}

.qr-code-container img {
  border-radius: 8px;
  margin: 0 auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo .logo-dmr {
  font-size: 1.75rem;
}

.footer-logo .logo-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
}

.footer-col p {
  line-height: 1.7;
  font-size: 0.92rem;
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  margin-top: 48px;
  text-align: center;
  font-size: 0.88rem;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulseWA 2s ease-in-out infinite;
}

.whatsapp-float a:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37,211,102,0.55);
  animation: none;
}

@keyframes pulseWA {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.whatsapp-tooltip {
  position: absolute;
  right: 76px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--secondary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--secondary);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  right: 72px;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="50"]  { transition-delay: 50ms; }
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="150"] { transition-delay: 150ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="250"] { transition-delay: 250ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }
.reveal[data-delay="350"] { transition-delay: 350ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }
.reveal[data-delay="450"] { transition-delay: 450ms; }
.reveal[data-delay="500"] { transition-delay: 500ms; }

/* ============================================================
   RESPONSIVE — Tablet (<=1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    height: 350px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .segments-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-bar {
    grid-template-columns: repeat(3, 1fr);
  }

  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    left: 28px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-right: 0;
    padding-left: 80px;
  }

  .timeline-number {
    left: 28px;
    transform: translateX(-50%);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (<=768px)
   ============================================================ */
@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  /* Header */
  .nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-inner {
    height: 68px;
  }

  /* Hero */
  .hero-content {
    padding-top: 90px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn-primary-hero,
  .btn-outline-hero {
    text-align: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
  }

  .hero-badges {
    gap: 8px;
  }

  .badge-pill {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  /* About */
  .counters-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .values-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-image img {
    height: 280px;
  }

  /* Segments */
  .segments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Diferenciais */
  .diferenciais-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .risco-zero {
    padding: 36px 24px;
  }

  /* Timeline */
  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 64px;
  }

  .timeline-number {
    left: 20px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .timeline-content {
    padding: 20px 24px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Forms */
  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 32px 24px;
  }

  /* Jobs */
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RESPONSIVE — Small Mobile (<=480px)
   ============================================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .segments-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .segment-item {
    padding: 24px 12px;
  }

  .segment-item i {
    font-size: 2rem;
  }

  .values-bar {
    grid-template-columns: 1fr;
  }

  .counter-number {
    font-size: 2.25rem;
  }

  .portfolio-cta {
    padding: 60px 0;
  }

  .btn-portfolio {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float a {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .back-to-top {
    bottom: 84px;
    right: 24px;
    width: 42px;
    height: 42px;
  }
}
