/* ═══════════════════════════════════════════
   LITERACIA PAGES — adhara.pt design system
═══════════════════════════════════════════ */

.literacia-page {
  background: #ffffff;
}

/* shared gradient text utility */
.lit-grad-text {
  background: linear-gradient(90deg, #0E5B68 0%, #19A4BB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lit-section-title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  color: #1a2b35;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.lit-section-sub {
  text-align: center;
  color: #6b8795;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 0;
}

/* ═══ HERO ═══ */
.lit-hero {
  background: #ffffff;
  padding: 0;
  overflow: hidden;
}

.lit-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding: 60px var(--px) 50px;
  position: relative;
  overflow: hidden;
}

.lit-hero__title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #1A2B35;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.lit-accent {
  background: linear-gradient(90deg, #0E5B68 0%, #19A4BB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient title variant used on sub-pages */
.lit-hero__title--grad {
  background: linear-gradient(90deg, #0E5B68 0%, #19A4BB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lit-hero__sub {
  font-size: .95rem;
  font-weight: 600;
  color: #1a2b35;
  line-height: 1.5;
  margin: 0 0 12px;
}

.lit-hero__desc {
  font-size: .95rem;
  color: #3D3D3D;
  line-height: 1.75;
  max-width: 460px;
  margin: 0 0 32px;
}

/* Hero media: devices + ellipse */
.lit-hero__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  background-image: url('../images/Literacia/Ellipse_62.png');
  background-repeat: no-repeat;
  background-size: 52% auto;
  background-position: 48% 52%;
}

.lit-hero__ellipse {
  display: none;
}

.lit-hero__devices {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
  object-fit: contain;
  display: block;
}

/* Sub-page hero light variant */
.lit-hero--light {
  background: linear-gradient(100deg, #e8f7fa 0%, #f0fafb 60%, #d6f2f6 100%);
  padding-bottom: 64px;
}

/* Poster grid (Cursos hero) */
.lit-hero__media--grid {
  min-height: 280px;
  align-items: flex-start;
}

.lit-poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.lit-poster-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(13,59,79,.1);
}

/* Back link (reused from detail-pages) */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: .9rem;
  opacity: .7;
  transition: opacity .2s, transform .2s;
}
.back-link:hover { opacity: 1; transform: translateX(-3px); }

/* ═══ IMPACT BANNER ═══ */
.lit-impact {
  position: relative;
  background: linear-gradient(100deg, #0a1a5c 0%, #0e3a52 50%, #16a4bb 100%);
  padding: 72px 0;
  overflow: hidden;
  margin-top: 0;
}

.lit-impact__bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
}
.lit-impact__bg-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.lit-impact__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.lit-impact__left h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.lit-impact__left p {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  line-height: 1.7;
}

.lit-impact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 40px;
}

.lit-impact__list li {
  color: rgba(255,255,255,1);
  font-size: 1.05rem;
  font-weight: 700;
  padding-left: 20px;
  position: relative;
}
.lit-impact__list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #2BB8C8;
  font-weight: 700;
}

/* ═══ PLATFORM / FEATURES ═══ */
.lit-platform {
  padding: 72px 0;
  background: #ffffff;
}

.lit-platform__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.lit-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.lit-feature-card {
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), linear-gradient(135deg, #C5ECFF, #19A4BB);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 18px;
  padding: 20px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: left;
  transition: box-shadow .2s, transform .2s;
  min-height: 100px;
}

.lit-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(43,184,200,.18);
}

.lit-feature-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.lit-feature-card span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1AA3BB;
  line-height: 1.3;
  flex: 1;
}

/* ═══ OFFER SECTIONS (Cursos / Recursos on main page) ═══ */
.lit-offer {
  padding: 56px 0;
  background: #ffffff;
}

.lit-offer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.lit-offer__inner--reverse {
  grid-template-columns: 1.05fr 1fr;
}

