/* =========================================
   AGNUS PROMOTORA - STYLES
   ========================================= */

:root {
  --color-blue-dark: #041726;
  --color-blue: #0d3366;
  --color-blue-mid: #3257a5;
  --color-blue-light: #7695d9;
  --color-yellow: #fbc028;
  --color-yellow-light: #fcd34d;
  --color-amber: #f59e0b;
  --color-white: #ffffff;
  --color-bg: #f7f7f8;
  --color-bg-soft: #f2f3ff;
  --color-text: #041726;
  --color-text-soft: #5a6172;
  --color-border: #eeeeee;
  --font-main: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(4, 23, 38, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-yellow);
  color: var(--color-blue-dark);
}

.btn--primary:hover {
  background: var(--color-yellow-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(251, 192, 40, 0.35);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn--outline {
  background: transparent;
  color: var(--color-blue-dark);
  border: 1.5px solid var(--color-border);
}

.btn--outline:hover {
  background: var(--color-bg);
  transform: translateY(-1px);
}

/* SECTION COMMON */
.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-blue-mid);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section__eyebrow--light {
  color: var(--color-yellow);
}

.section__title {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--color-blue-dark);
  margin-bottom: 16px;
}

.section__title--light {
  color: var(--color-white);
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-blue-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.header__logo img {
  height: 38px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  color: var(--color-white);
  font-weight: 500;
  font-size: 15px;
  transition: opacity 0.15s;
}

.header__nav a:hover {
  opacity: 0.8;
}

.header__nav a.btn {
  color: var(--color-blue-dark);
}

.header__toggle {
  display: none;
  background: none;
  border: 0;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.header__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: 0.2s;
}

/* HERO */
.hero {
  background: linear-gradient(180deg, var(--color-blue-dark) 0%, var(--color-blue) 100%);
  color: var(--color-white);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-yellow);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  margin-bottom: 16px;
  line-height: 1.05;
}

.hero__lead {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.85;
  max-width: 480px;
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.hero__bubble {
  position: absolute;
  background: var(--color-white);
  color: var(--color-blue-dark);
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.hero__bubble--1 {
  top: 12%;
  left: -10%;
}

.hero__bubble--2 {
  top: 50%;
  right: -5%;
  background: var(--color-yellow);
}

/* ADVANTAGES */
.advantages {
  padding: 80px 0;
  text-align: center;
}

.advantages .section__title {
  max-width: 700px;
  margin: 0 auto 48px;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}

.advantage-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.advantage-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.advantage-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--color-blue-dark);
}

.advantage-card p {
  font-size: 14px;
  color: var(--color-text-soft);
  margin: 0;
}

/* TESTIMONIALS */
.testimonials {
  background: var(--color-bg);
  padding: 80px 0;
}

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

.testimonials__header .section__title {
  max-width: 520px;
  margin: 0;
}

.testimonials__rating {
  text-align: right;
}

.rating {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 4px;
}

.rating__score {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-blue-dark);
}

.rating__stars {
  height: 22px;
}

.testimonials__rating p {
  font-size: 14px;
  color: var(--color-text-soft);
  margin: 4px 0;
}

.google-logo {
  height: 22px;
  margin-left: auto;
}

.testimonials__carousel {
  position: relative;
}

.testimonials__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  scrollbar-width: none;
}

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

.testimonial {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  background: var(--color-white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial__stars {
  height: 18px;
  margin-bottom: 12px;
}

.testimonial__text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.testimonial__author {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blue-dark);
  margin: 0;
}

.testimonials__controls {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--color-white);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.15s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover { transform: scale(1.05); }

.carousel-btn img {
  width: 20px;
  height: 20px;
}

/* TICKER */
.ticker {
  background: var(--color-blue-light);
  color: var(--color-white);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker__track {
  display: inline-flex;
  gap: 24px;
  animation: tickerScroll 40s linear infinite;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.ticker__track > span {
  display: inline-block;
}

.ticker__dot {
  opacity: 0.6;
}

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

/* ABOUT */
.about {
  background: var(--color-blue);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__text {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.about__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.about__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
}

.about__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-yellow);
  font-weight: 700;
}

.about__visual {
  position: relative;
}

.about__image {
  width: 100%;
  border-radius: var(--radius);
  margin: -1px;
}

.stat-card {
  position: absolute;
  background: var(--color-white);
  color: var(--color-blue-dark);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 180px;
}

.stat-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
}

.stat-card span {
  font-size: 12px;
  color: var(--color-text-soft);
}

.stat-card--1 { top: 10%; left: -8%; }
.stat-card--2 { top: 50%; right: -8%; }
.stat-card--3 { bottom: 10%; left: -5%; }

/* SERVICES */
.services {
  padding: 100px 0;
}

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

.services__lead {
  color: var(--color-text-soft);
  margin: 12px 0 0;
  max-width: 500px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--color-blue);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--color-white);
  isolation: isolate;
  text-decoration: none;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(4, 23, 38, 0.85) 100%);
  z-index: -1;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-card__link {
  font-weight: 600;
  color: var(--color-yellow);
  font-size: 14px;
  transition: gap 0.15s;
}

.service-card__link:hover {
  text-decoration: underline;
}

/* PARTNERS */
.partners {
  padding: 60px 0;
  border-top: 1px solid var(--color-border);
}

.partners__title {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-soft);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.partners__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.partners__logos img {
  width: 140px;
  height: 52px;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(0.3);
  transition: opacity 0.2s, transform 0.2s;
}

.partners__logos img[src*="mercantil"],
.partners__logos img[src*="C6"] {
  transform: scale(1.7);
}

