/* ================================================================
   SAGRADA FAMÍLIA — Artigos Religiosos
   style.css  |  Estilos globais, tokens, componentes
   ================================================================

   ÍNDICE
   1. Tokens (variáveis CSS)
   2. Reset
   3. Utilities
   4. Botões
   5. Header & Navegação
   6. Hero
   7. Features Strip
   8. Cabeçalhos de Seção
   9. Produtos (cards)
  10. Sobre Nós
  11. Depoimentos
  12. CTA Banner
  13. Footer
  14. Animações
  15. Responsividade
   ================================================================ */


/* ──────────────────────────────────────────────────────────────
   1. TOKENS
   ────────────────────────────────────────────────────────────── */
:root {
  /* Cores */
  --bg:           #FAF9F6;
  --bg-warm:      #F3EFE8;
  --bg-card:      #FFFFFF;
  --ink:          #3A2E26;
  --ink-soft:     #7A6558;
  --gold:         #B5893A;
  --gold-light:   #D4A85A;
  --gold-dark:    #8C6520;
  --cross:        #C9A96E;
  --border:       #E2D9CF;
  --white:        #FFFFFF;

  /* Tipografia */
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Lato', system-ui, sans-serif;

  /* Bordas */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  /* Sombras */
  --shadow-card:  0 2px 16px rgba(58, 46, 38, .08);
  --shadow-hover: 0 8px 32px rgba(58, 46, 38, .14);
}


/* ──────────────────────────────────────────────────────────────
   2. RESET
   ────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html  { scroll-behavior: smooth; }
body  {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }


/* ──────────────────────────────────────────────────────────────
   3. UTILITIES
   ────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Divisor ornamental (linha + cruz) */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 48px;
  max-width: 280px;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cross);
  opacity: .5;
}
.divider__cross {
  font-size: 1.1rem;
  color: var(--cross);
  line-height: 1;
}


/* ──────────────────────────────────────────────────────────────
   4. BOTÕES
   ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .22s, color .22s, border-color .22s,
              box-shadow .22s, transform .15s;
}
.btn:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}
.btn:active { transform: translateY(1px); }

/* Primário — fundo dourado */
.btn--primary {
  background: var(--gold);
  color: var(--white);
  padding: 14px 32px;
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(181, 137, 58, .3);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 6px 20px rgba(181, 137, 58, .4);
}

/* Outline — borda dourada */
.btn--outline {
  background: transparent;
  color: var(--gold);
  padding: 11px 26px;
  border-color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--white);
}

/* Ghost — para fundos escuros */
.btn--ghost {
  background: rgb(58 46 38);
  color: var(--white);
  padding: 14px 32px;
  border-color: rgba(58 46 38, .5);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgb(58 46 38);
  color: rgb(58 46 38);
}

/* WhatsApp */
.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  padding: 14px 28px;
  border-color: #25D366;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn--whatsapp:hover {
  background: #128C7E;
  border-color: #128C7E;
}


/* ──────────────────────────────────────────────────────────────
   5. HEADER & NAVEGAÇÃO
   ────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo__text {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}
.logo__text span {
  display: block;
  font-size: .7rem;
  font-family: var(--ff-body);
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Nav desktop (oculta no mobile) */
.nav { display: none; }
.nav__list {
  display: flex;
  gap: 32px;
}
.nav__link {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav__link:hover { color: var(--gold); }

/* CTA do header (oculto no mobile) */
.header__cta { display: none; }

/* Hambúrguer */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 16px 20px 24px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.mobile-menu a:last-child { border-bottom: none; }


/* ──────────────────────────────────────────────────────────────
   6. HERO
   ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(181,137,58,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(181,137,58,.10) 0%, transparent 50%);
}
/* Cruz decorativa como marca d'água */
.hero__watermark {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: min(180px, 18vw);
  opacity: .04;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.hero__watermark svg {
  width: 100%;
  height: auto;
  fill: #FFFFFF;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold-light);
  opacity: .7;
}
.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .72);
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
/* Indicador de scroll */
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .35);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}


/* ──────────────────────────────────────────────────────────────
   7. FEATURES STRIP
   ────────────────────────────────────────────────────────────── */
.features {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.features__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.feature__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}

/* ──────────────────────────────────────────────────────────────
   8. CABEÇALHOS DE SEÇÃO
   ────────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-subtitle {
  font-size: .975rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ──────────────────────────────────────────────────────────────
   9. PRODUTOS — CARDS
   ────────────────────────────────────────────────────────────── */
.products {
  padding: 80px 0 96px;
}
.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* Card individual */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* Área da imagem */
.card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-warm);
}
.card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card__image-wrap img {
  transform: scale(1.04);
}

