:root {
  --bg: #0b0d10;
  --surface: #1a1d22;
  --surface-alt: #22272f;
  --accent: #106ebe;
  --accent-hover: #2a8be2;
  --text: #f5f7fb;
  --muted: #aeb6c4;
  --border: #323843;
  --card-radius: 14px;
  --card-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  --carousel-card-height: 520px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  width: min(1280px, 95%);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: #101317;
}

.header-top {
  padding: 2rem 0 1.5rem;
}

.header-top h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--text);
}

body[data-page="home"] .header-top h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 700;
}

.header-top p {
  margin: 0.35rem 0 0;
  color: var(--accent-hover);
  font-size: 1.1rem;
}

.nav-wrapper {
  background: #ffffff;
  border-top: 1px solid #dde1e8;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.nav-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

nav a {
  color: #1a1d22;
  text-decoration: none;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  font-weight: 500;
}

nav a:hover,
nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.search-box input {
  width: min(320px, 100%);
  background: #f0f2f5;
  color: #1a1d22;
  border: 1px solid #cdd1d8;
  border-radius: 4px;
  padding: 0.65rem 0.8rem;
}

.main-content,
.page-content {
  padding: 1.4rem 0 2.5rem;
}

.about-layout {
  position: relative;
}

.about-content {
  display: grid;
  gap: 0;
}

.about-photo-wrap {
  position: absolute;
  left: -132px;
  top: 0.05rem;
}

.about-photo {
  width: 122px;
  height: 122px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  display: block;
}

.home-media-layout {
  position: relative;
}

.home-video-wrap {
  position: absolute;
  left: -132px;
  top: 0.05rem;
}

.home-video {
  width: 122px;
  height: 122px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #000000;
}

.carousel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.carousel-track {
  position: relative;
  height: var(--carousel-card-height);
}

.carousel-slide {
  display: none;
  grid-template-columns: 58% 42%;
  height: var(--carousel-card-height);
}

.carousel-slide.active {
  display: grid;
}

.carousel-slide img {
  width: 100%;
  height: var(--carousel-card-height);
  object-fit: cover;
}

.slide-content {
  background: var(--accent);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: var(--carousel-card-height);
  overflow: hidden;
}

.slide-meta {
  color: #e4f0ff;
  margin: 0;
  font-weight: 600;
}

.slide-content h2 {
  margin: 0.8rem 0;
  font-size: clamp(1.2rem, 2vw, 1.95rem);
  line-height: 1.22;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.slide-content p {
  margin: 0;
  line-height: 1.45;
  font-size: 1.02rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem;
  background: #ffffff;
  border-top: 1px solid #dde1e8;
}

.carousel-controls > button {
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.microsoft-logo {
  width: 12px;
  height: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
}

.microsoft-logo .sq {
  width: 100%;
  height: 100%;
}

.microsoft-logo .red {
  background: #f25022;
}

.microsoft-logo .green {
  background: #7fba00;
}

.microsoft-logo .blue {
  background: #00a4ef;
}

.microsoft-logo .yellow {
  background: #ffb900;
}

.dots {
  display: flex;
  gap: 0.55rem;
}

.dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #2f81f7;
  background: #2f81f7;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.dot.active {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.dot-microsoft {
  border-color: #2f81f7;
  color: #f5f7fb;
  font-size: 0.78rem;
}

.dot-microsoft.active {
  box-shadow: none;
}

.dot-red {
  border-color: #f5143f;
  background: #f5143f;
}

.dot-red.active {
  background: #ff2d56;
  box-shadow: 0 0 0 2px rgba(245, 20, 63, 0.35), 0 0 14px rgba(245, 20, 63, 0.65);
}

.dot-green {
  border-color: #45d90a;
  background: #45d90a;
}

.dot-green.active {
  background: #5ff01f;
  box-shadow: 0 0 0 2px rgba(69, 217, 10, 0.35), 0 0 14px rgba(69, 217, 10, 0.65);
}

.dot-blue {
  border-color: #1773ff;
  background: #1773ff;
}

.dot-blue.active {
  background: #3390ff;
  box-shadow: 0 0 0 2px rgba(23, 115, 255, 0.35), 0 0 14px rgba(23, 115, 255, 0.65);
}

.dot-yellow {
  border-color: #ffe000;
  background: #ffe000;
}

.dot-yellow.active {
  background: #ffef5b;
  box-shadow: 0 0 0 2px rgba(255, 224, 0, 0.35), 0 0 14px rgba(255, 224, 0, 0.65);
}

.info-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* Cards logo abaixo do carrossel na home */
.home-media-layout > .info-grid .info-card {
  position: relative;
  overflow: hidden;
}

.home-media-layout > .info-grid .info-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.home-media-layout > .info-grid {
  grid-template-columns: repeat(2, 1fr);
}

.home-media-layout > .info-grid .info-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(245, 20, 63, 0.24), rgba(26, 29, 34, 0.96));
}

