@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@300;400;500;600;700;800&display=swap");

/* ============ DESIGN TOKENS ============ */
:root {
  --wine-900: #2a0b14;
  --wine-800: #380f1b;
  --wine-700: #501625;
  --wine-600: #63192b;
  --wine-500: #7a2438;
  --wine-400: #96324a;
  --ink: #0d0908;
  --ink-soft: #161211;
  --gold: #c9a24b;
  --gold-soft: #ddbe79;
  --cream: #f3eadc;
  --cream-dim: #c9bba8;
  --cream-faint: rgba(243, 234, 220, 0.55);

  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;

  --ease: cubic-bezier(0.16, 0.8, 0.28, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wine-700);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

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

/* ============ UTILITIES ============ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-soft);
  display: inline-block;
}

.section {
  position: relative;
  padding: 140px 0;
}
.section--dark {
  background: var(--ink);
}
.section--wine {
  background:
    radial-gradient(
      120% 90% at 12% -10%,
      rgba(201, 162, 75, 0.22),
      transparent 55%
    ),
    radial-gradient(
      90% 70% at 100% 110%,
      rgba(150, 50, 74, 0.35),
      transparent 60%
    ),
    linear-gradient(
      155deg,
      var(--wine-800) 0%,
      var(--wine-700) 38%,
      var(--wine-600) 68%,
      var(--wine-500) 100%
    );
  background-color: var(--wine-700);
}
.section--wine-deep {
  background: var(--wine-900);
}

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  margin: 18px 0 0;
  color: var(--cream);
}
.section-head p {
  margin-top: 20px;
  color: var(--cream-faint);
  font-size: 1.05rem;
  max-width: 520px;
}

/* watermark logo bleeding into dark sections */
.logo-watermark {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
  filter: brightness(0) invert(1);
  z-index: 0;
  user-select: none;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.22s;
}
.reveal-delay-3 {
  transition-delay: 0.34s;
}
.reveal-delay-4 {
  transition-delay: 0.46s;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 12px 25px;
  background: linear-gradient(to bottom, rgba(13, 9, 8, 0.65), transparent);
  transition:
    background 0.4s var(--ease-soft),
    padding 0.4s var(--ease-soft);
}
.nav.scrolled {
  background: rgba(13, 9, 8, 0.86);
  backdrop-filter: blur(10px);
  padding: 5px 15px;
  box-shadow: 0 1px 0 rgba(201, 162, 75, 0.18);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.nav__brand img {
  height: 100px;
  width: auto;
}
.nav__links {
  display: flex;
  gap: 38px;
  list-style: none;
  margin: 0;
  text-align: center;
  padding: 0;
}
.nav__links a {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream-dim);
  position: relative;
  padding-bottom: 4px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav__links a:hover {
  color: var(--cream);
}
.nav__links a:hover::after {
  width: 100%;
}
.nav__links a.active {
  color: var(--gold-soft);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition:
    transform 0.3s var(--ease-soft),
    opacity 0.3s;
}
.nav__toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============ NAV "OUTROS" DROPDOWN (desktop only) ============ */
.nav__dropdown {
  position: relative;
}
/* invisible bridge so the mouse doesn't lose :hover while moving from the
   trigger down into the dropdown menu (there's a visual gap between them) */
.nav__dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  height: 20px;
}
.nav__dropdown-trigger {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream-dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 4px;
  position: relative;
  transition: color 0.3s var(--ease-soft);
}
.nav__dropdown-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
  margin-top: -3px;
}
.nav__dropdown:hover .nav__dropdown-trigger,
.nav__dropdown:focus-within .nav__dropdown-trigger {
  color: var(--cream);
}
.nav__dropdown:hover .nav__dropdown-trigger::after,
.nav__dropdown:focus-within .nav__dropdown-trigger::after {
  transform: rotate(225deg);
  margin-top: 3px;
}
.nav__dropdown.active > .nav__dropdown-trigger {
  color: var(--gold-soft);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  list-style: none;
  margin: 18px 0 0;
  padding: 10px;
  background: rgba(13, 9, 8, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 162, 75, 0.22);
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 600;
  transition:
    opacity 0.35s var(--ease-soft),
    transform 0.35s var(--ease-soft),
    visibility 0.35s;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-menu li + li {
  margin-top: 2px;
}
.nav__dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream-dim);
  border-radius: 7px;
  white-space: nowrap;
  transition:
    background 0.25s var(--ease-soft),
    color 0.25s var(--ease-soft);
}
.nav__dropdown-menu a:hover,
.nav__dropdown-menu a.active {
  background: rgba(201, 162, 75, 0.12);
  color: var(--gold-soft);
}

