/* ===== VARIÁVEIS & RESET ===== */
:root {
  --azul-escuro: #0A2E5C;
  --azul-medio: #1565C0;
  --azul-vivo: #1976D2;
  --azul-claro: #42A5F5;
  --azul-pale: #E3F2FD;
  --azul-glass: rgba(21, 101, 192, 0.15);
  --branco: #FFFFFF;
  --cinza-claro: #F5F8FC;
  --cinza-texto: #546E7A;
  --sombra: 0 8px 32px rgba(10, 46, 92, 0.15);
  --sombra-hover: 0 16px 48px rgba(10, 46, 92, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --trans: all 0.3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: #2C3E50;
  background: var(--branco);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--azul-pale); }
::-webkit-scrollbar-thumb { background: var(--azul-medio); border-radius: 6px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: transparent;
  transition: var(--trans);
}
.navbar.scrolled {
  background: rgba(10, 46, 92, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(10,46,92,0.3);
  padding: 12px 48px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--branco);
}
.nav-brand i { font-size: 1.5rem; color: var(--azul-claro); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--trans);
  letter-spacing: 0.3px;
}
.nav-link:hover, .nav-link.active {
  color: var(--branco);
  background: rgba(255,255,255,0.15);
}
.btn-dono {
  background: var(--azul-claro) !important;
  color: var(--branco) !important;
  border-radius: 8px;
  margin-left: 8px;
}
.btn-dono:hover { background: var(--azul-vivo) !important; transform: translateY(-1px); }

/* Navbar: info do usuário logado */
#navUserItem {
  align-items: center;
}
.nav-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 6px 14px;
  color: var(--branco);
  font-size: 0.88rem;
  font-weight: 700;
}
.nav-user-info i { color: var(--azul-claro); font-size: 1.1rem; }
#navUserName { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.btn-nav-logout {
  background: rgba(255,255,255,0.18);
  border: none;
  color: var(--branco);
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--trans);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.btn-nav-logout:hover { background: rgba(239,83,80,0.7); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--branco);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?w=1600&q=80') center/cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,46,92,0.88) 0%, rgba(21,101,192,0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 24px;
  animation: fadeUp 1s ease both;
}
.hero-sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--azul-claro);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--branco);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title span { color: var(--azul-claro); font-style: italic; }
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  border: none;
  transition: var(--trans);
  letter-spacing: 0.3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--azul-vivo), var(--azul-claro));
  color: var(--branco);
  box-shadow: 0 4px 20px rgba(25, 118, 210, 0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(25, 118, 210, 0.55);
}
.btn-outline {
  background: transparent;
  color: var(--branco);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--branco);
  transform: translateY(-3px);
}
.w100 { width: 100%; justify-content: center; }

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-blue {
  background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
}
.section-light { background: var(--cinza-claro); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--azul-escuro);
  line-height: 1.2;
}
.section-header.light h2 { color: var(--branco); }
.section-tag {
  display: inline-block;
  background: var(--azul-pale);
  color: var(--azul-vivo);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-header.light .section-tag {
  background: rgba(255,255,255,0.15);
  color: var(--azul-claro);
}
.highlight { color: var(--azul-vivo); font-style: italic; }
.highlight-light { color: var(--azul-claro); font-style: italic; }

/* ===== SOBRE ===== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.sobre-img-wrap { position: relative; }
.sobre-img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra-hover);
}
.sobre-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,46,92,0.4) 100%);
  z-index: 1;
}
.sobre-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
.sobre-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: linear-gradient(135deg, var(--azul-vivo), var(--azul-claro));
  color: var(--branco);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(25,118,210,0.5);
}
.badge-num { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.badge-text { font-size: 0.75rem; font-weight: 600; opacity: 0.9; line-height: 1.4; }
.sobre-intro {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--azul-escuro);
  margin-bottom: 20px;
  font-style: italic;
}
.sobre-texto p {
  color: var(--cinza-texto);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 0.97rem;
}
.sobre-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
  padding: 24px;
  background: var(--azul-pale);
  border-radius: var(--radius);
}
.stat-item { text-align: center; }
.stat-n { display: block; font-size: 2rem; font-weight: 800; color: var(--azul-vivo); font-family: 'Playfair Display', serif; }
.stat-l { display: block; font-size: 0.78rem; color: var(--cinza-texto); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ===== ESPECIALIZAÇÕES ===== */
.esp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.esp-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--trans);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}
.esp-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.3);
}