.home-media-layout > .info-grid .info-card:nth-child(1)::before {
  background: #f5143f;
}

.home-media-layout > .info-grid .info-card:nth-child(1) h3,
.home-media-layout > .info-grid .info-card:nth-child(1) a {
  color: #ff5e7f;
}

.home-media-layout > .info-grid .info-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(69, 217, 10, 0.24), rgba(26, 29, 34, 0.96));
}

.home-media-layout > .info-grid .info-card:nth-child(2)::before {
  background: #45d90a;
}

.home-media-layout > .info-grid .info-card:nth-child(2) h3,
.home-media-layout > .info-grid .info-card:nth-child(2) a {
  color: #8dff63;
}

.home-media-layout > .info-grid .info-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(23, 115, 255, 0.24), rgba(26, 29, 34, 0.96));
}

.home-media-layout > .info-grid .info-card:nth-child(3)::before {
  background: #1773ff;
}

.home-media-layout > .info-grid .info-card:nth-child(3) h3,
.home-media-layout > .info-grid .info-card:nth-child(3) a {
  color: #66a8ff;
}

.home-media-layout > .info-grid .info-card:nth-child(4) {
  background: linear-gradient(135deg, rgba(255, 224, 0, 0.24), rgba(26, 29, 34, 0.96));
}

.home-media-layout > .info-grid .info-card:nth-child(4)::before {
  background: #ffe000;
}

.home-media-layout > .info-grid .info-card:nth-child(4) h3,
.home-media-layout > .info-grid .info-card:nth-child(4) a {
  color: #fff27a;
}