@media (max-width: 760px) {
  .nav__dropdown::after {
    content: none;
  }
  .nav__dropdown-trigger {
    display: none;
  }
  .nav__dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .nav__dropdown-menu a {
    padding: 0;
    font-size: 0.85rem;
    border-radius: 0;
    background: none !important;
  }
}

@media (max-width: 760px) {
  .nav__toggle {
    display: flex;
  }
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
  }
  .nav__links.open {
    transform: translateX(0);
  }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.45s var(--ease),
    background 0.35s var(--ease-soft),
    color 0.35s var(--ease-soft),
    border-color 0.35s;
  will-change: transform;
}
.btn--gold {
  background: var(--gold);
  color: var(--ink);
}
.btn--gold:hover {
  background: var(--gold-soft);
  transform: translateY(-3px);
}
.btn--outline {
  border-color: rgba(243, 234, 220, 0.35);
  color: var(--cream);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  transform: translateY(-3px);
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}
.btn:hover svg {
  transform: translateX(4px);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(
      180deg,
      rgba(8, 3, 5, 0.25) 0%,
      rgba(8, 3, 5, 0.45) 55%,
      rgba(8, 3, 5, 0.85) 100%
    ),
    linear-gradient(
      100deg,
      rgba(42, 11, 20, 0.6) 0%,
      rgba(13, 9, 8, 0.15) 45%,
      rgba(13, 9, 8, 0.75) 100%
    ),
    url("/imagens/imagem-hero.png");
  background-size: cover, cover, cover;
  background-position:
    center,
    center,
    62% 22%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  overflow: hidden;
  text-align: center;
  padding: 140px 24px 100px;
}

@media (max-width: 640px) {
  .hero {
    padding: 120px 20px 90px;
    background-position: center, center, center;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__content .eyebrow {
  opacity: 0;
  animation: fadeUp 1s var(--ease) forwards 0.4s;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  font-weight: 500;
  line-height: 0.98;
  margin: 24px 0 0;
  color: var(--cream);
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) forwards 0.55s;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 400;
}
.hero p.tagline {
  margin: 26px 0 40px;
  max-width: 520px;
  font-size: 1.1rem;
  color: var(--cream-faint);
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) forwards 0.75s;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) forwards 0.95s;
}
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  .hero__actions .magnet-btn {
    width: 100%;
    display: block;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-cue {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--cream-dim);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s var(--ease) forwards 1.3s;
  z-index: 2;
}
.scroll-cue__line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: pulseLine 2s ease-in-out infinite;
}
@keyframes pulseLine {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1.3);
    opacity: 1;
  }
}

/* ============ HISTORY TIMELINE ============ */
.timeline {
  position: relative;
  margin-top: 20px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(201, 162, 75, 0.5) 10%,
    rgba(201, 162, 75, 0.5) 90%,
    transparent
  );
  transform: translateX(-50%);
}
.timeline__item {
  position: relative;
  width: calc(50% - 56px);
  padding: 8px 0 64px;
}
.timeline__item:nth-child(odd) {
  margin-left: 0;
  text-align: right;
}
.timeline__item:nth-child(even) {
  margin-left: calc(50% + 56px);
  text-align: left;
}
.timeline__dot {
  position: absolute;
  top: 12px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--wine-700);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(201, 162, 75, 0.12);
}
.timeline__item:nth-child(odd) .timeline__dot {
  right: -63px;
}
.timeline__item:nth-child(even) .timeline__dot {
  left: -63px;
}
.timeline__year {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-soft);
  font-style: italic;
}
.timeline__item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 6px 0 10px;
  color: var(--cream);
}
.timeline__item p {
  color: var(--cream-faint);
  font-size: 0.98rem;
  max-width: 400px;
}
.timeline__item:nth-child(odd) p {
  margin-left: auto;
}

