/* ============================================================
   Paróquia.digital — tema institucional
   Paleta e tipografia do Manual de Identidade Visual v1.0
   ============================================================ */

:root {
  /* Paleta (Manual de Identidade Visual) */
  --purple: #4a2f7f;      /* Primária · Roxo litúrgico */
  --purple-deep: #2f1e57;  /* Roxo mais profundo, pra gradiente/hero */
  --purple-deeper: #211440;
  --gold: #c9962c;        /* Secundária · Dourado sacro */
  --gold-light: #e0b555;
  --teal: #239e97;        /* Acento · Sinal digital */
  --teal-light: #4fc4bd;
  --parchment: #f0e9d8;   /* Neutra · Pergaminho */
  --parchment-warm: #e8dfc9;
  --ink: #241a3d;         /* Texto · Tinta */
  --cream: #faf6ec;
  --white: #ffffff;

  /* Tipografia */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Nunito Sans', -apple-system, sans-serif;

  /* Ritmo */
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(36, 26, 61, 0.35);
  --shadow-sm: 0 12px 30px -16px rgba(36, 26, 61, 0.25);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 0.98rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 3px;
}

.btn--gold {
  background: var(--gold);
  color: var(--purple-deeper);
  box-shadow: 0 14px 30px -12px rgba(201, 150, 44, 0.55);
}

.btn--gold:hover {
  background: var(--gold-light);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(240, 233, 216, 0.4);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(240, 233, 216, 0.08);
}

