/* ─── RESET & BASE ─────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background-color: #0d0d0d;
      color: #fff;
      overflow-x: hidden;
    }

    a { text-decoration: none; color: inherit; }
    img { display: block; max-width: 100%; }

    .container {
      width: 100%;
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ─── HEADER ────────────────────────────────────────────────── */
    header {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 999;
      background: rgba(10, 10, 10, 0.85);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(255,255,255,0.06);
      transition: background .3s;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
    }

    .logo {
      font-size: 18px;
      font-weight: 700;
      letter-spacing: .5px;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo::before {
      content: '';
      display: block;
      width: 8px;
      height: 28px;
      background: linear-gradient(180deg, #8b5cf6, #3b82f6);
      border-radius: 4px;
    }

    nav { display: flex; align-items: center; gap: 28px; }
    nav a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75); transition: color .2s; }
    nav a:hover { color: #fff; }

    .btn-nav {
      background: linear-gradient(135deg, #7c3aed, #2563eb);
      color: #fff !important;
      padding: 10px 22px;
      border-radius: 6px;
      font-weight: 600;
      font-size: 13px;
      letter-spacing: .5px;
      text-transform: uppercase;
      transition: opacity .2s, transform .2s;
    }
    .btn-nav:hover { opacity: .9; transform: translateY(-1px); }

    .hamburger {
      display: none;
      background: none;
      border: none;
      color: #fff;
      font-size: 22px;
      cursor: pointer;
    }

    /* ─── HERO ──────────────────────────────────────────────────── */
    .hero {
      position: relative;
      min-height: 100vh;
      background: #0d0d0d;
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    /* fundo com nome gigante */
    .hero-bg-name {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: clamp(80px, 14vw, 190px);
      font-weight: 900;
      color: rgba(255,255,255,.035);
      white-space: nowrap;
      user-select: none;
      pointer-events: none;
      letter-spacing: -4px;
      line-height: 1;
      text-transform: uppercase;
    }

    /* gradiente lateral esquerdo */
    .hero::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 55%;
      height: 50%;
      background: radial-gradient(ellipse at bottom left, rgba(109, 40, 217, .35) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      gap: 0;
      width: 100%;
      min-height: 100vh;
    }

    .hero-text {
      padding: 120px 40px 80px 0;
    }

    .hero-text .tag {
      display: inline-block;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #a78bfa;
      margin-bottom: 20px;
    }

    .hero-text h1 {
      font-size: clamp(36px, 5vw, 64px);
      font-weight: 300;
      line-height: 1.1;
      color: #fff;
      margin-bottom: 20px;
    }

    .hero-text h1 strong {
      font-weight: 900;
      display: block;
    }

    .hero-text p.sub {
      font-size: 18px;
      color: rgba(255,255,255,.55);
      margin-bottom: 40px;
      font-weight: 300;
    }

    .btn-hero {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
      color: #fff;
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 18px 38px;
      border-radius: 8px;
      box-shadow: 0 8px 30px rgba(124, 58, 237, .4);
      transition: opacity .25s, transform .25s;
    }
    .btn-hero:hover { opacity: .9; transform: translateY(-2px); }

    /* colagem de fotos no hero */
    .hero-photos {
      position: relative;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-photo-main {
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 52%;
      height: 80%;
      object-fit: cover;
      object-position: top center;
      border-radius: 12px 0 0 12px;
    }

    .hero-photo-accent {
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 42%;
      height: 55%;
      object-fit: cover;
      object-position: top;
      border-radius: 8px;
      filter: grayscale(30%);
      box-shadow: 0 20px 60px rgba(0,0,0,.5);
    }

    /* ─── SOBRE (estilo Joel Jota escuro com foto colagem) ─────── */
    .sobre {
      background: #111;
      padding: 120px 0;
      position: relative;
      overflow: hidden;
    }

    .sobre-bg-name {
      position: absolute;
      top: -40px;
      left: -20px;
      font-size: clamp(80px, 12vw, 160px);
      font-weight: 900;
      color: rgba(255,255,255,.025);
      text-transform: uppercase;
      white-space: nowrap;
      pointer-events: none;
      user-select: none;
      line-height: 1;
    }

    .sobre-grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 60px;
      align-items: center;
      position: relative;
      z-index: 2;
    }

    /* colagem de 4 fotos */
    .photo-collage {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 8px;
      height: 520px;
      border-radius: 12px;
      overflow: hidden;
    }

    .photo-collage .col-main {
      grid-row: 1 / 3;
      object-fit: cover;
      width: 100%;
      height: 100%;
    }

    .photo-collage .col-top,
    .photo-collage .col-bottom {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }

    .sobre-content .label {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #7c3aed;
      margin-bottom: 16px;
    }

    .sobre-content h2 {
      font-size: clamp(30px, 4vw, 48px);
      font-weight: 300;
      line-height: 1.2;
      color: #fff;
      margin-bottom: 28px;
    }

    .sobre-content h2 .accent { color: #7c3aed; font-weight: 700; }
    .sobre-content h2 strong { font-weight: 900; }

    .sobre-content p {
      font-size: 15px;
      line-height: 1.8;
      color: rgba(255,255,255,.6);
      margin-bottom: 16px;
    }

    .sobre-content p strong { color: #fff; }

    /* ─── SERVIÇOS (cards com foto de fundo, estilo Joel Jota) ─── */
    .servicos {
      background: #fff;
      padding: 100px 0;
    }

    .servicos .section-title {
      text-align: center;
      font-size: clamp(28px, 4vw, 46px);
      font-weight: 300;
      color: #111;
      margin-bottom: 60px;
      line-height: 1.25;
    }

    .servicos .section-title strong { font-weight: 900; }

    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .service-card {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      height: 460px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 32px 28px;
      cursor: pointer;
      transition: transform .3s;
    }

    .service-card:hover { transform: scale(1.015); }

    .service-card .bg {
      position: absolute;
      inset: 0;
      object-fit: cover;
      width: 100%;
      height: 100%;
      transition: transform .5s;
    }

    .service-card:hover .bg { transform: scale(1.06); }

    .service-card .overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
    }

    .service-card .card-content { position: relative; z-index: 2; }

    .service-card h3 {
      font-size: 22px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .5px;
      color: #fff;
      margin-bottom: 12px;
    }

    .service-card p {
      font-size: 14px;
      color: rgba(255,255,255,.75);
      margin-bottom: 24px;
      line-height: 1.6;
    }

    .card-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 14px 22px;
      border-radius: 6px;
      transition: opacity .2s, transform .2s;
    }

    .card-btn:hover { opacity: .9; transform: translateX(3px); }

    .btn-orange { background: #e07b1f; color: #fff; }
    .btn-green  { background: #22c55e; color: #fff; }
    .btn-blue   { background: #2563eb; color: #fff; }

    /* ─── EVENTOS / PALESTRAS (seção clara com cards bordeados) ── */
    .eventos {
      background: #f0f0f0;
      padding: 100px 0;
    }

    .eventos .section-title {
      text-align: center;
      font-size: clamp(28px, 4vw, 46px);
      font-weight: 300;
      color: #111;
      margin-bottom: 14px;
      line-height: 1.25;
    }

    .eventos .section-title strong { font-weight: 900; }

    .eventos .section-sub {
      text-align: center;
      font-size: 16px;
      color: #555;
      max-width: 620px;
      margin: 0 auto 60px;
      line-height: 1.7;
    }

    .eventos .section-sub strong { color: #111; }

    .eventos-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .evento-card {
      background: #fff;
      border: 1px solid #d8d8d8;
      border-radius: 12px;
      padding: 36px 28px;
      transition: box-shadow .25s, transform .25s;
    }

    .evento-card:hover {
      box-shadow: 0 12px 40px rgba(0,0,0,.08);
      transform: translateY(-4px);
    }

    .evento-card .ec-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 24px;
    }

    .evento-card .ec-header i {
      color: #22c55e;
      font-size: 16px;
    }

    .evento-card .ec-header span {
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #111;
    }

    .evento-card p {
      font-size: 14px;
      color: #666;
      line-height: 1.75;
    }

    /* ─── ECOSSISTEMA / ABORDAGEM (painel claro sobre fundo escuro) */
    .ecossistema {
      background: #0d0d0d;
      padding: 100px 0;
    }

    .eco-panel {
      background: #fff;
      border-radius: 16px;
      overflow: hidden;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      min-height: 420px;
    }

    .eco-left {
      padding: 52px 48px;
    }

    .eco-left h2 {
      font-size: 32px;
      font-weight: 300;
      color: #111;
      margin-bottom: 8px;
    }

    .eco-left h2 strong { font-weight: 900; }

    .eco-divider {
      width: 48px;
      height: 3px;
      background: #111;
      border-radius: 2px;
      margin: 20px 0 36px;
    }

    .approach-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 28px 36px;
    }

    .approach-item h4 {
      font-size: 15px;
      font-weight: 700;
      color: #111;
      margin-bottom: 6px;
    }

    .approach-item p {
      font-size: 13px;
      color: #666;
      line-height: 1.6;
    }

    .eco-right {
      position: relative;
      overflow: hidden;
    }

    .eco-right img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
    }

    .eco-right .eco-gradient {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(124,58,237,.55) 0%, rgba(37,99,235,.45) 100%);
      mix-blend-mode: multiply;
    }

    /* ─── FOOTER ─────────────────────────────────────────────────── */
    footer {
      background: #0a0a0a;
      border-top: 1px solid rgba(255,255,255,.07);
      padding: 70px 0 40px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 60px;
    }

    .footer-logo-area .fl-name {
      font-size: 20px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }

    .footer-logo-area .fl-tag {
      font-size: 12px;
      color: rgba(255,255,255,.4);
      text-transform: uppercase;
      letter-spacing: 1.5px;
      margin-bottom: 28px;
    }

    .footer-logo-area p {
      font-size: 14px;
      color: rgba(255,255,255,.45);
      line-height: 1.75;
      max-width: 340px;
      margin-bottom: 28px;
    }

    .socials { display: flex; gap: 12px; }

    .socials a {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255,255,255,.07);
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255,255,255,.7);
      font-size: 16px;
      transition: background .2s, transform .2s;
    }

    .socials a:hover { background: #7c3aed; color: #fff; transform: translateY(-2px); }

    .footer-col h3 {
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: rgba(255,255,255,.35);
      margin-bottom: 24px;
    }

    .footer-col ul { list-style: none; }

    .footer-col ul li { margin-bottom: 14px; }

    .footer-col ul li a {
      font-size: 14px;
      color: rgba(255,255,255,.6);
      transition: color .2s;
    }

    .footer-col ul li a:hover { color: #fff; }

    .footer-col .contact-item {
      display: flex;
      gap: 12px;
      margin-bottom: 18px;
    }

    .footer-col .contact-item i {
      color: #7c3aed;
      font-size: 16px;
      margin-top: 2px;
      flex-shrink: 0;
    }

    .footer-col .contact-item span {
      font-size: 14px;
      color: rgba(255,255,255,.6);
      line-height: 1.6;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,.05);
      padding-top: 32px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .footer-bottom p { font-size: 13px; color: rgba(255,255,255,.3); }

    /* ─── WHATSAPP FLOAT ─────────────────────────────────────────── */
    .wa-float {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 998;
      background: #25d366;
      color: #fff;
      width: 58px;
      height: 58px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      box-shadow: 0 6px 24px rgba(37,211,102,.45);
      animation: wa-pulse 2.5s infinite;
      transition: transform .2s;
    }

    .wa-float:hover { transform: scale(1.1); }

    @keyframes wa-pulse {
      0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
      70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
      100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
    }

    /* ─── MOBILE MENU ─────────────────────────────────────────────── */
    @media (max-width: 900px) {
      .hamburger { display: block; }

      nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #111;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 8px 0 20px;
        border-bottom: 1px solid rgba(255,255,255,.07);
      }

      nav.open { display: flex; }

      nav a {
        padding: 14px 24px;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,.04);
      }

      .btn-nav { margin: 12px 24px 0; }

      /* HERO */
      .hero-grid { grid-template-columns: 1fr; }
      .hero-photos { display: none; }
      .hero-text { padding: 120px 0 80px; text-align: center; }
      .btn-hero { margin: 0 auto; }

      /* SOBRE */
      .sobre-grid { grid-template-columns: 1fr; }
      .photo-collage { height: 340px; }

      /* SERVIÇOS */
      .cards-grid { grid-template-columns: 1fr; }
      .service-card { height: 380px; }

      /* EVENTOS */
      .eventos-cards { grid-template-columns: 1fr; }

      /* ECOSSISTEMA */
      .eco-panel { grid-template-columns: 1fr; }
      .eco-right { height: 300px; }

      /* FOOTER */
      .footer-grid { grid-template-columns: 1fr; gap: 36px; }
      .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    }

/* ─── CARD CLICÁVEL (Serviços) ─────────────────────────────── */
.service-card { cursor: pointer; }

/* ─── PÁGINA DE DETALHE DO SERVIÇO ─────────────────────────── */
.detalhe {
  padding: 130px 0 80px;
  background: #0d0d0d;
  min-height: 100vh;
}
.detalhe .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 30px;
  transition: color .2s;
}
.detalhe .back-link:hover { color: #fff; }
.detalhe-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.detalhe h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}
.detalhe h1 strong { font-weight: 900; }
.detalhe-body {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,.8);
  max-width: 820px;
}
.detalhe-body p { margin-bottom: 20px; }
.detalhe-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding: 16px 34px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: opacity .2s, transform .2s;
}
.detalhe-cta:hover { opacity: .92; transform: translateY(-2px); }