.lit-offer__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lit-offer__title {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 800;
  color: #0D3B4F;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.lit-offer__lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a2b35;
  line-height: 1.5;
  margin: 0 0 14px;
}

.lit-offer__body {
  font-size: 1rem;
  color: #4a5e6b;
  line-height: 1.6;
  margin: 0 0 10px;
}

.lit-offer__list {
  list-style: none;
  margin: 6px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lit-offer__list li {
  font-size: 1rem;
  font-weight: 600;
  color: #1a2b35;
  padding-left: 18px;
  position: relative;
}
.lit-offer__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #2BB8C8;
  font-weight: 700;
  font-size: 1.2rem;
}

/* ═══ OFFER SECTIONS ═══ */
.lit-offer {
  padding: 60px 0;
  background: #ffffff;
}

.lit-offer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.lit-offer__inner--reverse {
  grid-template-columns: 1.05fr 1fr;
}

.lit-offer__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lit-offer__title {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 800;
  color: #0D3B4F;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.lit-offer__lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a2b35;
  line-height: 1.5;
  margin: 0 0 14px;
}

.lit-offer__body {
  font-size: 1rem;
  color: #4a5e6b;
  line-height: 1.6;
  margin: 0 0 10px;
}

.lit-offer__list {
  list-style: none;
  margin: 6px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lit-offer__list li {
  font-size: 1rem;
  font-weight: 600;
  color: #1a2b35;
  padding-left: 18px;
  position: relative;
}
.lit-offer__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #2BB8C8;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Media: teal rounded rectangle, device inside */
.lit-offer__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The teal rounded rectangle — wraps the image naturally */
.lit-offer__card {
  background: linear-gradient(135deg, #32C8D8 0%, #1591A8 100%);
  border-radius: 24px;
  width: 100%;
  padding: 40px 32px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-height: 360px;
}

/* Subtle light shimmer top-left */
.lit-offer__card::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Device image sits at bottom of card */
.lit-offer__media img {
  width: 100%;
  max-width: 520px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 -6px 20px rgba(13,59,79,.2));
}

/* Keep old classes inert */
.lit-offer__rect { display: none; }
.lit-offer__device { display: none; }

/* ═══ PEDAGOGIA SECTION (Cursos page) ═══ */
.lit-pedagogia {
  padding: 72px 0;
  background: #ffffff;
}

.lit-pedagogia__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.lit-pedagogia__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 8px;
}

.lit-pedagogia__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lit-ped-card {
  border: 2px solid #b2e8ed;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  transition: box-shadow .2s;
}
.lit-ped-card:hover { box-shadow: 0 6px 20px rgba(43,184,200,.12); }

.lit-ped-card img {
  width: 40px; height: 40px;
  object-fit: contain; flex-shrink: 0;
}

.lit-ped-card span {
  font-size: .92rem;
  font-weight: 600;
  color: #1a2b35;
  line-height: 1.4;
}

.lit-pedagogia__visual img {
  width: 100%;
  border-radius: 16px;
  object-fit: contain;
  filter: drop-shadow(0 16px 36px rgba(13,59,79,.1));
}

/* ═══ DGERT SECTION ═══ */
.lit-dgert {
  padding: 72px 0;
  background: #ffffff;
}

.lit-dgert__inner {
  max-width: var(--max-w);
  margin: 0 auto 48px;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: start;
}

.lit-dgert__title {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: #0D3B4F;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.lit-dgert__content p {
  font-size: .95rem;
  color: #6b8795;
  line-height: 1.65;
  margin: 0 0 10px;
}

.lit-dgert__logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lit-dgert__logo img {
  width: 72px; height: 72px; object-fit: contain;
}

.lit-dgert__label {
  display: flex;
  flex-direction: column;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0D3B4F;
  line-height: 1.2;
}

.lit-dgert__label-dgert {
  color: #19A4BB;
  font-size: 1.3rem;
}

.lit-dgert__cards {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.lit-cert-card {
  border: 2px solid #b2e8ed;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  transition: box-shadow .2s, transform .2s;
}
.lit-cert-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(43,184,200,.13); }

