/* ════════════════════════════════════════════════════
   CASA RELIGIOSA LODYA — Landing Page
   Mobile-first · Playfair Display + DM Sans
   ════════════════════════════════════════════════════ */

/* ── VARIÁVEIS ─────────────────────────────────────── */
:root {
  --vinho-hero:   #1E0005;
  --vinho-sec:    #3A0009;
  --vinho-footer: #0D0002;
  --creme-claro:  #FAF5EC;
  --creme-escuro: #F0E8D0;
  --dourado:      #C9A84C;
  --dourado-claro:#E8C77A;
  --dourado-palido:#F5E9C8;
  --crimson:      #9B1628;
  --crimson-hover:#B01D30;
  --texto-escuro: #1A0005;
  --texto-medio:  #5C3040;

  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --max-w: 1200px;
  --gap:   24px;
  --sec-py: 72px;
  --r-sm:  6px;
  --r-md:  12px;
  --hh:    68px;
  --t:     0.22s ease;
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--texto-escuro);
  background: var(--vinho-hero);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ── CONTAINER ──────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ── UTILITÁRIOS ────────────────────────────────────── */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dourado);
}

.eyebrow.gold { color: var(--dourado); }

.deco-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--dourado);
  margin: 14px 0 20px;
}

.section-header { margin-bottom: 44px; }

.section-header.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header.center .deco-line { margin: 14px auto 20px; }

.section-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(24px, 4.5vw, 40px);
  line-height: 1.2;
  color: var(--dourado-palido);
}

.section-title.dark  { color: var(--texto-escuro); }
.section-title.light { color: var(--dourado-palido); }
.section-title em    { font-style: italic; }

/* ── BOTÕES ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-weight: 500;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: none;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn:active { transform: scale(0.97); }

.btn-sm  { font-size: 13px; padding: 10px 18px; }
.btn-lg  { font-size: 15px; padding: 14px 22px; }
.btn-xl  { font-size: 15px; padding: 18px 28px; min-height: 56px; }

.btn-gold {
  background: var(--dourado);
  color: var(--vinho-hero);
}
.btn-gold:hover { background: var(--dourado-claro); }

.btn-outline {
  background: transparent;
  color: var(--dourado-palido);
  border: 1.5px solid rgba(201,168,76,.55);
}
.btn-outline:hover {
  border-color: var(--dourado);
  color: var(--dourado);
}

.btn-wine {
  background: var(--vinho-hero);
  color: var(--dourado-palido);
  border: 1px solid rgba(201,168,76,.3);
}
.btn-wine:hover {
  border-color: var(--dourado);
  color: var(--dourado);
}

.btn-crimson {
  background: var(--crimson);
  color: #FAF5EC;
  font-size: 14px;
  padding: 13px 24px;
  letter-spacing: .01em;
}
.btn-crimson:hover { background: var(--crimson-hover); }

/* ── REVEAL ANIMATION ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════════════════
   1. HEADER
   ════════════════════════════════════════════════════ */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--vinho-hero);
  height: var(--hh);
  border-bottom: 1px solid rgba(201,168,76,.08);
  transition: box-shadow var(--t);
}

#header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.5); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img { height: 36px; width: auto; }

/* Oculta texto do botão em telas <400px */
@media (max-width: 399px) {
  .btn-label { display: none; }
}

/* ════════════════════════════════════════════════════
   2. HERO
   ════════════════════════════════════════════════════ */