.btn--dark {
  background: var(--purple);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--dark:hover {
  background: var(--purple-deep);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--purple-deeper);
  border-bottom: 1px solid rgba(240, 233, 216, 0.1);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand__dotdigital {
  color: var(--teal-light);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav__links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__links a {
  color: rgba(240, 233, 216, 0.85);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  transition: color 0.15s ease;
}

.site-nav__links a:hover {
  color: var(--white);
}

.site-header__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  padding: 0.4rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .site-nav {
    position: fixed;
    inset: 66px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--purple-deeper);
    border-bottom: 1px solid rgba(240, 233, 216, 0.12);
    padding: 0.5rem 24px 1.5rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-nav__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1rem;
  }
  .site-nav__links a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(240, 233, 216, 0.08);
  }
  .site-nav .btn {
    justify-content: center;
  }
  .site-header__toggle {
    display: block;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(ellipse 120% 90% at 50% -10%, var(--purple) 0%, var(--purple-deep) 55%, var(--purple-deeper) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 5.5rem 0 6.5rem;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 3rem;
}

.hero__eyebrow {
  color: var(--gold-light);
}

.hero__title {
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  color: var(--white);
}

.hero__title em {
  font-style: italic;
  color: var(--teal-light);
}

.hero__subtitle {
  margin: 1.6rem 0 2.4rem;
  font-size: 1.15rem;
  max-width: 46ch;
  color: rgba(240, 233, 216, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__mark-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.hero__mark {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}

.hero__mark .signal {
  transform-origin: 120px 202px;
  animation: signal-pulse 3.2s ease-in-out infinite;
}

.hero__mark .signal--1 {
  animation-delay: 0s;
}
.hero__mark .signal--2 {
  animation-delay: 0.25s;
}
.hero__mark .signal--3 {
  animation-delay: 0.5s;
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.hero__rings {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw;
  max-width: 720px;
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.5;
}

.hero__rings circle {
  fill: none;
  stroke: rgba(240, 233, 216, 0.14);
  stroke-width: 1;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__subtitle {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__mark-wrap {
    max-width: 220px;
    margin: 0 auto;
  }
}

/* ---------- Seções gerais ---------- */

.section {
  padding: 5.5rem 0;
}

.section--parchment {
  background: var(--parchment);
}

.section--ink {
  background: var(--purple-deeper);
  color: var(--white);
}

.section__head {
  max-width: 620px;
  margin: 0 auto 3.2rem;
  text-align: center;
}

.section__head .eyebrow {
  display: block;
}

.section__lead {
  margin: 1rem 0 0;
  font-size: 1.08rem;
  opacity: 0.85;
}

.section--ink .section__lead {
  color: rgba(240, 233, 216, 0.8);
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.3rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--purple);
}

.feature-card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink);
  opacity: 0.78;
}

/* ---------- Showcase ---------- */

.showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.browser-card {
  background: rgba(240, 233, 216, 0.05);
  border: 1px solid rgba(240, 233, 216, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.browser-card:hover {
  transform: translateY(-6px);
  border-color: rgba(35, 158, 151, 0.5);
}

.browser-card__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: rgba(0, 0, 0, 0.2);
}

.browser-card__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(240, 233, 216, 0.25);
}

.browser-card__url {
  margin-left: 0.6rem;
  font-size: 0.78rem;
  color: rgba(240, 233, 216, 0.55);
  font-family: monospace;
}

.browser-card__shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.browser-card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.browser-card__caption {
  padding: 1.3rem 1.5rem 1.6rem;
}

.browser-card__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.browser-card__caption span {
  font-size: 0.9rem;
  color: rgba(240, 233, 216, 0.65);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--gold) 0%, #d8ac4c 100%);
  color: var(--purple-deeper);
  border-radius: var(--radius);
  padding: 3.4rem 2.5rem;
  text-align: center;
  margin: 0 auto;
  max-width: var(--container);
}

.cta-band h2 {
  color: var(--purple-deeper);
}

.cta-band p {
  margin: 0.9rem 0 2rem;
  font-size: 1.05rem;
  opacity: 0.85;
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-band .btn--ghost {
  border-color: rgba(36, 26, 61, 0.3);
  color: var(--purple-deeper);
}

.cta-band .btn--ghost:hover {
  border-color: var(--purple-deeper);
  background: rgba(36, 26, 61, 0.06);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--purple-deeper);
  color: rgba(240, 233, 216, 0.7);
  padding: 3.2rem 0 2.2rem;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(240, 233, 216, 0.12);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.site-footer__brand .brand__mark {
  width: 28px;
  height: 28px;
}

.site-footer__contact {
  font-size: 0.92rem;
  line-height: 1.9;
}

.site-footer__contact a {
  text-decoration: none;
  color: rgba(240, 233, 216, 0.85);
}

.site-footer__bottom {
  padding-top: 1.6rem;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- LP: /comece-agora ---------- */

.site-header__trust {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.01em;
}

.hero--lp {
  padding: 3.5rem 0 5rem;
}

.hero__inner--lp {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  align-items: start;
  gap: 3.5rem;
}

.hero__mark--small {
  width: 84px;
  height: 84px;
  margin-bottom: 1.6rem;
}

.hero__mark--small .signal {
  transform-origin: 120px 202px;
  animation: signal-pulse 3.2s ease-in-out infinite;
}

.hero__title--lp {
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
}

.trust-list {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.96rem;
  color: rgba(240, 233, 216, 0.9);
}

.trust-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(35, 158, 151, 0.18);
  border: 1.5px solid var(--teal-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%234fc4bd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.lead-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.lead-form__title {
  font-size: 1.4rem;
  color: var(--purple);
  margin-bottom: 1.4rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 1rem;
}

.field label {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
  color: var(--purple);
}

.field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(74, 47, 127, 0.18);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus-visible {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(35, 158, 151, 0.18);
}

.lead-form__error {
  background: rgba(181, 69, 47, 0.1);
  border: 1px solid rgba(181, 69, 47, 0.3);
  color: #8a3521;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0 0 1.1rem;
}

.lead-form__submit {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 1.05rem 1.5rem;
  margin-top: 0.4rem;
}

.lead-form__submit[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.lead-form__fineprint {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  color: rgba(36, 26, 61, 0.55);
  text-align: center;
}

@media (max-width: 900px) {
  .hero__inner--lp {
    grid-template-columns: 1fr;
  }
  .hero__pitch {
    text-align: left;
  }
  .hero__mark--small {
    margin-left: auto;
    margin-right: auto;
  }
  .trust-list {
    align-items: flex-start;
  }
}

/* ---------- /obrigado ---------- */

.hero--thanks {
  padding: 6rem 0;
  text-align: center;
}

.hero__inner--thanks {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero__inner--thanks .hero__mark--small {
  margin: 0 auto 1.6rem;
}

.hero__subtitle--center {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions--center {
  justify-content: center;
  margin-top: 2rem;
}
