/* EN EducarConceito — modern pink / app-like UI */
:root {
  --pink: #ff3f8e;
  --pink-soft: #ff85b5;
  --pink-deep: #e02d7a;
  --white: #ffffff;
  --dark: #121212;
  --dark-2: #1a1a1a;
  --gray: #8a8a8a;
  --gray-light: #f4f4f6;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 50px rgba(255, 63, 142, 0.22);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.35);
  --radius: 20px;
  --radius-sm: 14px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --glow: 0 0 40px rgba(255, 63, 142, 0.45);
  /* Footer / publisher contact (green accent, outline-icon style) */
  --footer-accent: #34e1a3;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.theme-en {
  margin: 0;
  font-family: var(--font);
  background: linear-gradient(180deg, #fff9fc 0%, #fef3f8 35%, #fffafd 100%);
  color: #2a1f27;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

html.menu-open,
body.theme-en.menu-open {
  overflow: hidden;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Soft floating hearts (decorative, behind content) */
.heart-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-heart {
  position: absolute;
  font-size: clamp(18px, 3.5vw, 42px);
  color: rgba(255, 63, 142, 0.14);
  line-height: 1;
  animation: heartFloat 14s ease-in-out infinite;
  will-change: transform, opacity;
}

.floating-heart--1 {
  left: 6%;
  top: 12%;
  font-size: 28px;
  animation-delay: 0s;
  animation-duration: 16s;
}
.floating-heart--2 {
  left: 18%;
  top: 68%;
  animation-delay: -2s;
  animation-duration: 18s;
}
.floating-heart--3 {
  left: 82%;
  top: 20%;
  animation-delay: -4s;
  animation-duration: 15s;
}
.floating-heart--4 {
  left: 72%;
  top: 78%;
  font-size: 22px;
  animation-delay: -6s;
}
.floating-heart--5 {
  left: 44%;
  top: 8%;
  font-size: 20px;
  animation-delay: -1s;
  animation-duration: 20s;
}
.floating-heart--6 {
  left: 52%;
  top: 55%;
  animation-delay: -8s;
}
.floating-heart--7 {
  left: 10%;
  top: 42%;
  font-size: 16px;
  opacity: 0.85;
  animation-delay: -3s;
  animation-duration: 17s;
}
.floating-heart--8 {
  left: 90%;
  top: 48%;
  font-size: 24px;
  animation-delay: -5s;
}
.floating-heart--9 {
  left: 28%;
  top: 88%;
  font-size: 18px;
  animation-delay: -7s;
  animation-duration: 19s;
}
.floating-heart--10 {
  left: 62%;
  top: 32%;
  font-size: 15px;
  animation-delay: -9s;
}
.floating-heart--11 {
  left: 36%;
  top: 72%;
  animation-delay: -11s;
}
.floating-heart--12 {
  left: 94%;
  top: 12%;
  font-size: 20px;
  animation-delay: -13s;
  animation-duration: 16s;
}

@keyframes heartFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(-4deg);
    opacity: 0.35;
  }
  25% {
    transform: translate3d(8px, -18px, 0) scale(1.06) rotate(3deg);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(-6px, -32px, 0) scale(0.95) rotate(-2deg);
    opacity: 0.45;
  }
  75% {
    transform: translate3d(10px, -12px, 0) scale(1.04) rotate(4deg);
    opacity: 0.5;
  }
}

body.theme-en .skip-link:focus {
  outline-color: var(--pink-deep);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--pink);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.skip-link:focus {
  left: 16px;
  outline: 2px solid var(--white);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

/* ----- Header ----- */
/* Note: avoid backdrop-filter on this ancestor — it creates a containing block and breaks
   position:fixed for .site-nav on mobile (menu would clip to header height). */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 18, 18, 0.94);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

/* Image logo — transparent PNG on dark header (subtle lift for contrast) */
.logo.logo--img {
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.logo.logo--img:hover,
.logo.logo--img:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.logo-img {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(200px, 52vw);
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.06));
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: var(--glow);
}

.logo-text {
  color: var(--white);
}