.partners__logos img[src*="mercantil"]:hover,
.partners__logos img[src*="C6"]:hover {
  transform: scale(1.7) translateY(-3px);
}

.partners__logos img:hover {
  opacity: 1;
  filter: none;
}

/* FAQ */
.faq {
  background: var(--color-bg);
  padding: 100px 0;
}

.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.faq__lead {
  color: var(--color-text-soft);
  margin-bottom: 24px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 0;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-blue-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-size: 24px;
  font-weight: 400;
  color: var(--color-blue-mid);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item__num {
  font-weight: 700;
  color: var(--color-blue-mid);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--color-text-soft);
  font-size: 15px;
  margin: 0;
}

/* BLOG */
.blog {
  padding: 100px 0;
}

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

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

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card__body {
  padding: 24px;
}

.blog-card h3 {
  font-size: 18px;
  color: var(--color-blue-dark);
  margin-bottom: 16px;
  line-height: 1.4;
}

.blog-card__link {
  color: var(--color-blue-mid);
  font-weight: 600;
  font-size: 14px;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-mid) 100%);
  margin: 0 24px 60px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  height: 240px;
}

/* Reveal animation on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cta__image img,
.cta__chat__wrapper {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}
.cta.is-visible .cta__image img,
.cta.is-visible .cta__chat__wrapper {
  opacity: 1;
  transform: translateY(0);
}
.cta__chat__wrapper {
  transition-delay: 0.5s;
}

@media (min-width: 1248px) {
  .cta {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--container);
  }
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  align-items: center;
  padding: 0 48px;
}

.cta__content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}

.cta__content .btn {
  align-self: flex-start;
}

.cta__content .section__title {
  font-size: clamp(22px, 2.5vw, 32px);
}

.cta__image {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cta__image img {
  height: 310px;
  width: auto;
  object-fit: contain;
  object-position: top;
  position: absolute;
}

.cliente-satisfeita {
  top: -20px;
  left: 125px;
}

.cta__chat__wrapper {
  position: absolute;
  top: 24px;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta__chat__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
}

.cta__chat__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.cta__chat {
  background: var(--color-white);
  color: var(--color-blue-dark);
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  max-width: 190px;
  box-shadow: var(--shadow);
  line-height: 1.4;
}

/* FOOTER */
.footer {
  background: var(--color-blue-dark);
  color: var(--color-white);
  padding: 60px 0 30px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.footer__cta {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.footer__top-link {
  color: var(--color-yellow);
  font-weight: 600;
  font-size: 14px;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer__logo {
  height: 36px;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.6;
}

.footer__col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-yellow);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.footer__col a:hover {
  opacity: 1;
}

.footer__col a.btn {
  display: inline-flex;
  margin-bottom: 12px;
  opacity: 1;
  color: var(--color-blue-dark);
}

.footer__bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__company {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer__legal {
  font-size: 11px;
  opacity: 0.6;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer__copy {
  font-size: 12px;
  opacity: 0.6;
  margin: 0;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 99;
  font-size: 13px;
}

.cookie-banner.hidden { display: none; }

.cookie-banner p {
  margin: 0;
  flex: 1;
}

.cookie-banner a {
  color: var(--color-blue-mid);
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .advantages__grid,
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial {
    flex: 0 0 calc(50% - 12px);
  }
  .footer__main {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .faq__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about__inner {
    grid-template-columns: 1fr;
  }
  .stat-card--1 { left: 0; }
  .stat-card--2 { right: 0; }
  .stat-card--3 { left: 0; }
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-blue-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .header__nav.is-open {
    display: flex;
  }
  .header__nav a {
    padding: 12px 16px;
    text-align: center;
  }
  .header__toggle {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__image {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero__bubble--1 { left: 0; }
  .hero__bubble--2 { right: 0; }

  .advantages__grid,
  .services__grid,
  .blog__grid {
    grid-template-columns: 1fr;
  }

  .testimonial {
    flex: 0 0 calc(100% - 24px);
  }

  .testimonials__header,
  .services__header,
  .blog__header,
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonials__rating {
    text-align: left;
  }

  .rating {
    justify-content: flex-start;
  }

  .google-logo { margin: 0; }

  .about {
    padding: 60px 0;
  }
  .about__list {
    grid-template-columns: 1fr;
  }
  .stat-card { display: none; }

  .cta {
    height: auto;
    min-height: 220px;
  }
  .cta__inner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    height: auto;
  }
  .cta__image {
    display: none;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }

  .cta {
    margin: 0 16px 40px;
    padding: 40px 24px;
  }

  .partners__logos {
    gap: 24px 32px;
  }
  .partners__logos img {
    width: 110px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .footer__main {
    grid-template-columns: 1fr;
  }
  .section__title {
    font-size: 28px;
  }
  .partners__logos {
    gap: 20px 24px;
  }
  .partners__logos img {
    width: 96px;
    height: 38px;
  }
}

/* =========================================
   PÁGINA EMPRÉSTIMO CLT
   ========================================= */

.section__title--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* HERO CLT */
.hero--clt {
  position: relative;
  background-image: url('../images/emprestimo/hero-woman.png');
  background-size: cover;
  background-position: center right;
  padding: 0;
  overflow: hidden;
}

.hero--fgts {
  background-image: url('../images/hero/familia-mesa.webp');
  background-position: center;
}

.hero--clt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(4,23,38,0.92) 40%, rgba(4,23,38,0.55) 70%, rgba(4,23,38,0.15) 100%);
}

.hero--clt .hero__inner {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
  padding-top: 90px;
  padding-bottom: 72px;
}

.hero--clt .hero__content {
  max-width: 580px;
}

.hero__stats-bar {
  position: relative;
  z-index: 1;
  background: rgba(4, 23, 38, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 28px 0;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-stat strong {
  display: block;
  font-size: 16px;
  color: var(--color-yellow);
  font-weight: 700;
}

.hero-stat span {
  font-size: 12px;
  color: var(--color-white);
  opacity: 0.85;
}

/* STEPS */
.steps {
  padding: 100px 0;
  background: var(--color-bg);
}

.steps .section__title {
  text-align: center;
  margin-bottom: 56px;
}

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

.step-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 0;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-card__visual {
  background: #eef1fb;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 28px 24px 44px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card__num {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  color: var(--color-blue-dark);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid #dde3f4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.step-card img {
  width: 100%;
  max-width: 180px;
  height: 110px;
  object-fit: contain;
}

.step-card p {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
  padding: 36px 20px 24px;
  margin: 0;
}

.steps__cta {
  text-align: center;
}

.steps__cta p {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-blue-dark);
  margin-bottom: 16px;
}

/* SIMULATOR */
.simulator {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-bg-soft) 0%, var(--color-white) 100%);
}

.simulator__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
}

.simulator__content h3 {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--color-blue-dark);
  margin-bottom: 24px;
  line-height: 1.2;
}

.simulator__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.simulator__benefits li {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-blue-dark);
}

.simulator__form {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.simulator__form h2 {
  font-size: 24px;
  color: var(--color-blue-dark);
  margin-bottom: 20px;
  text-align: center;
}

.simulator__amount {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
}

.amount-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-blue-mid);
  background: var(--color-white);
  color: var(--color-blue-mid);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amount-btn:hover {
  background: var(--color-blue-mid);
  color: var(--color-white);
}

.amount-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-blue-dark);
}

