/* Apresentação da home: hero, trilhas, sobre, posts recentes e app. */
:root {
  --ee-night: #140b2b;
  --ee-night-2: #2b1a52;
  --ee-gold: #f4b740;
  --ee-gold-2: #e0931b;
  --ee-ink: #1c2541;
  --ee-muted: #5b6478;
  --ee-teal: #1f7f9e;
  --ee-line: #e3e6ef;
  --ee-card: #ffffff;
  --ee-radius: 14px;
}

/* ---------- botões ---------- */
.ee-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  text-decoration: none !important;
}
.ee-btn:hover { transform: translateY(-1px); }
.ee-btn--primary { background: var(--ee-gold); color: var(--ee-night) !important; }
.ee-btn--primary:hover { background: #ffc85c; }
.ee-btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff !important; }
.ee-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.ee-btn--outline { border-color: var(--ee-teal); color: var(--ee-teal) !important; margin: 0.25rem 0.5rem 0.25rem 0; }
.ee-btn--outline:hover { background: var(--ee-teal); color: #fff !important; }

.ee-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ee-gold);
  margin-bottom: 0.75rem;
}
.ee-eyebrow--dark { color: var(--ee-gold-2); }

/* ---------- hero ---------- */
.ee-hero {
  position: relative;
  overflow: hidden;
  color: #f4f1fb;
  background: var(--ee-night);
  min-height: min(100vh, 820px);
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
}
.ee-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transform: scale(1.05);
  filter: blur(2px);
}
.ee-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(244, 183, 64, 0.18), transparent 55%),
    linear-gradient(100deg, rgba(20, 11, 43, 0.97) 0%, rgba(20, 11, 43, 0.85) 45%, rgba(43, 26, 82, 0.55) 100%);
}
.ee-hero__inner { position: relative; z-index: 1; }

.ee-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.ee-hero__title em {
  font-style: normal;
  color: var(--ee-gold);
}
.ee-hero__lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #d9d3ea;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.ee-search {
  display: flex;
  align-items: center;
  max-width: 34rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.3rem 0.3rem 1.1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.5rem;
}
.ee-search i { color: var(--ee-muted); }
.ee-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  color: var(--ee-ink);
  background: transparent;
}
.ee-search button {
  border: 0;
  border-radius: 999px;
  background: var(--ee-night-2);
  color: #fff;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
}
.ee-search button:hover { background: var(--ee-night); }

.ee-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }

.ee-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  list-style: none;
  padding: 1.25rem 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.ee-stats li { display: flex; flex-direction: column; }
.ee-stats strong { font-size: 1.5rem; color: #fff !important; font-weight: 800; line-height: 1.2; }
.ee-stats span { font-size: 0.85rem; color: #b9b1d0 !important; }

.ee-portrait {
  position: relative;
  margin: 0 0 0 auto;
  max-width: 360px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(244, 183, 64, 0.35);
  transform: rotate(2deg);
}
.ee-portrait img { display: block; width: 100%; height: auto; }
.ee-portrait figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1.25rem 1rem;
  background: linear-gradient(transparent, rgba(20, 11, 43, 0.95));
  display: flex;
  flex-direction: column;
}
.ee-portrait__formula {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--ee-gold);
}
.ee-portrait__caption { font-size: 0.85rem; color: #d9d3ea; }

.ee-hero__next {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  color: #fff !important;
  font-size: 1.25rem;
  opacity: 0.7;
  animation: ee-bounce 2.4s infinite;
}
@keyframes ee-bounce {
  0%, 60%, 100% { transform: translate(-50%, 0); }
  30% { transform: translate(-50%, 8px); }
}

/* ---------- seções ---------- */
.ee-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.ee-section h2 { font-weight: 800; color: var(--ee-ink); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.ee-section__head { text-align: center; max-width: 42rem; margin: 0 auto 2.5rem; }
.ee-section__head p { color: var(--ee-muted); font-size: 1.05rem; margin: 0.5rem 0 0; }

/* ---------- trilhas ---------- */
.ee-topics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
}
.ee-topic {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.4rem;
  background: var(--ee-card);
  border: 1px solid var(--ee-line);
  border-radius: var(--ee-radius);
  color: var(--ee-ink) !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.ee-topic:hover {
  transform: translateY(-3px);
  border-color: var(--ee-gold);
  box-shadow: 0 12px 28px rgba(28, 37, 65, 0.12);
}
.ee-topic__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: var(--ee-night-2);
  background: #fff4dc;
}
.ee-topic__body { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.ee-topic__title { font-size: 1.15rem; font-weight: 800; }
.ee-topic__text { color: var(--ee-muted); font-size: 0.95rem; line-height: 1.5; }
.ee-topic__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ee-teal);
}
.ee-topic:hover .ee-topic__meta i { transform: translateX(3px); }
.ee-topic__meta i { transition: transform 0.15s ease; }

