/**
 * Girova — By Nexvio · landing page comercial (/girova/)
 * Identidade Girova (roxo-índigo, azul-marinho, branco), estilo Soft Modern + Bento.
 * CSS escrito à mão, sem build. Cache imutável (ver .htaccess): ao alterar o
 * conteúdo, renomeie o ficheiro (girova-v2.css) e atualize girova/index.php.
 */

/* ------------------------------------------------------------------ */
/* Fonte (Inter variável, subset latin, alojada em /fonts — OFL 1.1)   */
/* ------------------------------------------------------------------ */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */
:root {
  --g-primary: #6258e8;
  --g-primary-600: #5045d6;
  --g-primary-700: #4238b5;
  --g-primary-50: #f2f1fe;
  --g-primary-100: #e6e4fc;
  --g-primary-200: #cfcbf9;
  --g-violet: #8b5cf6;
  --g-navy: #222b48;
  --g-navy-900: #1b2238;
  --g-navy-950: #141a2e;
  --g-bg: #f6f7fb;
  --g-surface: #ffffff;
  --g-ink: #1b2138;
  --g-text: #3c4660;
  --g-muted: #5f6782;
  --g-line: #e6e8f0;
  --g-line-soft: #eff1f6;
  --g-success: #16a34a;
  --g-success-700: #15803d;
  --g-success-50: #ecfdf3;
  --g-amber: #d97706;
  --g-amber-50: #fffbeb;
  --g-whatsapp: #1fa855;

  --g-grad: linear-gradient(135deg, #6c63ee 0%, #5a4fe0 55%, #7a5cf2 100%);
  --g-grad-text: linear-gradient(100deg, #5a4fe0 0%, #7c5cf3 55%, #8b5cf6 100%);

  --g-radius: 24px;
  --g-radius-sm: 16px;
  --g-radius-xs: 12px;
  --g-shadow-card: 0 1px 2px rgba(34, 43, 72, 0.04), 0 8px 24px rgba(34, 43, 72, 0.06);
  --g-shadow-lift: 0 6px 18px rgba(34, 43, 72, 0.08), 0 28px 64px rgba(34, 43, 72, 0.14);
  --g-shadow-brand: 0 12px 28px -8px rgba(98, 88, 232, 0.55);
  --g-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --g-gutter: 20px;
  --g-header-h: 64px;
}

@media (min-width: 640px) {
  :root {
    --g-gutter: 28px;
  }
}

@media (min-width: 1024px) {
  :root {
    --g-gutter: 40px;
    --g-header-h: 72px;
  }
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--g-header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100vh;
  background: var(--g-bg);
  color: var(--g-text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  color: var(--g-ink);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--g-primary);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.g-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--g-navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.g-skip:focus {
  top: 12px;
}

.g-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.g-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--g-gutter);
}

/* ------------------------------------------------------------------ */
/* Tipografia de secção                                                */
/* ------------------------------------------------------------------ */
.g-section {
  position: relative;
  padding-block: 80px;
}

@media (min-width: 960px) {
  .g-section {
    padding-block: 120px;
  }
}

.g-head {
  max-width: 720px;
}

.g-head--center {
  margin-inline: auto;
  text-align: center;
}

.g-head--center .g-lead {
  margin-inline: auto;
}

.g-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--g-primary-700);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.g-eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--g-grad);
}

.g-eyebrow--light {
  color: #e9e6ff;
}

.g-eyebrow--light::before {
  background: #ffffff;
}

.g-title {
  font-size: clamp(1.85rem, 1.25rem + 2.5vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.g-title--light {
  color: #ffffff;
}

.g-lead {
  max-width: 640px;
  margin-top: 18px;
  color: var(--g-muted);
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.175rem);
  line-height: 1.65;
}

.g-gradient-text {
  background: var(--g-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ------------------------------------------------------------------ */
/* Botões                                                              */
/* ------------------------------------------------------------------ */
.g-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.25s var(--g-ease),
    box-shadow 0.25s var(--g-ease),
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.g-btn:hover {
  transform: translateY(-2px);
}

.g-btn:active {
  transform: translateY(0) scale(0.98);
}

.g-btn .g-icon {
  width: 1.2em;
  height: 1.2em;
  transition: transform 0.25s var(--g-ease);
}

.g-btn:hover .g-icon:last-child:not(:first-child) {
  transform: translateX(3px);
}

.g-btn--sm {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.9375rem;
}

.g-btn--lg {
  min-height: 56px;
  padding: 0 26px;
  border-radius: 16px;
  font-size: 1.0625rem;
}

.g-btn--block {
  width: 100%;
}

.g-btn--primary {
  background: var(--g-grad);
  color: #ffffff;
  box-shadow: var(--g-shadow-brand), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.g-btn--primary:hover {
  box-shadow: 0 18px 34px -10px rgba(98, 88, 232, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.g-btn--ghost {
  border-color: var(--g-line);
  background: var(--g-surface);
  color: var(--g-ink);
  box-shadow: 0 1px 2px rgba(34, 43, 72, 0.05);
}

.g-btn--ghost:hover {
  border-color: var(--g-primary-200);
  color: var(--g-primary-700);
  box-shadow: var(--g-shadow-card);
}

.g-btn--dark {
  background: var(--g-navy);
  color: #ffffff;
}

.g-btn--dark:hover {
  background: var(--g-navy-900);
  box-shadow: 0 14px 28px -12px rgba(27, 34, 56, 0.6);
}

.g-btn--white {
  background: #ffffff;
  color: var(--g-primary-700);
  box-shadow: 0 12px 28px -12px rgba(10, 12, 40, 0.5);
}

.g-btn--white:hover {
  color: var(--g-primary-600);
}

.g-btn--outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.g-btn--outline-light:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

.g-btn.is-clicked {
  animation: g-press 0.4s var(--g-ease);
}

@keyframes g-press {
  40% {
    transform: scale(0.96);
  }
}

/* ------------------------------------------------------------------ */
/* Cabeçalho                                                           */
/* ------------------------------------------------------------------ */
.g-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(246, 247, 251, 0.78);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  backdrop-filter: saturate(170%) blur(14px);
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background-color 0.3s;
}

.g-header.is-scrolled {
  border-bottom-color: var(--g-line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 6px 24px -12px rgba(34, 43, 72, 0.18);
}

.g-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--g-header-h);
}

.g-header__logo {
  flex-shrink: 0;
  border-radius: 8px;
}

.g-header__logo img {
  width: auto;
  height: 32px;
}

@media (min-width: 1024px) {
  .g-header__logo img {
    height: 38px;
  }
}

.g-nav {
  display: none;
  gap: 4px;
  margin-inline: auto;
}

.g-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--g-text);
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
  transition:
    color 0.2s,
    background-color 0.2s;
}

.g-nav a:hover,
.g-nav a.is-active {
  background: var(--g-primary-50);
  color: var(--g-primary-700);
}

.g-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.g-header__login {
  display: none;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--g-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.g-header__login:hover {
  color: var(--g-primary-700);
}

.g-menu-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--g-line);
  border-radius: 12px;
  background: var(--g-surface);
  color: var(--g-ink);
}

.g-menu-btn .g-icon {
  width: 22px;
  height: 22px;
  grid-area: 1 / 1;
}

.g-menu-btn__close,
.g-menu-btn[aria-expanded="true"] .g-menu-btn__open {
  display: none;
}

.g-menu-btn[aria-expanded="true"] .g-menu-btn__close {
  display: block;
}

.g-menu {
  position: absolute;
  inset: 100% 0 auto;
  border-bottom: 1px solid var(--g-line);
  background: #ffffff;
  box-shadow: 0 24px 40px -24px rgba(34, 43, 72, 0.35);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.25s,
    transform 0.3s var(--g-ease);
}

.g-menu.is-open {
  opacity: 1;
  transform: none;
}

.g-menu__nav {
  display: flex;
  flex-direction: column;
  padding-block: 8px 16px;
}

.g-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border-bottom: 1px solid var(--g-line-soft);
  color: var(--g-ink);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
}