.amount-currency {
  font-size: 18px;
  color: var(--color-text-soft);
}

#amountInput {
  border: 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-blue-dark);
  font-family: inherit;
  width: 130px;
  text-align: center;
  outline: none;
  background: transparent;
}

.amount-range {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--color-bg);
  appearance: none;
  outline: none;
  margin-bottom: 24px;
}

.amount-range::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-yellow);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.amount-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-yellow);
  cursor: pointer;
  border: 0;
}

.simulator__label {
  font-size: 14px;
  color: var(--color-text-soft);
  margin-bottom: 12px;
  font-weight: 500;
}

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

.term-btn {
  padding: 12px 8px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--color-text-soft);
}

.term-btn:hover {
  border-color: var(--color-blue-mid);
  color: var(--color-blue-mid);
}

.term-btn.active {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

.simulator__submit {
  width: 100%;
  margin-bottom: 12px;
}

.simulator__note {
  font-size: 12px;
  color: var(--color-text-soft);
  text-align: center;
  margin: 0;
}

.simulator__note--info {
  font-size: 14px;
  color: var(--color-text);
  text-align: left;
  line-height: 1.5;
  margin: 16px 0 24px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.03);
  border-left: 3px solid var(--color-yellow);
  border-radius: 4px;
}

/* ADVANTAGES CTA */
.advantages__cta {
  text-align: center;
  margin-top: 48px;
}

/* CTA CLT */
.cta-clt {
  background: linear-gradient(135deg, var(--color-blue-dark) 0%, var(--color-blue) 100%);
  margin: 0 24px 60px;
  padding: 80px 24px;
  border-radius: 32px;
  text-align: center;
}

@media (min-width: 1248px) {
  .cta-clt {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--container);
  }
}

.cta-clt__inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-clt__lead {
  color: var(--color-white);
  opacity: 0.85;
  margin: 16px 0 32px;
  font-size: 16px;
}

/* RESPONSIVE - CLT PAGE */
@media (max-width: 1024px) {
  .hero__stats {
    grid-template-columns: 1fr;
    padding: 16px 0;
  }
  .hero-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 24px;
  }
  .hero-stat:last-child {
    border-bottom: none;
  }
  .steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .simulator__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .steps__grid {
    grid-template-columns: 1fr;
  }
  .simulator__terms {
    grid-template-columns: repeat(2, 1fr);
  }
  .simulator__form {
    padding: 24px 20px;
  }
  .cta-clt {
    margin: 0 16px 40px;
    padding: 48px 24px;
  }
}

/* =========================================
   BLOG LISTING — shared card pieces (used by home grid)
   ========================================= */
.blog-card__media {
  display: block;
  overflow: hidden;
}

.blog-card__media img {
  transition: transform 0.4s ease;
}

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

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-soft);
  margin-bottom: 12px;
}

.blog-card h3 a {
  color: inherit;
  transition: color 0.15s;
}

.blog-card:hover h3 a {
  color: var(--color-blue-mid);
}

/* =========================================
   POST PAGE
   ========================================= */
.post-hero {
  background: linear-gradient(180deg, var(--color-blue-dark) 0%, var(--color-blue) 100%);
  color: var(--color-white);
  padding: 64px 0 80px;
}

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

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-yellow);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: opacity 0.15s;
}

.post-back:hover {
  opacity: 0.8;
}

.post-hero__category {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-yellow);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.post-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.15;
  margin-bottom: 24px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 14px;
  opacity: 0.85;
}

.post-meta strong {
  color: var(--color-yellow);
  font-weight: 600;
  margin-right: 6px;
}

