@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500;1,600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ivory: #fbf6f1;
  --sand: #f1e2d7;
  --rose: #dcc6ba;
  --ink: #332523;
  --wine: #6c3437;
  --gold: #b78b46;
  --line: #ddc9bc;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 15px/1.65 var(--sans);
}

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

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

.wrap {
  width: min(1320px, calc(100% - 72px));
  margin: auto;
}

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px;
  z-index: 10;
}

.skip:focus { top: 12px; }

.eyebrow {
  color: var(--gold);
  margin: 0 0 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .21em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font: 500 clamp(48px, 5.2vw, 78px)/.84 var(--serif);
  letter-spacing: -.062em;
}

.section-title em {
  color: var(--gold);
  font-weight: 500;
}

.button {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 49px;
  padding: 0 19px;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #251b18;
  font: 700 10px var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: transform .25s, background .25s, color .25s;
  cursor: pointer;
}

.button svg { width: 17px; height: 17px; }

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(251, 246, 241, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(221, 201, 188, .72);
}

.header-in {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}

.brand-mark {
  width: 57px;
  height: 57px;
  border-radius: 50%;
  padding: 7px;
  background: #fff;
  box-shadow: 0 5px 22px #6d4c3420;
  object-fit: contain;
}

.brand-text { display: grid; gap: 1px; }

.brand-name {
  font: 500 23px/1 var(--serif);
  letter-spacing: .04em;
}

.brand-role {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .21em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: auto;
}

.nav a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .25s;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active { color: var(--wine); }

.header-actions .button-ghost {
  min-height: 42px;
  padding: 0 16px;
}

.channel {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: .25s;
  flex-shrink: 0;
}

.channel svg { width: 18px; height: 18px; }

.channel:hover,
.channel:focus-visible {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  font: 700 10px var(--sans);
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: #2d2020;
  color: #f5ede7;
  padding: 70px 0 27px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr .75fr .8fr;
  gap: 50px;
  padding-bottom: 52px;
}

.site-footer .brand-mark { box-shadow: none; }

.site-footer .brand-name { color: #fff8f2; }

.footer-text,
.footer-note {
  max-width: 340px;
  color: #cfbbb0;
  font-size: 13px;
}

.footer-title {
  color: #d7b574;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 11px;
  margin-top: 14px;
  font-size: 13px;
}

.footer-list a:hover,
.footer-list a:focus-visible { color: #d7b574; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid #5b4240;
  color: #bfa9a0;
  font-size: 11px;
}

.footer-channels { display: flex; gap: 10px; }

.site-footer .channel {
  color: #fff8f2;
  border-color: #705550;
}

.site-footer .channel:hover,
.site-footer .channel:focus-visible {
  border-color: #d7b574;
  background: #d7b574;
  color: #2d2020;
}

/* Widgets */
.widget-stack {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 9;
  display: grid;
  gap: 10px;
}

.to-top {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 9px 28px #36221d2b;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .3s;
  cursor: pointer;
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover,
.to-top:focus-visible {
  background: var(--gold);
  transform: translateY(-3px);
}

.to-top svg { width: 21px; height: 21px; }

.whatsapp-float {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  box-shadow: 0 9px 28px #36221d2b;
  transition: .25s;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-3px);
}

.whatsapp-float svg { width: 23px; height: 23px; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2, .8, .2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal.delay-1 { transition-delay: .1s; }

.reveal.delay-2 { transition-delay: .2s; }

html:not(.js) .reveal { opacity: 1; transform: none; }

.brand-logo[hidden] { display: none !important; }

/* Auth / entrar */
.page-intro {
  padding: clamp(80px, 12vw, 140px) 0 clamp(48px, 8vw, 80px);
}

.page-intro h1 {
  margin: 0;
  font: 500 clamp(52px, 7vw, 96px)/.88 var(--serif);
  letter-spacing: -.06em;
}

.page-intro h1 em { color: var(--gold); }

.page-intro p {
  max-width: 520px;
  margin: 22px 0 0;
  color: #6d5750;
  font-size: 17px;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-bottom: clamp(80px, 10vw, 120px);
}

.auth-card {
  padding: 36px;
  background: #fffdfb;
  border: 1px solid var(--line);
}

.auth-card h2 {
  margin: 0;
  font: 500 36px/1 var(--serif);
}

.auth-card p {
  margin: 14px 0 0;
  color: #6d5750;
  font-size: 14px;
}

.auth-card .button { margin-top: 24px; }

.auth-form {
  max-width: 440px;
  margin: 0 auto;
  padding: 36px;
  background: var(--sand);
  border: 1px solid var(--line);
}

.auth-form h2 {
  margin: 0;
  font: 500 39px/1 var(--serif);
}

.auth-form label {
  display: grid;
  gap: 7px;
  margin-top: 17px;
  font-size: 12px;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #cdb8aa;
  background: #fffdfb;
  color: var(--ink);
  font: 14px var(--sans);
}

.auth-form .button {
  width: 100%;
  margin-top: 24px;
}

.auth-form .notice,
.form-notice {
  margin: 14px 0 0;
  font-size: 12px;
  color: #715f56;
}

.auth-form .error {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--wine);
}

.auth-page {
  min-height: calc(100vh - 88px);
  display: grid;
  place-items: center;
  padding: 48px 0 80px;
}

.panel-page {
  padding: clamp(64px, 8vw, 100px) 0 clamp(80px, 10vw, 120px);
}

.panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.panel-header h1 {
  margin: 0;
  font: 500 clamp(40px, 5vw, 64px)/1 var(--serif);
}

.panel-card {
  padding: 28px;
  background: #fffdfb;
  border: 1px solid var(--line);
}

@media (max-width: 900px) {
  .wrap { width: min(100% - 44px, 1320px); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav { gap: 18px; }
  .nav a { font-size: 9px; }
  .auth-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .wrap { width: min(100% - 34px, 1320px); }
  .site-header { position: sticky; }
  .header-in { min-height: 76px; flex-wrap: wrap; position: relative; }
  .brand-mark { width: 48px; height: 48px; }
  .brand-name { font-size: 19px; }
  .nav { display: none; width: 100%; order: 4; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] + .nav {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 20px 17px;
    flex-direction: column;
    align-items: stretch;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    z-index: 7;
  }
  .header-actions .button-ghost { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .channel { width: 40px; height: 40px; }
  .widget-stack {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-right));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .channel, .to-top, .whatsapp-float { transition: none; }
}