.g-menu__nav a:last-child {
  border-bottom: 0;
  color: var(--g-primary-700);
}

@media (min-width: 560px) {
  .g-header__login {
    display: inline-flex;
  }
}

/* Ecrãs muito estreitos (320–379px): logo, botão e menu têm de caber numa linha */
@media (max-width: 379px) {
  .g-header__inner {
    gap: 10px;
  }

  .g-header__logo img {
    height: 27px;
  }

  .g-header__actions {
    gap: 6px;
  }

  .g-header__actions .g-btn--sm {
    padding: 0 12px;
    font-size: 0.875rem;
  }

  .g-menu-btn {
    width: 42px;
    height: 42px;
  }
}

@media (min-width: 1100px) {
  .g-nav {
    display: flex;
  }

  .g-header__actions {
    margin-left: 0;
  }

  .g-menu-btn,
  .g-menu {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* Pill                                                                */
/* ------------------------------------------------------------------ */
.g-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--g-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--g-text);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(34, 43, 72, 0.05);
}

.g-pill__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g-success);
}

.g-pill__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--g-success);
  opacity: 0.25;
  animation: g-ping 2.2s var(--g-ease) infinite;
}

@keyframes g-ping {
  0% {
    transform: scale(0.6);
    opacity: 0.35;
  }
  80%,
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ------------------------------------------------------------------ */
/* Molduras: browser e telemóvel                                       */
/* ------------------------------------------------------------------ */
.g-browser {
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(34, 43, 72, 0.07),
    var(--g-shadow-lift);
}

.g-browser__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--g-line-soft);
  background: #f3f4f9;
}

.g-browser__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dadde8;
}

.g-browser__bar span:first-child {
  background: #f2a7a7;
}

.g-browser__bar span:nth-child(2) {
  background: #f3d49b;
}

.g-browser__bar span:nth-child(3) {
  background: #a9dcb5;
}

.g-browser__bar em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline: auto;
  padding: 3px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--g-muted);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  transform: translateX(-18px);
}

.g-browser__bar em .g-icon {
  width: 11px;
  height: 11px;
  color: var(--g-success);
}

.g-browser__screen img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.g-browser--mini {
  border-radius: 12px;
}

.g-browser--mini .g-browser__bar {
  height: 24px;
  gap: 5px;
  padding: 0 10px;
}

.g-browser--mini .g-browser__bar span {
  width: 7px;
  height: 7px;
}

.g-browser--mini .g-browser__bar em {
  display: none;
}

.g-phone {
  position: relative;
  padding: 7px;
  border-radius: 34px;
  background: linear-gradient(160deg, #2b3352, #11162a 60%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 30px 60px -18px rgba(20, 26, 46, 0.55),
    0 12px 24px -12px rgba(20, 26, 46, 0.4);
}

.g-phone::after {
  content: "";
  position: absolute;
  top: 18%;
  right: -2px;
  width: 3px;
  height: 9%;
  border-radius: 0 3px 3px 0;
  background: #2b3352;
}

.g-phone__screen {
  overflow: hidden;
  border-radius: 27px;
  background: var(--g-bg);
}

.g-phone__screen img {
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
}

/* Captura ampliável */
.g-zoom {
  position: relative;
  display: block;
  border-radius: 16px;
  cursor: zoom-in;
  text-decoration: none;
  transition: transform 0.45s var(--g-ease);
}

.g-zoom:hover {
  transform: translateY(-4px);
}

.g-zoom:focus-visible {
  outline-offset: 6px;
}

.g-zoom__hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(27, 33, 56, 0.82);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.25s,
    transform 0.3s var(--g-ease);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.g-zoom__hint .g-icon {
  width: 14px;
  height: 14px;
}

.g-zoom:hover .g-zoom__hint,
.g-zoom:focus-visible .g-zoom__hint {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .g-zoom__hint {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 639px) {
  .g-zoom__hint {
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }
}

/* ------------------------------------------------------------------ */
/* 1. Hero                                                             */
/* ------------------------------------------------------------------ */
.g-hero {
  position: relative;
  padding-block: 28px 72px;
  overflow-x: clip;
}

.g-hero__bg {
  position: absolute;
  inset: calc(-1 * var(--g-header-h)) 0 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 12%, rgba(139, 92, 246, 0.22), transparent 70%),
    radial-gradient(45% 45% at 8% 30%, rgba(98, 88, 232, 0.14), transparent 70%),
    radial-gradient(50% 40% at 60% 100%, rgba(98, 88, 232, 0.1), transparent 70%),
    var(--g-bg);
}

.g-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(98, 88, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 88, 232, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}

.g-hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.g-hero__title {
  margin-top: 18px;
  font-size: clamp(2.15rem, 1.3rem + 4.2vw, 4.1rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.g-hero__title .g-gradient-text {
  display: inline;
}

.g-hero__lead {
  max-width: 560px;
  margin-top: 20px;
  color: var(--g-text);
  font-size: clamp(1.03rem, 0.97rem + 0.35vw, 1.25rem);
  line-height: 1.6;
}

.g-hero__lead strong {
  color: var(--g-ink);
  font-weight: 650;
}

.g-hero__actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

@media (min-width: 480px) {
  .g-hero__actions {
    display: flex;
    flex-wrap: wrap;
  }
}

.g-hero__highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-top: 30px;
  max-width: 520px;
}

.g-hero__highlights li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--g-ink);
  font-size: 0.875rem;
  font-weight: 560;
  line-height: 1.3;
}

