.site-v2-resources { background: #fff; }
.site-v2-resources .site-v2-nav__links .is-active { color: var(--v2-purple-700); }
.site-v2-resources .site-v2-nav__links .is-active::after { content: ''; display: block; width: 24px; height: 2px; margin: 5px auto 0; border-radius: 2px; background: var(--v2-purple-700); }
.resources-eyebrow { display: block; margin-bottom: 12px; color: var(--v2-purple-700); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.resources-hero { position: relative; min-height: 680px; overflow: hidden; padding-top: 82px; background: var(--v2-purple-100); }
.resources-hero__photo { position: absolute; top: 82px; right: 0; bottom: 0; width: 64%; background-image: linear-gradient(90deg, #eee9ff 0%, rgba(238,233,255,.85) 14%, rgba(238,233,255,.06) 48%), url('/img/site-v2/recursos-hero.webp'); background-position: center, 51% center; background-size: cover; }
.resources-hero__inner { position: relative; z-index: 2; min-height: 598px; display: flex; align-items: center; }
.resources-hero__content { width: 50%; padding: 20px 0 88px; }
.resources-hero h1 { max-width: 690px; margin: 0 0 22px; color: var(--v2-purple-900); font-size: clamp(42px, 5vw, 68px); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.resources-hero p { max-width: 520px; margin: 0 0 30px; color: #30294a; font-size: 18px; line-height: 1.6; }
.resources-hero__waves { position: absolute; z-index: 3; right: 0; bottom: -1px; left: 0; height: 160px; pointer-events: none; }
.resources-hero__waves svg { width: 100%; height: 100%; display: block; }
.resources-hero__waves .wave-deep { fill: #b69cf0; }
.resources-hero__waves .wave-light { fill: #ddd1ff; }
.resources-hero__waves .wave-white { fill: #fff; }

.resources-jump { position: sticky; z-index: 12; top: 0; border-bottom: 1px solid var(--v2-line); background: rgba(255,255,255,.96); box-shadow: 0 8px 28px rgba(43,14,69,.05); backdrop-filter: blur(14px); }
.resources-jump__inner { min-height: 74px; display: flex; align-items: center; gap: 12px; }
.resources-jump__inner > span { margin-right: auto; color: var(--v2-copy); font-size: 13px; font-weight: 600; }
.resources-jump a { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--v2-line); border-radius: 999px; padding: 10px 16px; color: var(--v2-purple-900); font-size: 13px; font-weight: 600; text-decoration: none; }
.resources-jump a:hover, .resources-jump a:focus { border-color: var(--v2-purple-700); background: var(--v2-purple-100); }
.resources-jump i { color: var(--v2-purple-700); }

.resources-section { scroll-margin-top: 84px; padding: 104px 0 120px; }
.resources-section--soft { background: linear-gradient(180deg, #f7f4ff 0%, #fff 18%); }
.resources-section__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 44px; margin-bottom: 48px; }
.resources-section__intro > div { max-width: 760px; }
.resources-section__intro h2, .resources-contact h2 { margin: 0 0 16px; color: var(--v2-purple-900); font-size: clamp(36px, 4.2vw, 58px); font-weight: 700; line-height: 1.04; letter-spacing: -.04em; }
.resources-section__intro p { max-width: 670px; margin: 0; color: var(--v2-copy); font-size: 17px; line-height: 1.65; }
.resources-section__intro > .site-v2-button { flex: 0 0 auto; margin-bottom: 5px; }

.resources-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.resource-card { position: relative; overflow: hidden; border: 1px solid var(--v2-line); border-radius: 24px 8px 24px 8px; background: #fff; transition: transform .2s ease, border-color .2s ease; }
.resource-card:hover { transform: translateY(-3px); border-color: var(--v2-purple-200); }
.resource-card__image { position: relative; width: 100%; display: block; overflow: hidden; border: 0; border-bottom: 1px solid var(--v2-line); padding: 0; background: #f1eef8; cursor: zoom-in; }
.resource-card__image::after { content: '\f00e'; position: absolute; right: 16px; bottom: 16px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--v2-purple-900); background: rgba(255,255,255,.94); font-family: 'Font Awesome 5 Free'; font-size: 14px; font-weight: 900; box-shadow: 0 5px 16px rgba(43,14,69,.12); }
.resource-card__image img { width: 100%; height: auto; display: block; aspect-ratio: 1408 / 768; object-fit: cover; transition: transform .28s ease; }
.resource-card:hover .resource-card__image img { transform: scale(1.012); }
.resource-card__body { position: relative; min-height: 205px; padding: 27px 30px 31px; }
.resource-card__number { position: absolute; top: 27px; right: 28px; color: var(--v2-purple-200); font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.resource-card h3 { max-width: calc(100% - 42px); margin: 0 0 13px; color: var(--v2-purple-900); font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.resource-card p { margin: 0; color: var(--v2-copy); font-size: 14px; line-height: 1.68; }
.resource-card__action { min-height: 42px; margin-top: 21px; padding: 9px 17px; font-size: 13px; }
.resource-card--featured:first-child { border-radius: 34px 8px 24px 8px; }
.resource-card--featured:nth-child(2) { border-radius: 8px 34px 8px 24px; }

.resources-photo-break { position: relative; overflow: hidden; padding: 18px 0 72px; background: #fff; }
.resources-photo-break__frame { position: relative; height: 440px; overflow: hidden; border-radius: 32px 8px 32px 8px; }
.resources-photo-break__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.resources-photo-break__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,14,69,.8) 0%, rgba(43,14,69,.28) 45%, rgba(43,14,69,0) 72%); }
.resources-photo-break__frame > div { position: absolute; z-index: 2; top: 50%; left: clamp(30px, 6vw, 72px); max-width: 480px; transform: translateY(-50%); color: #fff; }
.resources-photo-break__frame span { display: block; margin-bottom: 12px; color: #ded2ff; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.resources-photo-break__frame strong { display: block; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
.resources-contact { padding: 86px 0; color: #fff; background: var(--v2-purple-900); }
.resources-contact .resources-eyebrow { color: #d6c9ff; }
.resources-contact h2 { max-width: 600px; margin: 0; color: #fff; }
.resources-contact__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr); align-items: center; gap: 70px; }
.resources-contact__actions { display: grid; gap: 12px; }
.resources-contact__actions a { min-height: 88px; display: flex; align-items: center; gap: 18px; border: 1px solid rgba(255,255,255,.24); border-radius: 18px 6px 18px 6px; padding: 18px 22px; color: #fff; text-decoration: none; transition: background .2s ease; }
.resources-contact__actions a:hover { background: rgba(255,255,255,.08); }
.resources-contact__actions i { width: 34px; color: #d6c9ff; font-size: 26px; text-align: center; }
.resources-contact__actions span { display: flex; flex-direction: column; color: rgba(255,255,255,.68); font-size: 12px; }
.resources-contact__actions strong { margin-top: 4px; color: #fff; font-size: 15px; font-weight: 600; }

body.resource-lightbox-open { overflow: hidden; }
.resource-lightbox[hidden] { display: none; }
.resource-lightbox { position: fixed; z-index: 1000; inset: 0; display: flex; align-items: center; justify-content: center; padding: 34px; background: rgba(23,19,43,.92); }
.resource-lightbox__dialog { max-width: 1200px; max-height: calc(100vh - 68px); display: flex; flex-direction: column; align-items: center; }
.resource-lightbox h2 { margin: 0 0 16px; color: #fff; font-size: 20px; font-weight: 600; }
.resource-lightbox img { max-width: 100%; max-height: calc(100vh - 130px); border-radius: 18px; object-fit: contain; box-shadow: 0 22px 70px rgba(0,0,0,.35); }
.resource-lightbox__close { position: fixed; z-index: 2; top: 20px; right: 22px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 18px; }

@media (max-width: 991px) {
    .resources-hero { min-height: 630px; padding-top: 72px; }
    .resources-hero__photo { top: 72px; width: 67%; }
    .resources-hero__inner { min-height: 558px; }
    .resources-hero__content { width: 58%; }
    .resources-jump { top: 72px; }
    .resources-section { scroll-margin-top: 152px; }
    .resources-contact__inner { grid-template-columns: 1fr; gap: 40px; }
    .resources-contact__actions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .site-v2-resources .site-v2-nav__links .is-active::after { margin-left: 0; }
    .resources-hero { min-height: auto; padding-top: 72px; background: #fff; }
    .resources-hero__photo { position: relative; top: 0; width: 100%; height: 62vw; min-height: 300px; max-height: 430px; background-image: url('/img/site-v2/recursos-hero.webp'); background-position: 51% center; }
    .resources-hero__inner { min-height: 0; }
    .resources-hero__content { width: 100%; padding: 34px 0 76px; }
    .resources-hero h1 { font-size: clamp(39px, 11vw, 54px); }
    .resources-hero p { font-size: 16px; }
    .resources-hero__waves { height: 70px; }
    .resources-jump__inner { min-height: 66px; overflow-x: auto; }
    .resources-jump__inner > span { display: none; }
    .resources-jump a { flex: 0 0 auto; }
    .resources-section { padding: 70px 0 82px; scroll-margin-top: 142px; }
    .resources-section__intro { align-items: flex-start; flex-direction: column; gap: 24px; margin-bottom: 34px; }
    .resources-section__intro h2, .resources-contact h2 { font-size: 36px; }
    .resources-section__intro p { font-size: 15px; }
    .resources-grid { grid-template-columns: 1fr; gap: 22px; }
    .resource-card, .resource-card--featured:first-child, .resource-card--featured:nth-child(2) { border-radius: 22px 7px 22px 7px; }
    .resource-card__body { min-height: 0; padding: 24px; }
    .resource-card__number { top: 25px; right: 24px; }
    .resource-card h3 { font-size: 21px; }
    .resources-photo-break { padding: 0 0 54px; }
    .resources-photo-break__frame { width: calc(100% - 32px); height: 520px; border-radius: 24px 7px 24px 7px; }
    .resources-photo-break__frame img { object-position: 63% center; }
    .resources-photo-break__frame::after { background: linear-gradient(0deg, rgba(43,14,69,.88) 0%, rgba(43,14,69,.2) 68%); }
    .resources-photo-break__frame > div { top: auto; right: 26px; bottom: 34px; left: 26px; transform: none; }
    .resources-photo-break__frame strong { font-size: 34px; }
    .resources-contact { padding: 66px 0; }
    .resources-contact__inner { display: block; }
    .resources-contact__actions { grid-template-columns: 1fr; margin-top: 34px; }
    .resource-lightbox { padding: 18px; }
    .resource-lightbox h2 { padding: 0 48px; text-align: center; }
}

@media (max-width: 420px) {
    .resources-hero__photo { height: 78vw; background-position: 51% center; }
    .resources-hero__content .site-v2-actions { flex-direction: column; }
    .resources-hero__content .site-v2-button { width: 100%; flex: 0 0 auto; }
    .resources-jump a { padding: 9px 12px; font-size: 12px; }
    .resources-photo-break__frame { height: 460px; }
}

@media (prefers-reduced-motion: reduce) {
    .resource-card, .resource-card__image img { transition: none; }
}
