/* ============================================
   VALENTE ADVOCACIA — style.css
   Paleta: Marrom #3B1A0A | Dourado #B08F6A | Bege #E6CEAA
   Fonte: Cormorant Garamond (serifada elegante) + Raleway
   ============================================ */

:root {
  --marrom-escuro: #3B1A0A;
  --marrom-medio: #5C2E10;
  --dourado-escuro: #B08F6A;
  --dourado-claro: #E6CEAA;
  --dourado-brilho: #D4AF72;
  --branco: #FFFFFF;
  --branco-suave: rgba(255,255,255,0.92);
  --sombra: rgba(0,0,0,0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Raleway', sans-serif;
}

/* ---- FUNDO ---- */
body {
  background-color: var(--marrom-escuro);
}

.bg-logo {
  position: fixed;
  inset: 0;
  background: url('logo_marina.jpg') center center / cover no-repeat;
  z-index: 0;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(59,26,10,0.72) 0%, rgba(20,6,2,0.88) 100%);
  z-index: 1;
}

/* ---- PARTÍCULAS ---- */
.particles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--dourado-brilho) 0%, transparent 70%);
  animation: float linear infinite;
  opacity: 0;
}

@keyframes float {
  0%   { transform: translateY(110vh) scale(0); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* ---- WRAPPER PRINCIPAL ---- */
.main-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ---- TELAS ---- */
.screen {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 520px;
  animation: fadeInUp 0.5s ease forwards;
}

.screen.active {
  display: flex;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- LOGO ---- */
.logo-wrap {
  text-align: center;
  animation: fadeInUp 0.6s ease both;
}

.logo-img {
  width: 260px;
  max-width: 80vw;
  border-radius: 12px;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.7));
}

.logo-small .logo-img {
  width: 160px;
}

/* ---- TAGLINE ---- */
.welcome-text {
  text-align: center;
  animation: fadeInUp 0.7s ease both;
  animation-delay: 0.1s;
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.15rem;
  color: var(--dourado-claro);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* ---- CARD ---- */
.card {
  background: rgba(59, 26, 10, 0.72);
  border: 1px solid rgba(176, 143, 106, 0.35);
  border-radius: 16px;
  padding: 32px 28px;
  width: 100%;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 48px rgba(0,0,0,0.55), inset 0 1px 0 rgba(212,175,114,0.15);
  animation: fadeInUp 0.7s ease both;
  animation-delay: 0.18s;
}

.card-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--dourado-claro);
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.card-sub {
  font-size: 0.82rem;
  color: var(--dourado-escuro);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---- BOTÕES DE ESCOLHA ---- */
.btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn-group.vertical {
  flex-direction: column;
}

.btn-choice {
  background: var(--dourado-claro);
  color: var(--marrom-escuro);
  border: none;
  border-radius: 8px;
  padding: 16px 24px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: center;
}

.btn-choice:hover {
  background: var(--dourado-brilho);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
}

.btn-choice:active {
  transform: translateY(0);
}

.btn-choice small {
  font-size: 0.73rem;
  font-weight: 400;
  color: var(--marrom-medio);
  display: block;
}

.btn-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 2px;
}

/* ---- BOTÃO VOLTAR ---- */
.btn-back {
  background: none;
  border: none;
  color: var(--dourado-escuro);
  font-family: 'Raleway', sans-serif;
  font-size: 0.83rem;
  cursor: pointer;
  margin-top: 18px;
  display: block;
  width: 100%;
  text-align: center;
  opacity: 0.8;
  transition: opacity 0.2s;
  letter-spacing: 0.04em;
}

.btn-back:hover { opacity: 1; }

/* ---- TELA DE CONFIRMAÇÃO ---- */
.card-confirm {
  text-align: center;
}

.check-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dourado-brilho), var(--dourado-escuro));
  color: var(--marrom-escuro);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 20px rgba(212,175,114,0.4);
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.confirm-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--dourado-claro);
  margin-bottom: 10px;
}

.confirm-sub {
  font-size: 0.85rem;
  color: var(--dourado-brilho);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.confirm-info {
  font-size: 0.88rem;
  color: rgba(230, 206, 170, 0.75);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ---- BOTÃO WHATSAPP ---- */
.btn-wpp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px 24px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 22px rgba(37,211,102,0.35);
  letter-spacing: 0.01em;
}

.btn-wpp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.45);
}

/* ---- RODAPÉ ---- */
.footer-text {
  font-size: 0.75rem;
  color: rgba(176,143,106,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.3s;
}

/* ---- RESPONSIVO MOBILE ---- */
@media (max-width: 480px) {
  .card { padding: 24px 18px; }
  .logo-img { width: 200px; }
  .logo-small .logo-img { width: 130px; }
  .btn-choice { padding: 14px 16px; font-size: 0.93rem; }
  .tagline { font-size: 1rem; }
  .btn-group { gap: 10px; }
}
