/* GGrupos theme — design system SaaS escoteiro */
:root {
  --gg-purple: #52499b;
  --gg-purple-dark: #3f3780;
  --gg-navy: #00204f;
  --gg-gold: #c9a227;
  --gg-gold-dark: #a8861a;
  --gg-bg: #f6f5fb;
  --gg-surface: #ffffff;
  --gg-text: #1a1a2e;
  --gg-muted: #5c5c72;
  --gg-border: #e4e2f0;
  --gg-radius: 14px;
  --gg-shadow: 0 12px 32px rgba(82, 73, 155, 0.12);
  --gg-font: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  --gg-title: "Montserrat", "Source Sans 3", system-ui, sans-serif;
  --gg-container: 1120px;
  --gg-header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.gg-theme {
  margin: 0;
  font-family: var(--gg-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gg-text);
  background: var(--gg-surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (min-width: 768px) {
  body.gg-theme {
    font-size: 17px;
    line-height: 1.55;
  }
  :root { --gg-header-h: 72px; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gg-purple); text-decoration: none; }
a:hover { color: var(--gg-navy); }

.screen-reader-text,
.gg-skip-link {
  position: absolute;
  left: -9999px;
}
.gg-skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.gg-container {
  width: min(var(--gg-container), calc(100% - 1.5rem));
  margin-inline: auto;
}
@media (min-width: 768px) {
  .gg-container {
    width: min(var(--gg-container), calc(100% - 2rem));
  }
}

/* Header */
.gg-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gg-border);
}
.gg-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 32, 79, 0.06); }

.gg-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--gg-header-h);
  gap: 0.75rem;
}

.gg-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gg-navy);
  font-family: var(--gg-title);
  font-weight: 700;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}
.gg-logo img,
.gg-logo .custom-logo {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}
@media (min-width: 768px) {
  .gg-logo img,
  .gg-logo .custom-logo {
    height: 44px;
    max-width: 140px;
  }
}
.gg-logo .custom-logo-link { display: flex; }
.gg-logo__text { font-size: 1rem; letter-spacing: -0.02em; }
.gg-logo:has(img) .gg-logo__text,
.gg-logo:has(.custom-logo) .gg-logo__text { display: none; }

.gg-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}
.gg-nav__link {
  color: var(--gg-navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.2rem;
  text-decoration: none;
}
.gg-nav__link:hover,
.gg-nav__link.is-active { color: var(--gg-purple); }

.gg-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.65rem;
  margin-right: -0.35rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
}
.gg-nav-toggle:focus-visible {
  outline: 2px solid var(--gg-purple);
  outline-offset: 2px;
}
.gg-nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gg-navy);
  border-radius: 2px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.gg-nav-toggle[aria-expanded="true"] .gg-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.gg-nav-toggle[aria-expanded="true"] .gg-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.gg-nav-toggle[aria-expanded="true"] .gg-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile-first nav: drawer until tablet landscape / desktop */
@media (max-width: 960px) {
  .gg-nav-toggle { display: flex; }
  .gg-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
    background: #fff;
    border-bottom: 1px solid var(--gg-border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1.25rem;
    gap: 0.15rem;
    box-shadow: var(--gg-shadow);
    max-height: min(80vh, calc(100dvh - var(--gg-header-h)));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .gg-nav.is-open { display: flex; }
  .gg-nav__link {
    padding: 0.85rem 0.35rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--gg-border);
  }
  .gg-nav__link:last-of-type { border-bottom: 0; }
  .gg-nav__cta {
    margin-top: 0.75rem;
    text-align: center;
    width: 100%;
  }
}

