/* ============================================
   IMPÉRIO CONTÁBIL — Links Page
   Mobile-first | Plus Jakarta Sans
   ============================================ */

:root {
  --brand:        #20B1C2;
  --brand-dark:   #18AEBF;
  --white:        #ffffff;
  --bg:           #f8f8f8;
  --text:         #1a1a1a;
  --text-muted:   #6b7280;
  --border:       #e5e7eb;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    18px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ============================================
   HERO
   ============================================ */

.hero {
  background: linear-gradient(180deg, var(--brand) 0%, var(--bg) 100%);
  padding: 48px 24px 36px;
  text-align: center;
}

.hero__inner {
  max-width: 480px;
  margin: 0 auto;
}

.hero__logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 20px;
  /* logo is white — no filter needed on teal bg */
}

.hero__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

.hero__headline {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.82) 0px,
    rgba(255, 255, 255, 0.82) 310px,
    rgba(255, 255, 255, 1.00) 350px,
    rgba(255, 255, 255, 0.82) 390px,
    rgba(255, 255, 255, 0.82) 420px
  );
  animation: shimmerText 4s linear infinite;
}

.hero__accent {
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: repeating-linear-gradient(
    90deg,
    #0a2d35 0px,
    #0a2d35 310px,
    #2d8c9e 350px,
    #0a2d35 390px,
    #0a2d35 420px
  );
  animation: shimmerText 4s linear infinite;
}

@keyframes shimmerText {
  from { background-position: 0 0; }
  to   { background-position: 420px 0; }
}

.hero__sub {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #0a2d35;
  margin-bottom: 28px;
}

.hero__socials {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  color: #0d3d45;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  transition: background 0.2s, transform 0.15s;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

/* ============================================
   MAIN
   ============================================ */

.main {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

.section {
  margin-top: 32px;
}

.section__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

/* ============================================
   LINKS LIST
   ============================================ */

.links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform 0.15s, box-shadow 0.15s;
}

.link-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.link-item:active {
  transform: translateY(0);
}

/* Primary (highlighted) link item */
.link-item--primary {
  background: var(--brand);
  border-color: var(--brand-dark);
  color: var(--white);
}

.link-item--primary .link-item__label {
  color: var(--white);
}

.link-item--primary .link-item__sub {
  color: rgba(255, 255, 255, 0.85);
}

.link-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.link-item__icon--muted {
  background: #f0f0f0;
  color: var(--brand);
}

.link-item__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-item__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.link-item__sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
}

.link-item__arrow {
  flex-shrink: 0;
  display: flex;
  color: var(--white);
}

.link-item__arrow--muted {
  color: var(--text-muted);
}

/* ============================================
   CARD — Shared
   ============================================ */

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__body {
  padding: 20px 18px 24px;
}

.card__text {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 10px;
}

.card__text:last-of-type {
  margin-bottom: 0;
}

/* ============================================
   STATS GRID
   ============================================ */

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.stat {
  background: #f4f4f4;
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat__value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.stat__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================
   CAROUSEL
   ============================================ */

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.2s;
}

.dot--active {
  background: var(--brand);
  width: 22px;
  border-radius: 4px;
}

/* ============================================
   JOB CARD
   ============================================ */

.card--job .card__body {
  padding: 20px 18px 24px;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 10px;
}

.card__job-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  width: 100%;
  padding: 14px 20px;
  background: var(--brand-dark);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #159eaf;
  transform: translateY(-1px);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--brand-dark);
  padding: 32px 24px;
  text-align: center;
}

.footer__tagline {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 8px;
}

.footer__copy {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   DESKTOP — min-width: 768px
   ============================================ */

@media (min-width: 768px) {

  .hero {
    padding: 64px 40px 48px;
  }

  .hero__logo {
    width: 100px;
    height: 100px;
  }

  .hero__headline {
    font-size: 54px;
  }

  .social-btn {
    width: 52px;
    height: 52px;
  }

  .main {
    padding: 0 24px 56px;
  }

  .section {
    margin-top: 40px;
  }

  .section__title {
    font-size: 19px;
  }

  .link-item {
    padding: 16px 20px;
  }

  .link-item__label {
    font-size: 15px;
  }

  .link-item__sub {
    font-size: 13px;
  }

  .card__img {
    height: 260px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .card__job-title {
    font-size: 22px;
  }

  .footer {
    padding: 40px 40px;
  }

  .footer__tagline {
    font-size: 17px;
  }
}

@media (min-width: 1024px) {

  .hero__inner {
    max-width: 560px;
  }

  .main {
    max-width: 640px;
  }

  .link-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
  }
}