@media (max-width: 760px) {
  .timeline::before {
    left: 14px;
  }
  .timeline__item,
  .timeline__item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 44px;
    text-align: left !important;
  }
  .timeline__item p {
    margin-left: 0 !important;
  }
  .timeline__item:nth-child(odd) .timeline__dot,
  .timeline__item:nth-child(even) .timeline__dot {
    left: 8px;
    right: auto;
  }
}

/* ============ VALUES CARDS ============ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(243, 234, 220, 0.12);
  border: 1px solid rgba(243, 234, 220, 0.12);
}
.value-card {
  background: var(--wine-700);
  padding: 44px 32px;
  transition:
    background 0.5s var(--ease-soft),
    transform 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 0%,
    rgba(201, 162, 75, 0.16),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-soft);
}
.value-card:hover {
  background: var(--wine-600);
  transform: translateY(-6px);
}
.value-card:hover::before {
  opacity: 1;
}
.value-card .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 0.95rem;
  opacity: 0.8;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 16px 0 12px;
  position: relative;
}
.value-card p {
  color: var(--cream-faint);
  font-size: 0.93rem;
  position: relative;
}

/* ============ SCHEDULE / VISIT ============ */
.visit {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.visit__card {
  background: rgba(243, 234, 220, 0.04);
  border: 1px solid rgba(201, 162, 75, 0.25);
  padding: 40px;
  backdrop-filter: blur(6px);
}
.visit__row {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(243, 234, 220, 0.12);
}
.visit__row:last-child {
  border-bottom: none;
}
.visit__row span:first-child {
  color: var(--cream-dim);
  font-size: 0.92rem;
}
.visit__row span:last-child {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-soft);
}

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

/* ============ CTA BANNER ============ */
.cta-banner {
  position: relative;
  background: var(--wine-900);
  padding: 150px 24px;
  text-align: center;
  overflow: hidden;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.05;
  max-width: 760px;
  margin: 0 auto 36px;
}
.cta-banner h2 em {
  font-style: italic;
  color: var(--gold-soft);
}

/* magnetic-ish button */
.magnet-btn {
  position: relative;
  display: inline-block;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  padding: 80px 0 30px;
  position: relative;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(243, 234, 220, 0.1);
}
.footer__brand {
  max-width: 340px;
}
.footer__brand img {
  height: 80px;
  margin-bottom: 18px;
}
.footer__brand p {
  color: var(--cream-dim);
  font-size: 0.92rem;
}
.footer__col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__col li {
  margin-bottom: 10px;
}
.footer__col a {
  color: var(--cream-dim);
  font-size: 0.92rem;
  transition: color 0.3s;
}
.footer__col a:hover {
  color: var(--gold-soft);
}
.footer__bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--cream-faint);
  font-size: 0.78rem;
}

.link-footer-devby {
  transition: color 0.3s;
}

.link-footer-devby:hover {
  color: var(--gold-soft);
}

