:root {
  --paper: #f7f1e7;
  --paper-light: #fffdf8;
  --paper-muted: #f4eee4;
  --ink: #202b31;
  --text: #333b3f;
  --muted: #69635b;
  --line: #ded3c3;
  --gold: #9b7a42;
  --blue: #23343e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
}

.hero {
  min-height: 670px;
  padding: 30px 6vw 70px;
  background-image: url("./background.png");
  background-size: cover;
  background-position: center top;
  border-bottom: 1px solid var(--line);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 21px;
}

.menu {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}

.menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
}

.menu a:hover {
  text-decoration: underline;
  text-underline-offset: 10px;
}

.hero-content {
  max-width: 900px;
  margin: 92px auto 0;
  text-align: center;
}

.overline,
.section-label,
.confession-heading p {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 14px;
  font-weight: 700;
}

.rule {
  width: 42px;
  height: 1px;
  background: var(--gold);
  opacity: .6;
  margin: 18px auto 28px;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.motto {
  margin: 20px 0 0;
  font-size: 23px;
  font-style: italic;
  color: var(--ink);
}

.subtitle {
  max-width: 690px;
  margin: 22px auto 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.65;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  min-width: 150px;
  padding: 13px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--blue);
}

.btn.primary {
  background: var(--blue);
  color: white;
}

.btn.secondary {
  color: var(--blue);
  background: rgba(255,255,255,.35);
}

.quick-links {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--line);
}

.quick-card {
  display: flex;
  gap: 24px;
  padding: 38px 52px;
  text-decoration: none;
  color: var(--ink);
  border-right: 1px solid var(--line);
}

.quick-card:last-child { border-right: 0; }

.icon { flex: 0 0 auto; }

.icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-card strong {
  display: block;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 7px;
  color: var(--ink);
}

.quick-card small {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}

.confession {
  background: var(--paper-light);
  padding: 58px 6vw 70px;
  border-bottom: 1px solid var(--line);
}

.confession-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 70px;
  align-items: start;
}

.confession-heading h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(38px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.heading-line {
  width: 70px;
  height: 1px;
  background: var(--gold);
  margin-top: 22px;
}

.confession-text p {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.65;
}

.pdf-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid #b9b1a6;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255,255,255,.55);
  font-weight: 700;
  border-radius: 3px;
}

.pdf-button:hover { border-color: var(--blue); }

.section { padding: 90px 6vw; }

.section.muted {
  background: var(--paper-muted);
  border-bottom: 1px solid var(--line);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.two {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
}

.section h2 {
  margin: 10px 0 26px;
  color: var(--ink);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
}

.schedule {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 24px;
}

.schedule article {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  padding: 28px;
}

.schedule h3 {
  margin: 0 0 12px;
  font-size: 27px;
}

.schedule p,
.section p { color: var(--text); }

.soft { color: var(--muted) !important; }

a { color: var(--blue); }

footer {
  padding: 45px 6vw;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero {
    min-height: 720px;
    padding: 24px;
    background-position: 30% top;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu { gap: 18px; }

  .hero-content { margin-top: 78px; }

  .quick-links,
  .confession-grid,
  .schedule,
  .two {
    grid-template-columns: 1fr;
  }

  .quick-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 30px 28px;
  }

  .confession-grid,
  .two { gap: 28px; }

  .confession,
  .section { padding: 64px 24px; }
}


.map {
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid #ded3c3;
  border-radius: 6px;
  background: #f7f1e7;
}

.map iframe {
  display: block;
}


/* Localização com mapa menor ao lado */
.location-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.map {
  overflow: hidden;
  border: 1px solid #ded3c3;
  border-radius: 6px;
  background: #f7f1e7;
}

.map-small {
  max-width: 560px;
  width: 100%;
  justify-self: end;
}

.map iframe {
  display: block;
}

@media (max-width: 860px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .map-small {
    max-width: none;
    justify-self: stretch;
  }
}