.g-hero__highlights .g-icon {
  width: 20px;
  height: 20px;
  color: var(--g-primary);
}

.g-hero__visual {
  position: relative;
  padding: 0 0 18% 9%;
  isolation: isolate;
}

.g-hero__glow {
  position: absolute;
  inset: -6% -10% 4% 0;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(110, 96, 238, 0.28), rgba(139, 92, 246, 0.12) 55%, transparent);
}

.g-hero__browser,
.g-hero__phone,
.g-float {
  will-change: transform;
}

.g-hero__phone {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 31%;
}

.g-hero__phone .g-phone {
  padding: 5px;
  border-radius: 26px;
}

.g-hero__phone .g-phone__screen {
  border-radius: 21px;
}

.g-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 34px -12px rgba(34, 43, 72, 0.35);
  animation: g-bob 6s ease-in-out infinite;
}

.g-float strong {
  display: block;
  color: var(--g-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.g-float small {
  display: block;
  color: var(--g-muted);
  font-size: 0.75rem;
  font-weight: 550;
  white-space: nowrap;
}

.g-float__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--g-primary-50);
  color: var(--g-primary);
}

.g-float__icon .g-icon {
  width: 18px;
  height: 18px;
}

.g-float__icon--green {
  background: var(--g-success-50);
  color: var(--g-success);
}

.g-float__icon--amber {
  background: var(--g-amber-50);
  color: var(--g-amber);
}

.g-float--a {
  top: -4%;
  right: -2%;
}

.g-float--b {
  top: 42%;
  left: -3%;
  display: none;
  animation-delay: -2s;
}

.g-float--c {
  right: 3%;
  bottom: 6%;
  animation-delay: -4s;
}

@keyframes g-bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

.g-hero__note {
  margin-top: 14px;
  color: var(--g-muted);
  font-size: 0.75rem;
  text-align: right;
}

@media (max-width: 479px) {
  .g-float {
    padding: 8px 10px 8px 8px;
    gap: 8px;
  }

  .g-float__icon {
    width: 28px;
    height: 28px;
  }

  .g-float strong {
    font-size: 0.75rem;
  }

  .g-float small {
    font-size: 0.6875rem;
  }

  .g-float--a {
    top: -9%;
    right: 0;
  }

  .g-float--c {
    right: 0;
    bottom: 2%;
  }
}

@media (min-width: 640px) {
  .g-float--b {
    display: flex;
  }
}

@media (min-width: 960px) {
  .g-hero {
    padding-block: 56px 112px;
  }

  .g-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 56px;
  }

  .g-hero__visual {
    margin-right: calc(-1 * min(80px, var(--g-gutter) * 2));
  }

  .g-hero__note {
    position: absolute;
    right: 0;
    bottom: -36px;
  }
}

/* Entrada do hero (CSS puro, sem esperar pelo JS) */
@media (prefers-reduced-motion: no-preference) {
  [data-anim] {
    animation: g-rise 0.8s var(--g-ease) both;
  }

  [data-anim="1"] {
    animation-delay: 0.05s;
  }
  [data-anim="2"],
  [data-anim="3"] {
    animation-name: g-rise-soft;
    animation-duration: 0.7s;
  }
  [data-anim="3"] {
    animation-delay: 0.06s;
  }
  [data-anim="4"] {
    animation-delay: 0.32s;
  }
  [data-anim="5"] {
    animation-delay: 0.42s;
  }
  [data-anim="6"] {
    animation: g-reveal-visual 1.1s var(--g-ease) 0.2s both;
  }
}