.logo-accent {
  color: var(--pink-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 10px;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.nav-list a {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 0;
  position: relative;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--white);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--pink-soft));
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.btn-glow {
  box-shadow: var(--shadow), var(--glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-nav-cta {
  flex-shrink: 0;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 100px) 0 clamp(56px, 10vw, 100px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #2a0a1f 0%, var(--dark) 45%, #0d0d0d 100%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 63, 142, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 63, 142, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, black 20%, transparent 70%);
  opacity: 0.5;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.hero-blob--1 {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  background: var(--pink);
  top: -120px;
  right: -80px;
}

.hero-blob--2 {
  width: min(320px, 50vw);
  height: min(320px, 50vw);
  background: var(--pink-soft);
  bottom: -80px;
  left: -60px;
  opacity: 0.35;
}

.hero-blob--3 {
  width: 200px;
  height: 200px;
  background: #ff6fb0;
  top: 40%;
  left: 35%;
  opacity: 0.25;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-soft);
  margin: 0 0 16px;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  background: linear-gradient(120deg, #fff 10%, #ffc8e4 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat strong {
  font-size: 1.1rem;
  color: var(--white);
}

.hero-stat span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.hero-visual {
  position: relative;
  min-height: 280px;
}

.hero-card-stack {
  position: relative;
  height: 100%;
  min-height: 300px;
  isolation: isolate;
}

.mini-card {
  position: absolute;
  box-sizing: border-box;
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 14px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  max-width: min(232px, calc(100vw - 36px));
  animation: floaty 6s ease-in-out infinite;
}

.mini-card p {
  margin: 8px 0 0;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.mini-card--1 {
  top: 0;
  right: 0;
  animation-delay: 0s;
}

.mini-card--2 {
  top: 38%;
  left: 0;
  animation-delay: -2s;
}

.mini-card--3 {
  bottom: 0;
  right: 12%;
  animation-delay: -4s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.mini-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 63, 142, 0.25);
  color: #ffc4de;
}

.mini-pill--soft {
  background: rgba(255, 255, 255, 0.1);
  color: var(--pink-soft);
}

.mini-icon {
  font-size: 1.25rem;
}

/* ----- Sections ----- */
.section {
  padding: clamp(48px, 7vw, 88px) 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  max-width: none;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.section-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.02rem;
}

.text-link {
  font-weight: 700;
  color: var(--pink-soft);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--white);
}

/* Categories */
.categories {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.cat-card {
  position: relative;
  display: block;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}

.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 63, 142, 0.2), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
}

.cat-card:hover,
.cat-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 63, 142, 0.45);
  box-shadow: 0 16px 40px rgba(255, 63, 142, 0.15);
}

.cat-card:hover::before,
.cat-card:focus-visible::before {
  opacity: 1;
}

.cat-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.cat-title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
}

.cat-desc {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.cat-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 1.25rem;
  color: var(--pink-soft);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
}

.cat-card:hover .cat-arrow,
.cat-card:focus-visible .cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Trending horizontal scroll */
.trending {
  background: var(--dark);
}

.trend-scroller {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--pink) var(--dark-2);
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.trend-scroller:active {
  cursor: grabbing;
}

.trend-scroller::-webkit-scrollbar {
  height: 8px;
}

.trend-scroller::-webkit-scrollbar-thumb {
  background: rgba(255, 63, 142, 0.45);
  border-radius: 8px;
}

.trend-card {
  flex: 0 0 min(300px, 82vw);
  scroll-snap-align: start;
  background: var(--dark-2);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.trend-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.trend-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.trend-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trend-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
}

.trend-badge--soft {
  background: rgba(255, 255, 255, 0.92);
  color: var(--dark);
}

.trend-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  padding: 16px 16px 4px;
  line-height: 1.35;
}

.trend-title a:hover,
.trend-title a:focus-visible {
  color: var(--pink-soft);
}

.trend-meta {
  margin: 0;
  padding: 0 16px 18px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.scroll-hint {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 8px;
}

/* Blog grid */
.blog {
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.blog-card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 63, 142, 0.35);
}

.blog-card-link {
  display: block;
  height: 100%;
}

.blog-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-img-wrap img {
  transform: scale(1.05);
}

.blog-body {
  padding: 18px 18px 20px;
}

.blog-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pink-soft);
  margin-bottom: 8px;
}