/* Imagem do card */
.esp-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.esp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.esp-card:hover .esp-img {
  transform: scale(1.08);
}
.esp-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,46,92,0.15) 0%, rgba(10,46,92,0.65) 100%);
  transition: var(--trans);
}
.esp-card:hover .esp-img-overlay {
  background: linear-gradient(180deg, rgba(10,46,92,0.05) 0%, rgba(21,101,192,0.55) 100%);
}

/* Corpo do card */
.esp-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.esp-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--azul-claro), #90CAF9);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
  color: var(--branco);
  box-shadow: 0 4px 16px rgba(66,165,245,0.4);
  transition: var(--trans);
}
.esp-card:hover .esp-icon {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 8px 24px rgba(66,165,245,0.6);
}
.esp-card h3 { font-family: 'Playfair Display', serif; font-size: 1.22rem; color: var(--branco); margin-bottom: 10px; }
.esp-card > .esp-body > p { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.75; margin-bottom: 18px; }
.esp-list { margin-top: auto; }
.esp-list li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-size: 0.88rem; margin-bottom: 8px; font-weight: 600; }
.esp-list li i { color: var(--azul-claro); font-size: 0.75rem; }

/* Animação de entrada dos cards */
.card-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.4,0,.2,1), background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card-anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== AGENDAMENTO ===== */
.agenda-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

/* Gate de autenticação */
.agenda-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 32px;
  background: var(--azul-pale);
  border-radius: var(--radius);
  border: 2px dashed rgba(21,101,192,0.3);
  gap: 16px;
}
.gate-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--azul-vivo), var(--azul-claro));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--branco);
  margin-bottom: 8px;
  box-shadow: 0 8px 24px rgba(25,118,210,0.35);
}
.agenda-gate h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--azul-escuro);
}
.agenda-gate p { color: var(--cinza-texto); font-size: 1rem; max-width: 420px; line-height: 1.7; }

/* CALENDÁRIO */
.calendar-box {
  background: var(--branco);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  overflow: hidden;
  border: 1px solid rgba(21,101,192,0.1);
}
.cal-header {
  background: linear-gradient(135deg, var(--azul-escuro), var(--azul-vivo));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}
.cal-header h3 { font-family: 'Playfair Display', serif; color: var(--branco); font-size: 1.2rem; font-weight: 600; }
.cal-nav {
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--branco);
  width: 36px; height: 36px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--trans);
  font-size: 0.9rem;
}
.cal-nav:hover { background: rgba(255,255,255,0.25); }
.cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--azul-pale);
  padding: 10px 16px;
  gap: 4px;
}
.cal-days-header span { text-align: center; font-size: 0.75rem; font-weight: 800; color: var(--azul-vivo); text-transform: uppercase; letter-spacing: 0.5px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 16px; }
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  position: relative;
}
.cal-day.vazio { cursor: default; }
.cal-day.disponivel { background: var(--azul-pale); color: var(--azul-escuro); }
.cal-day.disponivel:hover { background: var(--azul-vivo); color: var(--branco); transform: scale(1.1); }
.cal-day.selecionado {
  background: linear-gradient(135deg, var(--azul-vivo), var(--azul-claro));
  color: var(--branco);
  box-shadow: 0 4px 16px rgba(25,118,210,0.4);
  transform: scale(1.1);
}
.cal-day.hoje { border: 2px solid var(--azul-vivo); font-weight: 800; }
.cal-day.passado, .cal-day.fimdesemana { color: #B0BEC5; cursor: default; background: none; }
.cal-day.tem-agenda::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: var(--azul-claro);
  border-radius: 50%;
}