.info-card,
.content-card,
.event-card,
.tip-card,
.page-hero,
.form-section,
.comments-section,
.comment-item {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.form-section {
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.info-card,
.content-card,
.event-card,
.tip-card,
.page-hero,
.form-section {
  padding: 1.2rem;
}

.form-section h2 {
  color: var(--text);
  margin: 0 0 1.2rem;
}

.form-section label {
  color: var(--text);
  font-weight: 500;
}

.form-subtitle {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.form-subtitle span {
  font-weight: 400;
  color: var(--accent);
}

.form-section h2 a {
  color: var(--accent);
  text-decoration: none;
}

.form-section h2 a:hover {
  text-decoration: underline;
}

.info-card h3,
.content-card h3,
.event-card h3,
.tip-card h3,
.comments-section h3 {
  margin: 0 0 0.7rem;
}

.info-card p,
.content-card p,
.event-card p,
.tip-card p,
.page-hero p {
  color: #d7dce7;
  line-height: 1.55;
}

.info-card a,
.tip-card a {
  color: var(--accent-hover);
  text-decoration: none;
  font-weight: 600;
}

.tip-card a {
  display: inline-block;
  margin-top: 0.95rem;
}

.academic-list {
  display: grid;
  gap: 0.9rem;
}

.academic-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.academic-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.3rem;
  flex-shrink: 0;
}

.academic-item p {
  margin: 0;
}

.certification-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.certification-group {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
}

.certification-group h4 {
  margin: 0 0 0.9rem;
  color: var(--accent-hover);
  font-size: 1.05rem;
}

.certification-grid {
  display: grid;
  gap: 0.9rem;
}

.certification-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.certification-badge {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
  background: #ffffff;
  padding: 0.35rem;
  flex-shrink: 0;
}

.certification-item p {
  margin: 0;
  color: #d7dce7;
  line-height: 1.45;
}

.certifications-more {
  margin: 1rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #d7dce7;
  flex-wrap: wrap;
}

.certifications-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-decoration: none;
}

.certifications-more a {
  color: var(--text);
}

.certifications-more a[aria-label="Credly"] {
  color: #ff6f00;
}

.certifications-more a[aria-label="Transcrição Microsoft Learn"] {
  color: #00a4ef;
}

.certifications-more a:hover {
  color: white;
}

.certifications-more a[aria-label="Credly"]:hover {
  border-color: #ff6f00;
  background: #ff6f00;
  color: #ffffff;
}

.certifications-more a[aria-label="Transcrição Microsoft Learn"]:hover {
  border-color: #00a4ef;
  background: #00a4ef;
  color: #ffffff;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.tinho-video {
  max-width: 100%;
  border-radius: 12px;
}

.social-follow-group {
  padding: 1rem;
}

.social-follow-list {
  display: grid;
  gap: 0.9rem;
}

.social-follow-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.social-follow-item p {
  margin: 0;
  color: #d7dce7;
  line-height: 1.45;
}

.social-follow-item:hover {
  border-color: rgba(42, 139, 226, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.social-follow-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffffff;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.social-youtube {
  color: #ff0000;
}

.social-instagram {
  color: #e1306c;
}

.social-udemy {
  color: #a435f0;
}

.social-linkedin {
  color: #0a66c2;
}

.social-github {
  color: #000000;
}

.form-section {
  margin-top: 1.2rem;
}

.form-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #d9e2f1;
}

.promo-news-grid {
  margin-top: 1.2rem;
}

.promo-card {
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.promo-card h3,
.promo-card a {
  position: relative;
  z-index: 1;
}

.promo-udemy {
  background: linear-gradient(135deg, rgba(164, 53, 240, 0.24), rgba(26, 29, 34, 0.96));
}

.promo-udemy::before {
  background: #a435f0;
}

.promo-udemy h3,
.promo-udemy a {
  color: #c977ff;
}

.promo-youtube {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.22), rgba(26, 29, 34, 0.96));
}

.promo-youtube::before {
  background: #ff0000;
}

.promo-youtube h3,
.promo-youtube a {
  color: #ff6b6b;
}

.promo-instagram {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.24), rgba(26, 29, 34, 0.96));
}

.promo-instagram::before {
  background: #e1306c;
}

.promo-instagram h3,
.promo-instagram a {
  color: #ff76a5;
}

.promo-linkedin {
  background: linear-gradient(135deg, rgba(10, 102, 194, 0.24), rgba(26, 29, 34, 0.96));
}

.promo-linkedin::before {
  background: #0a66c2;
}

.promo-linkedin h3,
.promo-linkedin a {
  color: #58a6ff;
}