@media (max-width: 768px) {
  .detalhe-hero-img { height: 240px; }
  .detalhe { padding: 100px 0 60px; }
}

/* ─── BLOG PAGE & POST CARDS ──────────────────────────────── */
.blog-page-body {
  background-color: #0d0d0d;
  color: #fff;
}

.blog-hero {
  position: relative;
  padding: 150px 0 50px;
  background: #0d0d0d;
  overflow: hidden;
  text-align: center;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.blog-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #a78bfa;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: rgba(167, 139, 250, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
}

.blog-hero-content h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 16px;
}

.blog-hero-content h1 strong {
  font-weight: 900;
  background: linear-gradient(135deg, #a78bfa 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.blog-list-section {
  background: #0d0d0d;
  padding: 30px 0 100px;
}

.blog-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
}

.blog-card {
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  height: 420px;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.25);
}

.blog-card-img-wrapper {
  display: none;
}

.blog-card-img {
  display: none;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.04);
}

.blog-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  width: 100%;
}

.blog-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
  font-weight: 500;
}

.blog-card-meta i {
  margin-right: 4px;
  color: #a78bfa;
}

.blog-card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.blog-card:hover .blog-card-title {
  color: #a78bfa;
}

.blog-card-summary {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  font-size: 13px;
  font-weight: 700;
  color: #a78bfa;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  transition: gap 0.2s, color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-link i {
  font-size: 11px;
}