.section-hero {
  background-color: var(--creme);
  background-image:
    url('brand/lodya%20hero%20background%20white2.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: calc(100svh - var(--hh));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0 48px;
  position: relative;
  overflow: hidden;
}

.hero-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-pt {
  position: absolute;
  border-radius: 50%;
  background: rgba(201,168,76,0.72);
  box-shadow: 0 0 8px 2px rgba(201,168,76,0.45);
  pointer-events: none;
  will-change: transform, opacity;
  animation: hero-pfloat linear infinite;
}

@keyframes hero-pfloat {
  0%   { opacity: 0.9;  transform: translateY(0px)    translateX(0px); }
  60%  { opacity: 0.55; }
  100% { opacity: 0;    transform: translateY(-120px) translateX(14px); }
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: rgba(250, 245, 236, 0.96);
  border: 1px solid rgba(201,168,76,.32);
  border-radius: 12px;
  padding: 48px 36px;
  box-shadow: 0 12px 64px rgba(0,0,0,.42);
  position: relative;
  z-index: 2;
}

.hero-content .deco-line { margin: 0 auto 20px; }

/* Overrides de cor — caixa clara */
.hero-content .tag-location  { color: var(--dourado); }
.hero-content .hero-title     { color: var(--texto-escuro); text-shadow: none; }
.hero-content .hero-tagline   { color: var(--vinho-sec); }
.hero-content .badge          { color: var(--texto-escuro); border-color: rgba(26,0,5,.18); }
.hero-content .btn-outline    { color: var(--texto-escuro); border-color: rgba(26,0,5,.3); }
.hero-content .btn-outline:hover { border-color: var(--dourado); color: var(--dourado); }
.hero-content .hero-location  { color: rgba(26,0,5,.42); }

.tag-location {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(36px, 6.5vw, 70px);
  line-height: 1.08;
  color: var(--dourado-palido);
  letter-spacing: -.01em;
  margin-bottom: 22px;
  text-shadow: 0 2px 40px rgba(201,168,76,.12);
}

.hero-title-highlight {
  color: var(--dourado);
}

.hero-tagline {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(22px, 3.2vw, 32px);
  color: var(--dourado-claro);
  margin-bottom: 20px;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.hero-subtitle {
  font-size: clamp(14px, 2.2vw, 17px);
  color: rgba(245,233,200,.6);
  max-width: 580px;
  margin: 0 auto 30px;
  line-height: 1.75;
}

.hero-keywords {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: clamp(11px, 1.6vw, 13px);
  color: var(--texto-escuro);
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.kw-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.hero-keywords .sep {
  color: var(--dourado);
  font-weight: 400;
  margin: 0 9px;
  opacity: .7;
}

.hero-subtitle-light {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(15px, 2vw, 18px);
  color: #7A4A1E;
  margin-bottom: 28px;
  letter-spacing: .02em;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.badge {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(245,233,200,.75);
  border: 1px solid rgba(201,168,76,.3);
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: .03em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 22px;
}

.hero-phones {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 13px;
  color: rgba(245,233,200,.55);
  margin-bottom: 16px;
}
.hero-phones a {
  color: rgba(245,233,200,.65);
  transition: color var(--t);
}
.hero-phones a:hover { color: var(--dourado); }

.hero-price-info {
  font-size: 14px;
  color: rgba(26,0,5,.55);
  margin-top: 8px;
  margin-bottom: 12px;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.price-badge {
  display: inline-block;
  background: var(--dourado);
  color: var(--vinho-hero);
  font-weight: 700;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: .03em;
}
.service-price {
  font-size: 13px;
  color: rgba(26,0,5,.5);
  margin-bottom: 16px;
  letter-spacing: .01em;
}
.service-price strong {
  color: var(--vinho-sec);
  font-weight: 700;
  font-size: 14px;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(245,233,200,.38);
  letter-spacing: .04em;
}

.hero-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(201,168,76,.22) 40%, rgba(201,168,76,.22) 60%, transparent 100%);
}

/* ════════════════════════════════════════════════════
   3. INTENÇÃO
   ════════════════════════════════════════════════════ */
.section-intencao {
  background: var(--vinho-sec);
  padding: var(--sec-py) 0;
}

.section-intencao .section-title {
  color: var(--dourado-palido);
  margin-top: 4px;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: var(--r-md);
  overflow: hidden;
}

.intent-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px 32px;
  border-right: 1px solid rgba(201,168,76,.18);
  border-bottom: 1px solid rgba(201,168,76,.18);
  color: var(--dourado-palido);
  transition: background var(--t);
  cursor: pointer;
}

/* 2×2 mobile: remove borders on right column and last row */
.intent-card:nth-child(even)    { border-right: none; }
.intent-card:nth-child(3),
.intent-card:nth-child(4)       { border-bottom: none; }

.intent-card:hover { background: rgba(201,168,76,.07); }

.intent-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
}
.intent-icon svg { width: 100%; height: 100%; }

.intent-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--dourado-palido);
  margin-bottom: 8px;
  line-height: 1.3;
}