.blog-card-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
}

.blog-excerpt {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
}

.read-more {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--pink-soft);
}

.blog-card:hover .read-more {
  color: var(--white);
}

.blog-cta-wrap {
  text-align: center;
  margin-top: 36px;
}

/* Quick tips */
.quick-tips {
  background: var(--dark);
}

.tips-list {
  display: grid;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.tip-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.tip-num {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--pink);
  opacity: 0.9;
  line-height: 1.4;
}

.tip-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.tip-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

/* CTA */
.cta-banner {
  padding: clamp(40px, 6vw, 72px) 0;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 44px);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(255, 63, 142, 0.35), rgba(18, 18, 18, 0.9));
  border: 1px solid rgba(255, 133, 181, 0.35);
  box-shadow: var(--shadow);
}

.cta-title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
}

.cta-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

/* About snippet */
.about-snippet {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
}

.about-snippet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}

.about-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  margin: 0 0 16px;
}

.about-card {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-card-title {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.about-list {
  margin: 0;
  padding-left: 0;
}

.about-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pink-soft);
  font-weight: 800;
}

/* Footer */
.site-footer {
  position: relative;
  margin-top: 0;
  background: linear-gradient(180deg, #0f0f12 0%, #060608 48%, #030304 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 63, 142, 0.15) 20%,
    var(--pink-soft) 50%,
    rgba(255, 63, 142, 0.15) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.footer-accent-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 100%);
  height: 160px;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255, 63, 142, 0.18), transparent 70%);
  pointer-events: none;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.92fr) minmax(0, 0.92fr) minmax(0, 1.28fr);
  gap: clamp(28px, 4vw, 44px);
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(36px, 5vw, 52px);
  align-items: start;
}

.footer-col--brand {
  padding-right: clamp(0px, 3vw, 24px);
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin-bottom: 18px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transition: transform 0.25s ease, filter 0.2s ease;
}

.footer-brand-logo:hover,
.footer-brand-logo:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.footer-brand-logo img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.05));
}

.footer-lead {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  max-width: 320px;
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 63, 142, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.footer-chip:hover,
.footer-chip:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 63, 142, 0.45);
  color: var(--white);
}

.footer-chip--outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 133, 181, 0.35);
  color: var(--pink-soft);
  box-shadow: none;
}

.footer-chip--outline:hover,
.footer-chip--outline:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--pink-soft);
  color: var(--white);
  box-shadow: none;
}

.footer-heading {
  margin: 0 0 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-soft);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.93rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: "";
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--pink-soft));
  border-radius: 2px;
  transition: width 0.2s ease;
  flex-shrink: 0;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.footer-links a:hover::before,
.footer-links a:focus-visible::before {
  width: 14px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
  padding-top: 22px;
  padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.footer-copy {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
}

.footer-domain {
  font-weight: 600;
  color: rgba(255, 133, 181, 0.85);
}

.footer-dot {
  opacity: 0.45;
}

.footer-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 63, 142, 0.12);
  border: 1px solid rgba(255, 63, 142, 0.25);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink-soft);
}

.footer-heading--accent {
  color: var(--footer-accent);
}

.footer-contact-intro {
  margin: -8px 0 18px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.48);
}

.footer-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--footer-accent);
  background: rgba(52, 225, 163, 0.08);
  border: 1px solid rgba(52, 225, 163, 0.35);
}

.footer-contact-icon svg {
  display: block;
}

.footer-contact-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  min-width: 0;
}

.footer-contact-body a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-body a:hover,
.footer-contact-body a:focus-visible {
  color: var(--footer-accent);
}

.footer-contact-line {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.45;
}

.footer-col--contact {
  padding-right: 0;
}

@media (min-width: 961px) {
  .footer-col--contact {
    padding-left: clamp(0px, 2vw, 12px);
    border-left: 1px solid rgba(52, 225, 163, 0.12);
  }
}


