/* ============================================================
   MAARTORI — glossario v1 (repaginação editorial)
   Padrão visual v2.1 (Fraunces + sage).
   Isola overrides visuais desta página. Não mexe em components.css.
   ============================================================ */

/* ---------- MENU FLUTUANTE (pílula glass-blur) ----------
   Copiado do como-funciona.css. Mantém a anatomia padrão das
   páginas repaginadas. */
.floatnav {
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 8px 8px 22px;
  background: rgba(15,17,20,0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  box-shadow:
    0 12px 40px rgba(15,17,20,0.30),
    0 2px 8px rgba(15,17,20,0.15);
  max-width: calc(100vw - 32px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.floatnav-logo {
  font-family: var(--font);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-l);
  padding-right: 18px;
  margin-right: 6px;
  position: relative;
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.floatnav-logo::after {
  content: '';
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 22px;
  background: rgba(255,255,255,0.20);
}
.floatnav-links { display: flex; align-items: center; gap: 2px; }
.floatnav-link {
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.floatnav-link:hover { background: var(--sage-15); color: var(--white); text-shadow: none; }
.floatnav-link[aria-current="page"] { background: var(--sage-d); color: var(--white); text-shadow: none; }
.floatnav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: var(--sage-d);
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 10px rgba(74,85,50,0.40);
}
.floatnav-cta:hover {
  background: var(--sage);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(74,85,50,0.50);
}
.floatnav-cta i { font-size: 14px; }
.floatnav-hamburger { display: none; }
@media (max-width: 960px) {
  .floatnav { padding: 8px 8px 8px 16px; top: 14px; }
  .floatnav-logo { font-size: 15px; padding-right: 12px; }
  .floatnav-logo::after { display: none; }
  .floatnav-links { display: none; }
  .floatnav-cta { display: none; }
  .floatnav-hamburger {
    display: flex;
    align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: var(--deep); color: var(--white);
    border: none; border-radius: 50%;
    font-size: 18px; cursor: pointer;
  }
}

/* Splash desliga em mobile (alinhado ao padrão das páginas repaginadas) */
@media (max-width: 768px) {
  .splash { display: none !important; }
}

/* ---------- FOOTER (Fraunces no logo + tipografia editorial) ---------- */
.ft-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-l);
  margin-bottom: 6px;
}
.ft-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: var(--on-dark-secondary);
  margin-bottom: 14px;
}
.ft-link { transition: color 0.2s ease, padding-left 0.2s ease; }
.ft-link:hover { color: var(--sage-l); padding-left: 4px; }
.ft-col-title {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-l);
  margin-bottom: 14px;
}
.ft-empresa {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

/* ---------- HERO ---------- */
.gl-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--deep);
  color: var(--on-dark);
  overflow: hidden;
}
.gl-hero-img {
  position: absolute; inset: 0;
  background-image: url('/assets/img/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.gl-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,17,20,0.62) 0%, rgba(15,17,20,0.85) 100%),
    radial-gradient(ellipse at 50% 35%, rgba(151,165,121,0.16), transparent 65%);
  z-index: 1;
}
.gl-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-5) 0 var(--space-4);
}
.gl-hero .label {
  color: var(--sage-l);
  justify-content: center;
}
.gl-hero .label .label-dot { background: var(--sage-l); }
.gl-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-3);
  text-wrap: balance;
}
.gl-hero .lead {
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-4);
  line-height: 1.55;
}
.gl-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 14px 22px;
  max-width: 620px;
  margin: 0 auto;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.gl-search:focus-within {
  border-color: var(--sage-l);
  background: rgba(255,255,255,0.12);
}
.gl-search i {
  font-size: 20px;
  color: var(--sage-l);
  flex-shrink: 0;
}
.gl-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font);
}
.gl-search input::placeholder {
  color: rgba(255,255,255,0.55);
}
.gl-counter {
  margin-top: var(--space-3);
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-l);
}
.gl-counter #glCounter {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-right: 4px;
}