.intent-desc {
  font-size: 13px;
  color: rgba(245,233,200,.5);
  line-height: 1.5;
  margin-bottom: 20px;
}

.intent-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t), border-color var(--t);
}

.intent-card:hover .intent-arrow {
  background: var(--dourado);
  border-color: var(--dourado);
}

.intent-card:hover .intent-arrow svg path {
  stroke: var(--vinho-hero);
}

/* ════════════════════════════════════════════════════
   4. SERVIÇOS
   ════════════════════════════════════════════════════ */
.section-servicos {
  background: var(--creme-escuro);
  padding: var(--sec-py) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--r-md);
  overflow: hidden;
}

.service-card {
  padding: 36px 28px;
  border-bottom: 1px solid rgba(201,168,76,.25);
  transition: background var(--t);
  background: #FAF5EC;
}

.service-card:last-child { border-bottom: none; }
.service-card:hover { background: rgba(201,168,76,.05); }

.service-num {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--dourado);
  margin-bottom: 10px;
}

.service-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--texto-escuro);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 15px;
  color: var(--texto-medio);
  line-height: 1.7;
  margin-bottom: 22px;
}

/* ════════════════════════════════════════════════════
   5. SOBRE A CASA
   ════════════════════════════════════════════════════ */
.section-sobre {
  background: var(--vinho-hero);
  padding: var(--sec-py) 0;
}

.sobre-grid {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

/* Foto com moldura decorativa */
.sobre-photo {
  position: relative;
  padding: 14px;
}

.sobre-photo::before,
.sobre-photo::after {
  content: '';
  position: absolute;
  width: 52%;
  height: 52%;
  pointer-events: none;
}

.sobre-photo::before {
  top: 0; left: 0;
  border-top: 1px solid rgba(201,168,76,.5);
  border-left: 1px solid rgba(201,168,76,.5);
}

.sobre-photo::after {
  bottom: 0; right: 0;
  border-bottom: 1px solid rgba(201,168,76,.5);
  border-right: 1px solid rgba(201,168,76,.5);
}

.photo-wrap {
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 2px;
  overflow: hidden;
}

.photo-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.sobre-content .eyebrow { color: var(--dourado); }
.sobre-content .deco-line { background: var(--dourado); }

.sobre-text {
  font-size: 15.5px;
  color: rgba(245,233,200,.72);
  line-height: 1.78;
  margin-bottom: 16px;
}

.credential-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid rgba(201,168,76,.35);
  background: rgba(201,168,76,.05);
  border-radius: var(--r-sm);
  padding: 20px;
  margin-top: 28px;
}

.credential-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(201,168,76,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dourado);
}

.credential-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--dourado);
  margin-bottom: 4px;
  letter-spacing: .02em;
}

.credential-text {
  font-size: 13px;
  color: rgba(245,233,200,.5);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════
   6. HORÁRIOS E CONTATO
   ════════════════════════════════════════════════════ */
.section-contato {
  background: var(--creme-escuro);
  padding: var(--sec-py) 0;
}

.contato-grid {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.horario-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
}

.horario-table tr { border-bottom: 1px solid rgba(201,168,76,.2); }
.horario-table tr.last { border-bottom: none; }

.horario-table td {
  padding: 12px 0;
  font-size: 14px;
  color: var(--texto-medio);
  vertical-align: top;
}

.horario-table td:first-child {
  font-weight: 500;
  color: var(--texto-escuro);
  padding-right: 20px;
  width: 48%;
}

.horario-table td strong { color: var(--texto-escuro); }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(201,168,76,.22);
  border-radius: var(--r-sm);
  color: var(--texto-escuro);
  transition: border-color var(--t);
}

