/* ========================================
   VAGA IDEAL - Mobile-First Landing Page
   ======================================== */

:root {
  --bg: #f3f4f6;
  --card-bg: #ffffff;
  --primary: #10b981;
  --primary-soft: #ecfdf5;
  --text: #111827;
  --text-soft: #6b7280;
  --radius-xl: 18px;
  --shadow-soft: 0 16px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e0f2fe 0, #f3f4f6 45%) no-repeat,
    var(--bg);
  display: flex;
  justify-content: center;
  padding: 24px 16px 32px;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shell {
  width: 100%;
  max-width: 440px;
}

/* ========================================
   PROFILE CARD (Header)
   ======================================== */
.profile-card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 20px 20px 24px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
  border: 1px solid #e5e7eb;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 700;
  font-size: 22px;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
  flex-shrink: 0;
}

.profile-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.profile-sub {
  font-size: 13px;
  color: var(--text-soft);
}

/* Tag */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #047857;
  font-size: 13px;
  font-weight: 600;
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Intro text */
.intro {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.5;
}

.intro strong {
  color: var(--text);
}

/* Group label */
.group-label {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ========================================
   LINK CARDS (Vagas)
   ======================================== */
.links-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Urgent section label */
.urgent-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
  color: #b45309;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: flex-start;
  margin-bottom: 4px;
}

.urgent-icon {
  font-size: 14px;
  animation: shake 2s infinite;
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

/* Section sub-label */
.section-sublabel {
  margin-top: 14px;
  margin-bottom: 2px;
  font-size: 12px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease, background 0.15s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
  border-color: #d1fae5;
  background: #f9fffb;
}

.link-card:active {
  transform: translateY(0);
}

/* Urgent variant */
.link-card-urgent {
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
  border-color: #fed7aa;
  border-left: 4px solid #f97316;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.12);
}

.link-card-urgent:hover {
  border-color: #fdba74;
  background: linear-gradient(135deg, #fef3c7 0%, #ffedd5 100%);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.18);
}

.link-card-urgent .icon-pill {
  background: #ffedd5;
}

.link-card-urgent .icon-pill svg {
  stroke: #ea580c;
}

.link-card-urgent .link-cta {
  color: #c2410c;
}

.link-card-urgent:hover .link-arrow {
  stroke: #ea580c;
}

.icon-pill {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-pill svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
}

.link-texts {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.link-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.link-cta {
  font-size: 13px;
  font-weight: 600;
  color: #059669;
}

.link-arrow {
  width: 18px;
  height: 18px;
  stroke: #9ca3af;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.link-card:hover .link-arrow {
  transform: translateX(3px);
  stroke: #059669;
}

/* ========================================
   CAROUSEL
   ======================================== */
.carousel-section {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
  border: 1px solid #e5e7eb;
}

.carousel-section .group-label {
  margin-top: 0;
  margin-bottom: 14px;
}

.carousel {
  width: 100%;
  overflow-x: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 12px;
  padding: 4px 0;
  width: max-content;
}

.carousel-track img {
  flex-shrink: 0;
  width: 280px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

@media (min-width: 480px) {
  .carousel-track img {
    width: 320px;
  }
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
  border: 1px solid #e5e7eb;
}

.how-it-works .group-label {
  margin-top: 0;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #f9fafb;
  border-radius: 14px;
  border: 1px solid #f3f4f6;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #059669;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text {
  flex: 1;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.step-desc {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 2px;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  font-size: 11px;
  color: var(--text-soft);
  text-align: center;
  padding: 8px 0;
}

/* ========================================
   RESPONSIVE - Larger screens
   ======================================== */
@media (min-width: 480px) {
  body {
    padding: 32px 24px 48px;
  }

  .profile-card {
    padding: 24px 24px 28px;
  }

  .link-card {
    padding: 16px;
  }

  .how-it-works {
    padding: 24px;
  }
}

@media (min-width: 768px) {
  .shell {
    max-width: 480px;
  }

  .profile-title {
    font-size: 22px;
  }

  .tag {
    font-size: 14px;
  }

  .link-title {
    font-size: 16px;
  }
}