@keyframes g-rise {
  from {
    opacity: 0.01;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes g-rise-soft {
  from {
    transform: translateY(14px);
  }
  to {
    transform: none;
  }
}

@keyframes g-reveal-visual {
  from {
    opacity: 0.01;
    transform: translateY(28px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------------ */
/* Revelação no scroll (só com JS; ver girova-v1.js)                   */
/* ------------------------------------------------------------------ */
.g-js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--g-ease),
    transform 0.9s var(--g-ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.g-js [data-reveal="zoom"] {
  transform: translateY(36px) scale(0.965);
}

.g-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ */
/* 2. O problema: do caos à organização                               */
/* ------------------------------------------------------------------ */
.g-problem {
  background: var(--g-surface);
}

.g-chaos {
  margin-top: 48px;
  container-type: inline-size;
}

.g-chaos__labels {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.g-chaos__label {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 650;
  transition:
    opacity 0.4s,
    background-color 0.4s,
    color 0.4s;
}

.g-chaos__label--before {
  background: #fff1e6;
  color: #8f3f06;
}

.g-chaos__label--after {
  background: var(--g-line-soft);
  color: var(--g-muted);
}

.g-chaos[data-state="tidy"] .g-chaos__label--before {
  background: var(--g-line-soft);
  color: var(--g-muted);
}

.g-chaos[data-state="tidy"] .g-chaos__label--after {
  background: var(--g-primary-50);
  color: var(--g-primary-700);
  opacity: 1;
}

.g-chaos__window {
  position: relative;
  padding: 14px;
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius);
  background: linear-gradient(180deg, #fbfbfe, var(--g-bg));
  box-shadow: var(--g-shadow-card);
}

.g-chaos__winbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 4px 4px 12px;
  border-bottom: 1px solid var(--g-line);
  color: var(--g-ink);
  font-size: 0.9375rem;
  font-weight: 700;
}

.g-chaos__winbar img {
  width: 26px;
  height: 26px;
}

.g-chaos__winbar em {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--g-line-soft);
  color: var(--g-muted);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 650;
  transition:
    background-color 0.4s,
    color 0.4s;
}

.g-chaos[data-state="messy"] .g-when-tidy,
.g-chaos[data-state="tidy"] .g-when-messy {
  display: none;
}

.g-chaos[data-state="messy"] .g-chaos__winbar em {
  background: #fff1e6;
  color: #8f3f06;
}

.g-chaos[data-state="tidy"] .g-chaos__winbar em {
  background: var(--g-success-50);
  color: var(--g-success-700);
}

.g-chaos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* Cada <li> é o lugar fixo; o cartão interno é que "voa" até lá. */
.g-chip {
  position: relative;
  min-height: 74px;
  border-radius: 14px;
}

.g-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px dashed var(--g-line);
  border-radius: inherit;
}

.g-chip__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  height: 100%;
  border-radius: inherit;
  transform: rotate(calc(var(--r) * 0.6));
  transition: transform 0.9s var(--g-ease);
  transition-delay: calc(var(--i) * 60ms);
}

.g-chip__messy,
.g-chip__tidy {
  grid-area: 1 / 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: inherit;
  transition:
    opacity 0.45s ease,
    transform 0.6s var(--g-ease);
  transition-delay: calc(var(--i) * 60ms + 260ms);
}

.g-chip__messy {
  color: #3d3a2a;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 8px 18px -10px rgba(34, 43, 72, 0.35);
}

.g-chip__messy .g-icon {
  width: 20px;
  height: 20px;
}

.g-chip--file .g-chip__messy {
  border: 1px solid #cfe3d6;
  background: #ffffff;
  color: #1f4f33;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
}

.g-chip--file .g-chip__messy .g-icon {
  color: #1d7a45;
}

.g-chip--chat .g-chip__messy {
  border-radius: 16px 16px 16px 4px;
  background: #dcf7d0;
  color: #1d3b22;
}

.g-chip--chat .g-chip__messy .g-icon {
  color: var(--g-whatsapp);
}

.g-chip--note .g-chip__messy {
  border-radius: 3px;
  background: #fff1a6;
  font-style: italic;
}

.g-chip--note-pink .g-chip__messy {
  border-radius: 3px;
  background: #ffd9e2;
  color: #5b2131;
  font-style: italic;
}

.g-chip--notes .g-chip__messy {
  border: 1px solid #ece7d6;
  background:
    repeating-linear-gradient(180deg, transparent 0 17px, #e9efff 17px 18px),
    #fffdf6;
}

.g-chip--notes .g-chip__messy .g-icon {
  color: var(--g-amber);
}

.g-chip__tidy {
  border: 1px solid var(--g-line);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(34, 43, 72, 0.05);
  opacity: 0;
  transform: scale(0.94);
}

.g-chip__tidy strong {
  display: block;
  color: var(--g-ink);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
}

.g-chip__tidy small {
  display: block;
  color: var(--g-muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.g-chip__tidy-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--g-primary-50);
  color: var(--g-primary);
}

.g-chip__tidy-icon .g-icon {
  width: 18px;
  height: 18px;
}

.g-chip__ok {
  width: 18px;
  height: 18px;
  margin-left: auto;
  padding: 3px;
  border-radius: 50%;
  background: var(--g-success-50);
  color: var(--g-success);
  stroke-width: 3;
}

/* Estado organizado */
.g-chaos[data-state="tidy"] .g-chip__card {
  transform: none;
}

.g-chaos[data-state="tidy"] .g-chip__messy {
  opacity: 0;
  transform: scale(0.94);
}

.g-chaos[data-state="tidy"] .g-chip__tidy {
  opacity: 1;
  transform: none;
}

@media (max-width: 899px) {
  /* Telemóvel: um só rótulo (o do estado atual) e cartões compactos, sem voo */
  .g-chaos__label--after,
  .g-chaos[data-state="tidy"] .g-chaos__label--before {
    display: none;
  }

  .g-chaos[data-state="tidy"] .g-chaos__label--after {
    display: inline-block;
  }

  .g-chaos__grid {
    gap: 8px;
  }

  .g-chip {
    min-height: 66px;
  }

  .g-chip__messy,
  .g-chip__tidy {
    gap: 8px;
    padding: 10px;
  }

  .g-chip__messy {
    font-size: 0.75rem;
  }

  .g-chip--file .g-chip__messy {
    font-size: 0.6875rem;
    word-break: break-all;
  }

  .g-chip__tidy-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .g-chip__tidy strong {
    font-size: 0.8125rem;
  }

  .g-chip__tidy small {
    font-size: 0.6875rem;
  }

  .g-chip__ok {
    display: none;
  }
}

.g-chaos__controls {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.g-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px 0 12px;
  border: 1px solid var(--g-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--g-ink);
  font-weight: 650;
  box-shadow: var(--g-shadow-card);
  transition:
    border-color 0.2s,
    transform 0.25s var(--g-ease);
}

.g-toggle:hover {
  border-color: var(--g-primary-200);
  transform: translateY(-1px);
}

.g-toggle__track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d8dbe6;
  transition: background-color 0.3s;
}

.g-toggle__track span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s var(--g-ease);
}

.g-toggle[aria-pressed="true"] .g-toggle__track {
  background: var(--g-primary);
}

.g-toggle[aria-pressed="true"] .g-toggle__track span {
  transform: translateX(18px);
}

/* Desktop: os cartões começam espalhados à esquerda e voam para dentro do Girova. */
@media (min-width: 900px) {
  .g-chaos__labels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }

  .g-chaos__stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 430px;
  }

  .g-chaos__window {
    grid-column: 2;
    padding: 18px;
    transition: transform 0.9s var(--g-ease);
  }

  .g-chaos[data-state="tidy"] .g-chaos__window {
    transform: translateX(-25cqw);
  }

  .g-chaos__label {
    transition:
      opacity 0.4s,
      background-color 0.4s,
      color 0.4s,
      transform 0.9s var(--g-ease);
  }

  .g-chaos[data-state="tidy"] .g-chaos__label--before {
    opacity: 0;
  }

  .g-chaos[data-state="tidy"] .g-chaos__label--after {
    transform: translateX(-25cqw);
  }

  .g-chaos__window::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(100% + 0.5cqw);
    width: calc(100% - 1cqw);
    border-radius: var(--g-radius);
    background:
      radial-gradient(circle at 30% 30%, rgba(217, 119, 6, 0.06), transparent 60%),
      repeating-linear-gradient(-45deg, transparent 0 14px, rgba(34, 43, 72, 0.025) 14px 15px);
    transition: opacity 0.6s;
  }

  .g-chaos[data-state="tidy"] .g-chaos__window::before {
    opacity: 0;
  }

  .g-chip {
    min-height: 78px;
  }

  .g-chip__card {
    z-index: 1;
    transform: translate(calc(var(--x) * 1cqw), calc(var(--y) * 1cqw)) rotate(var(--r));
  }

  .g-chaos[data-state="tidy"] .g-chip__card {
    transform: none;
  }
}

