:root {
  color-scheme: light;
  --paper: #eee6d9;
  --cream: #f7f1e8;
  --ink: #2e2119;
  --brown: #5a3a23;
  --copper: #9f612f;
  --rule: #cbb08e;
  --petrol: #263b40;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, "Helvetica Neue", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
p, h1 { margin: 0; }
.wrap { width: min(100% - 7rem, 81rem); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: .5rem; left: .5rem; padding: .75rem 1rem; background: var(--cream); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 4px; }
.header { background: var(--cream); border-bottom: 1px solid #dfcfb9; }
.header-inner { min-height: 5.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: block; width: 10.3rem; }
.button { display: inline-flex; min-height: 2.875rem; align-items: center; justify-content: center; text-align: center; padding: .65rem 1.2rem; border: 1px solid; border-radius: 3px; text-decoration: none; font-size: .875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; transition: background-color .18s ease, color .18s ease; }
.button-outline { color: var(--brown); border-color: #a77a56; }
.button-outline:hover { background: var(--brown); color: #fff7e8; }
.button-primary { min-height: 3.65rem; padding-inline: 1.7rem; color: #fff5e8; background: #4c2c1b; border-color: #4c2c1b; }
.button-primary:hover { background: #6b4128; border-color: #6b4128; }
.hero {
  overflow: hidden;
  isolation: isolate;
  position: relative;
  background: radial-gradient(ellipse at 79% 29%, #f8dfb7 0%, transparent 51%), linear-gradient(110deg, #f3ece2, #ede4d4 76%);
  border-bottom: 1px solid #dfcfb9;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 18rem;
  height: 36rem;
  inset: auto auto -15rem -11rem;
  background: url("assets/faixa-dourada.webp") center / contain no-repeat;
  opacity: .33;
  transform: rotate(-11deg);
}
.hero-layout {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  grid-template-areas: "identity art" "title art" "motto art" "details art" "action art";
  grid-template-rows: repeat(5, auto);
  min-height: min(49rem, calc(100svh - 5.6rem));
  padding-block: clamp(4.5rem, 6vw, 7.2rem);
}
.event-id { grid-area: identity; display: flex; width: fit-content; align-items: center; gap: .9rem; color: var(--brown); }
.edition { display: inline-flex; align-items: center; gap: .32em; font-weight: 800; font-size: clamp(1.36rem, 2vw, 1.85rem); white-space: nowrap; line-height: 1; }
.edition img { width: 2.33em; }
.event-name { padding-left: .9rem; border-left: 1px solid #a17b57; text-transform: uppercase; font-size: .875rem; font-weight: 700; line-height: 1.25; letter-spacing: .07em; }
h1 { grid-area: title; margin: 2.15rem 0 1.55rem; width: min(111%, 40rem); }
h1 img { width: 100%; filter: drop-shadow(0 .14rem .12rem #442a1a26); }
.hero-art { position: absolute; z-index: -1; width: min(63%, 49.5rem); right: -3%; top: 50%; transform: translateY(-50%); }
.hero-art img { width: 100%; }
.motto { grid-area: motto; }
.motto p { font: clamp(1.36rem, 2.05vw, 1.92rem)/1.31 var(--serif); letter-spacing: -.018em; }
.reference { display: block; margin-top: .85rem; color: var(--brown); font-size: .875rem; letter-spacing: .045em; }
.details { grid-area: details; margin-top: 2rem; padding-top: 1.12rem; border-top: 1px solid var(--rule); width: min(100%, 26rem); }
.event-date { display: inline-flex; align-items: center; gap: .82rem; color: var(--brown); }
.event-days { font: 700 clamp(2.55rem, 4vw, 3.65rem)/.98 var(--serif); white-space: nowrap; letter-spacing: -.055em; }
.event-and { color: var(--copper); font-size: .60em; font-weight: 400; font-style: italic; }
.event-date-context { display: grid; gap: .21rem; border-left: 1px solid var(--rule); padding-left: .82rem; font-size: clamp(.92rem, 1.3vw, 1.16rem); font-weight: 800; text-transform: uppercase; letter-spacing: .095em; line-height: 1.14; text-align: left; }
.event-place { margin-top: .5rem; font-size: 1.05rem; }
.registration { grid-area: action; margin-top: 1.48rem; }
.registration p { margin-top: .65rem; color: var(--brown); font-size: .875rem; }
@media (max-width: 1060px) {
  .wrap { width: calc(100% - 4rem); }
  .hero-art { right: -4%; width: 63%; }
  .desktop-break { display: none; }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 2.75rem); }
  .header-inner { min-height: 4.55rem; }
  .brand { width: 8.2rem; }
  .hero-layout { grid-template-columns: minmax(0, 48%) minmax(0, 52%); padding-block: 4rem; min-height: 36rem; }
  .hero-art { right: -6%; width: 65%; }
  .event-id { gap: .65rem; }
  .event-name { padding-left: .65rem; letter-spacing: .04em; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 4.25rem; }
  .brand { width: 7.85rem; }
  .header .button { padding-inline: .85rem; min-height: 2.75rem; }
  .hero { background: radial-gradient(ellipse at 69% 35%, #f8dfb7, transparent 52%), linear-gradient(120deg, #f4ede4, #eee4d4); }
  .hero::before { left: -14rem; bottom: -13rem; opacity: .23; }
  .hero-layout { padding-block: 1.8rem 2.45rem; grid-template-columns: minmax(0, 1fr); grid-template-areas: "identity" "title" "art" "motto" "details" "action"; grid-template-rows: auto; min-height: auto; text-align: center; justify-items: center; }
  .event-id { text-align: left; }
  h1 { width: min(100%, 30rem); margin: .95rem 0 0; }
  .hero-art { position: relative; top: auto; right: auto; transform: none; width: min(100%, 24rem); margin: -.3rem 0 -.45rem; }
  .motto p { max-width: 24rem; font-size: clamp(1.34rem, 5vw, 1.65rem); text-wrap: balance; }
  .reference { margin-top: .55rem; }
  .event-days { font-size: clamp(2.72rem, 9vw, 3.12rem); }
  .details { margin-top: 1.2rem; padding-top: .85rem; width: min(100%, 23rem); }
  .registration { margin-top: 1.12rem; width: min(100%, 23rem); }
  .button-primary { width: 100%; min-height: 3.4rem; padding-inline: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

.event-facts {
  background: radial-gradient(ellipse at 50% 0%, #483327 0%, #33241c 75%);
  color: #fcf3e5;
  border-top: 2px solid #ad7d51;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 0;
  padding-block: clamp(2rem, 4.4vw, 3.75rem);
}
.fact {
  --fact-indent: 2.25rem;
  padding-inline: clamp(1.15rem, 3.1vw, 2.9rem);
}
.fact:first-child { padding-inline-start: 0; }
.fact:last-child { padding-inline-end: 0; }
.fact + .fact { border-inline-start: 1px solid #8e7057; }
.fact dt {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #e8ba8c;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.fact-icon {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.fact dd { margin: .55rem 0 0 var(--fact-indent); }
.fact-primary { display: block; font: clamp(1.1rem, 1.75vw, 1.52rem)/1.3 var(--serif); }
.fact-secondary { display: block; color: #f0dfcc; font-size: .94rem; line-height: 1.5; }
.fact-primary + .fact-secondary { margin-top: .35rem; }
.fact-secondary + .fact-primary { margin-top: .2rem; }

@media (max-width: 680px) {
  .facts-grid { grid-template-columns: 1fr; max-width: 27rem; padding-block: 1.15rem; }
  .fact { padding: 1.15rem 0; }
  .fact + .fact { border-inline-start: 0; border-top: 1px solid #8e7057; }
  .fact-primary { font-size: 1.27rem; }
}

.pastoral { background: #f7f1e8; }
.pastoral-layout {
  display: grid;
  grid-template-columns: minmax(0, 37%) minmax(0, 1fr);
  grid-template-areas: "portrait label" "portrait title" "portrait letter";
  column-gap: clamp(2.25rem, 5.6vw, 6rem);
  align-items: start;
  padding-block: clamp(3.5rem, 8vw, 7.25rem);
}
.pastoral-label {
  grid-area: label;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--brown);
  font-size: .875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}
.pastoral-label::before { content: ""; width: 2rem; height: 1px; background: var(--copper); }
.pastoral-portrait {
  grid-area: portrait;
  position: relative;
  display: flex;
  justify-content: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 63% 28%, #f9e7c9, transparent 62%), #e6d7c7;
  border-bottom: .22rem solid #a2734b;
}
.pastoral-portrait::before {
  content: "";
  position: absolute;
  inset: .85rem;
  border: 1px solid #ab815b66;
  pointer-events: none;
}
.pastoral-portrait img {
  z-index: 1;
  position: relative;
  flex: 0 0 auto;
  width: 106%;
  max-width: none;
  align-self: flex-start;
  margin-top: 6%;
  transform: translateX(-2%);
}
.pastoral h2 {
  grid-area: title;
  margin: .9rem 0 1.6rem;
  font: 400 clamp(2.45rem, 4.15vw, 4.6rem)/.99 var(--serif);
  letter-spacing: -.045em;
  color: var(--ink);
}
.pastoral-letter { grid-area: letter; max-width: 42rem; font-size: clamp(1rem, 1.35vw, 1.10rem); line-height: 1.7; }
.pastoral-letter p + p { margin-top: 1rem; }
.pastoral-letter blockquote {
  margin: 1.45rem 0;
  padding: .08rem 0 .08rem 1rem;
  border-left: 2px solid #ba8354;
  font: 400 clamp(1.3rem, 2.15vw, 1.85rem)/1.3 var(--serif);
  color: #653d25;
}
.pastoral-letter .pastoral-name { margin-top: .35rem; font: 700 1.25rem/1.35 var(--serif); }
.pastoral-letter .pastoral-role { margin-top: .22rem; font-size: .92rem; color: var(--brown); }
@media (max-width: 680px) {
  .pastoral-layout {
    max-width: 32rem;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "label" "portrait" "title" "letter";
    padding-block: 2.8rem 3.5rem;
  }
  .pastoral-portrait { width: min(100%, 25rem); aspect-ratio: 1 / 1.07; margin-top: 1rem; }
  .pastoral h2 { margin-top: 1.4rem; margin-bottom: 1.1rem; }
  .pastoral-break { display: none; }
}

.theme {
  color: #faf1e4;
  background: radial-gradient(ellipse at 76% 62%, #503a2b 0%, #34261e 47%, #2b211c 84%);
  border-top: 1px solid #a57248;
}
.theme-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  column-gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(4rem, 8vw, 7.5rem);
}
.theme-label {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #edbe94;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.theme-label::before { content: ""; width: 2rem; height: 1px; background: #bb8859; }
.theme h2 {
  margin: 1rem 0 1.5rem;
  font: 400 clamp(2.45rem, 4.25vw, 4.55rem)/1.02 var(--serif);
  letter-spacing: -.043em;
}
.theme h2 span { display: block; color: #efc69f; }
.theme-copy > p:not(.theme-label) { max-width: 34rem; font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.65; }
.theme-copy > p + p { margin-top: .8rem; }
.theme-closing { font-weight: 700; }
.theme-scripture {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid #be93668c;
  text-align: center;
}
.theme-scripture blockquote {
  max-width: 28rem;
  margin: .5rem auto 0;
  font: italic 400 clamp(1.65rem, 2.7vw, 2.65rem)/1.25 var(--serif);
}
.theme-scripture figcaption {
  margin-top: .95rem;
  color: #f2cda7;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.theme-scripture img {
  width: 100%;
  margin: 1.65rem auto 0;
  filter: drop-shadow(0 1rem .9rem #21150f8a);
}
@media (max-width: 680px) {
  .theme { background: radial-gradient(ellipse at 66% 74%, #503a2b, #30231c 68%); }
  .theme-layout { max-width: 32rem; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 3rem; }
  .theme h2 { margin-bottom: 1.15rem; }
  .theme-scripture { padding-top: 1.2rem; }
  .theme-scripture img { margin-top: 1.25rem; }
}

.guests { background: var(--cream); }
.guests-layout { padding-block: clamp(3.5rem, 7.5vw, 7rem); }
.guests h2 {
  margin: 0 0 clamp(1.8rem, 3.4vw, 3.25rem);
  font: 400 clamp(2.35rem, 4.2vw, 4.45rem)/1.04 var(--serif);
  letter-spacing: -.04em;
  text-align: center;
}
.guests h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 1rem auto 0;
  background: #ab7650;
}
.guests-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.8rem, 2.2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.guest-photo {
  display: flex;
  justify-content: center;
  align-items: end;
  aspect-ratio: 1.12 / 1;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border-bottom: 2px solid #a77952;
  background: radial-gradient(ellipse at 48% 24%, #f4e2c6, #e5d6c5 75%);
}
.guest-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: .55rem .55rem 0;
  border: 1px solid #a0815b53;
  border-bottom: 0;
}
.guest-photo img {
  width: 94%;
  height: 92%;
  object-fit: contain;
  object-position: bottom;
}
.guest-photo:not(.guest-photo-group) img {
  transform: scale(1.34);
  transform-origin: center top;
}
.guest-photo-group img {
  width: 96%;
  transform: scale(1.17);
  transform-origin: center bottom;
}
.guest h3 {
  margin: .8rem 0 .2rem;
  font: 700 clamp(1.12rem, 1.62vw, 1.52rem)/1.2 var(--serif);
}
.guest p { color: var(--brown); font-size: .9rem; }
@media (max-width: 760px) {
  .guests-layout { max-width: 34rem; }
  .guests-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
  .guest-photo { aspect-ratio: 1 / 1; }
  .guest h3 { margin-top: .65rem; }
}

.closing {
  background: radial-gradient(ellipse at 50% 35%, #533827, #2e2119 72%);
  color: #fcf3e5;
  border-top: 2px solid #ac7b53;
}
.closing-layout { padding-block: clamp(3.6rem, 7vw, 6.6rem); text-align: center; }
.closing-label {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  color: #efc79f;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.closing-label::before, .closing-label::after { content: ""; width: 1.5rem; height: 1px; background: #b58760; }
.closing h2 {
  max-width: 17ch;
  margin: 1rem auto 1.2rem;
  font: 400 clamp(2.45rem, 5.25vw, 5.1rem)/.98 var(--serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.closing-description { max-width: 36rem; margin-inline: auto; font-size: clamp(1rem, 1.4vw, 1.18rem); color: #f1dfce; }
.closing-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: .8rem;
  row-gap: .3rem;
  margin: 1.55rem 0 1.5rem;
  font-size: .93rem;
  font-weight: 700;
}
.closing-details span + span::before { content: ""; display: inline-block; height: .8em; margin-right: .8rem; border-left: 1px solid #af8261; }
.closing-button { min-height: 3.45rem; padding-inline: 1.65rem; color: #2e2119; background: #e9b787; border-color: #e9b787; }
.closing-button:hover { background: #ffdbb5; border-color: #ffdbb5; }
.closing-button:focus-visible { outline-color: #fff3de; }
.closing-deadline { margin-top: .65rem; color: #f1dfce; font-size: .875rem; }
.site-footer { background: var(--cream); border-top: 1px solid #caab8d; }
.footer-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.65rem;
}
.footer-brands { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem); }
.footer-cadesgo { width: clamp(7.5rem, 12vw, 10rem); }
.footer-ad { width: clamp(7.2rem, 11vw, 9.25rem); }
.footer-edition { color: var(--brown); font-size: .875rem; }
.footer-edition strong, .footer-edition span { display: block; }
.footer-social {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: .45rem;
  color: var(--brown);
  font-size: .875rem;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}
.footer-social:hover { color: var(--ink); }

@media (max-width: 680px) {
  .closing-details { flex-direction: column; }
  .closing-details span + span::before { content: none; }
  .closing-button { width: min(100%, 22rem); padding-inline: .75rem; }
  .footer-layout { flex-direction: column; text-align: center; gap: .7rem; }
}