.lit-cert-card img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }

.lit-cert-card span {
  font-size: .95rem;
  font-weight: 700;
  color: #19A4BB;
  line-height: 1.35;
}

/* ═══ RESOURCE SECTIONS (Recursos page) ═══ */
.lit-resource {
  padding: 72px 0;
}

.lit-resource:nth-child(odd) { background: #ffffff; }
.lit-resource:nth-child(even) { background: #f5fbfc; }

.lit-resource__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.lit-resource__inner--reverse {
  direction: rtl;
}
.lit-resource__inner--reverse > * { direction: ltr; }

.lit-resource__title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  color: #0D3B4F;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.lit-resource__content p {
  font-size: .95rem;
  color: #6b8795;
  line-height: 1.7;
  margin: 0 0 12px;
}

/* Teal rounded rectangle image container */
.lit-resource__img-wrap {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.lit-resource__img-wrap--teal {
  background: #2BB8C8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lit-resource__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .lit-hero__devices {
    max-width: 560px;
  }
  .lit-hero__media {
    background-size: 55% auto;
  }
}

@media (max-width: 900px) {
  .lit-hero__inner,
  .lit-impact__inner,
  .lit-pedagogia__grid,
  .lit-dgert__inner,
  .lit-resource__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Offer sections: stack vertically, hide image on mobile */
  .lit-offer__inner,
  .lit-offer__inner--reverse {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lit-offer__content {
    padding-bottom: 40px;
  }

  /* Hide the image card on mobile — text only */
  .lit-offer__media {
    display: none;
  }

  .lit-hero__media {
    min-height: 280px;
    background-size: 50% auto;
  }

  .lit-hero__devices {
    max-width: 440px;
  }

  .lit-resource__inner--reverse {
    direction: ltr;
  }


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

  .lit-dgert__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lit-hero__devices { max-width: 320px; }
  .lit-hero__media { background-size: 60% auto; min-height: 220px; }
  .lit-features-grid { grid-template-columns: 1fr; }
  .lit-poster-grid { grid-template-columns: repeat(2, 1fr); }
  .lit-dgert__inner { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════
   RECURSOS PAGE — rec-* classes
═══════════════════════════════════════════ */

/* Override any inherited overflow that clips images */
.literacia-page main {
  overflow: visible;
}

/* ── Hero full-width ── */
.rec-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
}

.rec-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rec-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.rec-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px var(--px);
  width: 100%;
}

.rec-hero__content {
  max-width: 460px;
}

.rec-hero__title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #0B4B55 0%, #19A4BB 55%, #1A6070 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rec-hero__desc {
  font-size: 1rem;
  color: #1a2b35;
  line-height: 1.5;
  margin: 0 0 24px;
}

.rec-hero__desc strong { color: #0D3B4F; }

/* ── Resource sections ── */
.rec-section {
  padding: 0 0 56px;
  background: #ffffff;
}

/* Extra top space for the first section so image doesn't overlap hero */
.rec-section:first-of-type {
  padding-top: 80px;
}

.rec-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px var(--px) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.rec-section__inner--reverse {
  direction: rtl;
}

.rec-section__inner--reverse > * { direction: ltr; }

.rec-section__title {
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 800;
  color: #0D3B4F;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.rec-section__text {
  font-size: .98rem;
  color: #4a5e6b;
  line-height: 1.55;
  margin: 0 0 10px;
}

.rec-section__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rec-section__list li {
  font-size: .98rem;
  font-weight: 600;
  color: #1a2b35;
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}

.rec-section__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #2BB8C8;
  font-weight: 700;
  font-size: 1.2rem;
}

/* ── Images standalone, no background card ── */
.rec-img-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rec-img-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

.rec-img-card img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(13,59,79,.16));
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .rec-section__inner,
  .rec-section__inner--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
    padding-top: 40px;
  }
  .rec-section__inner--reverse > * { direction: ltr; }

  .rec-img-card img { height: 360px; max-width: 100%; }
}