/* Inner pages (legal, contact, about) */
.page-hero {
  padding: clamp(40px, 6vw, 72px) 0 32px;
  background: linear-gradient(165deg, #2a0a1f 0%, var(--dark) 55%);
  border-bottom: 1px solid var(--border);
}

.page-title {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
}

/* Só padding vertical — se usar shorthand com 0 nas laterais, apaga o padding do .container */
.prose {
  padding-top: 40px;
  padding-bottom: 72px;
  max-width: 720px;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
  font-weight: 800;
}

.prose p,
.prose li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 12px 0;
}

.prose a {
  color: var(--pink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-grid {
  display: grid;
  gap: 28px;
  padding-top: 40px;
  padding-bottom: 72px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.contact-card {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--pink);
  border-color: transparent;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-intro {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 20px;
}

.contact-box {
  padding: 20px 22px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-box h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
}

.contact-box p {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.contact-box--publisher {
  border-color: rgba(52, 225, 163, 0.22);
  background: linear-gradient(
    145deg,
    rgba(52, 225, 163, 0.07),
    rgba(255, 255, 255, 0.03)
  );
}

.contact-box--publisher h3 {
  color: var(--footer-accent);
}

.contact-box-lead {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.55;
}

.contact-box--publisher .footer-contact-list {
  gap: 14px;
}

.contact-faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
}

.contact-faq summary {
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
}

.contact-faq details p {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  /* Headline & CTAs first; floating cards below (natural DOM order). */
  .hero-content {
    order: 0;
  }

  .hero-visual {
    order: 1;
    min-height: 200px;
    margin-top: 12px;
    max-width: 100%;
    padding: 0 2px;
  }

  .hero-card-stack {
    min-height: 220px;
    max-width: min(360px, 100%);
    margin: 0 auto;
  }

  .mini-card {
    max-width: min(220px, calc(100% - 16px));
  }

  .mini-card--1 {
    top: 0;
    right: 8px;
    left: auto;
  }

  .mini-card--2 {
    top: 36%;
    left: 8px;
    right: auto;
  }

  .mini-card--3 {
    bottom: 4px;
    right: 10%;
    left: auto;
  }

  .hero {
    padding-top: clamp(32px, 6vw, 56px);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
    max-width: 420px;
  }

  .footer-col--contact {
    grid-column: 1 / -1;
    max-width: 520px;
    padding-left: 0;
    border-left: none;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .about-snippet-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  /* Sticky + fixed descendente falha em vários móveis (menu ao lado do conteúdo).
     Em narrow screens o header deixa de ser sticky para o .site-nav fixed bater na viewport. */
  .site-header {
    overflow: visible;
    position: relative;
    z-index: 1000;
  }

  .header-inner {
    position: relative;
    z-index: 1001;
  }

  .logo.logo--img,
  .nav-toggle {
    position: relative;
    z-index: 1002;
  }

  .nav-toggle {
    display: flex;
  }

  /* Overlay a viewport inteira; conteúdo do menu abaixo da barra (72px). */
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    z-index: 999;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 72px max(20px, env(safe-area-inset-left, 0px)) calc(28px + env(safe-area-inset-bottom, 0px))
      max(20px, env(safe-area-inset-right, 0px));
    gap: 12px;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
    border-top: none;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-sizing: border-box;
  }

  body.menu-open .site-nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.3s ease, visibility 0s linear 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    flex: 1 1 auto;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    font-size: 1.05rem;
    padding: 14px 4px;
    border-radius: 10px;
  }

  .nav-list a:hover,
  .nav-list a:focus-visible {
    background: rgba(255, 255, 255, 0.06);
  }

  .btn-nav-cta {
    width: 100%;
    justify-content: center;
  }

  body.menu-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .scroll-hint {
    display: block;
  }

  /* Inner pages: legal, about, contact — readable on narrow screens */
  .page-hero {
    padding: clamp(28px, 8vw, 48px) 0 24px;
  }

  .page-hero .container {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }

  .page-title {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
    line-height: 1.2;
  }

  .page-lead {
    font-size: 0.95rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  .prose {
    padding-top: 28px;
    padding-bottom: 56px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .prose h2 {
    font-size: 1.08rem;
    margin: 28px 0 10px;
    line-height: 1.3;
  }

  .prose p,
  .prose li {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .prose ul {
    padding-left: 1.1rem;
  }

  .contact-grid {
    padding-top: 28px;
    padding-bottom: 56px;
    gap: 22px;
  }

  .contact-card {
    padding: 18px 16px;
  }

  .contact-box {
    padding: 16px 14px;
  }

  .header-inner .logo {
    min-width: 0;
    flex-shrink: 1;
    gap: 8px;
  }

  .logo-img {
    height: 30px;
    max-width: min(180px, 50vw);
  }
}

@media (max-width: 540px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    gap: 16px 28px;
  }

  .hero-stat strong {
    font-size: 1rem;
  }

  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head--row .text-link {
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mini-card {
    animation: none;
  }

  .floating-heart {
    animation: none;
    opacity: 0.28;
  }
}

/* ----- EN light theme: surfaces, text, header, sections, footer ----- */
/* Sem backdrop-filter no header: em mobile quebra position:fixed do .site-nav
   (o menu deixa de ser relativo à viewport e “salta” ao lado do conteúdo). */
body.theme-en .site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(255, 63, 142, 0.12);
}

body.theme-en .logo-img {
  filter: drop-shadow(0 1px 2px rgba(255, 63, 142, 0.12));
}

body.theme-en .nav-list a {
  color: rgba(42, 31, 39, 0.72);
}

body.theme-en .nav-list a:hover,
body.theme-en .nav-list a:focus-visible {
  color: var(--pink-deep);
}

body.theme-en .nav-toggle-bar {
  background: #2a1f27;
}

body.theme-en .btn-ghost {
  background: rgba(255, 63, 142, 0.08);
  color: var(--pink-deep);
  border-color: rgba(255, 63, 142, 0.22);
}

body.theme-en .btn-ghost:hover,
body.theme-en .btn-ghost:focus-visible {
  background: rgba(255, 63, 142, 0.14);
}

body.theme-en .hero-bg {
  background: linear-gradient(165deg, #fff0f6 0%, #fff9fc 50%, #fef5f9 100%);
}

body.theme-en .hero-grid {
  background-image:
    linear-gradient(rgba(255, 63, 142, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 63, 142, 0.06) 1px, transparent 1px);
  opacity: 0.65;
}

body.theme-en .hero-blob {
  opacity: 0.35;
}

body.theme-en .hero-eyebrow {
  color: var(--pink-deep);
}

body.theme-en .hero-title {
  background: linear-gradient(120deg, #2a1f27 0%, #c2185b 55%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.theme-en .hero-sub {
  color: rgba(42, 31, 39, 0.72);
}

body.theme-en .hero-stat strong {
  color: #2a1f27;
}

body.theme-en .hero-stat span {
  color: rgba(42, 31, 39, 0.5);
}

body.theme-en .mini-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 63, 142, 0.14);
  box-shadow: 0 16px 40px rgba(255, 63, 142, 0.1);
}

body.theme-en .mini-card p {
  color: #2a1f27;
}

body.theme-en .mini-pill {
  background: rgba(255, 63, 142, 0.15);
  color: var(--pink-deep);
}

body.theme-en .mini-pill--soft {
  background: rgba(42, 31, 39, 0.06);
  color: var(--pink-deep);
}

body.theme-en .section-title {
  color: #2a1f27;
}

body.theme-en .section-lead {
  color: rgba(42, 31, 39, 0.62);
}

body.theme-en .text-link {
  color: var(--pink-deep);
}

body.theme-en .text-link:hover,
body.theme-en .text-link:focus-visible {
  color: var(--pink);
}

body.theme-en .categories {
  background: linear-gradient(180deg, #fffafd 0%, #fff5f9 100%);
}

body.theme-en .cat-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 63, 142, 0.12);
}

body.theme-en .cat-desc {
  color: rgba(42, 31, 39, 0.58);
}

body.theme-en .trending {
  background: transparent;
}

body.theme-en .trend-scroller {
  scrollbar-color: var(--pink) #fce8f0;
}

body.theme-en .trend-card {
  background: #fff;
  border-color: rgba(255, 63, 142, 0.12);
  box-shadow: 0 8px 28px rgba(255, 63, 142, 0.08);
}

body.theme-en .trend-card:hover {
  box-shadow: 0 14px 36px rgba(255, 63, 142, 0.14);
}

body.theme-en .trend-title a {
  color: #2a1f27;
}

body.theme-en .trend-meta {
  color: rgba(42, 31, 39, 0.48);
}

body.theme-en .scroll-hint {
  color: rgba(42, 31, 39, 0.4);
}

body.theme-en .blog {
  background: linear-gradient(180deg, #fff5f9 0%, #fffafd 100%);
}

body.theme-en .blog-card {
  background: #fff;
  border-color: rgba(255, 63, 142, 0.12);
}

body.theme-en .blog-card-title {
  color: #2a1f27;
}

body.theme-en .blog-excerpt {
  color: rgba(42, 31, 39, 0.62);
}

body.theme-en .blog-card:hover .read-more {
  color: var(--pink-deep);
}

body.theme-en .quick-tips {
  background: transparent;
}

body.theme-en .tip-item {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 63, 142, 0.1);
}

body.theme-en .tip-item p {
  color: rgba(42, 31, 39, 0.65);
}

body.theme-en .cta-inner {
  background: linear-gradient(135deg, rgba(255, 63, 142, 0.12), rgba(255, 255, 255, 0.95));
  border-color: rgba(255, 63, 142, 0.2);
  box-shadow: 0 16px 48px rgba(255, 63, 142, 0.12);
}

body.theme-en .cta-sub {
  color: rgba(42, 31, 39, 0.68);
}

body.theme-en .about-snippet {
  background: #fff5f9;
  border-top-color: rgba(255, 63, 142, 0.1);
}

body.theme-en .about-text {
  color: rgba(42, 31, 39, 0.68);
}

body.theme-en .about-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 63, 142, 0.12);
}

body.theme-en .about-list li {
  color: rgba(42, 31, 39, 0.65);
}

body.theme-en .site-footer {
  background: linear-gradient(180deg, #2f1824 0%, #1f1018 100%);
  border-top-color: rgba(255, 133, 181, 0.15);
}

body.theme-en .footer-brand-logo img {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

body.theme-en .footer-chip--outline:hover,
body.theme-en .footer-chip--outline:focus-visible {
  color: var(--white);
}

body.theme-en .posts-loading,
body.theme-en .posts-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 28px 16px;
  color: rgba(42, 31, 39, 0.55);
  font-size: 0.95rem;
}

body.theme-en .posts-error {
  color: #a9446c;
}

body.theme-en .trend-img-fallback {
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(135deg, #ffe8f2, #fff0f7);
}

body.theme-en .blog-img-fallback--lg {
  min-height: 180px;
}

@media (max-width: 780px) {
  body.theme-en .site-nav {
    background: rgba(255, 252, 253, 0.98);
    max-width: 100%;
  }

  body.theme-en .nav-list a:hover,
  body.theme-en .nav-list a:focus-visible {
    background: rgba(255, 63, 142, 0.08);
  }
}

/* Inner pages (about, legal, contact) — light */
body.theme-en .page-hero {
  background: linear-gradient(165deg, #fff0f6 0%, #fffafd 100%);
  border-bottom-color: rgba(255, 63, 142, 0.1);
}

body.theme-en .page-title {
  color: #2a1f27;
}

body.theme-en .page-lead {
  color: rgba(42, 31, 39, 0.62);
}

body.theme-en .prose h2 {
  color: #2a1f27;
}

body.theme-en .prose p,
body.theme-en .prose li {
  color: rgba(42, 31, 39, 0.78);
}

body.theme-en .contact-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 63, 142, 0.12);
}

body.theme-en .contact-form input,
body.theme-en .contact-form textarea {
  border-color: rgba(42, 31, 39, 0.15);
  background: #fff;
  color: #2a1f27;
}

body.theme-en .contact-intro {
  color: rgba(42, 31, 39, 0.72);
}

body.theme-en .contact-box {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 63, 142, 0.12);
}

body.theme-en .contact-box p {
  color: rgba(42, 31, 39, 0.65);
}

body.theme-en .contact-faq summary {
  color: #2a1f27;
}

body.theme-en .contact-faq details p {
  color: rgba(42, 31, 39, 0.6);
}

body.theme-en .contact-faq details {
  border-bottom-color: rgba(255, 63, 142, 0.12);
}