.comment-form {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field input,
.field textarea {
  border: 1px solid #cdd1d8;
  background: #f0f2f5;
  color: #1a1d22;
  border-radius: 4px;
  padding: 0.65rem;
}

.full-width {
  grid-column: 1 / -1;
}

.comment-form button {
  width: fit-content;
  background: var(--accent);
  color: white;
  border: 0;
  border-radius: 4px;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.comment-form button:hover {
  background: var(--accent-hover);
}

.subscribe-button {
  margin-top: 0.6rem;
}

.form-message {
  min-height: 1.3rem;
  color: #88d49b;
  font-weight: 600;
}

.events-grid,
.tips-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.featured-event-card {
  display: flex;
  flex-direction: column;
}

.event-visual {
  height: 180px;
  border-radius: 18px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.event-visual-azure {
  background: linear-gradient(135deg, #8ac2e9 0%, #9fc8e6 58%, #d4b28a 58%, #d9c5ab 100%);
}

.event-visual-ai-tour {
  background: linear-gradient(180deg, #48115b 0%, #112a78 34%, #0a122e 100%);
  box-shadow: inset 0 -22px 40px rgba(0, 0, 0, 0.35);
}

.event-visual-training {
  background: linear-gradient(135deg, #f1a07c 0%, #f6b091 34%, #d7c1a6 100%);
}

.event-meta {
  margin: 0 0 0.55rem;
  color: #cfd7e6;
  font-size: 0.95rem;
  font-weight: 600;
}

.event-card a {
  margin-top: auto;
  width: fit-content;
  text-decoration: none;
  background: #4f3f7e;
  color: #ffffff;
  padding: 0.8rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
}

.event-card a:hover {
  background: #65519b;
}

.main-event-banner {
  margin-top: 1rem;
  min-height: 210px;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: #050608;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.main-event-copy {
  padding: 2rem 1.9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-event-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.15;
  color: #ffffff;
  max-width: 720px;
}

.main-event-copy a {
  margin-top: 1.4rem;
  width: fit-content;
  text-decoration: none;
  background: #ffffff;
  color: #101317;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
}

.main-event-copy a:hover {
  background: #e8edf5;
}

.main-event-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(90deg, transparent 0 58%, rgba(255, 255, 255, 0.06) 58% 58.4%, transparent 58.4% 100%),
    linear-gradient(180deg, #000000 0%, #07080a 100%);
}

.main-event-art::before,
.main-event-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.main-event-art::before {
  background:
    linear-gradient(180deg, transparent 0 70%, #f25022 70% 100%),
    linear-gradient(180deg, transparent 0 40%, #7fba00 40% 100%),
    linear-gradient(180deg, transparent 0 55%, #00a4ef 55% 100%),
    linear-gradient(180deg, transparent 0 22%, #ffb900 22% 100%);
  background-size: 18px 100%, 18px 100%, 18px 100%, 18px 100%;
  background-position: calc(100% - 92px) 0, calc(100% - 68px) 0, calc(100% - 44px) 0, calc(100% - 20px) 0;
  background-repeat: no-repeat;
  opacity: 0.95;
}

.main-event-art::after {
  background:
    linear-gradient(90deg, transparent 0 12%, #f25022 12% 18%, transparent 18% 100%),
    linear-gradient(90deg, transparent 0 20%, #7fba00 20% 26%, transparent 26% 100%),
    linear-gradient(90deg, transparent 0 28%, #00a4ef 28% 34%, transparent 34% 100%),
    linear-gradient(90deg, transparent 0 36%, #ffb900 36% 42%, transparent 42% 100%),
    linear-gradient(90deg, transparent 0 72%, #f25022 72% 80%, transparent 80% 100%),
    linear-gradient(90deg, transparent 0 80%, #7fba00 80% 88%, transparent 88% 100%);
  background-size: 100% 18px;
  background-position: 0 20px, 0 44px, 0 68px, 0 92px, 0 calc(100% - 44px), 0 calc(100% - 20px);
  background-repeat: no-repeat;
  opacity: 0.95;
}

.build-word {
  position: relative;
  z-index: 1;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 6px #f25022;
  text-shadow:
    8px 0 0 #00a4ef,
    16px 0 0 #7fba00,
    24px 0 0 #ffb900;
}

.comments-section {
  margin-top: 1.2rem;
}

.comments-section-light {
  color: var(--text);
  padding: 1.2rem;
}

.comments-section-light h3 {
  color: var(--text);
}

.comments-list {
  display: grid;
  gap: 0.8rem;
}

.comments-section-light .empty-message {
  color: var(--muted);
}

.comment-item {
  padding: 1rem;
}

.comments-section-light .comment-item {
  border: 1px solid #dde1e8;
  background: #ffffff;
  box-shadow: none;
}

.comment-item .comment-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.comments-section-light .comment-meta {
  color: #5b6576;
}

.comment-item .text {
  margin: 0.6rem 0 0;
  line-height: 1.5;
}

.comments-section-light .text {
  color: #1a1d22;
}

.empty-message {
  color: var(--muted);
  margin: 0;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid #dde1e8;
  background: #ffffff;
  text-align: center;
  padding: 1.2rem 0;
  color: #1a1d22;
}

.footer-credit {
  margin: 0;
  color: var(--accent-hover);
  font-size: 1.1rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-bottom: 0.85rem;
}

.footer-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cdd1d8;
  border-radius: 50%;
  color: #1a1d22;
  text-decoration: none;
  background: #f0f2f5;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-icons a:hover {
  transform: translateY(-1px);
}

.footer-icons a[aria-label="LinkedIn"] {
  color: #0a66c2;
}

.footer-icons a[aria-label="Microsoft Learn"] {
  color: #00a4ef;
}

.footer-icons a[aria-label="Udemy"] {
  color: #a435f0;
}

.footer-icons a[aria-label="Instagram"] {
  color: #e1306c;
}

.footer-icons a[aria-label="Credly"] {
  color: #ff6f00;
}

.footer-icons a[aria-label="YouTube"] {
  color: #ff0000;
}

.footer-icons a[aria-label="GitHub"] {
  color: #000000;
}

.footer-icons a[aria-label="LinkedIn"]:hover {
  border-color: #0a66c2;
  background: #0a66c2;
  color: #ffffff;
}

.footer-icons a[aria-label="Microsoft Learn"]:hover {
  border-color: #00a4ef;
  background: #00a4ef;
  color: #ffffff;
}

.footer-icons a[aria-label="Udemy"]:hover {
  border-color: #a435f0;
  background: #a435f0;
  color: #ffffff;
}

.footer-icons a[aria-label="Instagram"]:hover {
  border-color: #e1306c;
  background: #e1306c;
  color: #ffffff;
}

.footer-icons a[aria-label="Credly"]:hover {
  border-color: #ff6f00;
  background: #ff6f00;
  color: #ffffff;
}

.footer-icons a[aria-label="YouTube"]:hover {
  border-color: #ff0000;
  background: #ff0000;
  color: #ffffff;
}

.footer-icons a[aria-label="GitHub"]:hover {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
}

.hidden-by-search {
  display: none !important;
}

/* Artigo Pages */
.artigo-layout {
  max-width: 860px;
  padding: 2rem 0 3rem;
}

.artigo-header {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.artigo-voltar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.artigo-voltar:hover {
  color: var(--accent-hover);
}

.artigo-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.artigo-tag-source {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
}

.github-source {
  background: rgba(36, 41, 47, 0.9);
  color: #f0f6fc;
  border: 1px solid #30363d;
}

.azure-source {
  background: rgba(0, 120, 215, 0.15);
  color: #2a8be2;
  border: 1px solid rgba(0, 120, 215, 0.4);
}

.artigo-data,
.artigo-leitura {
  color: var(--muted);
  font-size: 0.88rem;
}

.artigo-leitura {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.artigo-header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  color: var(--text);
}

.artigo-subtitulo {
  margin: 0;
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
}

.artigo-imagem {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--card-radius);
  margin-bottom: 2.5rem;
  display: block;
}

.artigo-conteudo {
  color: #d7dce7;
  line-height: 1.8;
  font-size: 1.05rem;
}

.artigo-conteudo h2 {
  margin: 2rem 0 0.8rem;
  font-size: 1.5rem;
  color: var(--text);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.artigo-conteudo h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.15rem;
  color: var(--accent-hover);
}

.artigo-conteudo p {
  margin: 0 0 1.1rem;
}

.artigo-conteudo ul,
.artigo-conteudo ol {
  margin: 0 0 1.1rem;
  padding-left: 1.5rem;
}

.artigo-conteudo li {
  margin-bottom: 0.5rem;
}

.artigo-conteudo code {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.15em 0.5em;
  font-size: 0.88em;
  color: var(--accent-hover);
  font-family: "Cascadia Code", "Fira Code", "Courier New", monospace;
}

.artigo-conteudo strong {
  color: var(--text);
}

.artigo-tags-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.artigo-chip {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
}

.artigo-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.artigo-nav-link {
  color: var(--accent-hover);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.2s;
}

.artigo-nav-link:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .artigo-layout {
    padding: 1.5rem 0 2rem;
  }

  .artigo-header h1 {
    font-size: 1.5rem;
  }

  .artigo-subtitulo {
    font-size: 1rem;
  }

  .artigo-imagem {
    max-height: 280px;
    margin-bottom: 1.5rem;
  }

  .artigo-conteudo {
    font-size: 0.98rem;
  }

  .artigo-conteudo h2 {
    font-size: 1.25rem;
  }

  .artigo-nav {
    flex-direction: column;
  }
}

/* Blog Articles Grid */
.blog-articles-grid {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.blog-articles-grid h2 {
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
  color: var(--text);
  font-weight: 600;
}

.articles-container {
  display: grid;
  gap: 1.2rem;
}

.article-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: all 0.3s ease;
}

.article-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 32px rgba(16, 107, 190, 0.2);
  transform: translateY(-2px);
}

.article-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 0;
}

.article-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  gap: 0.8rem;
}

.article-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.article-content h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--accent-hover);
}

.article-content p {
  margin: 0;
  color: #d7dce7;
  line-height: 1.6;
  font-size: 0.98rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.article-tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: rgba(16, 107, 190, 0.15);
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
}

.article-card:hover .article-tag {
  background: rgba(16, 107, 190, 0.25);
  border-color: var(--accent);
}

.article-cta {
  margin-top: auto;
  padding-top: 1rem;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--accent-hover);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: gap 0.2s ease;
}

.article-link:hover {
  gap: 0.8rem;
}

.article-link:hover::after {
  content: "→";
}

@media (max-width: 1080px) {
  .main-event-banner {
    grid-template-columns: 1fr;
  }

  .main-event-art {
    min-height: 150px;
  }

  .about-layout {
    position: static;
  }

  .about-photo-wrap {
    position: static;
    margin: 0 0 0.9rem;
  }

  .home-media-layout {
    position: static;
  }

  .home-video-wrap {
    position: static;
    margin: 0 0 0.9rem;
  }

  .carousel-slide {
    grid-template-columns: 1fr;
    height: auto;
  }

  .carousel-track {
    height: auto;
  }

  .carousel-slide img {
    height: 280px;
  }

  .slide-content {
    height: auto;
  }

  .info-grid,
  .events-grid,
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Timeline Styles */
.timeline-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  padding: 1.4rem 0 2.5rem;
}

.timeline-main h2 {
  margin: 0 0 1.5rem;
  font-size: 2rem;
  color: var(--text);
}

.timeline-container {
  position: relative;
  padding-left: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-date {
  position: absolute;
  left: -90px;
  top: 6px;
  width: 75px;
  text-align: right;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
}

.timeline-dot {
  position: absolute;
  left: -39px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--accent);
}

.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.2rem;
}

.timeline-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--text);
}

.timeline-content .news-link {
  background: none;
  border: none;
  color: var(--accent-hover);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
  width: 100%;
  padding: 0;
}

.timeline-content .news-link:hover {
  text-decoration: underline;
}

.timeline-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.timeline-excerpt {
  margin: 0.8rem 0 0;
  color: #d7dce7;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.read-more-btn {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.read-more-btn:hover {
  background: var(--accent-hover);
}

/* Sidebar */
.timeline-sidebar {
  display: grid;
  gap: 1.5rem;
  padding-top: 1rem;
}

.sidebar-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.2rem;
}

.sidebar-section h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 600;
}

.updates-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.updates-list li {
  display: grid;
  gap: 0.3rem;
}

.updates-list li.loading {
  color: var(--muted);
  font-size: 0.9rem;
}

.recent-link {
  background: none;
  border: none;
  color: var(--accent-hover);
  cursor: pointer;
  text-align: left;
  font-weight: 500;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  max-height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.updates-list small {
  color: var(--muted);
  font-size: 0.8rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag:hover,
.tag.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.tag.loading {
  cursor: default;
  color: var(--muted);
}

.tag.loading:hover {
  background: var(--surface-alt);
  border-color: var(--border);
  color: var(--muted);
}

/* News Modal */
.news-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.news-modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 3rem;
}

.modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  max-width: 720px;
  width: 100%;
  padding: 2rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.news-detail {
  display: grid;
  gap: 1.2rem;
}

.news-detail h2 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.3;
  color: var(--text);
}

.news-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.news-image {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 400px;
}

.news-full-content {
  color: #d7dce7;
  line-height: 1.7;
  font-size: 1.02rem;
}

.news-full-content p {
  margin: 0 0 1rem;
}

.news-full-content p:last-child {
  margin-bottom: 0;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.timeline-loading {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

/* Timeline responsive */
@media (max-width: 1080px) {
  .timeline-layout {
    grid-template-columns: 1fr;
  }

  .timeline-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .timeline-sidebar .sidebar-section {
    padding: 1rem;
  }

  .timeline-sidebar .sidebar-section h3 {
    margin: 0 0 0.8rem;
    font-size: 1rem;
  }

  .timeline-date {
    left: -75px;
    width: 65px;
    font-size: 0.85rem;
  }

  .timeline-item {
    padding-left: 25px;
    margin-bottom: 1.5rem;
  }

  .timeline-item::before {
    left: -25px;
  }

  .timeline-dot {
    left: -33px;
    width: 14px;
    height: 14px;
    border-width: 2px;
  }

  .timeline-container {
    padding-left: 25px;
  }
}

@media (max-width: 700px) {
  .timeline-layout {
    padding: 1.4rem 0;
  }

  .timeline-main h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .timeline-sidebar {
    grid-template-columns: 1fr;
  }

  .timeline-content {
    padding: 1rem;
  }

  .timeline-date {
    position: static;
    text-align: left;
    margin-bottom: 0.3rem;
    width: auto;
  }

  .timeline-item {
    padding-left: 20px;
    margin-bottom: 1rem;
  }

  .timeline-item::before {
    left: -20px;
  }

  .timeline-dot {
    left: -28px;
    width: 12px;
    height: 12px;
    top: 12px;
  }

  .timeline-container {
    padding-left: 20px;
  }

  .modal-content {
    padding: 1.5rem;
  }

  .news-detail h2 {
    font-size: 1.4rem;
  }

  .tags-list {
    gap: 0.5rem;
  }

  .tag {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
  }

  .main-event-copy {
    padding: 1.35rem 1.1rem;
  }

  .build-word {
    -webkit-text-stroke: 4px #f25022;
    text-shadow:
      6px 0 0 #00a4ef,
      12px 0 0 #7fba00,
      18px 0 0 #ffb900;
  }

  .nav-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box input {
    width: 100%;
  }

  .info-grid,
  .events-grid,
  .tips-grid,
  .comment-form {
    grid-template-columns: 1fr;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-image {
    height: 220px;
  }

  .article-content {
    padding: 1.5rem;
  }

  .article-content h3 {
    font-size: 1.1rem;
  }

  .article-content p {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }
}