/* HORÁRIOS */
.agenda-form-box {
  background: var(--branco);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  padding: 32px;
  border: 1px solid rgba(21,101,192,0.1);
  min-height: 420px;
}
.agenda-form-box h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--azul-escuro); margin-bottom: 24px; }
.horarios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.horario-btn {
  padding: 10px 6px;
  border-radius: 8px;
  background: var(--azul-pale);
  color: var(--azul-vivo);
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: var(--trans);
  text-align: center;
}
.horario-btn:hover, .horario-btn.sel { background: var(--azul-vivo); color: var(--branco); transform: scale(1.05); }
.horario-btn.ocupado { background: #FFEBEE; color: #EF5350; cursor: not-allowed; text-decoration: line-through; }
.agenda-sem-sel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  color: var(--azul-pale);
  text-align: center;
}
.agenda-sem-sel i { font-size: 4rem; color: var(--azul-pale); margin-bottom: 16px; }
.agenda-sem-sel p { color: #B0BEC5; font-size: 0.95rem; }

/* ===== ACESSO (Login + Cadastro) ===== */
.cad-wrap {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 48px;
  align-items: start;
}
.cad-info h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--azul-escuro); margin-bottom: 24px; }
.cad-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--cinza-texto);
  font-weight: 600;
  border-bottom: 1px solid rgba(21,101,192,0.1);
}
.cad-benefits li i { color: var(--azul-vivo); font-size: 1.1rem; }
.cad-contato { margin-top: 32px; }
.cad-contato p { color: var(--cinza-texto); margin-bottom: 12px; font-weight: 600; }
.btn-wa-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--branco);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--trans);
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.btn-wa-small:hover { background: #128C7E; transform: translateY(-2px); }
.btn-wa-small i { font-size: 1.2rem; }

/* Card de formulários com abas */
.acesso-card {
  background: var(--branco);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  border: 1px solid rgba(21,101,192,0.1);
  overflow: hidden;
}

/* Abas */
.acesso-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid var(--azul-pale);
}
.acesso-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cinza-texto);
  background: var(--cinza-claro);
  border: none;
  cursor: pointer;
  transition: var(--trans);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.acesso-tab:hover { color: var(--azul-vivo); background: var(--azul-pale); }
.acesso-tab.active {
  color: var(--azul-vivo);
  background: var(--branco);
  border-bottom-color: var(--azul-vivo);
}
.acesso-tab i { font-size: 1rem; }

/* Conteúdo das abas */
.acesso-form-box {
  padding: 40px;
}

/* Aviso de já logado */
.acesso-logado-msg {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #E8F5E9;
  border: 2px solid #A5D6A7;
  border-radius: var(--radius);
  padding: 24px 32px;
  margin-bottom: 32px;
}
.acesso-logado-msg i { font-size: 2rem; color: #43A047; flex-shrink: 0; }
.acesso-logado-msg strong { color: #2E7D32; font-size: 1.05rem; display: block; margin-bottom: 4px; }
.acesso-logado-msg p { color: #388E3C; font-size: 0.92rem; margin: 0; }
.acesso-logado-msg a { color: var(--azul-vivo); font-weight: 700; text-decoration: underline; }

/* Link para troca de aba */
.acesso-switch {
  text-align: center;
  margin-top: 20px;
  color: var(--cinza-texto);
  font-size: 0.9rem;
}
.link-btn {
  background: none;
  border: none;
  color: var(--azul-vivo);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.link-btn:hover { color: var(--azul-escuro); }

/* Mensagem de erro dos formulários de auth */
.campo-erro {
  color: #E53935 !important;
  font-size: 0.85rem !important;
  font-weight: 700;
  background: #FFEBEE;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  border-left: 3px solid #EF5350;
  text-align: left !important;
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--azul-escuro);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid rgba(21,101,192,0.15);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: #2C3E50;
  background: var(--branco);
  transition: var(--trans);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--azul-vivo);
  box-shadow: 0 0 0 3px rgba(25,118,210,0.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--azul-escuro);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-wrap button {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--azul-vivo);
  cursor: pointer;
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--azul-escuro);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--branco);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand i { color: var(--azul-claro); }
.footer h4 { color: var(--branco); font-size: 1rem; margin-bottom: 16px; font-weight: 700; }
.footer p {
  font-size: 0.9rem;
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.footer p i { color: var(--azul-claro); }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: var(--trans); }
.footer-links a:hover { color: var(--azul-claro); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 32px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ===== WHATSAPP FLUTUANTE ===== */
.wa-float {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 60px; height: 60px;
  background: #25D366;
  color: var(--branco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  z-index: 999;
  transition: var(--trans);
  animation: pulse-wa 2.5s infinite;
}
.wa-float:hover { background: #128C7E; transform: scale(1.1); animation: none; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,46,92,0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.25s ease;
}
.modal {
  background: var(--branco);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 80px rgba(10,46,92,0.4);
  animation: slideUp 0.35s cubic-bezier(.4,0,.2,1);
  max-height: 88vh;
  overflow-y: auto;
}
/* Modal do dono: mais largo para mostrar a lista de agendamentos */
.modal-dono {
  max-width: 860px;
}
.modal-small { max-width: 380px; text-align: center; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--azul-pale);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--azul-vivo);
  font-size: 0.9rem;
  transition: var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--azul-vivo); color: var(--branco); }