.blog-card-link:hover {
  gap: 12px;
  color: #fff;
}

/* ─── INFINITE SCROLL LOADER ──────────────────────────────── */
.blog-loader-spinner {
  width: 44px;
  height: 44px;
  position: relative;
  margin: 40px auto 10px;
  display: none;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #7c3aed;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  animation-delay: -1.0s;
}

@keyframes sk-bounce {
  0%, 100% { transform: scale(0.0); }
  50% { transform: scale(1.0); }
}

.blog-end-message {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 60px auto 10px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  max-width: 400px;
}

.blog-end-message i {
  color: #22c55e;
}

/* ─── BLOG DETAIL PAGE / ARTICLE ───────────────────────────── */
.blog-detail-body-wrapper {
  background-color: #0d0d0d;
  color: #fff;
}

.blog-detail-section {
  padding: 130px 0 100px;
  background: #0d0d0d;
  min-height: 100vh;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 30px;
  transition: color 0.2s, transform 0.2s;
}

.blog-back-link:hover {
  color: #fff;
  transform: translateX(-3px);
}

.blog-back-link-bottom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 8px;
  color: #a78bfa;
  transition: all 0.2s;
}

.blog-back-link-bottom:hover {
  color: #fff;
  border-color: #a78bfa;
  background: rgba(167, 139, 250, 0.1);
  transform: translateX(-3px);
}