@media (max-width: 600px) {
  .rec-hero__inner { padding: 40px var(--px); }
  .rec-section { padding-bottom: 32px; }
  .rec-section:first-of-type { padding-top: 40px; }

  .rec-img-card img { height: 260px; }
}


/* ═══════════════════════════════════════════
   LITERACIA CURSOS PAGE — lc-* classes
═══════════════════════════════════════════ */

.lc-grad {
  background: linear-gradient(90deg, #0B4B55 0%, #19A4BB 55%, #CAF8FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HERO ── */
.lc-hero {
  background: linear-gradient(100deg, #c8e8ee 0%, #d7f0f4 55%, #b8dde5 100%);
  overflow: hidden;
}
.lc-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px var(--px) 56px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.lc-hero__content h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #0D3B4F;
  letter-spacing: -.03em;
  margin: 0 0 20px;
  line-height: 1;
}
.lc-hero__content p {
  font-size: .97rem;
  color: #1a2b35;
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 440px;
}
.lc-hero__content p strong { color: #0D3B4F; }
.btn-lc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 12px;
  background: linear-gradient(90deg, #0B4B55 0%, #19A4BB 60%, #CAF8FF 100%);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.btn-lc:hover { opacity: .88; transform: scale(1.03); }
.lc-hero__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.lc-hero__grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(13,59,79,.12);
}

/* ── PEDAGOGIA ── */
.lc-ped {
  padding: 80px 0;
  background: #fff;
}
.lc-ped__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.lc-ped__title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: #0D3B4F;
  text-align: center;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.lc-ped__sub {
  text-align: center;
  color: #6b8795;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 52px;
}
.lc-ped__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.lc-ped__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lc-ped-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 12px;
  padding: 14px 22px;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #C5ECFF 0%, #19A4BB 100%) border-box;
  border: 2.5px solid transparent;
  transition: box-shadow .2s;
}
.lc-ped-pill:hover { box-shadow: 0 6px 20px rgba(43,184,200,.15); }
.lc-ped-pill img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}
.lc-ped-pill span {
  font-size: 1rem;
  font-weight: 700;
  color: #19A4BB;
  line-height: 1.35;
}
.lc-ped__visual img {
  width: 100%;
  border-radius: 20px;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(13,59,79,.10));
}