/* Buttons */
.gg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: 0.15s ease;
  font-family: inherit;
  line-height: 1.2;
  min-height: 44px;
  text-align: center;
}
.gg-btn--sm { padding: 0.5rem 0.95rem; font-size: 0.85rem; min-height: 40px; }
.gg-btn--lg { padding: 0.9rem 1.35rem; font-size: 1rem; min-height: 48px; }
.gg-btn--primary {
  background: var(--gg-purple);
  color: #fff !important;
  border-color: var(--gg-purple);
}
.gg-btn--primary:hover {
  background: var(--gg-purple-dark);
  border-color: var(--gg-purple-dark);
  color: #fff !important;
}
.gg-btn--outline {
  background: transparent;
  color: var(--gg-purple) !important;
  border-color: var(--gg-purple);
}
.gg-btn--outline:hover {
  background: var(--gg-purple);
  color: #fff !important;
}
.gg-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
}
.gg-btn--ghost:hover { background: rgba(255, 255, 255, 0.22); color: #fff !important; }
.gg-btn--ghost-light {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.5);
}
.gg-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff !important; }
.gg-btn--gold {
  background: var(--gg-gold);
  color: #1a1400 !important;
  border-color: var(--gg-gold);
}
.gg-btn--gold:hover {
  background: var(--gg-gold-dark);
  border-color: var(--gg-gold-dark);
  color: #1a1400 !important;
}
.gg-btn--block {
  width: 100%;
}

/* Hero */
.gg-hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 162, 39, 0.16), transparent 45%),
    linear-gradient(135deg, var(--gg-navy) 0%, var(--gg-purple) 58%, #6b62b8 100%);
  color: #fff;
  padding: 2rem 0 2.25rem;
}
@media (min-width: 768px) {
  .gg-hero { padding: 3.5rem 0 3.75rem; }
}
.gg-hero__grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 900px) {
  .gg-hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
}
.gg-kicker {
  display: inline-block;
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gg-gold);
}
.gg-kicker--dark { color: var(--gg-purple); }
.gg-hero h1 {
  font-family: var(--gg-title);
  font-weight: 700;
  font-size: clamp(1.4rem, 5.5vw, 2.55rem);
  line-height: 1.2;
  margin: 0 0 0.85rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.gg-hero__sub {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.93;
  max-width: 36rem;
}
@media (min-width: 768px) {
  .gg-hero__sub { font-size: 1.08rem; margin-bottom: 1.5rem; }
}
.gg-hero__actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 520px) {
  .gg-hero__actions {
    flex-direction: row;
    align-items: center;
  }
}
.gg-hero__actions .gg-btn {
  width: 100%;
}
@media (min-width: 520px) {
  .gg-hero__actions .gg-btn {
    width: auto;
  }
}
.gg-hero__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
  opacity: 0.94;
}
.gg-hero__bullets li {
  padding-left: 0;
  line-height: 1.4;
}
.gg-hero__bullets li::before {
  content: "✓ ";
  color: var(--gg-gold);
  font-weight: 700;
}

.gg-hero__card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 1.15rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}
@media (min-width: 768px) {
  .gg-hero__card {
    border-radius: 20px;
    padding: 1.5rem;
  }
}
.gg-hero__card-badge {
  display: inline-block;
  background: var(--gg-gold);
  color: #1a1400;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.gg-hero__card-title {
  font-family: var(--gg-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
}
@media (min-width: 768px) {
  .gg-hero__card-title { font-size: 1.25rem; }
}
.gg-hero__card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}
.gg-hero__card-list li {
  padding: 0.6rem 0.75rem;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}
