:root {
  --shell-wine: #52110d;
  --shell-wine-deep: #310906;
  --shell-gold: #dcc340;
  --shell-gold-soft: #ead77b;
  --shell-white: #ffffff;
  --shell-font-display: "Felix Titling", "Cinzel", "Baskerville", "Times New Roman", serif;
  --shell-font-body: "Fibon Sans", "Avenir Next", "Montserrat", "Segoe UI", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body.site-shell-page { padding-top: 76px; overflow-x: hidden; }
body.site-shell-page .container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 1000;
  background: var(--shell-white); color: var(--shell-wine); padding: 10px 14px;
  border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: linear-gradient(135deg, rgba(90,18,14,.94), rgba(122,28,20,.90));
  border-bottom: 1px solid rgba(234,215,123,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: linear-gradient(135deg, rgba(98,20,15,.97), rgba(133,32,23,.94));
  border-bottom-color: rgba(234,215,123,.18);
  box-shadow: 0 16px 44px rgba(82,17,13,.18);
}
.site-header .header-inner {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between;
  gap: 28px; transition: min-height .28s ease;
}
.site-header.scrolled .header-inner { min-height: 72px; }
.site-header .brand {
  display: inline-flex; align-items: center; gap: 16px; color: var(--shell-white);
  text-decoration: none; font-weight: 400; letter-spacing: normal;
}
.site-header .brand-symbol {
  display: block; width: 62px; height: 64px; object-fit: contain; object-position: center;
  flex: none; border: 0; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 5px 14px rgba(220,195,64,.08));
  transition: transform .28s ease;
}
.site-header .brand:hover .brand-symbol { transform: translateY(-2px) scale(1.02); }
.site-header .brand-text {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 288px; line-height: 1;
}
.site-header .brand-name {
  font-family: var(--shell-font-display); font-size: 28px; letter-spacing: .018em;
  line-height: 1.05; text-align: center; white-space: nowrap; color: var(--shell-white);
}
.site-header .brand-sub {
  margin-top: 9px; width: 100%; padding-left: .48em; text-align: center;
  font-family: var(--shell-font-body); font-size: 10px; font-weight: 400;
  letter-spacing: .48em; color: var(--shell-gold-soft);
}
.site-header .site-nav {
  display: flex; align-items: center; gap: 28px;
  font-family: var(--shell-font-body); font-size: 14px; font-weight: 400;
  color: rgba(255,255,255,.82);
}
.site-header .site-nav a {
  color: inherit; text-decoration: none; transition: color .2s ease, border-color .2s ease;
}
.site-header .site-nav a:hover,
.site-header .site-nav a.active { color: var(--shell-white); }
.site-header .site-nav a.active:not(.nav-cta) { color: var(--shell-gold-soft); }
.site-header .nav-cta {
  border: 1px solid rgba(220,195,64,.7); border-radius: 999px;
  padding: 10px 17px; color: var(--shell-gold-soft) !important;
}
.site-header .menu-toggle {
  display: none; position: relative; border: 0; background: none; padding: 8px;
  border-radius: 14px; cursor: pointer;
}
.site-header .menu-toggle:hover { background: rgba(255,255,255,.08); }
.site-header .menu-toggle span {
  display: block; width: 24px; height: 2px; margin: 5px 0; border-radius: 999px;
  background: var(--shell-white); transition: transform .25s ease, opacity .25s ease;
}
.site-header .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header .menu-toggle.active span:nth-child(2) { opacity: 0; }
.site-header .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Internal page top spacing after the fixed header */
body.site-shell-page .page-hero { margin-top: 0; }
body.site-shell-page main.link-page { min-height: calc(100vh - 76px); }
body.site-shell-page main.wrap { padding-top: 48px; }

.site-footer {
  padding: 46px 0 24px;
  background: linear-gradient(180deg, #4f120f 0%, #6a1b15 100%);
  color: rgba(255,255,255,.76);
  border-top: 1px solid rgba(234,215,123,.12);
  font-family: var(--shell-font-body);
}
.site-footer .footer-grid {
  display: grid; grid-template-columns: .9fr 1.15fr .95fr; gap: 34px; align-items: start;
}
.site-footer .footer-brand {
  display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start; gap: 16px;
}
.site-footer .footer-brand-icon {
  display: block; width: 58px; height: 68px; object-fit: contain; flex: none;
  filter: drop-shadow(0 5px 14px rgba(220,195,64,.08));
}
.site-footer .footer-brand-copy {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 0;
}
.site-footer .footer-brand-copy strong {
  width: 100%; margin: 0; color: var(--shell-white); font-family: var(--shell-font-display);
  font-size: 16px; font-weight: 400; line-height: 1.15; text-align: left;
}
.site-footer .footer-brand-copy span {
  width: 100%; margin-top: 6px; padding-left: .28em; color: var(--shell-gold-soft);
  font-size: 9px; line-height: 1.2; letter-spacing: .28em; text-align: left;
}
.site-footer .footer-oab {
  display: block; width: 100%; margin-top: 12px; color: var(--shell-gold-soft);
  font-size: 12px; line-height: 1.45; letter-spacing: .02em; text-align: left;
}
.site-footer .footer-info strong {
  display: block; margin-bottom: 9px; color: var(--shell-gold-soft);
  font-family: var(--shell-font-body); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.site-footer .footer-info p {
  margin: 0 0 10px; color: rgba(255,255,255,.74); font-size: 12px; line-height: 1.6;
}
.site-footer .footer-links { display: grid; gap: 8px; justify-items: start; }
.site-footer .footer-links a {
  color: rgba(255,255,255,.84); font-size: 12px; text-decoration: none;
}
.site-footer .footer-links a:hover { color: var(--shell-gold-soft); }
.site-footer .footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.74); font-size: 11px;
}
.site-footer .footer-bottom a { color: var(--shell-gold-soft); text-decoration: none; }