.g-problem__punch {
  margin-top: 56px;
  color: var(--g-ink);
  font-size: clamp(1.55rem, 1.1rem + 2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
}

/* ------------------------------------------------------------------ */
/* 3. O Girova por dentro                                              */
/* ------------------------------------------------------------------ */
.g-inside {
  background:
    radial-gradient(50% 30% at 50% 0%, rgba(98, 88, 232, 0.08), transparent 70%),
    var(--g-bg);
}

.g-tabs {
  position: sticky;
  top: calc(var(--g-header-h) + 10px);
  z-index: 20;
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 36px auto 0;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--g-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px -14px rgba(34, 43, 72, 0.25);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
}

.g-tabs::-webkit-scrollbar {
  display: none;
}

.g-tabs__item {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--g-text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.25s,
    color 0.25s;
}

.g-tabs__item .g-icon {
  width: 16px;
  height: 16px;
}

.g-tabs__item:hover {
  color: var(--g-primary-700);
}

.g-tabs__item.is-active {
  background: var(--g-navy);
  color: #ffffff;
}

.g-feature {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-top: 72px;
  scroll-margin-top: calc(var(--g-header-h) + 80px);
}

.g-feature__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--g-primary-700);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.g-feature__n {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--g-grad);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.g-feature__title {
  margin-top: 14px;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.g-feature__text {
  margin-top: 14px;
  color: var(--g-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.g-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.g-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--g-ink);
  font-size: 0.9875rem;
  font-weight: 560;
  line-height: 1.35;
}

.g-points__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #ffffff;
  color: var(--g-primary);
  box-shadow: 0 0 0 1px var(--g-line), 0 4px 10px -6px rgba(34, 43, 72, 0.2);
}

.g-points__icon .g-icon {
  width: 18px;
  height: 18px;
}

.g-feature__media {
  position: relative;
  min-width: 0;
}

.g-feature__media--combo {
  padding-right: 15%;
  padding-bottom: 8%;
}

.g-combo__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
  border-radius: 26px;
}

.g-combo__phone .g-phone {
  padding: 5px;
  border-radius: 24px;
}

.g-combo__phone .g-phone__screen {
  border-radius: 19px;
}

.g-combo__phone .g-zoom__hint {
  display: none;
}

/* Bento */
.g-bento {
  display: grid;
  gap: 16px;
}

.g-bento__card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius);
  background: #ffffff;
  box-shadow: var(--g-shadow-card);
}

.g-bento__card--main {
  padding: clamp(14px, 2.4vw, 28px);
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(139, 92, 246, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff, #f8f8fd);
}

.g-bento__card--side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, var(--g-primary-50), #ffffff 60%);
}

.g-bento__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px;
  color: var(--g-primary-700);
  font-size: 0.875rem;
  font-weight: 700;
}

.g-bento__label .g-icon {
  width: 18px;
  height: 18px;
}

.g-bento__card .g-browser {
  box-shadow:
    0 0 0 1px rgba(34, 43, 72, 0.07),
    0 18px 40px -18px rgba(34, 43, 72, 0.3);
}

@media (min-width: 960px) {
  .g-feature {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    margin-top: 128px;
  }

  .g-feature--reverse {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .g-feature--reverse .g-feature__body {
    order: 2;
  }

  .g-feature--wide {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }

  .g-feature--wide.g-feature--reverse {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }

  .g-feature--bento {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .g-feature--bento .g-feature__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 64px;
    align-items: end;
    order: 0;
  }

  .g-feature--bento .g-points {
    grid-row: 1 / span 3;
    grid-column: 2;
    grid-template-columns: 1fr 1fr;
  }

  .g-bento {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    grid-template-rows: auto 1fr;
    gap: 20px;
  }

  .g-bento__card--main {
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
  }

  .g-bento__card--main > .g-zoom {
    width: 100%;
  }

  .g-feature--bento.g-feature--reverse {
    grid-template-columns: 1fr;
  }

  .g-feature--reverse .g-bento {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }

  .g-feature--reverse .g-bento__card--main {
    grid-column: 2;
  }

  .g-feature--reverse .g-bento__card--side,
  .g-feature--reverse .g-bento__card--peek {
    grid-column: 1;
  }

  .g-feature--bento.g-feature--reverse .g-feature__body {
    order: 0;
  }

  .g-bento__card--side {
    padding: 18px;
  }
}

/* Cartão com o telemóvel "a espreitar" de baixo */
.g-bento__card--peek {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 18px 18px 0;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 50% 100%, rgba(98, 88, 232, 0.16), transparent 70%),
    linear-gradient(180deg, #ffffff, var(--g-primary-50));
}

.g-peek {
  width: min(62%, 210px);
  margin: 14px auto -42%;
  border-radius: 26px 26px 0 0;
}

.g-peek .g-phone {
  padding: 5px;
  border-radius: 26px;
}

.g-peek .g-phone__screen {
  border-radius: 21px;
}

.g-peek .g-zoom__hint {
  display: none;
}

@media (min-width: 960px) {
  .g-bento__card--peek {
    min-height: 0;
  }

  .g-peek {
    width: 64%;
    margin-bottom: -58%;
  }
}

/* ------------------------------------------------------------------ */
/* 4. Para quem                                                        */
/* ------------------------------------------------------------------ */
.g-audience {
  background: var(--g-surface);
}

.g-audience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  margin-top: 48px;
}