.post-cover {
  max-width: 1024px;
  margin: -40px auto 0;
  padding: 0 24px;
}

.post-cover img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 12px 48px rgba(4, 23, 38, 0.18);
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.post-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text);
}

.post-content > p {
  margin: 0 0 1.4em;
}

.post-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--color-blue-dark);
  margin: 2.4em 0 0.8em;
  line-height: 1.25;
}

.post-content h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  color: var(--color-blue-dark);
  margin: 2em 0 0.6em;
  line-height: 1.3;
}

.post-content h4 {
  font-size: 18px;
  color: var(--color-blue-dark);
  margin: 1.6em 0 0.5em;
}

.post-content ul,
.post-content ol {
  margin: 0 0 1.4em;
  padding-left: 24px;
}

.post-content ul li,
.post-content ol li {
  margin-bottom: 8px;
}

.post-content blockquote {
  margin: 2em 0;
  padding: 20px 28px;
  border-left: 4px solid var(--color-yellow);
  background: var(--color-bg-soft);
  font-size: 18px;
  font-style: italic;
  color: var(--color-blue-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.post-content blockquote p {
  margin: 0;
}

.post-content strong {
  color: var(--color-blue-dark);
  font-weight: 700;
}

.post-content a {
  color: var(--color-blue-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content a:hover {
  color: var(--color-blue);
}

.post-figure {
  margin: 2em 0;
  border-radius: 12px;
  overflow: hidden;
}
.post-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.post-content hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 3em 0;
}

.post-faq {
  background: var(--color-bg);
  padding: 64px 0;
}

.post-faq__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.post-faq h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--color-blue-dark);
  margin-bottom: 32px;
}

.post-faq details {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 12px;
}

.post-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-blue-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-faq summary::-webkit-details-marker { display: none; }

.post-faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--color-blue-mid);
  transition: transform 0.2s;
}

.post-faq details[open] summary::after {
  content: '−';
}

.post-faq details p {
  margin: 14px 0 0;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.post-cta {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-mid) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 64px 24px;
  margin: 0 24px 60px;
  border-radius: 32px;
}

.post-cta h2 {
  color: var(--color-white);
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.post-cta p {
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 16px;
}

@media (min-width: 1248px) {
  .post-cta {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Related posts */
.related-posts {
  padding: 64px 0 100px;
  background: var(--color-bg);
}

.related-posts h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--color-blue-dark);
  margin-bottom: 32px;
  text-align: center;
}

@media (max-width: 768px) {
  .post-content {
    padding: 48px 20px 64px;
    font-size: 16px;
  }
  .post-cover {
    margin-top: -24px;
    padding: 0 16px;
  }
  .post-cover img {
    aspect-ratio: 16 / 9;
  }
  .post-cta {
    margin: 0 16px 40px;
    padding: 48px 24px;
  }
}

/* =========================================================
   BLOG — EDITORIAL REDESIGN (Apple Newsroom × Stripe × NYT)
   ========================================================= */

/* Category tokens */
:root {
  --cat-credito: #fbc028;
  --cat-fgts: #f59e0b;
  --cat-trabalho: #3257a5;
  --cat-financas: #10b981;
  --cat-mercado: #0ea5e9;
  --cat-brasil: #ef4444;
  --cat-mundo: #8b5cf6;
}

/* Yellow CTA button (also used by hero) */
.btn--yellow {
  background: var(--color-yellow);
  color: var(--color-blue-dark);
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn--yellow:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(251, 192, 40, 0.4);
}

.blog-page { background: #fafafa; }

/* ---------- Category chips ---------- */
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  background: rgba(50, 87, 165, 0.08);
  color: var(--color-blue-mid);
  white-space: nowrap;
}
.cat-chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.cat-chip--credito  { background: rgba(251, 192, 40, 0.15);  color: #b07d00; }
.cat-chip--fgts     { background: rgba(245, 158, 11, 0.13);  color: #b16a00; }
.cat-chip--trabalho { background: rgba(50, 87, 165, 0.10);   color: var(--color-blue-mid); }
.cat-chip--financas { background: rgba(16, 185, 129, 0.12);  color: #047857; }
.cat-chip--mercado  { background: rgba(14, 165, 233, 0.12);  color: #0369a1; }
.cat-chip--brasil   { background: rgba(239, 68, 68, 0.12);   color: #b91c1c; }
.cat-chip--mundo    { background: rgba(139, 92, 246, 0.12);  color: #6d28d9; }

/* ============ EDITORIAL HERO ============ */
.ed-hero {
  position: relative;
  background: var(--color-blue-dark);
  color: var(--color-white);
  padding: 88px 0 96px;
  overflow: hidden;
}
.ed-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 30%, rgba(251, 192, 40, 0.18) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(50, 87, 165, 0.45) 0%, transparent 60%),
    linear-gradient(180deg, #041726 0%, #0a223e 100%);
  pointer-events: none;
}
.ed-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

.ed-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.ed-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.ed-hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: ed-pulse 2s infinite;
}
@keyframes ed-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70%  { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.ed-hero__kicker {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-yellow);
  font-weight: 700;
  margin: 0 0 16px;
}

.ed-hero__title {
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.ed-hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-yellow);
}

.ed-hero__lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
  margin: 0 0 32px;
}

.ed-hero__cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.ed-hero__link {
  color: var(--color-white);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.ed-hero__link:hover {
  border-color: var(--color-yellow);
  color: var(--color-yellow);
}

/* Hero featured card (right side) */
.ed-hero__feature {
  position: relative;
  display: block;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.05);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s;
  isolation: isolate;
}
.ed-hero__feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.65), 0 0 0 1px rgba(251,192,40,0.2);
}
.ed-hero__feature-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ed-hero__feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ed-hero__feature:hover .ed-hero__feature-img img {
  transform: scale(1.06);
}
.ed-hero__feature-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 28px 26px;
  background: linear-gradient(180deg, transparent 30%, rgba(4,23,38,0.85) 100%);
  color: var(--color-white);
}
.ed-hero__feature-overlay .cat-chip {
  align-self: flex-start;
  background: rgba(255,255,255,0.95);
  color: var(--color-blue-dark);
  margin-bottom: 14px;
}
.ed-hero__feature-title {
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--color-white);
}
.ed-hero__feature-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
}
.ed-hero__feature-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-blue-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.3s;
}
.ed-hero__feature:hover .ed-hero__feature-arrow {
  transform: translateX(4px);
}