/* ---------- SEÇÃO DE CONTEÚDO ---------- */
.gl-content {
  padding: var(--space-5) 0 var(--space-6);
  background: var(--surface);
}
.gl-subcats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--space-4);
}
.gl-subcats .chip {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  color: var(--deep);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.gl-subcats .chip:hover {
  border-color: var(--sage-30);
  transform: translateY(-1px);
}
.gl-subcats .chip-accent {
  background: var(--sage-d);
  border-color: var(--sage-d);
  color: var(--white);
}
.gl-subcats .chip-accent:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

.faq-scope { max-width: 860px; margin: 0 auto; }
.faq-q-text {
  flex: 1;
  text-align: left;
}
.faq-q-end {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.gl-cat {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.gl-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--muted);
}
.gl-empty i {
  font-size: 40px;
  color: var(--gray-300);
}
.gl-empty p {
  margin-top: 12px;
  font-size: 15px;
}

/* ---------- CTA FINAL — replica do .home-cta-final ---------- */
.gl-cta-section { padding: var(--space-7) 0 var(--space-6); background: var(--deep); }
.gl-cta-section .container { position: relative; }
.gl-cta-section .cta-band {
  border-radius: 24px;
  background: #1f2024;
  border: 2px solid var(--sage-d);
  color: var(--white);
  padding: var(--space-7) var(--space-6);
  position: relative; overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  transition: transform 0.4s ease, border-color 0.4s ease, border-width 0.4s ease, box-shadow 0.4s ease;
}
.gl-cta-section .cta-band:hover {
  transform: scale(1.02);
  border-color: var(--sage);
  border-width: 3px;
  box-shadow: 0 0 90px 0 rgba(110,123,82,0.65), 0 0 0 1px rgba(110,123,82,0.35);
}
.gl-cta-section .cta-band::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}
.gl-cta-section .cta-band .label { margin-bottom: 16px; color: var(--sage-l); }
.gl-cta-section .cta-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: var(--text-h1);
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
  text-wrap: balance;
}
.gl-cta-section .cta-band p {
  color: var(--on-dark-secondary);
  font-size: 15px;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
  line-height: 1.6;
}
.gl-cta-section .cta-band-btns { margin-top: 32px; gap: 16px; }
.gl-cta-section .cta-band .btn { padding: 16px 30px; font-size: 15px; }
.gl-cta-section .cta-band .btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.gl-cta-section .cta-band .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-color: rgba(255,255,255,0.6);
  transform: scale(1.05);
}
.gl-cta-section .btn-primary {
  animation: btnPulse 1.6s ease-in-out infinite;
  transform: none;
  box-shadow: 0 4px 18px rgba(74,85,50,0.30);
}
.gl-cta-section .btn-primary:hover {
  animation: btnPulseFast 0.7s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(74,85,50,0.50);
}
@keyframes btnPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 18px rgba(74,85,50,0.30); }
  50%      { transform: scale(1.03); box-shadow: 0 8px 26px rgba(74,85,50,0.45); }
}
@keyframes btnPulseFast {
  0%, 100% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(74,85,50,0.40); }
  50%      { transform: scale(1.10); box-shadow: 0 12px 36px rgba(74,85,50,0.60); }
}
@media (prefers-reduced-motion: reduce) {
  .gl-cta-section .cta-band:hover,
  .gl-cta-section .cta-band .btn-outline:hover,
  .gl-cta-section .btn-primary,
  .gl-cta-section .btn-primary:hover { animation: none; transition: background 0.25s ease, border-color 0.25s ease; transform: none; }
}
@media (max-width: 640px) {
  .gl-cta-section { padding: var(--space-5) 0; }
  .gl-cta-section .cta-band { padding: 28px 22px !important; border-radius: 20px; border-width: 2px; }
  .gl-cta-section .cta-band .label { margin-bottom: 10px !important; font-size: 11px !important; white-space: nowrap; letter-spacing: 0.1em; }
  .gl-cta-section .cta-band h2 { font-size: clamp(28px, 8vw, 38px) !important; margin-bottom: 10px !important; line-height: 1.1; }
  .gl-cta-section .cta-band p { font-size: 15px !important; max-width: 100% !important; line-height: 1.5; }
  .gl-cta-section .cta-band-btns { margin-top: 22px; gap: 10px; flex-direction: column; align-items: stretch; }
  .gl-cta-section .cta-band-btns .btn { width: 100%; }
}