/* Currículo Bruno Goulart — layout próprio CNV em Rede */

:root {
  --cv-purple: #7e67b5;
  --cv-purple-deep: #5a4788;
  --cv-purple-soft: #ebe4f7;
  --cv-gold: #f5c842;
  --cv-ink: #1f2430;
  --cv-muted: #5c6478;
  --cv-white: #ffffff;
  --cv-shadow: 0 18px 50px rgba(45, 30, 80, 0.12);
  --cv-radius: 18px;
  --cv-wrap: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.page-curriculo-bruno {
  margin: 0;
  font-family: Roboto, system-ui, sans-serif;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--cv-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(245, 200, 66, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(255, 255, 255, 0.35), transparent 50%),
    linear-gradient(165deg, #8f79c4 0%, var(--cv-purple) 38%, #6b55a0 100%);
  background-attachment: fixed;
}

.page-curriculo-bruno img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-curriculo-bruno a {
  color: var(--cv-purple-deep);
}

.cv-wrap {
  width: var(--cv-wrap);
  margin-inline: auto;
}

/* Top bar */
.cv-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(126, 103, 181, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.cv-topbar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}

.cv-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--cv-purple-deep);
  white-space: nowrap;
}

.cv-back:hover {
  color: var(--cv-purple);
}

.cv-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1;
  justify-content: flex-end;
}

.cv-nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--cv-purple-deep);
  background: var(--cv-purple-soft);
  transition: background 0.15s, transform 0.15s;
}

.cv-nav a:hover {
  background: #ddd0f2;
  transform: translateY(-1px);
}

/* Hero */
.cv-hero {
  padding: 2.5rem 0 3rem;
}

.cv-hero-grid {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 2.5rem;
  align-items: center;
}

.cv-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--cv-shadow);
  border: 4px solid rgba(255, 255, 255, 0.75);
}

.cv-hero-copy {
  color: var(--cv-white);
}

.cv-kicker {
  margin: 0 0 0.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--cv-gold);
}

.cv-hero-copy h1 {
  margin: 0 0 0.75rem;
  font-family: "Baloo 2", cursive;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.1;
}

.cv-lead {
  margin: 0 0 1rem;
  font-size: 1.12rem;
  max-width: 38rem;
}

.cv-facts {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.cv-facts li {
  margin-bottom: 0.55rem;
  padding-left: 1rem;
  border-left: 3px solid rgba(245, 200, 66, 0.75);
}

.cv-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cv-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.15s, background 0.15s;
}

.cv-social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.32);
  color: #fff;
}

/* Sections */
.cv-section {
  padding: 3rem 0;
}

.cv-section-alt {
  background: rgba(255, 255, 255, 0.92);
  border-block: 1px solid rgba(126, 103, 181, 0.08);
}

.cv-section h2 {
  margin: 0 0 1rem;
  font-family: "Baloo 2", cursive;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  color: var(--cv-purple-deep);
}

.cv-section-alt h2 {
  color: var(--cv-purple-deep);
}

.cv-section:not(.cv-section-alt):not(.cv-section-footer) h2 {
  color: #fff;
}

.cv-intro {
  margin: 0 0 1.5rem;
  color: var(--cv-muted);
  max-width: 52rem;
}

.cv-section:not(.cv-section-alt) .cv-intro {
  color: rgba(255, 255, 255, 0.92);
}

.cv-updated {
  margin-top: 1rem;
  color: var(--cv-muted);
  font-size: 0.92rem;
}

.cv-section:not(.cv-section-alt) .cv-updated {
  color: rgba(255, 255, 255, 0.85);
}

/* Split layouts */
.cv-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.cv-split-reverse .cv-split-media {
  order: 2;
}

.cv-split-reverse .cv-split-copy {
  order: 1;
}

.cv-split-media img {
  border-radius: var(--cv-radius);
  box-shadow: var(--cv-shadow);
}

.cv-prose h3 {
  margin: 0 0 0.75rem;
  font-family: "Baloo 2", cursive;
  font-size: 1.25rem;
  color: var(--cv-purple);
}

.cv-prose p {
  margin: 0 0 0.85rem;
}

.cv-section:not(.cv-section-alt) .cv-prose {
  color: rgba(255, 255, 255, 0.95);
}

.cv-section:not(.cv-section-alt) .cv-prose h3 {
  color: var(--cv-gold);
}