.gg-hero__card-footer {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Sections */
.gg-section { padding: 2.25rem 0; }
@media (min-width: 768px) {
  .gg-section { padding: 3.5rem 0; }
}
.gg-section--alt { background: var(--gg-bg); }
.gg-section__head {
  text-align: left;
  max-width: 40rem;
  margin: 0 0 1.5rem;
}
@media (min-width: 768px) {
  .gg-section__head {
    text-align: center;
    margin: 0 auto 2.25rem;
  }
}
.gg-section__head h2,
.gg-page-hero h1 {
  font-family: var(--gg-title);
  font-weight: 700;
  color: var(--gg-navy);
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.gg-lead {
  margin: 0;
  color: var(--gg-muted);
  font-size: 1rem;
  line-height: 1.55;
}
@media (min-width: 768px) {
  .gg-lead { font-size: 1.05rem; }
}
.gg-lead--light { color: rgba(255, 255, 255, 0.92); }
.gg-section__actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-start;
  margin-top: 1.5rem;
}
@media (min-width: 520px) {
  .gg-section__actions {
    flex-direction: row;
    justify-content: center;
  }
}
.gg-section__actions .gg-btn {
  width: 100%;
}
@media (min-width: 520px) {
  .gg-section__actions .gg-btn { width: auto; }
}

.gg-grid {
  display: grid;
  gap: 1rem;
}
.gg-grid--2,
.gg-grid--3,
.gg-grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .gg-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .gg-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gg-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .gg-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .gg-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.gg-card {
  background: var(--gg-surface);
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius);
  padding: 1.15rem 1.05rem;
  box-shadow: 0 6px 20px rgba(82, 73, 155, 0.06);
}
@media (min-width: 768px) {
  .gg-card { padding: 1.35rem 1.25rem; }
}
.gg-card h3,
.gg-card__h2 {
  font-family: var(--gg-title);
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  color: var(--gg-navy);
  line-height: 1.3;
}
.gg-card p {
  margin: 0;
  color: var(--gg-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.gg-card__icon { font-size: 1.5rem; margin-bottom: 0.45rem; }
.gg-card--link {
  display: block;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.gg-card--link:hover {
  transform: translateY(-3px);
  box-shadow: var(--gg-shadow);
  color: inherit;
}
.gg-card__more {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 700;
  color: var(--gg-purple);
  font-size: 0.9rem;
}

/* Steps */
.gg-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .gg-steps { grid-template-columns: repeat(3, 1fr); }
}
.gg-steps__item {
  display: flex;
  gap: 0.85rem;
  background: var(--gg-bg);
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius);
  padding: 1.1rem;
}
.gg-steps__num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--gg-purple);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-family: var(--gg-title);
}
.gg-steps__item h3 {
  font-family: var(--gg-title);
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--gg-navy);
}
.gg-steps__item p { margin: 0; color: var(--gg-muted); font-size: 0.95rem; }

/* Ingressos band — destaque home + carrossel de eventos */
.gg-section--ingressos {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(201, 162, 39, 0.16), transparent 45%),
    linear-gradient(135deg, var(--gg-navy) 0%, var(--gg-purple) 100%);
  color: #fff;
  padding: 2.25rem 0 2.5rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .gg-section--ingressos { padding: 3rem 0 3.25rem; }
}
.gg-section--ingressos h2 {
  font-family: var(--gg-title);
  color: #fff;
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  line-height: 1.25;
}
.gg-section--ingressos .gg-kicker {
  color: var(--gg-gold);
}
.gg-section--ingressos .gg-lead--light {
  color: rgba(255, 255, 255, 0.9);
  max-width: 40rem;
}
.gg-ingressos-head {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 800px) {
  .gg-ingressos-head {
    grid-template-columns: 1.4fr auto;
    align-items: end;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
  }
}
.gg-ingressos-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.gg-section--ingressos .gg-hero__actions {
  margin-bottom: 0;
  margin-top: 1.15rem;
}

/* Cards do plugin sobre fundo roxo */
.gg-events-carousel {
  position: relative;
}
.gg-events-carousel .ggi-card {
  background: #fff;
  color: var(--gg-text);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}
