/* BôaVentura — estilos do site (complementam o Tailwind) */
:root {
    --navy-950: 7 18 42; --navy-900: 12 27 58; --navy-800: 19 40 79;
    --gold: 200 162 94; --gold-light: 227 203 147; --ivory: 242 236 224; --mist: 154 166 191;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    color-scheme: dark;
  }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --navy-950: 7 18 42; } }
  :root[data-theme="dark"] { --navy-950: 7 18 42; }
  html { scroll-behavior: auto; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 80px); background: #07122A; }
  body { margin: 0; background: #07122A; overflow-x: hidden; }
  img { max-width: 100%; }
  .bv-header { padding-top: env(safe-area-inset-top, 0px); }
  .bv-gold-btn {
    background: linear-gradient(135deg, #E3CB93 0%, #C8A25E 55%, #A9843F 100%);
    box-shadow: 0 10px 30px -10px rgba(200,162,94,.55);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  }
  .bv-gold-btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 18px 40px -12px rgba(200,162,94,.7); }
  .bv-link { position: relative; }
  .bv-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: #C8A25E; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
  .bv-link:hover::after { transform: scaleX(1); }
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #E3CB93; outline-offset: 3px; }
  .bv-grain { background: radial-gradient(ellipse 70% 50% at 50% 35%, rgba(200,162,94,.10), transparent 70%); }
  .bv-draw { stroke-dasharray: 260; stroke-dashoffset: 260; animation: bvDraw 2.2s cubic-bezier(.65,0,.35,1) .2s forwards; }
  .bv-fade { opacity: 0; transform: translateY(14px); animation: bvFade 1s ease forwards; animation-delay: 1.1s; }
  .bv-d1 { animation-delay: 1.25s; } .bv-d2 { animation-delay: 1.45s; } .bv-d3 { animation-delay: 1.65s; }
  .bv-modal { animation: bvModal .35s ease; }
  @keyframes bvDraw { to { stroke-dashoffset: 0; } }
  @keyframes bvFade { to { opacity: 1; transform: none; } }
  @keyframes bvModal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  select option { background: #0C1B3A; color: #F2ECE0; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .bv-draw { animation: none; stroke-dashoffset: 0; }
    .bv-fade, .bv-modal { animation: none; opacity: 1; transform: none; }
  }
  .bv-page { animation: bvPage .5s ease; }
  .bv-step { animation: bvPage .35s ease; }
  @keyframes bvPage { from { opacity: 0; } to { opacity: 1; } }
  .bv-link-active::after { transform: scaleX(1); }
  .bv-glow { background: radial-gradient(ellipse 70% 50% at 50% 35%, rgba(200,162,94,.10), transparent 70%); }
  .bv-portrait-glow { background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200,162,94,.10), transparent 70%); }
  .bv-scroll { scrollbar-width: thin; scrollbar-color: rgba(200,162,94,.4) transparent; }
  @media (prefers-reduced-motion: reduce) { .bv-page, .bv-step { animation: none; } }

  /* Barra de administração do WordPress (quando tem sessão iniciada) */
  .admin-bar .bv-header { top: 32px; }
  @media screen and (max-width: 782px) { .admin-bar .bv-header { top: 46px; } }
  #wpadminbar { position: fixed !important; }