.float-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 120; width: 60px; height: 60px;
  display: grid; place-items: center; border-radius: 50%; background: #25D366; color: #fff;
  box-shadow: 0 16px 38px rgba(0,0,0,.25); transition: transform .2s ease, box-shadow .2s ease;
  animation: shellFloatWhats 3.8s ease-in-out infinite;
}
.float-whatsapp svg { width: 30px; height: 30px; fill: currentColor; }
.float-whatsapp:hover,
.float-whatsapp:focus-visible { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 42px rgba(0,0,0,.32); }

@keyframes shellFloatWhats {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 980px) {
  body.site-shell-page { padding-top: 78px; }
  .site-header .header-inner { min-height: 78px; }
  .site-header.scrolled .header-inner { min-height: 72px; }
  .site-header .site-nav {
    position: fixed; left: 20px; right: 20px; top: 86px; display: flex;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 18px;
    background: #4d100d; border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
    box-shadow: 0 20px 46px rgba(30,5,4,.25); transform: translateY(-15px);
    opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease;
  }
  .site-header .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-header .site-nav a { padding: 11px 12px; border-radius: 11px; }
  .site-header .site-nav a:hover { background: rgba(255,255,255,.06); }
  .site-header .nav-cta { margin-top: 4px; text-align: center; }
  .site-header .menu-toggle { display: block; }
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  body.site-shell-page main.link-page { min-height: calc(100vh - 78px); }
}

@media (max-width: 700px) {
  body.site-shell-page .container { width: min(100% - 28px, 1180px); }
  .site-header .brand { gap: 10px; }
  .site-header .brand-symbol { width: 42px; height: 47px; }
  .site-header .brand-text { min-width: 0; }
  .site-header .brand-name { font-size: 21px; }
  .site-header .brand-sub { font-size: 9px; letter-spacing: .32em; padding-left: .32em; }
  .site-header .site-nav { left: 14px; right: 14px; }
  .site-footer { padding: 38px 0 22px; }
  .site-footer .footer-brand { align-items: flex-start; gap: 12px; }
  .site-footer .footer-brand-icon { width: 52px; height: 62px; }
  .site-footer .footer-links { grid-template-columns: 1fr; }
  .site-footer .footer-bottom { flex-direction: column; gap: 8px; }
  .float-whatsapp { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header *, .site-footer *, .float-whatsapp { animation: none !important; transition: none !important; }
}

/* Shared reveal animation, including standalone pages */
.reveal-on-scroll { opacity:0; transform:translateY(20px); transition:opacity .7s ease, transform .7s ease; transition-delay:var(--reveal-delay,0s); }
.reveal-on-scroll.visible { opacity:1; transform:translateY(0); }
.reveal-on-scroll.reveal-left { transform:translateX(-24px); }
.reveal-on-scroll.reveal-right { transform:translateX(24px); }
.reveal-on-scroll.visible.reveal-left, .reveal-on-scroll.visible.reveal-right { transform:translateX(0); }
@media (prefers-reduced-motion:reduce){ .reveal-on-scroll{opacity:1!important;transform:none!important;transition:none!important;} }


/* Header height synchronized with the Home */
@media (min-width: 981px) {
  body.site-shell-page { padding-top: 76px; }
  .site-header .header-inner { min-height: 76px; }
  .site-header.scrolled .header-inner { min-height: 72px; }
  body.site-shell-page main.link-page { min-height: calc(100vh - 76px); }
}


/* ===== Tom vinho compartilhado com a Home ===== */
:root {
  --shell-wine: #641812;
  --shell-wine-deep: #5a1611;
}
.site-header,
.site-header.scrolled,
.site-footer {
  background: linear-gradient(180deg, var(--shell-wine-deep) 0%, var(--shell-wine) 100%) !important;
}