/* ============ PAGE TRANSITION OVERLAY ============ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--wine-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  pointer-events: none;
}
.page-transition img {
  height: 56px;
  opacity: 0;
  filter: brightness(0) invert(1);
}
.page-transition.leaving {
  animation: coverUp 0.7s var(--ease-soft) forwards;
  pointer-events: all;
}
.page-transition.leaving img {
  animation: fadeIn 0.5s ease forwards 0.35s;
}
.page-transition.entering {
  animation: uncoverDown 0.8s var(--ease-soft) forwards 0.05s;
  pointer-events: all;
}
@keyframes coverUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0%);
  }
}
@keyframes uncoverDown {
  from {
    transform: translateY(0%);
  }
  to {
    transform: translateY(-100%);
  }
}
@keyframes fadeIn {
  to {
    opacity: 0.9;
  }
}

/* ============ HUB (4 PILLARS ON INDEX) ============ */
.hub {
  position: relative;
  background: var(--wine-900);
  padding: 140px 0;
  overflow: hidden;
}
.hub__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.hub__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  margin: 18px 0 0;
}
.hub__head .eyebrow {
  justify-content: center;
}
.hub__head p {
  margin-top: 18px;
  color: var(--cream-faint);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: rgba(201, 162, 75, 0.18);
  border: 1px solid rgba(201, 162, 75, 0.18);
}
.hub-card {
  background: var(--wine-900);
  padding: 48px 34px;
  position: relative;
  overflow: hidden;
  transition:
    background 0.5s var(--ease-soft),
    transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.hub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 0%,
    rgba(201, 162, 75, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-soft);
}
.hub-card:hover {
  background: var(--wine-700);
  transform: translateY(-6px);
}
.hub-card:hover::before {
  opacity: 1;
}
.hub-card .hub-card__tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
  position: relative;
}
.hub-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 16px 0 12px;
  position: relative;
}
.hub-card p {
  color: var(--cream-faint);
  font-size: 0.92rem;
  position: relative;
  flex-grow: 1;
}
.hub-card__link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cream);
  position: relative;
}
.hub-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease);
}
.hub-card:hover .hub-card__link svg {
  transform: translateX(5px);
}

/* ============ WORD OF THE YEAR PAGE ============ */
.word-hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 50% 30%,
      rgba(201, 162, 75, 0.14),
      transparent 60%
    ),
    linear-gradient(
      160deg,
      var(--wine-900) 0%,
      var(--wine-700) 60%,
      var(--wine-800) 100%
    );
  padding: 160px 24px 100px;
}
.word-hero__year {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.word-hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 0.95;
  margin: 22px 0 26px;
  color: var(--cream);
  position: relative;
  z-index: 1;
}
.word-hero p {
  max-width: 560px;
  color: var(--cream-faint);
  font-size: 1.08rem;
  position: relative;
  z-index: 1;
}
.word-hero__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, 0.25);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: wordPulse 5s ease-in-out infinite;
}
@keyframes wordPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 0.9;
  }
}

.word-explain {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.word-explain__label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-soft);
}
@media (max-width: 860px) {
  .word-explain {
    grid-template-columns: 1fr;
  }
}

.word-history {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: rgba(243, 234, 220, 0.12);
  border: 1px solid rgba(243, 234, 220, 0.12);
  margin-top: 20px;
}
.word-history__item {
  flex: 1 1 200px;
  background: var(--ink);
  padding: 34px 28px;
  transition: background 0.4s var(--ease-soft);
}
.word-history__item:hover {
  background: var(--wine-700);
}
.word-history__item .yr {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 0.95rem;
}
.word-history__item h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 10px 0;
}
.word-history__item p {
  color: var(--cream-faint);
  font-size: 0.9rem;
  margin: 0;
}
.word-history__item.is-current {
  background: var(--wine-600);
}

/* ============ PRIMÍCIAS PAGE ============ */
.primicias-days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201, 162, 75, 0.18);
  border: 1px solid rgba(201, 162, 75, 0.18);
  margin-top: 20px;
}
.primicia-day {
  background: var(--wine-900);
  padding: 46px 32px;
  position: relative;
  transition: background 0.5s var(--ease-soft);
}
.primicia-day:hover {
  background: var(--wine-700);
}
.primicia-day__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.4rem;
  color: rgba(201, 162, 75, 0.35);
  line-height: 1;
}
.primicia-day h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 16px 0 12px;
}
.primicia-day p {
  color: var(--cream-faint);
  font-size: 0.92rem;
}
.primicia-day__time {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
}
@media (max-width: 860px) {
  .primicias-days {
    grid-template-columns: 1fr;
  }
}