/* Placeholder (remova ao adicionar imagem real) */
.card__image-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--cross);
}
.card__image-placeholder svg { opacity: .4; width: 56px; height: 56px; }
.card__image-placeholder span {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: .6;
}

/* Badge (Novo, Oferta, etc.) */
.card__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

/* Corpo do card */
.card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__category {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.card__title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}
.card__desc {
  font-size: .85rem;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}
.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

/* Preço */
.card__price { display: flex; flex-direction: column; }
.card__price-old {
  font-size: .75rem;
  color: var(--ink-soft);
  text-decoration: line-through;
  line-height: 1;
}
.card__price-current {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.card__price-currency {
  font-size: .85rem;
  font-family: var(--ff-body);
  font-weight: 400;
}


/* ──────────────────────────────────────────────────────────────
   10. SOBRE NÓS
   ────────────────────────────────────────────────────────────── */
.about {
  background: var(--ink);
  padding: 80px 0 88px;
  position: relative;
  overflow: hidden;
}
.about__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 50% 70% at 0% 50%, rgba(181,137,58,.1) 0%, transparent 60%);
  pointer-events: none;
}
.about__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.about__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.about__cross-large {
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}
.about__eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 14px;
  text-align: center;
}
.about__title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
  text-align: center;
}
.about__title em {
  color: var(--gold-light);
  font-style: italic;
}
.about__text {
  color: rgba(255, 255, 255, 0.798);
  font-size: .975rem;
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: center;
}
.about__values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
}
.about__value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(181, 137, 58, .25);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .04);
}
.about__value-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
  align-self: center;
}
.about__value-title {
  font-weight: 700;
  color: var(--white);
  font-size: .9rem;
  margin-bottom: 4px;
}
.about__value-desc {
  font-size: .83rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
}


/* ──────────────────────────────────────────────────────────────
   12. CTA BANNER
   ────────────────────────────────────────────────────────────── */
.cta-banner {
  background: rgba(250, 249, 246, .95);
  padding: 64px 20px;
  text-align: center;
}
.cta-banner__title {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 12px;
}
.cta-banner__subtitle {
  color: rgba(46, 36, 32, 0.85);
  font-size: .975rem;
  margin-bottom: 32px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}


/* ──────────────────────────────────────────────────────────────
   13. FOOTER
   ────────────────────────────────────────────────────────────── */
.footer {
  background: #2B211A;
  color: rgba(255, 255, 255, .6);
  padding: 56px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand .logo__text       { color: var(--white); }
.footer__brand .logo__text span  { color: rgba(255, 255, 255, .45); }
.footer__tagline {
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  margin-top: 14px;
  line-height: 1.6;
  max-width: 260px;
}
.footer__heading {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer__links li + li { margin-top: 10px; }
.footer__links a {
  font-size: .875rem;
  color: rgba(255, 255, 255, .55);
  transition: color .2s;
}
.footer__links a:hover { color: var(--gold-light); }
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 10px;
}
.footer__contact li span:first-child {
  font-size: 1rem;
  flex-shrink: 0;
}
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: rgba(255, 255, 255, .55);
  transition: background .2s, border-color .2s, color .2s;
}
.footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  text-align: center;
  font-size: .78rem;
  color: rgba(255, 255, 255, .3);
}
.footer__bottom a { color: var(--gold-light); }


/* ──────────────────────────────────────────────────────────────
   14. ANIMAÇÕES
   ────────────────────────────────────────────────────────────── */
@keyframes scrollPulse {
  0%, 100% { opacity: .35; transform: scaleY(1);  }
  50%       { opacity: .7;  transform: scaleY(.8); }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}


/* ──────────────────────────────────────────────────────────────
   15. RESPONSIVIDADE
   ────────────────────────────────────────────────────────────── */

/* Tablet pequeno → 2 colunas nos cards */
@media (min-width: 480px) {
  .features__list      { grid-template-columns: 1fr 1fr; }
  .products__grid      { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet / Desktop → nav visível, 3 colunas */
@media (min-width: 768px) {
  .nav              { display: block; }
  .header__cta      { display: inline-block; }
  .hamburger        { display: none; }

  .hero__watermark  { font-size: 28vw; }

  .products__grid   { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .about__inner     { grid-template-columns: 1fr 1fr; }
  .about__ornament  { justify-content: flex-start; }
  .about__eyebrow,
  .about__title,
  .about__text      { text-align: left; }

  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid       { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

/* Desktop largo → 3 colunas nos cards e depoimentos */
@media (min-width: 1024px) {
  .products__grid     { grid-template-columns: repeat(3, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
  .features__list     { grid-template-columns: repeat(4, 1fr); }
}
