/* Glorificai! — site marketing estático (Luz Serena). Sem Node. */
:root {
  --gl-chapel-950: #102935;
  --gl-chapel-800: #1d4656;
  --gl-sky-500: #568da2;
  --gl-eucalyptus-400: #a9c8bc;
  --gl-eucalyptus-100: #e3efe9;
  --gl-cloud-50: #f8f6f0;
  --gl-pearl-100: #eff3ef;
  --gl-stone-300: #d8d4c9;
  --gl-candle-400: #d8b56b;
  --gl-gradient-vigilia: linear-gradient(160deg, #102935 0%, #1d4656 62%, #285b69 100%);
  --font-ui: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Newsreader", "Instrument Sans", ui-serif, Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-ui);
  color: var(--gl-chapel-950);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, color-mix(in srgb, var(--gl-eucalyptus-100) 70%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, color-mix(in srgb, #dcecef 55%, transparent), transparent 50%),
    var(--gl-cloud-50);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--gl-chapel-800) 50%, transparent);
}

.font-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--gl-stone-300) 50%, transparent);
  backdrop-filter: blur(10px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1rem;
  min-width: 0;
}

.site-header .brand,
.header-actions {
  flex-shrink: 0;
}

.brand img {
  width: 154px;
  height: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--gl-chapel-800) 70%, transparent);
}

.nav a:hover,
.nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gl-sky-500);
}

.nav a:focus-visible,
.btn:focus-visible,
.header-actions a:focus-visible {
  outline: 2px solid var(--gl-sky-500);
  outline-offset: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .signin {
  display: none;
  min-height: 44px;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gl-chapel-800);
}

.header-actions .signin:hover {
  color: var(--gl-sky-500);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--gl-chapel-800);
  color: var(--gl-cloud-50);
}

.btn-primary:hover {
  background: var(--gl-chapel-950);
}

.btn-secondary {
  background: transparent;
  color: var(--gl-chapel-800);
  border-color: color-mix(in srgb, var(--gl-stone-300) 90%, transparent);
}

.btn-secondary:hover {
  border-color: var(--gl-sky-500);
  color: var(--gl-sky-500);
}

.btn-light {
  background: #fff;
  color: var(--gl-chapel-800);
}

.btn svg {
  width: 1rem;
  height: 1rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 2rem 0 2.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

.hero h1 {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero h1 .accent {
  color: var(--gl-sky-500);
}

.hero-logo {
  width: min(296px, 70vw);
}

.hero .lead {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--gl-chapel-800) 70%, transparent);
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pedestal {
  margin-inline: auto;
  width: 100%;
  max-width: 440px;
  padding: 0.7rem;
  border-radius: 2.5rem;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--gl-stone-300) 55%, transparent), transparent),
    var(--gl-pearl-100);
  box-shadow: 0 24px 48px color-mix(in srgb, var(--gl-chapel-950) 8%, transparent);
}

.pedestal-inner {
  overflow: hidden;
  border-radius: 1.9rem;
  background: var(--gl-pearl-100);
  max-width: 100%;
}

.pedestal img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.quiet-in {
  animation: quiet-in 0.7s ease both;
}

.quiet-in-delay {
  animation-delay: 0.12s;
}

@keyframes quiet-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiet-in {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Trust strip */
.trust {
  border-top: 1px solid color-mix(in srgb, var(--gl-stone-300) 70%, transparent);
  padding: 1.25rem 0;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--gl-chapel-800) 55%, transparent);
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-list svg {
  width: 1rem;
  height: 1rem;
  color: var(--gl-sky-500);
  flex-shrink: 0;
}

/* Sections */
.section {
  border-top: 1px solid color-mix(in srgb, var(--gl-stone-300) 70%, transparent);
  padding: 2.5rem 0;
}

.section-pearl {
  background: var(--gl-pearl-100);
}

.section-head {
  max-width: 36rem;
}

.section-head h2 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.section-head p {
  margin: 0.85rem 0 0;
  color: color-mix(in srgb, var(--gl-chapel-800) 70%, transparent);
  text-wrap: pretty;
}

.ritual-grid,
.module-grid,
.tradition-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.surface {
  background: color-mix(in srgb, #fff 55%, var(--gl-pearl-100));
  border: 1px solid color-mix(in srgb, var(--gl-stone-300) 55%, transparent);
  border-radius: 1.25rem;
  padding: 1.25rem;
}

.ritual-card h3 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.ritual-card .meta {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--gl-chapel-800) 50%, transparent);
}

.ritual-card p:last-child {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--gl-chapel-800) 70%, transparent);
}

.module-card {
  transition: transform 0.2s ease;
}

.module-card:hover {
  transform: translateY(-4px);
}

.module-icon {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: var(--gl-eucalyptus-100);
  color: var(--gl-chapel-800);
}

.module-card .eyebrow {
  margin-top: 1.5rem;
}

.module-card h3 {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.module-card p {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--gl-chapel-800) 70%, transparent);
}

.tradition-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tradition-item .dot {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--gl-eucalyptus-100);
}

.tradition-item strong {
  display: block;
  font-size: 0.9rem;
}

.tradition-item span {
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--gl-chapel-800) 55%, transparent);
}

/* Community band */
.band {
  box-sizing: border-box;
  margin: 0 auto 3rem;
  width: calc(100% - 2.5rem);
  max-width: 1120px;
  border-radius: 2.5rem;
  padding: 2.5rem 1.75rem;
  background: var(--gl-gradient-vigilia);
  color: var(--gl-cloud-50);
}

.band h2 {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.band p {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: color-mix(in srgb, #fff 75%, transparent);
}

.band-inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

/* Closing */
.closing {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.closing h2 {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
}

/* Footer */
.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--gl-stone-300) 70%, transparent);
  padding: 2rem 0;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--gl-chapel-800) 60%, transparent);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* Legal pages */
.legal {
  padding: 3rem 0 4rem;
  max-width: 42rem;
}

.legal h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
}

.legal p {
  color: color-mix(in srgb, var(--gl-chapel-800) 75%, transparent);
  line-height: 1.7;
}

@media (min-width: 640px) {
  .cta-row {
    flex-direction: row;
  }
  .header-actions .signin {
    display: inline-flex;
  }
}

@media (min-width: 768px) {
  .ritual-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tradition-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .closing,
  .footer-inner,
  .band-inner {
    flex-direction: row;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .band-inner {
    display: grid;
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
  .hero {
    padding: 4rem 0 5rem;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
  .pedestal {
    margin-inline: auto 0;
  }
  .module-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .section {
    padding: 4rem 0;
  }
}