.g-audience__card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--g-line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #fafbfe);
  transition:
    transform 0.35s var(--g-ease),
    box-shadow 0.35s var(--g-ease),
    border-color 0.3s,
    opacity 0.7s var(--g-ease);
}

.g-audience__card:hover {
  transform: translateY(-4px);
  border-color: var(--g-primary-100);
  box-shadow: var(--g-shadow-lift);
}

.g-audience__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--g-grad);
  color: #ffffff;
  box-shadow: 0 10px 20px -10px rgba(98, 88, 232, 0.7);
  transition: transform 0.4s var(--g-ease);
}

.g-audience__card:hover .g-audience__icon {
  transform: rotate(-6deg) scale(1.05);
}

.g-audience__icon .g-icon {
  width: 24px;
  height: 24px;
}

.g-audience__card h3 {
  font-size: 1.0625rem;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.g-audience__card p {
  margin-top: 8px;
  color: var(--g-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.g-audience__card--cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  border: 1.5px dashed var(--g-primary-200);
  background: var(--g-primary-50);
}

.g-audience__card--cta p {
  margin: 0;
  color: var(--g-ink);
  font-size: 1.0625rem;
  font-weight: 700;
}

.g-audience__card--cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--g-primary-700);
  font-weight: 650;
  text-decoration: none;
}

.g-audience__card--cta a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* 5. Simplicidade (três passos)                                       */
/* ------------------------------------------------------------------ */
.g-steps {
  overflow: hidden;
  background:
    radial-gradient(40% 50% at 15% 80%, rgba(139, 92, 246, 0.1), transparent 70%),
    radial-gradient(40% 50% at 85% 20%, rgba(98, 88, 232, 0.1), transparent 70%),
    var(--g-bg);
}

.g-steps__list {
  position: relative;
  display: flex;
  gap: 16px;
  margin: 48px calc(-1 * var(--g-gutter)) 0;
  padding: 8px var(--g-gutter) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--g-gutter);
  scrollbar-width: none;
  counter-reset: step;
}

.g-steps__list::-webkit-scrollbar {
  display: none;
}

.g-steps__list:focus-visible {
  outline-offset: -3px;
  border-radius: 28px;
}

.g-step {
  flex: 0 0 min(78%, 320px);
  padding: 22px 22px 26px;
  border: 1px solid var(--g-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--g-shadow-card);
  scroll-snap-align: start;
}

.g-step__phone {
  width: min(78%, 230px);
  margin: 0 auto 24px;
}

.g-step__body {
  text-align: center;
}

.g-step__n {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--g-grad);
  color: #ffffff;
  font-size: 1.0625rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--g-primary-50), var(--g-shadow-brand);
}

.g-step h3 {
  font-size: 1.1875rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.g-step p {
  margin-top: 8px;
  color: var(--g-muted);
  font-size: 0.975rem;
}

.g-steps__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--g-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.g-steps__hint .g-icon {
  width: 16px;
  height: 16px;
  animation: g-nudge 1.6s ease-in-out infinite;
}

@keyframes g-nudge {
  50% {
    transform: translateX(5px);
  }
}

@media (min-width: 900px) {
  .g-steps__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 40px;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }

  .g-step {
    position: relative;
    padding: 28px 26px 32px;
  }

  /* Seta que liga cada passo ao seguinte (aparece quando a lista entra no ecrã) */
  .g-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -42px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 1px solid var(--g-line);
    border-radius: 50%;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236258e8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / 20px no-repeat,
      #ffffff;
    box-shadow: var(--g-shadow-card);
    transform: translateY(-50%) scale(0.4);
    opacity: 0;
    transition:
      transform 0.6s var(--g-ease),
      opacity 0.4s;
    transition-delay: calc(0.6s + var(--i) * 0.25s);
  }

  .g-steps__list.is-visible .g-step::after,
  html:not(.g-js) .g-step::after {
    transform: translateY(-50%);
    opacity: 1;
  }

  .g-step:nth-child(2) {
    transform: translateY(28px);
  }

  .g-steps__hint {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* 6. Suporte humano                                                   */
/* ------------------------------------------------------------------ */
.g-support {
  background: var(--g-surface);
}

.g-support__grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
  padding-block: 44px;
  border-radius: 32px;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(20, 26, 46, 0.35), transparent 70%),
    linear-gradient(135deg, #5a4fe0 0%, #6a5be9 45%, #8458f0 100%);
  box-shadow: 0 40px 80px -40px rgba(66, 56, 181, 0.7);
  overflow: hidden;
}

/* O painel colorido fica quase à largura do ecrã no telemóvel, com cantos visíveis. */
.g-support .g-container.g-support__grid {
  width: calc(100% - 24px);
  max-width: 1160px;
  padding-inline: clamp(22px, 5vw, 64px);
}

.g-support__text {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.g-support__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 10px;
  margin: 26px 0 30px;
}

.g-support__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
}

.g-support__list .g-icon {
  width: 20px;
  height: 20px;
  color: #d9d4ff;
}

.g-support__small {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

.g-chat {
  max-width: 440px;
  margin-inline: auto;
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 30px 60px -24px rgba(20, 16, 70, 0.6);
}

.g-chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--g-line-soft);
}