/* ---------- posts recentes ---------- */
.recent-posts-section.ee-section .post-card { margin-bottom: 1.5rem; }
.recent-posts-section.ee-section .post-card-link { text-decoration: none !important; }
.ee-post {
  height: 100%;
  border-radius: var(--ee-radius) !important;
  overflow: hidden;
  border: 1px solid var(--ee-line) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card-link:hover .ee-post { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(28, 37, 65, 0.12); }
.ee-post__img { height: 150px; object-fit: cover; }
.ee-post__cover {
  height: 150px;
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.25rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(244, 183, 64, 0.45), transparent 45%),
    linear-gradient(135deg, var(--ee-night) 0%, var(--ee-night-2) 100%);
}
.ee-post__cover span {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.15;
}
.ee-post .card-body { padding: 1.1rem 1.25rem 0.5rem; }
.ee-post__section { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ee-gold-2); margin-bottom: 0.35rem; }
.ee-post__title { font-size: 1.1rem; font-weight: 800; color: var(--ee-ink); line-height: 1.35; text-align: left !important; }
.ee-post__summary { color: var(--ee-muted); font-size: 0.92rem; line-height: 1.55; text-align: left !important; }
.ee-post__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent !important;
  border-top: 1px solid var(--ee-line) !important;
  font-size: 0.85rem;
  color: var(--ee-muted);
}
.ee-post__read { font-weight: 700; color: var(--ee-teal); }

/* ---------- sobre ---------- */
.ee-about__portrait {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--ee-gold), 0 14px 30px rgba(28, 37, 65, 0.18);
}
.ee-about__lifespan { margin-top: 1rem; color: var(--ee-muted); font-weight: 700; }
.ee-about__text { color: #39415a; font-size: 1.02rem; line-height: 1.7; margin-top: 1rem; }
.ee-about__quote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 4px solid var(--ee-gold);
}
.ee-about__quote p {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ee-ink);
  margin: 0;
}
.ee-about__quote cite { display: block; margin-top: 0.4rem; font-style: normal; font-size: 0.9rem; color: var(--ee-muted); }
.ee-about__social { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 1.25rem 0; list-style: none; }
.ee-about__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ee-ink);
  color: #fff !important;
}
.ee-about__social a:hover { background: var(--ee-teal); }

/* ---------- app ---------- */
.ee-app {
  background: linear-gradient(120deg, var(--ee-night) 0%, var(--ee-night-2) 100%);
  border-radius: 24px;
  color: #e6e1f3;
  padding: 3.5rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
  overflow: hidden;
}
.ee-app h2 { color: #fff; }
.ee-app__text { font-size: 1.1rem; line-height: 1.6; color: #d9d3ea; margin: 1rem 0 1.5rem; }
.ee-app__features { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.7rem; }
.ee-app__features li { display: flex; gap: 0.75rem; align-items: baseline; }
.ee-app__features i { color: var(--ee-gold); width: 1.2rem; text-align: center; }
.ee-play {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.4rem 0.6rem 1.1rem;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  text-decoration: none !important;
}
.ee-play i { font-size: 1.7rem; }
.ee-play span { display: flex; flex-direction: column; font-size: 1.25rem; font-weight: 700; line-height: 1.1; }
.ee-play small { font-size: 0.7rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; }
.ee-play:hover { background: #1b1b1b; }

.ee-phone {
  width: 230px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 36px;
  background: #0b0717;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 2px #3a2d5c;
  transform: rotate(-4deg);
}
.ee-phone__screen { border-radius: 28px; overflow: hidden; aspect-ratio: 412 / 860; background: var(--ee-night); }
.ee-phone__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- responsivo ---------- */
@media (max-width: 991px) {
  .ee-hero { min-height: 0; padding: 6.5rem 0 4.5rem; }
}
@media (max-width: 767px) {
  .ee-app { padding: 2.25rem 1.5rem; border-radius: 0; margin: 0; }
  .ee-phone { margin-top: 2.5rem; width: 200px; }
  .ee-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}
@media (max-width: 575px) {
  .ee-section__head { padding: 0 16px; }
  .ee-topics__grid { gap: 0.75rem; }
  .ee-topic {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.4rem 0.9rem;
    padding: 1rem;
  }
  .ee-topic__icon { width: 44px; height: 44px; font-size: 1.1rem; grid-row: span 2; }
  .ee-topic__title { font-size: 1.05rem; }
  .ee-topic__text { font-size: 0.9rem; }
  .ee-topic__meta { grid-column: 2; }
  .ee-post__img, .ee-post__cover { height: 96px; }
  .ee-post__cover span { font-size: 1.25rem; }
  .ee-hero__lead { font-size: 1.05rem; }
  .ee-search button { padding: 0.6rem 0.9rem; }
  .ee-hero__ctas .ee-btn { flex: 1 1 100%; justify-content: center; }
  .ee-stats { gap: 1rem 1.75rem; }
  .ee-stats strong { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ee-hero__next { animation: none; }
  .ee-btn, .ee-topic { transition: none; }
}

/* Dentro do app (TWA/PWA instalado) não faz sentido oferecer o download do app. */
@media (display-mode: standalone), (display-mode: fullscreen) {
  .ee-hide-in-app,
  .section-holder:has(> .ee-app) { display: none !important; }
}