/* ============ STICKY FILTER + SEARCH ============ */
.ed-filter {
  position: sticky;
  top: 70px; /* sits below the sticky header */
  z-index: 30;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.ed-filter__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
}
.ed-filter__pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  padding: 2px 0;
}
.ed-filter__pills::-webkit-scrollbar { display: none; }

.ed-pill {
  --c: var(--color-blue-mid);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.ed-pill:hover {
  background: rgba(0,0,0,0.04);
}
.ed-pill.is-active {
  background: var(--color-blue-dark);
  color: var(--color-white);
  border-color: var(--color-blue-dark);
}
.ed-pill[data-cat="all"].is-active {
  background: var(--color-blue-dark);
}
.ed-pill:not([data-cat="all"]).is-active {
  background: var(--c);
  border-color: var(--c);
  color: var(--color-white);
}
.ed-pill__count {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  color: inherit;
  opacity: 0.7;
}
.ed-pill.is-active .ed-pill__count {
  background: rgba(255,255,255,0.22);
  opacity: 1;
}

.ed-search {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--color-white);
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  overflow: hidden;
}
.ed-search:focus-within {
  border-color: var(--color-blue-mid);
  box-shadow: 0 0 0 4px rgba(50,87,165,0.10);
}
.ed-search__toggle {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--color-text);
  cursor: pointer;
  flex-shrink: 0;
}
.ed-search__input {
  width: 0;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--color-text);
  transition: width 0.25s ease, padding 0.25s ease;
}
.ed-search.is-open .ed-search__input {
  width: 200px;
  padding: 0 14px 0 0;
}

/* ============ SECTION HEADS ============ */
.ed-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-blue-mid);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.ed-eyebrow--accent { color: var(--color-amber); }
.ed-eyebrow--light  { color: rgba(255,255,255,0.75); }

.ed-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.ed-section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-blue-dark);
  margin: 0;
  line-height: 1.05;
}
.ed-section-sub {
  font-size: 15px;
  color: var(--color-text-soft);
  margin: 0;
  max-width: 320px;
}

/* ============ BENTO "EM DESTAQUE" ============ */
.ed-bento {
  padding: 80px 0 40px;
}
.ed-bento__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  min-height: 600px;
}

.ed-bento-card {
  --c: var(--color-blue-mid);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s, border-color 0.3s;
  text-decoration: none;
}
.ed-bento-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, var(--c), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.ed-bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.25);
}
.ed-bento-card:hover::before { opacity: 0.9; }

.ed-bento-card__img {
  overflow: hidden;
  position: relative;
}
.ed-bento-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ed-bento-card:hover .ed-bento-card__img img { transform: scale(1.05); }

.ed-bento-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ed-bento-card__body h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--color-blue-dark);
  margin: 0;
}
.ed-bento-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-text-soft);
  margin-top: auto;
}
.ed-arrow {
  display: inline-flex;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  color: var(--color-blue-dark);
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.ed-bento-card:hover .ed-arrow {
  background: var(--c);
  color: var(--color-white);
  transform: translateX(3px);
}

/* big card */
.ed-bento-card--big {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}
.ed-bento-card--big .ed-bento-card__img {
  flex: 1;
  min-height: 320px;
}
.ed-bento-card--big .ed-bento-card__body h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.18;
}
.ed-bento-card--big .ed-bento-card__body {
  padding: 26px 30px 30px;
}

/* side cards */
.ed-bento-card--side {
  flex-direction: row;
  min-height: 0;
}
.ed-bento-card--side .ed-bento-card__img {
  flex: 0 0 42%;
  min-height: 100%;
}
.ed-bento-card--side .ed-bento-card__body {
  flex: 1;
  padding: 20px 22px;
  justify-content: center;
}
.ed-bento-card--side .ed-bento-card__body h3 {
  font-size: 17px;
  line-height: 1.3;
}

/* ============ "EM ALTA" — RAIL NUMERADO ============ */
.ed-trending {
  padding: 56px 0 24px;
}
.ed-trending__nav {
  display: flex;
  gap: 8px;
}
.ed-trending__btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--color-white);
  color: var(--color-blue-dark);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.ed-trending__btn:hover {
  background: var(--color-blue-dark);
  color: var(--color-white);
  border-color: var(--color-blue-dark);
}

.ed-trending__rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  scroll-snap-type: x mandatory;
}

.ed-rank-card {
  --c: var(--color-blue-mid);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 18px;
  padding: 24px 20px 22px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
  text-decoration: none;
  scroll-snap-align: start;
  isolation: isolate;
}
.ed-rank-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.22);
}