.g-chat__head strong {
  display: block;
  color: var(--g-ink);
  font-size: 0.9375rem;
  line-height: 1.2;
}

.g-chat__head small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--g-muted);
  font-size: 0.75rem;
}

.g-chat__head small::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--g-success);
}

.g-chat__head em {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--g-line-soft);
  color: var(--g-muted);
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.g-chat__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--g-grad);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 800;
}

.g-chat__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 20px;
  background:
    radial-gradient(circle at 1px 1px, rgba(34, 43, 72, 0.05) 1px, transparent 0) 0 0 / 16px 16px,
    #fbfbfe;
}

.g-chat__msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.g-chat__msg--in {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: #eef0f6;
  color: var(--g-ink);
}

.g-chat__msg--out {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: var(--g-primary);
  color: #ffffff;
}

.g-chat__typing {
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  background: #eef0f6;
}

.g-chat__typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa1b8;
  animation: g-typing 1.2s ease-in-out infinite;
}

.g-chat__typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.g-chat__typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes g-typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* As mensagens entram uma a uma quando o cartão aparece */
.g-js .g-chat .g-chat__msg,
.g-js .g-chat .g-chat__typing {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s var(--g-ease),
    transform 0.6s var(--g-ease);
}

.g-js .g-chat.is-visible .g-chat__msg,
.g-js .g-chat.is-visible .g-chat__typing {
  opacity: 1;
  transform: none;
}

.g-js .g-chat.is-visible .g-chat__msg:nth-child(1) {
  transition-delay: 0.35s;
}
.g-js .g-chat.is-visible .g-chat__msg:nth-child(2) {
  transition-delay: 1.1s;
}
.g-js .g-chat.is-visible .g-chat__msg:nth-child(3) {
  transition-delay: 1.9s;
}
.g-js .g-chat.is-visible .g-chat__typing {
  transition-delay: 2.5s;
}

@media (min-width: 960px) {
  .g-support__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
    padding-block: 72px;
  }
}

/* ------------------------------------------------------------------ */
/* 7. Preços                                                           */
/* ------------------------------------------------------------------ */
.g-pricing {
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(98, 88, 232, 0.1), transparent 70%),
    var(--g-bg);
}

.g-market {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: fit-content;
  margin: 32px auto 0;
  padding: 5px;
  border: 1px solid var(--g-line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--g-shadow-card);
}

.g-market__thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--g-navy);
  box-shadow: 0 6px 14px -6px rgba(27, 34, 56, 0.6);
  transition: transform 0.45s var(--g-ease);
}

.g-market:has([data-market-btn="br"][aria-pressed="true"]) .g-market__thumb,
.g-market.is-br .g-market__thumb {
  transform: translateX(100%);
}

.g-market__btn {
  position: relative;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--g-text);
  font-size: 0.9375rem;
  font-weight: 650;
  white-space: nowrap;
  transition: color 0.3s;
}

.g-market__btn span {
  color: inherit;
  font-weight: 500;
}

.g-market__btn[aria-pressed="true"] {
  color: #ffffff;
}

.g-plans {
  display: grid;
  gap: 24px;
  max-width: 900px;
  margin: 36px auto 0;
}

.g-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--g-line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--g-shadow-card);
  transition:
    transform 0.4s var(--g-ease),
    box-shadow 0.4s var(--g-ease),
    opacity 0.7s var(--g-ease);
}

.g-plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--g-shadow-lift);
}

.g-plan--featured {
  order: -1;
  border: 2px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #6258e8, #8b5cf6 60%, #b7a8ff) border-box;
  box-shadow: 0 30px 60px -30px rgba(98, 88, 232, 0.55);
}

.g-plan--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: radial-gradient(80% 50% at 100% 0%, rgba(139, 92, 246, 0.1), transparent 70%);
  pointer-events: none;
}

.g-plan__badge {
  position: absolute;
  top: -15px;
  left: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--g-grad);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: var(--g-shadow-brand);
}

.g-plan__badge .g-icon {
  width: 15px;
  height: 15px;
}

.g-plan__name {
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.g-plan__desc {
  margin-top: 6px;
  color: var(--g-muted);
  font-size: 0.9375rem;
}

.g-plan__price {
  margin: 22px 0 24px;
}

.g-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
  color: var(--g-ink);
}

