:root {
  --header-primary-dark: #874B00;
  --header-primary: #D97A00;
  /* Um laranja mais vibrante e apetitoso */
  --header-accent: #FFB03A;
  --header-light: #FFF6EB;
  /* Fundo creme bem suave */
  --header-white: #FFFFFF;
  --header-shadow-sm: 0 4px 12px rgba(135, 75, 0, 0.08);
  --header-shadow-md: 0 8px 24px rgba(135, 75, 0, 0.15);
  --header-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ================= HEADER ================= */
.header .site-header {
  background: var(--header-white) !important;
  padding: 12px 0 !important;
  /* Mais fino e elegante */
  box-shadow: var(--header-shadow-sm) !important;
  border-bottom: 3px solid var(--header-accent) !important;
}

.header .site-header .container {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 20px !important;
}

.header .header-content {
  display: flex !important;
  align-items: center !important;
}

/* ================= LOGO ================= */
.header .logo-title {
  display: flex !important;
  align-items: center !important;
}

.header .logo-title a {
  font-size: 32px !important;
  font-weight: 900 !important;
  color: var(--header-primary-dark) !important;
  text-decoration: none !important;
  font-family: 'Poppins', 'Segoe UI', sans-serif !important;
  letter-spacing: -1px !important;
  display: flex !important;
  align-items: center !important;
  transition: var(--header-transition) !important;
}

.header .logo-title a:hover {
  color: var(--header-primary) !important;
  transform: scale(1.02) !important;
}

/* ================= BOTÕES / PERFIL ================= */
.header .header-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.header .header-center {
  display: flex;
  flex: 2;
  justify-content: center;
  align-items: center;
}

/* Saudação do usuário */
.header .user-greeting {
  color: var(--header-primary-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  margin: 0;
}

/* Foto de Perfil no Header */
.header .profile-btn-header {
  padding: 0 !important;
  border: 3px solid var(--header-accent) !important;
  transition: var(--header-transition) !important;
  box-shadow: var(--header-shadow-sm) !important;
  background: transparent !important;
  object-fit: cover !important;
}

.header .profile-btn-header:hover {
  border-color: var(--header-primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--header-shadow-md);
}

.header .profile-btn-header img {
  width: 50px;
  /* Tamanho padronizado */
  height: 50px;
  object-fit: cover;
}

/* Botões de Login/Cadastro */
.header .btn-login {
  color: var(--header-primary-dark);
  background: transparent;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--header-transition);
}

.header .btn-login:hover {
  color: var(--header-primary);
  background: var(--header-light);
}

.header .btn-register {
  background: var(--header-primary);
  color: var(--header-white);
  padding: 10px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(217, 122, 0, 0.3);
  transition: var(--header-transition);
}

.header .btn-register:hover {
  background: var(--header-primary-dark);
  color: var(--header-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(135, 75, 0, 0.4);
}

/* ================= OFFCANVAS (MENU LATERAL) ================= */
.header .offcanvas {
  border-left: none;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}

.header .offcanvas-header {
  background-color: var(--header-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header .offcanvas-title {
  color: var(--header-primary-dark);
  font-weight: 700;
}

.header .perfil-offcanvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.header .perfil-offcanvas img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--header-accent);
  box-shadow: var(--header-shadow-sm);
}

.header .perfil-offcanvas h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--header-primary-dark);
}

.header .perfil-offcanvas p {
  color: #777;
  margin: 0;
  font-size: 0.95rem;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 768px) {
  .header .user-greeting {
    display: none;
    /* Esconde o "Bem-vindo" no celular para não espremer a logo */
  }

  .header .logo-title a {
    font-size: 24px !important;
    /* Logo menor no celular */
  }

  .header .btn-login,
  .btn-register {
    padding: 8px 18px;
    font-size: 14px;
  }

  .header .profile-btn-header img {
    width: 42px;
    height: 42px;
  }
}