.ed-rank-card__num {
  position: absolute;
  top: -22px;
  right: -8px;
  font-size: 160px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  letter-spacing: -0.04em;
}
.ed-rank-card:hover .ed-rank-card__num {
  opacity: 0.35;
  transform: scale(1.04) rotate(-2deg);
}

.ed-rank-card__img {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.ed-rank-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ed-rank-card:hover .ed-rank-card__img img { transform: scale(1.06); }

.ed-rank-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ed-rank-card__body h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-blue-dark);
  margin: 0;
}
.ed-rank-card__meta {
  font-size: 12.5px;
  color: var(--color-text-soft);
  margin: 0;
}

/* ============ NEWSLETTER INLINE ============ */
.ed-newsletter {
  padding: 56px 0;
}
.ed-newsletter__card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(251,192,40,0.18) 0%, transparent 60%),
    linear-gradient(135deg, #0a223e 0%, #041726 100%);
  color: var(--color-white);
  border-radius: 28px;
  padding: 56px 56px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(4,23,38,0.5);
}
.ed-newsletter__noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
  pointer-events: none;
}
.ed-newsletter__text { position: relative; }
.ed-newsletter__text h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
}
.ed-newsletter__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  margin: 0;
  max-width: 380px;
}

.ed-newsletter__form {
  position: relative;
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  align-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.ed-newsletter__form:focus-within {
  border-color: var(--color-yellow);
  background: rgba(255,255,255,0.10);
}
.ed-newsletter__form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--color-white);
  font-family: inherit;
  font-size: 15px;
  padding: 14px 0;
  min-width: 0;
}
.ed-newsletter__form input::placeholder { color: rgba(255,255,255,0.5); }
.ed-newsletter__form .btn {
  flex-shrink: 0;
}
.ed-newsletter__success {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(34,197,94,0.95);
  border-radius: 999px;
  color: var(--color-white);
  font-weight: 600;
  margin: 0;
}
.ed-newsletter__form.is-sent .ed-newsletter__success { display: flex; }

/* ============ ARQUIVO / GRID FILTRÁVEL ============ */
.ed-archive {
  padding: 40px 0 100px;
}
.ed-archive__counter {
  font-size: 14px;
  color: var(--color-text-soft);
  margin: 0;
}
.ed-archive__counter strong { color: var(--color-blue-dark); }

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

.ed-card {
  --c: var(--color-blue-mid);
  position: relative;
  border-radius: 18px;
  background: var(--color-white);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.35s,
              border-color 0.35s,
              opacity 0.25s;
}
.ed-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--c) 35%, transparent);
  box-shadow:
    0 24px 50px -22px rgba(0,0,0,0.18),
    0 0 0 4px color-mix(in srgb, var(--c) 8%, transparent),
    0 30px 60px -20px color-mix(in srgb, var(--c) 30%, transparent);
}

.ed-card.is-hidden {
  display: none;
}

.ed-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.ed-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.ed-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ed-card:hover .ed-card__img img { transform: scale(1.05); }
.ed-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.06) 100%);
}

.ed-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.ed-card__body h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--color-blue-dark);
  margin: 0;
}
.ed-card__meta {
  font-size: 12.5px;
  color: var(--color-text-soft);
  margin: 0;
  margin-top: auto;
}

.ed-archive__empty {
  display: none;
  text-align: center;
  font-size: 16px;
  color: var(--color-text-soft);
  padding: 80px 24px;
}
.ed-archive__grid.is-empty + .ed-archive__empty {
  display: block;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .ed-hero { padding: 64px 0 72px; }
  .ed-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ed-hero__feature { aspect-ratio: 16 / 10; max-width: 600px; }

  .ed-bento__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .ed-bento-card--big {
    grid-row: auto;
    grid-column: auto;
  }
  .ed-bento-card--big .ed-bento-card__img { min-height: 280px; }

  .ed-trending__rail {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 280px;
    overflow-x: auto;
    scroll-padding: 24px;
    padding-bottom: 12px;
  }
  .ed-trending__rail::-webkit-scrollbar { height: 6px; }
  .ed-trending__rail::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; }

  .ed-newsletter__card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    gap: 28px;
  }

  .ed-archive__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }
}

@media (max-width: 720px) {
  .ed-hero { padding: 48px 0 56px; }
  .ed-hero__title { font-size: clamp(34px, 9vw, 48px); }
  .ed-hero__feature { aspect-ratio: 4 / 5; }

  .ed-filter__inner {
    padding: 10px 16px;
    gap: 8px;
  }
  .ed-search__toggle { width: 34px; height: 34px; }
  .ed-search.is-open .ed-search__input { width: 130px; }

  .ed-bento { padding: 56px 0 28px; }
  .ed-bento-card--side { flex-direction: column; }
  .ed-bento-card--side .ed-bento-card__img {
    flex: 0 0 auto;
    aspect-ratio: 16 / 10;
  }

  .ed-section-head { margin-bottom: 24px; }

  .ed-newsletter__card { padding: 32px 22px; border-radius: 22px; }
  .ed-newsletter__form { flex-wrap: wrap; padding: 8px; gap: 8px; }
  .ed-newsletter__form input { padding: 10px 14px; }
  .ed-newsletter__form .btn { width: 100%; justify-content: center; }

  .ed-archive { padding: 24px 0 72px; }
  .ed-archive__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ed-hero__dot { animation: none; }
  .ed-hero__feature, .ed-hero__feature-img img,
  .ed-bento-card, .ed-bento-card__img img,
  .ed-rank-card, .ed-rank-card__img img, .ed-rank-card__num,
  .ed-card, .ed-card__img img,
  .ed-arrow {
    transition: none !important;
    transform: none !important;
  }
}