.g-price__amount {
  font-size: clamp(2.9rem, 2.2rem + 2.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.g-price__cur {
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.g-price__cur--after {
  margin-left: -2px;
}

.g-price__period {
  color: var(--g-muted);
  font-size: 1rem;
  font-weight: 600;
}

.g-plan__equiv {
  margin-top: 10px;
  color: var(--g-ink);
  font-size: 0.9375rem;
  font-weight: 650;
}

.g-plan__save {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--g-success-50);
  color: var(--g-success-700);
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.35;
}

.g-plan__save .g-icon {
  width: 16px;
  height: 16px;
}

.g-plan__save--muted {
  background: var(--g-line-soft);
  color: var(--g-text);
}

.g-plan__tax {
  margin-top: 8px;
  color: var(--g-muted);
  font-size: 0.8125rem;
}

.g-plan__includes {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--g-line);
  color: var(--g-ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.g-plan__list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.g-plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--g-text);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.g-plan__list .g-icon {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--g-success-50);
  color: var(--g-success);
  stroke-width: 3;
}

/* Troca de mercado: os valores entram com uma pequena animação */
[data-market-pane]:not([hidden]) {
  animation: g-price-in 0.5s var(--g-ease);
}

@keyframes g-price-in {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.g-terms {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 32px auto 0;
  padding: 22px 24px;
  border: 1px solid var(--g-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.g-terms p {
  display: flex;
  gap: 12px;
  color: var(--g-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.g-terms .g-icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--g-primary);
}

.g-terms strong {
  color: var(--g-ink);
}

.g-terms a {
  color: var(--g-primary-700);
  font-weight: 600;
}

@media (min-width: 760px) {
  .g-plans {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .g-plan--featured {
    order: 0;
  }

  .g-plan {
    padding: 36px 34px;
  }

  .g-plan__badge {
    left: 34px;
  }
}

/* ------------------------------------------------------------------ */
/* 8. FAQ                                                              */
/* ------------------------------------------------------------------ */
.g-faq {
  background: var(--g-surface);
}

.g-faq__grid {
  display: grid;
  gap: 36px;
}

.g-faq .g-btn {
  margin-top: 24px;
}

.g-faq__list {
  display: grid;
  gap: 12px;
}

.g-faq__item {
  border: 1px solid var(--g-line);
  border-radius: 18px;
  background: #ffffff;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background-color 0.25s;
}

.g-faq__item:hover {
  border-color: var(--g-primary-100);
}

.g-faq__item[open] {
  border-color: var(--g-primary-100);
  background: linear-gradient(180deg, #ffffff, #fbfbff);
  box-shadow: var(--g-shadow-card);
}

.g-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px;
  border-radius: 18px;
  color: var(--g-ink);
  font-size: 1.0125rem;
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.g-faq__item summary::-webkit-details-marker {
  display: none;
}

.g-faq__icon {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: var(--g-primary-50);
  color: var(--g-primary);
  transition:
    transform 0.35s var(--g-ease),
    background-color 0.25s,
    color 0.25s;
}

.g-faq__item[open] .g-faq__icon {
  transform: rotate(45deg);
  background: var(--g-primary);
  color: #ffffff;
}

.g-faq__answer {
  overflow: hidden;
}

.g-faq__answer p {
  padding: 0 20px 20px;
  color: var(--g-text);
  font-size: 0.975rem;
  line-height: 1.7;
}

@media (min-width: 960px) {
  .g-faq__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
  }

  .g-faq .g-head {
    position: sticky;
    top: calc(var(--g-header-h) + 32px);
  }
}

/* ------------------------------------------------------------------ */
/* 9. CTA final                                                        */
/* ------------------------------------------------------------------ */
.g-final {
  position: relative;
  padding-block: 96px;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  isolation: isolate;
}

.g-final__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 60% at 20% 0%, rgba(139, 92, 246, 0.45), transparent 70%),
    radial-gradient(50% 70% at 90% 100%, rgba(98, 88, 232, 0.5), transparent 70%),
    linear-gradient(160deg, #1b2238 0%, #232a5e 55%, #2d2475 100%);
}

.g-final__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 80%);
}

.g-final__inner {
  max-width: 860px;
}

.g-final__mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 26px;
  padding: 10px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08), 0 20px 40px -12px rgba(0, 0, 0, 0.5);
}

.g-final__title {
  color: #ffffff;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.g-final__lead {
  max-width: 640px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.175rem);
  line-height: 1.65;
}

.g-final__actions {
  display: grid;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

@media (min-width: 560px) {
  .g-final__actions {
    display: flex;
    flex-wrap: wrap;
  }
}

.g-final__sign {
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 960px) {
  .g-final {
    padding-block: 128px;
  }
}

/* ------------------------------------------------------------------ */
/* Rodapé                                                              */
/* ------------------------------------------------------------------ */
.g-footer {
  padding-block: 56px 28px;
  background: var(--g-navy-950);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9375rem;
}

.g-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 36px 28px;
}

.g-footer__brand {
  grid-column: 1 / -1;
  max-width: 380px;
}

.g-footer__brand img {
  width: auto;
  height: 38px;
  margin-bottom: 16px;
}

.g-footer__brand p {
  line-height: 1.6;
}

.g-footer__brand a {
  color: #ffffff;
  font-weight: 600;
}

.g-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.g-footer__heading {
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.g-footer__col a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.g-footer__col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.g-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
}

@media (min-width: 960px) {
  .g-footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  }

  .g-footer__brand {
    grid-column: auto;
  }
}

/* ------------------------------------------------------------------ */
/* WhatsApp flutuante                                                  */
/* ------------------------------------------------------------------ */
.g-wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--g-whatsapp);
  color: #ffffff;
  box-shadow:
    0 10px 24px -8px rgba(18, 140, 70, 0.6),
    0 0 0 4px rgba(255, 255, 255, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition:
    opacity 0.3s,
    transform 0.4s var(--g-ease),
    visibility 0s linear 0.4s;
}

.g-wa-float .g-icon {
  width: 26px;
  height: 26px;
}

.g-wa-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.3s,
    transform 0.4s var(--g-ease),
    visibility 0s;
}

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

@media (min-width: 1024px) {
  .g-wa-float {
    right: 28px;
    bottom: 28px;
    width: 58px;
    height: 58px;
  }
}

/* ------------------------------------------------------------------ */
/* Captura ampliada (<dialog>)                                         */
/* ------------------------------------------------------------------ */
.g-lightbox {
  width: min(1400px, 94vw);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  overflow: visible;
}

.g-lightbox::backdrop {
  background: rgba(12, 15, 32, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.g-lightbox[open] {
  animation: g-zoom-in 0.35s var(--g-ease);
}

@keyframes g-zoom-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}

.g-lightbox__frame {
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
}

.g-lightbox.is-phone {
  width: min(420px, 94vw);
}

.g-lightbox__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  border-bottom: 1px solid var(--g-line);
}

.g-lightbox__caption {
  color: var(--g-ink);
  font-size: 0.9375rem;
  font-weight: 700;
}

.g-lightbox__note {
  margin-left: auto;
  color: var(--g-muted);
  font-size: 0.75rem;
}

.g-lightbox__close {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--g-line-soft);
  color: var(--g-ink);
}

.g-lightbox__close:hover {
  background: var(--g-line);
}

.g-lightbox__img {
  width: 100%;
  max-height: calc(94vh - 62px);
  object-fit: contain;
  background: var(--g-bg);
}

@media (max-width: 559px) {
  .g-lightbox__note {
    display: none;
  }

  .g-lightbox__caption {
    margin-right: auto;
  }
}

/* ------------------------------------------------------------------ */
/* Movimento reduzido                                                  */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .g-float,
  .g-pill__dot::after,
  .g-chat__typing span,
  .g-steps__hint .g-icon {
    animation: none !important;
  }

  .g-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