.gg-events-carousel .ggi-card__title {
  color: var(--gg-navy);
}
.gg-events-carousel .ggi-carousel__btn {
  background: rgba(255, 255, 255, 0.95);
  border-color: transparent;
  color: var(--gg-navy);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.gg-events-carousel .ggi-carousel__btn:hover:not(:disabled) {
  background: var(--gg-gold);
  color: #1a1400;
  border-color: var(--gg-gold);
}
.gg-events-carousel .ggi-carousel__dot {
  background: rgba(255, 255, 255, 0.35);
}
.gg-events-carousel .ggi-carousel__dot.is-active {
  background: var(--gg-gold);
}
.gg-events-carousel .ggi-carousel__nav {
  margin-top: 1.25rem;
}

.gg-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .gg-split { grid-template-columns: 1.25fr 0.75fr; gap: 2rem; }
}
.gg-split--fallback {
  max-width: 22rem;
  margin-inline: auto;
}
.gg-ticket-preview {
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  display: grid;
  gap: 0.45rem;
  text-align: center;
}
.gg-ticket-preview__code {
  font-family: ui-monospace, monospace;
  color: var(--gg-gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

/* CTA */
.gg-cta {
  background: var(--gg-navy);
  color: #fff;
  padding: 2.5rem 0;
  text-align: left;
}
@media (min-width: 768px) {
  .gg-cta {
    padding: 3.5rem 0;
    text-align: center;
  }
}
.gg-cta h2 {
  font-family: var(--gg-title);
  margin: 0 0 0.65rem;
  font-size: clamp(1.3rem, 4vw, 1.85rem);
  color: #fff;
  line-height: 1.25;
}
.gg-cta p {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  opacity: 0.9;
}
@media (min-width: 768px) {
  .gg-cta p { margin: 0 auto 1.5rem; }
}
.gg-cta .gg-hero__actions {
  justify-content: flex-start;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .gg-cta .gg-hero__actions { justify-content: center; }
}

/* Page hero */
.gg-page-hero {
  background: linear-gradient(135deg, var(--gg-navy), var(--gg-purple));
  color: #fff;
  padding: 1.75rem 0;
}
@media (min-width: 768px) {
  .gg-page-hero { padding: 2.75rem 0; }
}
.gg-page-hero h1 { color: #fff; }

/* Prose */
.gg-prose {
  max-width: 42rem;
  width: 100%;
}
.gg-prose--wide,
.gg-prose--legal { max-width: 48rem; }
.gg-prose p {
  color: var(--gg-muted);
  margin: 0 0 1rem;
  line-height: 1.65;
}
.gg-prose .gg-lead {
  color: var(--gg-navy);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.5;
}
.gg-prose h2 {
  font-family: var(--gg-title);
  color: var(--gg-navy);
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 1.75rem 0 0.65rem;
}
.gg-prose h3 {
  font-family: var(--gg-title);
  color: var(--gg-navy);
  font-size: 1.05rem;
  margin: 1.35rem 0 0.5rem;
}
.gg-prose ul,
.gg-prose ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--gg-muted);
}
.gg-prose li { margin-bottom: 0.4rem; line-height: 1.5; }
.gg-prose a { word-break: break-word; }
.gg-prose strong { color: var(--gg-text); }
.gg-legal-meta {
  font-size: 0.9rem;
  color: var(--gg-muted);
  margin: 0 0 1.25rem !important;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gg-border);
}
.gg-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--gg-border);
  font-size: 0.92rem;
}
.gg-callout {
  background: var(--gg-bg);
  border: 1px solid var(--gg-border);
  border-left: 4px solid var(--gg-purple);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 1.25rem 0;
}
.gg-callout strong {
  display: block;
  color: var(--gg-navy);
  font-family: var(--gg-title);
  margin-bottom: 0.35rem;
}
.gg-callout p { margin: 0 0 0.75rem; color: var(--gg-muted); }
.gg-callout p:last-child { margin-bottom: 0; }

.gg-contact {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .gg-contact { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}

/* Footer */
.gg-footer {
  background: #0b1530;
  color: rgba(255, 255, 255, 0.85);
  padding: 2.25rem 0 0;
}
@media (min-width: 768px) {
  .gg-footer { padding: 3rem 0 0; }
}
.gg-footer a { color: #fff; }
.gg-footer a:hover { color: var(--gg-gold); }
.gg-footer__grid {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
}
@media (min-width: 720px) {
  .gg-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
}
.gg-footer__name {
  font-family: var(--gg-title);
  font-size: 1.15rem;
  color: #fff;
}
.gg-footer__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gg-gold);
  font-weight: 700;
  margin: 0 0 0.65rem;
}
.gg-footer__nav {
  display: grid;
  gap: 0.45rem;
}
.gg-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0 1.25rem;
  font-size: 0.85rem;
  opacity: 0.8;
}
.gg-footer__bottom p { margin: 0 0 0.35rem; }
.gg-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin-top: 0.5rem;
}
.gg-footer__legal a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
}
.gg-footer__legal a:hover { color: var(--gg-gold); }