.cv-section:not(.cv-section-alt) .cv-prose a {
  color: #ffe082;
}

/* Cards */
.cv-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.cv-card-grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.cv-card-grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.cv-card {
  background: var(--cv-white);
  border-radius: var(--cv-radius);
  overflow: hidden;
  box-shadow: var(--cv-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.18s, box-shadow 0.18s;
}

.cv-section:not(.cv-section-alt) .cv-card {
  background: rgba(255, 255, 255, 0.97);
}

.cv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(45, 30, 80, 0.18);
}

.cv-card-media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cv-purple-soft);
}

.cv-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}

.cv-card:hover .cv-card-media img {
  transform: scale(1.03);
}

.cv-card-body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
}

.cv-card-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.35;
  font-family: "Baloo 2", cursive;
}

.cv-card-title a {
  text-decoration: none;
  color: var(--cv-purple-deep);
}

.cv-card-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--cv-muted);
}

/* Tables */
.cv-table-wrap {
  overflow-x: auto;
  border-radius: var(--cv-radius);
  box-shadow: var(--cv-shadow);
  background: #fff;
}

.cv-table-wrap table.tg {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 640px;
}

.cv-table-wrap table.tg th,
.cv-table-wrap table.tg td {
  border: 1px solid #e3e0ea;
  padding: 0.6rem 0.7rem;
  vertical-align: top;
}

.cv-table-wrap table.tg th,
.cv-table-wrap .tg-uqo3 {
  background: var(--cv-purple-soft);
  text-align: center;
  font-weight: 700;
  color: var(--cv-purple-deep);
}

.cv-table-wrap .tg-4ttk,
.cv-table-wrap .tg-eox6 {
  background: #f7f4fc;
}

.cv-table-wrap a {
  font-weight: 600;
}

/* Poems */
.cv-poem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.cv-poem-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--cv-radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--cv-shadow);
}

.cv-poem-card h3 {
  margin: 0 0 0.5rem;
  font-family: "Baloo 2", cursive;
  font-size: 1.05rem;
}

.cv-poem-card h3 a {
  text-decoration: none;
  color: var(--cv-purple-deep);
}

.cv-poem-card p {
  margin: 0 0 0.75rem;
  color: var(--cv-muted);
  font-size: 0.92rem;
}

.cv-link {
  font-weight: 700;
  text-decoration: none;
}

.cv-link:hover {
  text-decoration: underline;
}

.cv-more {
  margin-top: 1.5rem;
  text-align: center;
}

.cv-btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: var(--cv-purple-deep);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(90, 71, 136, 0.25);
  transition: transform 0.15s, background 0.15s;
}

.cv-btn:hover {
  transform: translateY(-2px);
  background: var(--cv-purple);
}

/* Footer grid */
.cv-section-footer {
  background: rgba(255, 255, 255, 0.95);
  padding-bottom: 3.5rem;
}

.cv-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cv-footer-grid h2 {
  font-size: 1.35rem;
}

.cv-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cv-footer-links a {
  text-decoration: none;
  font-weight: 600;
}

.cv-footer-links a:hover {
  text-decoration: underline;
}

/* Music */
.cv-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.cv-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--cv-radius);
  overflow: hidden;
  box-shadow: var(--cv-shadow);
  background: #000;
}

.cv-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cv-music-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.cv-music-col {
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--cv-radius);
  padding: 1.15rem 1.25rem;
}

.cv-music-col h3 {
  margin: 0 0 0.75rem;
  font-family: "Baloo 2", cursive;
  font-size: 1.05rem;
  color: var(--cv-purple-deep);
}

.cv-music-col ul {
  margin: 0;
  padding-left: 1.1rem;
}

.cv-music-col li {
  margin-bottom: 0.4rem;
}

.cv-music-col a {
  font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
  .cv-hero-grid,
  .cv-split,
  .cv-footer-grid,
  .cv-video-grid,
  .cv-music-lists {
    grid-template-columns: 1fr;
  }

  .cv-split-reverse .cv-split-media,
  .cv-split-reverse .cv-split-copy {
    order: unset;
  }

  .cv-nav {
    justify-content: flex-start;
  }

  .cv-portrait {
    max-width: 320px;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .cv-topbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cv-nav {
    justify-content: center;
  }
}