/* =========================================================
   MODERN UI ENHANCEMENTS — APR 2026
   Polimento de hover/scroll-reveal nas páginas home / FGTS / CLT.
   Header e footer (componentes compartilhados) recebem o mesmo
   tratamento — assim mantêm-se idênticos em todas as páginas.
   ========================================================= */

:root {
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes agnusFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes agnusFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes agnusGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50%      { transform: translate(28%, 8%) scale(1.08); opacity: 0.95; }
}
@keyframes agnusSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ===== Generic scroll reveal (added via JS) ===== */
.fade-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  will-change: opacity, transform;
}
.fade-on-scroll.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER — animated underline on nav links ===== */
.header__nav a:not(.btn) {
  position: relative;
  padding: 6px 0;
}
.header__nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease-out);
  border-radius: 2px;
}
.header__nav a:not(.btn):hover::after,
.header__nav a:not(.btn).is-current::after {
  transform: scaleX(1);
}
.header__nav a:not(.btn).is-current { color: var(--color-yellow); opacity: 1; }
.header__logo img {
  transition: transform 0.3s var(--ease-out);
}
.header__logo:hover img { transform: scale(1.04); }

/* ===== Buttons — gloss sweep + lift ===== */
.btn { isolation: isolate; }
.btn:focus-visible {
  outline: 2px solid var(--color-blue-mid);
  outline-offset: 3px;
}
.btn--primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s, background 0.25s;
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 32%, rgba(255,255,255,0.55) 50%, transparent 68%);
  transform: translateX(-110%);
  transition: transform 0.75s var(--ease-out);
  pointer-events: none;
  z-index: -1;
}
.btn--primary:hover::before { transform: translateX(110%); }
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(251, 192, 40, 0.42);
}
.btn--primary:active { transform: translateY(0) scale(0.98); }

/* ===== Section eyebrow accent line ===== */
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section__eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ===== HERO (home) — entry animation + floating bubbles ===== */
.hero .hero__content > * { animation: agnusFadeUp 0.8s var(--ease-out) both; }
.hero .hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero .hero__content > *:nth-child(2) { animation-delay: 0.18s; }
.hero .hero__content > *:nth-child(3) { animation-delay: 0.32s; }
.hero .hero__content > *:nth-child(4) { animation-delay: 0.46s; }
.hero__image img { animation: agnusFadeUp 1s var(--ease-out) 0.35s both; }
.hero__bubble { animation: agnusFloat 5s ease-in-out infinite; }
.hero__bubble--1 { animation-delay: 0s; }
.hero__bubble--2 { animation-delay: -2.5s; }

/* HERO CLT/FGTS — entry */
.hero--clt .hero__content > * { animation: agnusFadeUp 0.8s var(--ease-out) both; }
.hero--clt .hero__content > *:nth-child(1) { animation-delay: 0.10s; }
.hero--clt .hero__content > *:nth-child(2) { animation-delay: 0.22s; }
.hero--clt .hero__content > *:nth-child(3) { animation-delay: 0.36s; }
.hero--clt .hero__content > *:nth-child(4) { animation-delay: 0.50s; }

/* HERO stats bar — hover lift ===== */
.hero-stat {
  transition: transform 0.3s var(--ease-out), background 0.3s;
  border-radius: 8px;
}
.hero-stat:hover { transform: translateY(-3px); background: rgba(255,255,255,0.04); }
.hero-stat img { transition: transform 0.35s var(--ease-bounce); }
.hero-stat:hover img { transform: scale(1.12) rotate(-4deg); }

/* ===== ADVANTAGE CARDS ===== */
.advantage-card {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
  position: relative;
  overflow: hidden;
}
.advantage-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(251,192,40,0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.advantage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(50,87,165,0.20);
  box-shadow: 0 24px 40px -22px rgba(4,23,38,0.18);
}
.advantage-card:hover::after { opacity: 1; }
.advantage-card__icon {
  transition: transform 0.4s var(--ease-bounce), background 0.3s;
}
.advantage-card:hover .advantage-card__icon {
  transform: scale(1.12) rotate(-6deg);
  background: rgba(251,192,40,0.22);
}