/* WhatsApp FAB */
.gg-fab-wa {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right));
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.15s ease;
}
@media (min-width: 768px) {
  .gg-fab-wa { width: 56px; height: 56px; }
}
.gg-fab-wa:hover { transform: scale(1.06); color: #fff !important; }

/* Cookie notice (LGPD / ePrivacy) */
.gg-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  padding: 0.85rem;
  padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
  background: rgba(11, 21, 48, 0.97);
  color: #fff;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.gg-cookie.is-visible { transform: translateY(0); }
.gg-cookie__inner {
  width: min(var(--gg-container), calc(100% - 0rem));
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
  align-items: center;
}
@media (min-width: 720px) {
  .gg-cookie__inner {
    grid-template-columns: 1fr auto;
    gap: 1.25rem;
  }
}
.gg-cookie p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.95;
}
.gg-cookie a { color: var(--gg-gold); text-decoration: underline; }
.gg-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.gg-cookie__actions .gg-btn { min-height: 40px; }

/* Plugin ingressos integration */
.gg-ingressos-wrap .ggi-hero { margin-top: 0; }
.gg-main .ggi { margin: 0; }

/* Capabilities highlight (pagamentos / PDV / eventos) */
.gg-section--capabilities {
  background: linear-gradient(180deg, #f7f6fc 0%, #fff 55%);
}
.gg-cap-banner {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
}
@media (min-width: 720px) {
  .gg-cap-banner {
    grid-template-columns: repeat(3, 1fr);
  }
  .gg-cap-banner--page {
    grid-template-columns: repeat(4, 1fr);
  }
}
.gg-cap-banner__item {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(82, 73, 155, 0.14);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}
.gg-cap-banner__icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}
.gg-cap-banner__item strong {
  color: #00204f;
  font-size: 0.98rem;
}
.gg-cap-banner__item span {
  color: #5b6475;
  font-size: 0.88rem;
  line-height: 1.35;
}
.gg-cap-grid .gg-card--cap-wide {
  grid-column: 1 / -1;
}
.gg-cap-list {
  margin: 0.85rem 0 0;
  padding: 0 0 0 1.1rem;
  color: #3c434a;
  font-size: 0.92rem;
  line-height: 1.5;
}
.gg-cap-list li { margin: 0.25rem 0; }
.gg-cap-list--inline {
  display: grid;
  gap: 0.15rem 1rem;
}
@media (min-width: 720px) {
  .gg-cap-list--inline {
    grid-template-columns: 1fr 1fr;
  }
}
.gg-section--tight {
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
}
.gg-section__head--left {
  text-align: left;
  max-width: 42rem;
}
.gg-section__head--left .gg-lead {
  margin-inline: 0;
}

/* Tutoriais — grade de vídeos */
.gg-page-hero__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}
.gg-video-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .gg-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.gg-video-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}
.gg-video-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b1530;
}
.gg-video-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.gg-video-card__body {
  padding: 1rem 1.15rem 1.15rem;
  display: grid;
  gap: 0.4rem;
  flex: 1;
}
.gg-video-card__title {
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 1.05rem;
  color: #00204f;
  line-height: 1.3;
}
.gg-video-card__desc {
  margin: 0;
  color: #5b6475;
  font-size: 0.92rem;
  line-height: 1.45;
}
.gg-video-card__yt {
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: #52499b;
  text-decoration: none;
}
.gg-video-card__yt:hover {
  text-decoration: underline;
}
.gg-callout {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0eef8 0%, #fff 70%);
  border: 1px solid rgba(82, 73, 155, 0.16);
}
@media (min-width: 800px) {
  .gg-callout {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }
}
.gg-callout__title {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: #00204f;
}
.gg-callout p { margin: 0; color: #3c434a; }
.gg-callout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* WP admin bar offset */
body.admin-bar .gg-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .gg-header { top: 46px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