a.contact-item:hover { border-color: var(--dourado); }

.contact-icon-box {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--vinho-sec);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dourado);
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.contact-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--texto-medio);
}

.contact-value {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--texto-escuro);
}

.contact-arrow { flex-shrink: 0; opacity: .6; transition: opacity var(--t); }
a.contact-item:hover .contact-arrow { opacity: 1; }

/* ════════════════════════════════════════════════════
   7. CTA FINAL
   ════════════════════════════════════════════════════ */
.section-cta-final {
  background: var(--vinho-hero);
  background-image:
    radial-gradient(ellipse 65% 55% at 50% 100%,
      rgba(201,168,76,.1) 0%, transparent 68%);
  padding: var(--sec-py) 0;
  text-align: center;
}

.cta-final-inner {
  max-width: 680px;
  margin: 0 auto;
}

.section-cta-final .eyebrow { margin-bottom: 18px; }

.cta-final-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 46px);
  color: var(--dourado-palido);
  line-height: 1.18;
  margin-bottom: 18px;
}

.cta-final-text {
  font-size: 16px;
  color: rgba(245,233,200,.58);
  line-height: 1.75;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-final-info {
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(245,233,200,.35);
  letter-spacing: .05em;
}

.cta-final-phones {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(245,233,200,.45);
}
.cta-final-phones a {
  color: rgba(245,233,200,.5);
  transition: color var(--t);
}
.cta-final-phones a:hover { color: var(--dourado); }

/* ════════════════════════════════════════════════════
   8. FOOTER
   ════════════════════════════════════════════════════ */
#footer {
  background: var(--vinho-footer);
  border-top: 1px solid rgba(201,168,76,.1);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-logo { height: 34px; width: auto; opacity: .8; }
.footer-info { font-size: 13px; color: rgba(245,233,200,.4); }
.footer-reg  { font-size: 12px; color: rgba(245,233,200,.25); }

/* ════════════════════════════════════════════════════
   9. BOTÃO FLUTUANTE WHATSAPP
   ════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--t), box-shadow var(--t);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}

/* ════════════════════════════════════════════════════
   BREAKPOINTS — TABLET / DESKTOP (768px+)
   ════════════════════════════════════════════════════ */
@media (min-width: 768px) {

  :root { --sec-py: 96px; }

  .container { padding: 0 40px; }

  .hero-content { padding: 52px 52px; }

  /* Intenção: 4 colunas lado a lado */
  .intent-grid { grid-template-columns: repeat(4, 1fr); }

  .intent-card {
    border-bottom: none;
    padding: 44px 24px 40px;
  }

  /* Remove border-bottom que foi forçado para mobile */
  .intent-card:nth-child(3),
  .intent-card:nth-child(4) { border-bottom: none; }

  /* Apenas o último card fica sem border-right */
  .intent-card:nth-child(even)   { border-right: 1px solid rgba(201,168,76,.18); }
  .intent-card:nth-child(4)      { border-right: none; }

  /* Serviços: 2×2 */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .service-card {
    border-bottom: 1px solid rgba(201,168,76,.25);
    border-right:  1px solid rgba(201,168,76,.25);
  }
  .service-card:nth-child(even)         { border-right: none; }
  .service-card:nth-child(3),
  .service-card:nth-child(4)            { border-bottom: none; }

  /* Sobre: 2 colunas */
  .sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .sobre-photo { padding: 18px; }

  /* Contato: 2 colunas */
  .contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  /* Hero: CTAs lado a lado */
  .hero-ctas { flex-wrap: nowrap; }
}

@media (min-width: 1024px) {
  .section-hero { padding: 80px 0 64px; }

  .intent-card { padding: 48px 28px 44px; }
  .intent-title { font-size: 17px; }

  .service-card { padding: 44px 40px; }

  .sobre-grid { gap: 80px; }
  .contato-grid { gap: 80px; }

  .sobre-photo::before,
  .sobre-photo::after { width: 48%; height: 48%; }
}

/* ── MOBILE PEQUENO ──────────────────────────────────── */
@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn { justify-content: center; }
}