/* ===== SERVICE CARDS (home) ===== */
.service-card {
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.service-card::before {
  transition: opacity 0.4s, background 0.4s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -25px rgba(4,23,38,0.55);
}
.service-card:hover::before {
  background: linear-gradient(180deg, transparent 15%, rgba(4, 23, 38, 0.92) 100%);
}
.service-card h3 { transition: transform 0.4s var(--ease-out); }
.service-card:hover h3 { transform: translateY(-2px); }
.service-card__link {
  display: inline-block;
  transition: transform 0.3s var(--ease-out), color 0.25s;
}
.service-card:hover .service-card__link {
  transform: translateX(6px);
  text-decoration: none;
}

/* ===== TESTIMONIALS ===== */
.testimonial {
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
  border: 1px solid transparent;
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -22px rgba(4,23,38,0.2);
  border-color: rgba(251,192,40,0.45);
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 6px;
  right: 18px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 72px;
  color: rgba(50,87,165,0.10);
  line-height: 1;
  pointer-events: none;
  font-weight: 700;
}
.carousel-btn {
  transition: transform 0.25s var(--ease-out), background 0.25s, box-shadow 0.25s;
}
.carousel-btn:hover {
  background: var(--color-yellow);
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 24px rgba(251,192,40,0.4);
}

/* ===== TICKER — fade edges + pause on hover ===== */
.ticker {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ===== ABOUT — floating stat cards ===== */
.stat-card {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  animation: agnusFloat 6s ease-in-out infinite;
}
.stat-card--1 { animation-delay: 0s; }
.stat-card--2 { animation-delay: -2s; }
.stat-card--3 { animation-delay: -4s; }
.stat-card:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 22px 44px rgba(4,23,38,0.25);
  z-index: 2;
}

/* ===== PARTNERS ===== */
.partners__logos img {
  transition: opacity 0.3s, filter 0.3s, transform 0.35s var(--ease-out);
}
.partners__logos img:hover {
  transform: translateY(-3px) scale(1.06);
}

/* ===== FAQ ===== */
.faq-item {
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.faq-item:hover {
  border-color: rgba(50,87,165,0.25);
  box-shadow: 0 8px 22px -10px rgba(4,23,38,0.12);
}
.faq-item[open] {
  border-color: var(--color-blue-mid);
  box-shadow: 0 12px 32px -16px rgba(50,87,165,0.30);
}
.faq-item summary { transition: color 0.2s; }
.faq-item:hover summary { color: var(--color-blue-mid); }
.faq-item summary::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(50,87,165,0.08);
  font-size: 18px;
  line-height: 1;
  margin-top: -2px;
  transition: background 0.25s, color 0.25s, transform 0.3s var(--ease-out);
}
.faq-item:hover summary::after {
  background: rgba(251,192,40,0.25);
  transform: rotate(90deg);
}
.faq-item[open] summary::after {
  background: var(--color-yellow);
  color: var(--color-blue-dark);
}
.faq-item[open] p {
  animation: agnusFadeUp 0.45s var(--ease-out);
}

/* ===== BLOG CARDS (home) ===== */
.blog-card {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -22px rgba(4,23,38,0.18);
  border-color: rgba(50,87,165,0.20);
}
.blog-card__link {
  display: inline-block;
  transition: transform 0.3s var(--ease-out), color 0.25s;
}
.blog-card:hover .blog-card__link {
  transform: translateX(6px);
  color: var(--color-blue);
}

/* ===== STEPS (CLT/FGTS) ===== */
.step-card {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -20px rgba(4,23,38,0.18);
  border-color: rgba(251,192,40,0.5);
}
.step-card__visual {
  transition: background 0.4s;
}
.step-card:hover .step-card__visual {
  background: linear-gradient(135deg, #eef1fb 0%, #ffeebd 100%);
}
.step-card img { transition: transform 0.4s var(--ease-bounce); }
.step-card:hover img { transform: scale(1.08); }
.step-card__num {
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease-bounce);
}
.step-card:hover .step-card__num {
  background: var(--color-yellow);
  color: var(--color-blue-dark);
  border-color: var(--color-yellow);
  transform: translateX(-50%) scale(1.12);
  box-shadow: 0 8px 20px rgba(251,192,40,0.45);
}

/* ===== SIMULATOR ===== */
.simulator__form {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.simulator__form:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -25px rgba(4,23,38,0.18);
}
.amount-btn {
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease-bounce), box-shadow 0.25s;
}
.amount-btn:hover {
  transform: scale(1.10);
  box-shadow: 0 6px 16px rgba(50,87,165,0.25);
}
.amount-btn:active { transform: scale(0.94); }
.amount-range::-webkit-slider-thumb {
  transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s;
}
.amount-range:hover::-webkit-slider-thumb,
.amount-range:focus::-webkit-slider-thumb {
  transform: scale(1.18);
  box-shadow: 0 4px 14px rgba(251,192,40,0.55);
}
.term-btn {
  transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.term-btn:hover {
  transform: translateY(-2px);
  background: var(--color-white);
  border-color: var(--color-blue-mid);
  color: var(--color-blue-dark);
  box-shadow: 0 8px 16px -10px rgba(50,87,165,0.45);
}
.term-btn.active {
  box-shadow: 0 8px 20px -8px rgba(13,51,102,0.55);
}

/* ===== CTA-CLT — glow ambiente ===== */
.cta-clt {
  position: relative;
  overflow: hidden;
}
.cta-clt::before {
  content: '';
  position: absolute;
  top: -40%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(closest-side, rgba(251,192,40,0.18), transparent 70%);
  pointer-events: none;
  animation: agnusGlow 9s ease-in-out infinite;
  z-index: 0;
}
.cta-clt__inner { position: relative; z-index: 1; }

/* CTA home — bubble float ===== */
.cta__chat__wrapper { animation: agnusFloat 5s ease-in-out infinite; }

/* ===== FOOTER — animated link underline ===== */
.footer__col a:not(.btn) {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  transition: opacity 0.2s, color 0.2s;
}
.footer__col a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--color-yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out);
}
.footer__col a:not(.btn):hover {
  opacity: 1;
  color: var(--color-yellow);
}
.footer__col a:not(.btn):hover::after {
  transform: scaleX(1);
}
.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s, transform 0.25s var(--ease-out);
}
.footer__top-link:hover {
  color: var(--color-yellow-light);
  transform: translateY(-3px);
}

/* ===== COOKIE banner ===== */
.cookie-banner {
  animation: agnusSlideIn 0.6s var(--ease-out) 0.4s both;
}

/* ===== Reduced motion override ===== */
@media (prefers-reduced-motion: reduce) {
  .fade-on-scroll,
  .hero__bubble, .stat-card, .cta__chat__wrapper,
  .hero .hero__content > *, .hero__image img,
  .hero--clt .hero__content > *,
  .cookie-banner, .cta-clt::before {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