/* ============ PROJETOS SOCIAIS PAGE ============ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(243, 234, 220, 0.12);
  border: 1px solid rgba(243, 234, 220, 0.12);
}
.project-card {
  background: var(--wine-700);
  padding: 44px 34px;
  position: relative;
  overflow: hidden;
  transition:
    background 0.5s var(--ease-soft),
    transform 0.5s var(--ease);
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 0%,
    rgba(201, 162, 75, 0.16),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-soft);
}
.project-card:hover {
  background: var(--wine-600);
  transform: translateY(-6px);
}
.project-card:hover::before {
  opacity: 1;
}
.project-card__icon {
  width: 44px;
  height: 44px;
  color: var(--gold-soft);
  position: relative;
}
.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 20px 0 12px;
  position: relative;
}
.project-card p {
  color: var(--cream-faint);
  font-size: 0.93rem;
  position: relative;
  margin-bottom: 18px;
}
.project-card__stat {
  display: inline-flex;
  flex-direction: column;
  position: relative;
  border-top: 1px solid rgba(243, 234, 220, 0.16);
  padding-top: 14px;
}
.project-card__stat strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-soft);
  font-weight: 500;
}
.project-card__stat span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* ============ MINISTRIES PAGE ============ */
.min-hero {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--wine-900), var(--wine-700));
  padding: 160px 24px 80px;
  position: relative;
  overflow: hidden;
}
.min-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 500;
  margin: 20px 0 18px;
}
.min-hero p {
  color: var(--cream-faint);
  max-width: 520px;
  font-size: 1.05rem;
}

.ministry {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
}
.ministry .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
  position: relative;
}
.ministry--reverse .container {
  grid-template-columns: 1.15fr 0.85fr;
}
.ministry--reverse .ministry__visual {
  order: 2;
}
.ministry--dark {
  background: var(--ink);
}
.ministry--wine {
  background: var(--wine-700);
}
.ministry--deep {
  background: var(--wine-900);
}

.ministry__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
}
.ministry__ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 50%;
  transition:
    transform 0.6s var(--ease),
    border-color 0.6s var(--ease);
}
.ministry:hover .ministry__ring {
  transform: scale(1.08) rotate(20deg);
  border-color: var(--gold);
}
.ministry__icon {
  width: 96px;
  height: 96px;
  color: var(--gold-soft);
  position: relative;
  z-index: 2;
  transition: transform 0.6s var(--ease);
}
img.ministry__icon {
  width: 220px;
  max-width: 80%;
  height: auto;
  object-fit: contain;
}
.ministry:hover .ministry__icon {
  transform: scale(1.1) rotate(-6deg);
}
.ministry__roman {
  position: absolute;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 9rem;
  color: rgba(243, 234, 220, 0.05);
  z-index: 0;
  user-select: none;
  line-height: 1;
}

.ministry__body {
  padding: 30px;
}

.ministry__body .eyebrow {
  margin-bottom: 20px;
}
.ministry__body h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin: 0 0 20px;
  line-height: 1.08;
}
.ministry__body p {
  color: var(--cream-faint);
  font-size: 1rem;
  margin-bottom: 16px;
  max-width: 480px;
}
.ministry__verse {
  margin-top: 22px;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 1rem;
}

@media (max-width: 860px) {
  .ministry,
  .ministry--reverse {
    padding: 90px 0;
  }
  .ministry .container,
  .ministry--reverse .container {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 40px;
  }
  .ministry--reverse .ministry__visual {
    order: 0;
  }
  .ministry__visual {
    height: 220px;
  }
}

/* ============ AGENDA PAGE ============ */
.calendar-card {
  position: relative;
  background: var(--wine-900);
  border: 1px solid rgba(201, 162, 75, 0.28);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.calendar-card__frame {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream);
}
.calendar-card__frame iframe {
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
}
@media (max-width: 640px) {
  .calendar-card__frame iframe {
    height: 480px;
  }
}

.agenda-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
  padding: 22px 26px;
  background: rgba(201, 162, 75, 0.08);
  border: 1px solid rgba(201, 162, 75, 0.22);
  border-radius: 14px;
}
.agenda-note svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  stroke: var(--gold-soft);
  margin-top: 3px;
}
.agenda-note p {
  color: var(--cream-faint);
  font-size: 0.96rem;
  margin: 0;
}