/* ── DGERT ── */
.lc-dgert {
  padding: 80px 0;
  background: #fff;
}
.lc-dgert__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.lc-dgert__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: start;
  margin-bottom: 48px;
}
.lc-dgert__title {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: #0D3B4F;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.lc-dgert__desc {
  font-size: .97rem;
  color: #4a5e6b;
  line-height: 1.65;
  margin: 0 0 10px;
}
.lc-dgert__desc strong { color: #0D3B4F; }
.lc-dgert__logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.lc-dgert__logo-wrap img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}
.lc-dgert__logo-text {
  display: flex;
  flex-direction: column;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0D3B4F;
  line-height: 1.2;
}
.lc-dgert__logo-text .dgert { color: #19A4BB; font-size: 1.3rem; }
.lc-dgert__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.lc-cert-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 12px;
  padding: 14px 24px;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #C5ECFF 0%, #19A4BB 100%) border-box;
  border: 2.5px solid transparent;
  transition: box-shadow .2s, transform .2s;
}
.lc-cert-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(43,184,200,.13); }
.lc-cert-pill img { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.lc-cert-pill span { font-size: 1rem; font-weight: 700; color: #19A4BB; line-height: 1.35; }

/* ── RESPONSIVE CURSOS ── */
@media (max-width: 900px) {
  .lc-hero__inner, .lc-ped__grid, .lc-dgert__top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .lc-hero__grid { grid-template-columns: repeat(2, 1fr); }
  .lc-dgert__cards { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════
   LITERACIA RECURSOS PAGE — lr-* classes
═══════════════════════════════════════════ */

.lr-grad {
  background: linear-gradient(90deg, #0B4B55 0%, #19A4BB 55%, #CAF8FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HERO ── */
.lr-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(100deg, #c8e8ee 0%, #d7f0f4 55%, #b8dde5 100%);
}
.lr-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lr-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}
.lr-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(200,232,238,0.97) 0%,
    rgba(200,232,238,0.90) 30%,
    rgba(200,232,238,0.55) 55%,
    rgba(200,232,238,0.0) 100%
  );
}
.lr-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 52px var(--px) 72px;
  display: flex;
  align-items: center;
}
.lr-hero__content {
  max-width: 520px;
}
.lr-hero__content h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #0D3B4F;
  letter-spacing: -.03em;
  margin: 0 0 20px;
  line-height: 1;
}
.lr-hero__content p {
  font-size: .97rem;
  color: #1a2b35;
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 440px;
}
.lr-hero__content p strong { color: #0D3B4F; }
.btn-lr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 12px;
  background: linear-gradient(90deg, #0B4B55 0%, #19A4BB 60%, #CAF8FF 100%);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.btn-lr:hover { opacity: .88; transform: scale(1.03); }

/* ── RESOURCE SECTIONS ── */
.lr-section { padding: 48px 0; background: #fff; }
.lr-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.lr-section__inner--rev { direction: rtl; }
.lr-section__inner--rev > * { direction: ltr; }
.lr-section__title {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #0D3B4F;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.lr-section__text {
  font-size: .97rem;
  color: #4a5e6b;
  line-height: 1.7;
  margin: 0 0 12px;
}
.lr-section__list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lr-section__list li {
  font-size: .95rem;
  color: #4a5e6b;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.lr-section__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #19A4BB;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Plain image — no teal card */
.lr-img-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Image-first variant: on desktop the image appears before text */
.lr-img-wrap--first { order: -1; }

.lr-img-wrap img {
  width: 100%;
  max-width: 520px;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  filter: drop-shadow(0 8px 24px rgba(13,59,79,.10));
}

/* Keep old lr-img-card for backwards compat but override */
.lr-img-card {
  background: none;
  border-radius: 0;
  padding: 0;
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lr-img-card img {
  width: 100%;
  max-width: 520px;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  filter: drop-shadow(0 8px 24px rgba(13,59,79,.10));
}

/* Hero img card override */
.lr-hero__img-card {
  background: none;
  border-radius: 0;
  padding: 0;
  min-height: unset;
  display: flex;
  align-items: center;
}
.lr-hero__img-card img {
  width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(13,59,79,.10));
}

/* ── RESPONSIVE RECURSOS ── */
@media (max-width: 900px) {
  .lr-hero { min-height: 300px; }
  .lr-hero__inner { padding: 40px var(--px) 60px; }
  .lr-hero__content { max-width: 100%; }
  .lr-hero__bg::after {
    background: linear-gradient(
      90deg,
      rgba(200,232,238,0.97) 0%,
      rgba(200,232,238,0.92) 40%,
      rgba(200,232,238,0.70) 70%,
      rgba(200,232,238,0.30) 100%
    );
  }
  .lr-section__inner { grid-template-columns: 1fr; gap: 24px; }
  .lr-section { padding: 36px 0; }
  /* Always show: text first, then its image — regardless of desktop order */
  .lr-section__inner .lr-img-wrap { order: 2; }
  .lr-section__inner > div:not(.lr-img-wrap) { order: 1; }
  /* Remove the inline style order override */
  .lr-img-wrap[style*="order"] { order: 2 !important; }
}
@media (max-width: 640px) {
  .lr-hero { min-height: auto; }
  .lr-hero__bg::after {
    background: linear-gradient(
      180deg,
      rgba(200,232,238,0.98) 0%,
      rgba(200,232,238,0.90) 60%,
      rgba(200,232,238,0.60) 100%
    );
  }
}