.blog-loading-wrapper, .blog-error-wrapper {
  text-align: center;
  padding: 100px 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.blog-loading-wrapper i {
  margin-right: 8px;
  color: #7c3aed;
  font-size: 20px;
}

.blog-error-wrapper h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 12px;
}

.blog-error-wrapper p {
  margin-bottom: 24px;
}

.blog-full-article {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  max-width: 820px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 36px;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  font-weight: 500;
}

.article-meta i {
  color: #7c3aed;
}

.article-header h1 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 18px;
}

.article-summary-lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  font-weight: 300;
}

.article-img-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 44px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.article-img-container img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.article-body-content {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.75);
}

.article-body-content p {
  margin-bottom: 24px;
}

.article-body-content br {
  margin-bottom: 12px;
  content: "";
  display: block;
}

.article-footer-cta {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 48px;
}

.cta-inner-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(124, 58, 237, 0.2);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}

.cta-inner-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cta-inner-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .blog-hero { padding: 120px 0 40px; }
  .blog-grid-container { gap: 20px; }
  .blog-full-article { padding: 24px; }
  .blog-back-link { margin-bottom: 24px; }
  .article-header { margin-bottom: 24px; }
  .article-img-container { margin-bottom: 28px; }
  .cta-inner-card { padding: 24px; }
}


/* ═══════════════════════════════════ BLOG DESTAQUES (HOME) */

.blog-destaques {
  padding: 80px 0;
  background: #0d0d0d;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.blog-hero-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.blog-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}

.blog-hero-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.25);
}

.blog-hero-content {
  padding: 32px;
  position: relative;
  z-index: 2;
}

.blog-hero-date {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-hero-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.blog-hero-card:hover .blog-hero-title {
  color: #a78bfa;
}

.blog-hero-summary {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #a78bfa;
  transition: all 0.2s;
}

.blog-hero-link:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Responsivo */
@media (max-width: 768px) {
  .blog-destaques {
    padding: 60px 0;
  }

  .blog-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-hero-card {
    height: 320px;
  }

  .blog-hero-title {
    font-size: 20px;
  }
}