.modal-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--azul-vivo), var(--azul-claro));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--branco);
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(25,118,210,0.4);
}
.modal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--azul-escuro);
  margin-bottom: 10px;
  text-align: center;
}
.modal p { color: var(--cinza-texto); text-align: center; margin-bottom: 28px; font-size: 0.95rem; }

/* PAINEL DO DONO */
.painel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--azul-pale);
}
.painel-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--azul-escuro);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin: 0;
}
.painel-header h2 i { color: var(--azul-vivo); }
.painel-actions { display: flex; gap: 8px; }
.btn-sm {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  border: 2px solid var(--azul-pale);
  background: var(--azul-pale);
  color: var(--azul-vivo);
  transition: var(--trans);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-sm:hover { border-color: var(--azul-vivo); }
.btn-logout { border-color: #FFCDD2; background: #FFCDD2; color: #C62828; }
.btn-logout:hover { border-color: #E53935; background: #FFEBEE; }

.painel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.pstat { background: var(--azul-pale); border-radius: 12px; padding: 16px; text-align: center; }
.pstat-n { display: block; font-size: 1.8rem; font-weight: 800; color: var(--azul-vivo); font-family: 'Playfair Display', serif; }
.pstat-l { font-size: 0.75rem; color: var(--cinza-texto); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

.consultas-list {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
}
.consulta-item {
  background: var(--cinza-claro);
  border-left: 4px solid var(--azul-vivo);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.consulta-nome { font-weight: 800; color: var(--azul-escuro); font-size: 0.95rem; }
.consulta-info { font-size: 0.83rem; color: var(--cinza-texto); display: flex; align-items: center; gap: 6px; }
.consulta-info i { color: var(--azul-claro); }
.consulta-del {
  position: absolute;
  top: 10px; right: 12px;
  background: none;
  border: none;
  color: #EF5350;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--trans);
}
.consulta-del:hover { color: #B71C1C; transform: scale(1.2); }
.sem-consultas { text-align: center; padding: 40px; color: #B0BEC5; font-size: 0.95rem; }
.sem-consultas i { font-size: 2.5rem; display: block; margin-bottom: 10px; color: #CFD8DC; }

.painel-wa {
  margin-top: 16px;
  background: #E8F5E9;
  border-radius: 10px;
  padding: 12px 16px;
  border-left: 4px solid #25D366;
}
.painel-wa p {
  color: #2E7D32;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.painel-wa i { color: #25D366; font-size: 1.1rem; }

/* SUCESSO */
.sucesso-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #43A047, #66BB6A);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--branco);
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(67,160,71,0.4);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(60px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-10px); }
}
@keyframes pulse-wa {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .navbar { padding: 14px 24px; }
  .navbar.scrolled { padding: 10px 24px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-stats { grid-template-columns: repeat(2, 1fr); }
  .esp-grid { grid-template-columns: repeat(2, 1fr); }
  .cad-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--azul-escuro); flex-direction: column; padding: 16px 24px; gap: 8px; }
  .nav-links.aberto { display: flex; }
  .menu-toggle { display: block; }
  #navUserItem { display: none !important; } /* Fica no menu lateral */
  .esp-grid { grid-template-columns: 1fr; }
  .agenda-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sobre-img { height: 360px; }
  .sobre-stats { grid-template-columns: repeat(4,1fr); }
  .painel-stats { grid-template-columns: repeat(3,1fr); }
  .modal-dono { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .sobre-stats { grid-template-columns: repeat(2,1fr); }
  .horarios-grid { grid-template-columns: repeat(2, 1fr); }
  .acesso-form-box { padding: 24px 20px; }
  .modal { padding: 36px 24px; }
  .acesso-tabs { font-size: 0.82rem; }
  .acesso-tab { padding: 14px 8px; gap: 5px; }
}