/* Bree Jurídico LP — identidade visual alinhada ao site Bree modular */

:root {
  --bree-ink: #13152a;
  --bree-night: #1e2138;
  --bree-slate: #424769;
  --bree-steel: #676f9d;
  --bree-cloud: #e2e4ed;
  --bree-amber: #f9b17a;
  --bree-ember: #d97c4a;
  --bree-mint: #24d39e;
  --bree-sky: #6096f6;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-weight: 500;
  font-feature-settings: 'ss01';
}

.glass {
  background: rgba(66, 71, 105, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(103, 111, 157, 0.30);
}

.glass-card {
  background: rgba(66, 71, 105, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(103, 111, 157, 0.30);
  border-radius: 28px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.40);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 177, 122, 0.45);
  box-shadow: 0 0 40px rgba(249, 177, 122, 0.08), 0 24px 48px -12px rgba(0, 0, 0, 0.40);
}

.btn-coral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, #f9b17a 0%, #e8a66f 100%);
  color: var(--bree-ink);
  font-weight: 800;
  padding: 0.95rem 2rem;
  border-radius: 40px;
  border: 2px solid transparent;
  transition: all 0.25s cubic-bezier(.23, 1, .32, 1);
  letter-spacing: 0.4px;
  box-shadow: 0 24px 48px rgba(217, 124, 74, 0.22);
  cursor: pointer;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
}

.btn-coral:hover {
  background: transparent;
  border-color: #f9b17a;
  color: #f9b17a;
  box-shadow: 0 0 30px rgba(249, 177, 122, 0.35);
  transform: scale(0.97);
}

.btn-coral:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid #f9b17a;
  color: #f9b17a;
  font-weight: 800;
  padding: 0.95rem 2rem;
  border-radius: 40px;
  transition: all 0.25s;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
}

.btn-outline:hover {
  background: #f9b17a;
  color: var(--bree-ink);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(66, 71, 105, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(103, 111, 157, 0.30);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #f9b17a;
  text-transform: uppercase;
}

.input-bree {
  width: 100%;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s;
  background: rgba(66, 71, 105, 0.30);
  border: 1px solid rgba(103, 111, 157, 0.40);
  color: #fff;
}

.input-bree::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.input-bree:focus {
  border-color: rgba(249, 177, 122, 0.6);
  box-shadow: 0 0 0 3px rgba(249, 177, 122, 0.12);
}

/* Navbar */
#nav.scrolled {
  background: rgba(30, 33, 56, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.animate-float {
  animation: floatY 6s ease-in-out infinite;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 0.7s ease-out both;
}

/* FAQ */
details[open] summary ~ * {
  animation: slideDown .3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Toast */
#toast.show {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

/* Selection */
::selection {
  background: rgba(249, 177, 122, 0.35);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 4px; }
::-webkit-scrollbar-track { background: #1e2138; }
::-webkit-scrollbar-thumb { background: #424769; border-radius: 3px; }

img[src*="step-"] {
  background: rgba(66, 71, 105, 0.30);
  min-height: 160px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .animate-float, .animate-fade-up { animation: none; }
}