/* ============ PROGRAMAÇÃO PAGE ============ */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(243, 234, 220, 0.12);
  border: 1px solid rgba(243, 234, 220, 0.12);
}
.schedule-card {
  background: var(--wine-700);
  padding: 44px 34px;
  position: relative;
  overflow: hidden;
  transition:
    background 0.5s var(--ease-soft),
    transform 0.5s var(--ease);
}
.schedule-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 0%,
    rgba(201, 162, 75, 0.16),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-soft);
}
.schedule-card:hover {
  background: var(--wine-600);
  transform: translateY(-6px);
}
.schedule-card:hover::before {
  opacity: 1;
}
.schedule-card__icon {
  width: 40px;
  height: 40px;
  color: var(--gold-soft);
  position: relative;
}
.schedule-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 20px 0 14px;
  position: relative;
}
.schedule-card__time {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-soft);
  position: relative;
  margin-bottom: 6px;
}
.schedule-card__place {
  display: block;
  font-size: 0.85rem;
  color: var(--cream-faint);
  position: relative;
}

/* ============ POLÍTICA DE PRIVACIDADE PAGE ============ */
.policy-hero {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--wine-900), var(--wine-700));
  padding: 160px 24px 70px;
  position: relative;
  overflow: hidden;
}
.policy-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 500;
  margin: 20px 0 16px;
}
.policy-hero p {
  color: var(--cream-faint);
  max-width: 560px;
  font-size: 1.02rem;
}
.policy-hero__updated {
  margin-top: 22px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
}

.policy-block {
  max-width: 760px;
  margin: 0 auto;
}
.policy-block + .policy-block {
  margin-top: 6px;
}
.policy-block__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
}
.policy-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  margin: 10px 0 20px;
  color: var(--cream);
  line-height: 1.15;
}
.policy-block p {
  color: var(--cream-faint);
  font-size: 0.98rem;
  margin: 0 0 16px;
}
.policy-block p:last-child {
  margin-bottom: 0;
}
.policy-block ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--cream-faint);
  font-size: 0.98rem;
}
.policy-block li {
  margin-bottom: 8px;
}
.policy-block li::marker {
  color: var(--gold-soft);
}
.policy-block strong {
  color: var(--cream);
  font-weight: 700;
}
.policy-block a {
  color: var(--gold-soft);
  text-decoration: underline;
}
.policy-divider {
  height: 1px;
  background: rgba(243, 234, 220, 0.14);
  max-width: 760px;
  margin: 56px auto;
}
.policy-contact-box {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 26px 30px;
  background: rgba(201, 162, 75, 0.08);
  border: 1px solid rgba(201, 162, 75, 0.22);
  border-radius: 14px;
}
.policy-contact-box p {
  color: var(--cream-faint);
  font-size: 0.94rem;
  margin: 0 0 8px;
}
.policy-contact-box p:last-child {
  margin-bottom: 0;
}
.policy-contact-box strong {
  color: var(--cream);
}

/* ============ BOTÃO FLUTUANTE WHATSAPP ============ */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(145deg, #25d366, #1ebe5a);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow:
    0 8px 22px rgba(37, 211, 102, 0.45),
    0 0 0 rgba(37, 211, 102, 0.5);
  transition:
    transform 0.3s var(--ease-soft),
    box-shadow 0.3s var(--ease-soft);
  animation: whatsapp-glow 2.6s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow:
    0 10px 30px rgba(37, 211, 102, 0.65),
    0 0 0 rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  position: relative;
  z-index: 2;
}
.whatsapp-float::before,
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: 1;
  pointer-events: none;
}
.whatsapp-float::before {
  animation: whatsapp-pulse 2.4s ease-out infinite;
}
.whatsapp-float::after {
  animation: whatsapp-pulse 2.4s ease-out infinite 0.8s;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(2.05);
    opacity: 0;
  }
}
@keyframes whatsapp-glow {
  0%,
  100% {
    box-shadow:
      0 8px 22px rgba(37, 211, 102, 0.45),
      0 0 14px rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow:
      0 8px 26px rgba(37, 211, 102, 0.65),
      0 0 26px rgba(37, 211, 102, 0.6);
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}
