* {
  box-sizing: border-box;
}

:root {
  --ink: #161414;
  --ink-soft: #514a48;
  --paper: #ffffff;
  --soft: #f7f4f1;
  --line: #e6ddd8;
  --red: #e5211f;
  --red-dark: #b91416;
  --orange: #e98125;
  --gold: #d9a441;
  --green: #139b55;
  --shadow: 0 18px 50px rgba(38, 21, 18, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.gb-wrap {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.gb-narrow {
  width: min(880px, calc(100% - 40px));
}

.gb-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(230, 221, 216, 0.9);
  backdrop-filter: blur(14px);
}

.gb-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.gb-brand img {
  width: 230px;
  height: auto;
  object-fit: contain;
}

.gb-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.gb-nav a,
.gb-nav-cta {
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.gb-nav a:hover {
  color: var(--red-dark);
}

.gb-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--red);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(229, 33, 31, 0.22);
}

.gb-hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(22, 20, 20, 0.88) 0%, rgba(22, 20, 20, 0.7) 44%, rgba(22, 20, 20, 0.12) 100%),
    url("/assets/images/gerador-de-backlinks-seo.jpg");
  background-size: cover;
  background-position: center;
}

.gb-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--paper));
  pointer-events: none;
}

.gb-hero-inner {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - 1140px) / 2));
  padding: 86px 0 118px;
  color: #ffffff;
}

.gb-eyebrow,
.gb-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gb-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.gb-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

.gb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.gb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
}

.gb-primary {
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 14px 34px rgba(229, 33, 31, 0.26);
}

.gb-primary:hover {
  background: var(--red-dark);
}

.gb-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.gb-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gb-section {
  padding: clamp(58px, 8vw, 98px) 0;
  background: var(--paper);
}

.gb-soft {
  background: var(--soft);
}

.gb-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.gb-section h2,
.gb-final h2 {
  margin: 0 0 18px;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.gb-section p,
.gb-final p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.gb-media {
  margin: 0;
}

.gb-media img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gb-media figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.gb-section-head {
  width: min(780px, 100%);
  margin-bottom: 28px;
}

.gb-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.gb-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gb-list li {
  position: relative;
  min-height: 50px;
  padding: 14px 16px 14px 44px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(38, 21, 18, 0.06);
}

.gb-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.gb-plan-grid,
.gb-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gb-plan,
.gb-topic {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(38, 21, 18, 0.08);
  text-decoration: none;
}

.gb-plan-featured {
  border-color: rgba(229, 33, 31, 0.5);
  box-shadow: 0 18px 44px rgba(229, 33, 31, 0.14);
}

.gb-plan span,
.gb-topic span {
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gb-plan strong {
  font-size: 2rem;
  line-height: 1;
}

.gb-plan a {
  align-self: end;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  align-items: center;
  color: #ffffff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.gb-topic {
  min-height: 190px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.gb-topic:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 33, 31, 0.45);
  box-shadow: 0 18px 40px rgba(38, 21, 18, 0.13);
}

.gb-topic strong {
  font-size: 1.18rem;
  line-height: 1.2;
}

.gb-topic small {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.gb-faq {
  display: grid;
  gap: 12px;
}

.gb-faq details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(38, 21, 18, 0.06);
}

.gb-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

.gb-faq p {
  margin: 0;
  padding: 0 20px 20px;
}

.gb-final {
  padding: clamp(58px, 8vw, 98px) 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(22, 20, 20, 0.96), rgba(185, 20, 22, 0.86)),
    url("/assets/images/gerador-de-backlinks-seo.jpg");
  background-size: cover;
  background-position: center;
}

.gb-final p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
}

.gb-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #151111;
}

.gb-footer .gb-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gb-footer p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .gb-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .gb-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .gb-nav-cta {
    align-self: flex-start;
  }

  .gb-two-col,
  .gb-copy-grid {
    grid-template-columns: 1fr;
  }

  .gb-plan-grid,
  .gb-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .gb-wrap,
  .gb-narrow {
    width: min(100% - 28px, 1140px);
  }

  .gb-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
  }

  .gb-brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .gb-brand img {
    width: 172px;
  }

  .gb-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 14px;
  }

  .gb-nav a,
  .gb-nav-cta {
    font-size: 0.86rem;
  }

  .gb-nav-cta {
    grid-column: 2;
    grid-row: 1;
    min-height: 38px;
    padding: 0 12px;
    align-self: center;
    justify-self: end;
  }

  .gb-hero {
    min-height: 78vh;
    background-position: 58% center;
  }

  .gb-hero-inner {
    width: min(100% - 28px, 780px);
    margin: 0 auto;
    padding: 58px 0 88px;
  }

  .gb-actions,
  .gb-button {
    width: 100%;
  }

  .gb-plan-grid,
  .gb-topic-grid {
    grid-template-columns: 1fr;
  }

  .gb-plan,
  .gb-topic {
    min-height: 0;
  }

  .gb-footer .gb-wrap {
    display: grid;
  }
}
